I've got a very large model with a lot of subcomponents. If I increase the number of subcomponents above a certain number dymola is unable to compile the model anymore. The simulation tab of the messages windows shows the following message:
QUELLTEXT
Compiling the model with GCC.
June 19, 2006 20:48:21
gcc -c -O1 -ffunction-sections -mpentium -march=pentium -ffast-math -DDYMOSIM dsmodel.c
C:\Programme\Dymola6.0\source\dsblock1.c: In function `equations_':
C:\Programme\Dymola6.0\source\dsblock1.c:285: warning: This file contains more `{'s than `}'s.
C:\Programme\Dymola6.0\source\dsblock2.c: In function `dsblock_':
C:\Programme\Dymola6.0\source\dsblock2.c:103: warning: This file contains more `{'s than `}'s.
C:\Programme\Dymola6.0\source\dsblock3.c:52: warning: This file contains more `{'s than `}'s.
C:\Programme\Dymola6.0\source\dsblock4.c: In function `declare_':
C:\Programme\Dymola6.0\source\dsblock4.c:114: warning: This file contains more `}'s than `{'s.
C:\Programme\Dymola6.0\source\dsblock5.c: At top level:
C:\Programme\Dymola6.0\source\dsblock5.c:532: warning: This file contains more `}'s than `{'s.
as: dsmodel.o: reloc overflow: 0x115a1 > 0xffff
dsmodel.o: File truncated
C:\DOKUME~1\Florian\LOKALE~1\Temp\ccqQbaaa.s: Assembler messages:
C:\DOKUME~1\Florian\LOKALE~1\Temp\ccqQbaaa.s:473557: FATAL: Can't close dsmodel.o
: File truncated
gcc -c -O1 -mpentium -march=pentium -ffast-math -DDYMOSIM dsmodelext*.c
Error generating Dymosim.
June 19, 2006 20:50:11
June 19, 2006 20:48:21
gcc -c -O1 -ffunction-sections -mpentium -march=pentium -ffast-math -DDYMOSIM dsmodel.c
C:\Programme\Dymola6.0\source\dsblock1.c: In function `equations_':
C:\Programme\Dymola6.0\source\dsblock1.c:285: warning: This file contains more `{'s than `}'s.
C:\Programme\Dymola6.0\source\dsblock2.c: In function `dsblock_':
C:\Programme\Dymola6.0\source\dsblock2.c:103: warning: This file contains more `{'s than `}'s.
C:\Programme\Dymola6.0\source\dsblock3.c:52: warning: This file contains more `{'s than `}'s.
C:\Programme\Dymola6.0\source\dsblock4.c: In function `declare_':
C:\Programme\Dymola6.0\source\dsblock4.c:114: warning: This file contains more `}'s than `{'s.
C:\Programme\Dymola6.0\source\dsblock5.c: At top level:
C:\Programme\Dymola6.0\source\dsblock5.c:532: warning: This file contains more `}'s than `{'s.
as: dsmodel.o: reloc overflow: 0x115a1 > 0xffff
dsmodel.o: File truncated
C:\DOKUME~1\Florian\LOKALE~1\Temp\ccqQbaaa.s: Assembler messages:
C:\DOKUME~1\Florian\LOKALE~1\Temp\ccqQbaaa.s:473557: FATAL: Can't close dsmodel.o
: File truncated
gcc -c -O1 -mpentium -march=pentium -ffast-math -DDYMOSIM dsmodelext*.c
Error generating Dymosim.
June 19, 2006 20:50:11
Has anyone ever had a similar problem?
Regards wagner
