Hi Xiaofu,

This mailing list is for the OpenModelica questions.

This error you report is Dymola specific so you might
get better answers if you send this email directly to
Dynasim (which produces Dymola): [EMAIL PROTECTED]
or at the forum here:
http://www.modelica-forum.com/forums/index.php?showforum=5

This being said, some of our OpenModelicaInterest
members might know the answer to your question :)

Cheers,
Adrian Pop/

Xiaofu Du wrote:
Hallo every one,
in these days i try to build a Multi-transmission-line model and i got
always the following compilation error:

////////////////////////////////////////////////
Compiling the model with GCC.
gcc -c -O1 -ffunction-sections -mpentium -march=pentium -ffast-math
-DDYMOSIM dsmodel.c
dsmodel.c: In function `packagex_0MTLx_0LOSSLESS_dgeev_M':
dsmodel.c:338: warning: passing arg 13 of `dgeev_' from incompatible
pointer type
dsmodel.c: In function `packagex_0MTLx_0LOSSLESS_dgetrf_M':
dsmodel.c:496: warning: passing arg 1 of `dgetrf_' from incompatible
pointer type
dsmodel.c:496: warning: passing arg 2 of `dgetrf_' from incompatible
pointer type
dsmodel.c:496: warning: passing arg 4 of `dgetrf_' from incompatible
pointer type
dsmodel.c:496: warning: passing arg 5 of `dgetrf_' from incompatible
pointer type
dsmodel.c: In function `packagex_0MTLx_0LOSSLESS_dgetri_M':
dsmodel.c:555: warning: passing arg 1 of `dgetri_' from incompatible
pointer type
dsmodel.c:555: warning: passing arg 3 of `dgetri_' from incompatible
pointer type
dsmodel.c:555: warning: passing arg 4 of `dgetri_' from incompatible
pointer type
C:\Programme\Dymola\source\dsblock1.c: In function `equations_':
C:\Programme\Dymola\source\dsblock1.c:285: warning: This file contains
more `{'s than `}'s.
C:\Programme\Dymola\source\dsblock2.c: In function `dsblock_':
C:\Programme\Dymola\source\dsblock2.c:103: warning: This file contains
more `{'s than `}'s.
C:\Programme\Dymola\source\dsblock3.c:60: warning: This file contains more
`{'s than `}'s.
C:\Programme\Dymola\source\dsblock4.c: In function `declare_':
C:\Programme\Dymola\source\dsblock4.c:153: warning: This file contains
more `}'s than `{'s.
C:\Programme\Dymola\source\dsblock5.c: At top level:
C:\Programme\Dymola\source\dsblock5.c:535: warning: This file contains
more `}'s than `{'s.

Linking the model to Dymosim.
gcc -s -o dymosim.exe dymosim.o dsmodel.o -L. -lds -lm
dsmodel.o(.text$packagex_0MTLx_0LOSSLESS_dgeev_M+0x30a):dsmodel.c:
undefined reference to `dgeev_'
dsmodel.o(.text$packagex_0MTLx_0LOSSLESS_dgetri_M+0x21a):dsmodel.c:
undefined reference to `dgetri_'

Error generating Dymosim
////////////////////////////////////////////////

and i really do not understand what the meaning of this. the whole model
has 102 scalar unknowns and 102 scalar equations. i use the Dymola 6.1
evaluating version and the number of equations is not bounded.

Does anybody has a similar experience like this? Thank you for your help!

best wishes,

Xiaofu

Reply via email to