Opened 9 years ago

Closed 8 years ago

#3613 closed defect (duplicate)

OpenModelica crashes for ModelicaTest.Utilities.TestStreams

Reported by: martin.otter@… 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 Lennart Ochel, 9 years ago

Did you mean ModelicaTest.Utilities.TestSteams? That one gives following error message:

Error: Not possible to construct full path name of "#testStreams1.txt"
No such file or directory

comment:2 by Lennart Ochel, 9 years ago

Cc: Adrian Pop 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:3 by Martin Sjölund, 9 years ago

Milestone: 1.9.41.9.5

Milestone pushed to 1.9.5

comment:4 by Martin Sjölund, 9 years ago

Milestone: 1.9.51.10.0

Milestone renamed

comment:5 by Francesco Casella, 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__'

comment:6 by Martin Sjölund, 8 years ago

Milestone: 1.10.01.11.0

Ticket retargeted after milestone closed

comment:7 by Adrian Pop, 8 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #3894.

Note: See TracTickets for help on using tickets.