Opened 9 years ago
Closed 8 years ago
#3613 closed defect (duplicate)
OpenModelica crashes for ModelicaTest.Utilities.TestStreams
Reported by: | Owned by: | somebody | |
---|---|---|---|
Priority: | high | Milestone: | 1.11.0 |
Component: | Run-time | Version: | |
Keywords: | Cc: | Adrian Pop |
Description
When simulating ModelicaTest.Utilities.TestStreams OpenModelica crashes. I am not able to figure out the reason. In Dymola this works.
Tried to debug under Windows with OMEdit, but (a) "print(..)" seem to not give an output. (b) Do not manage to work with the "Algorithmic debugger".
Change History (7)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Cc: | added |
---|
It seems that I've used the wrong library version. However, ModelicaTest.Utilities.TestStreams
produces the same error message.
As far as I can tell the algorithm is evaluated during compilation in the front end.
comment:5 by , 8 years ago
Tried it today with OMEdit, the following error message is obtained:
dladdr failed: not available on Windows failed dladdr failed: not available on Windows failed
then the C compilation fails with this message:
ModelicaTest.Utilities.TestStreams_09alg.o:ModelicaTest.Utilities.TestStreams_09alg.c:(.text+0xbc): undefined reference to `ModelicaTest_Utilities_TestStreams_eqFunction_2' C:/OpenModelica1.10.0-dev-64bit/tools/msys/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/libgfortranbegin.a(fmain.o):(.text.startup.main+0x1b): undefined reference to `MAIN__'
Did you mean
ModelicaTest.Utilities.TestSteams
? That one gives following error message: