#4364 closed defect (fixed)
Very strange error messages when filename contains "InnerOuter"
Reported by: | Jan Kokert | Owned by: | somebody |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Run-time | Version: | |
Keywords: | innerouter filename | Cc: |
Description (last modified by )
Hi I just wanted to create a ticket regarding inner/outer problems and provide a minimal example for that. But by doing this I observed another very strange bug: a simple model will not compile and will give many very strange error messages of the kind:
TestInnerOuterEqu.Top.o:testInnerOuterEqu.top.c:(.data+0x1a0): undefined reference to `testInnerOuterEqu_top_function_equationsSynchronous'
Here is the code:
package TestInnerOuterEqu model Top Real a; equation a = 1; end Top; end TestInnerOuterEqu;
It seems that the filename will lead to the problem. Renaming the package to e.g. testInner
or testOuter
will solve the problem!!! This is totally weird!
Edit1:
The filenames testCase
and even testCAse
will also lead to this bug.
Edit2:
It is really the filename and not the package name which leads to that bug.
Attachments (1)
Change History (11)
by , 8 years ago
Attachment: | TestInnerOuterEqu.mo added |
---|
comment:1 by , 8 years ago
Description: | modified (diff) |
---|
comment:2 by , 8 years ago
Description: | modified (diff) |
---|
comment:3 by , 8 years ago
Description: | modified (diff) |
---|
comment:4 by , 8 years ago
Description: | modified (diff) |
---|
comment:5 by , 8 years ago
Description: | modified (diff) |
---|
comment:6 by , 8 years ago
Component: | *unknown* → Run-time |
---|
comment:7 by , 8 years ago
comment:8 by , 8 years ago
I herby confirm that in the latest Windows x64 nightly build (OpenModelica-v1.12.0-dev-395-gdeeabde-64bit.exe) the error is not present for all filenames testInnerOuterEqu
, TestInnerOuterEqu
, TestCase
and testCase
- good for us :D
Does anyone know, which commit fixed that??
comment:9 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:10 by , 7 years ago
Milestone: | Future |
---|
Is this problem still there?
I tested this with the following TestInnerOuterEqu.mos:
Here,
omc TestInnerOuterEqu.mos
results in a successful simulation.Are you perhaps working on Windows or OSX and changed the case of the package? Then this ticket might be a duplicate of #4407 (mind the case difference of object- and C-file in your error message).