[Bug 10822] Dymola: gcc fails compiling simulation