Opened 8 years ago

Last modified 7 years ago

#4364 closed defect

Very strange error messages when filename contains "InnerOuter" — at Version 2

Reported by: Jan Kokert Owned by: somebody
Priority: high Milestone:
Component: Run-time Version:
Keywords: innerouter filename Cc:

Description (last modified by Jan Kokert)

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!

Edit:
The fileNames testCase and even testCAse will also lead to this bug.
The issue could be related to #4355.

Change History (3)

by Jan Kokert, 8 years ago

Attachment: TestInnerOuterEqu.mo added

comment:1 by Jan Kokert, 8 years ago

Description: modified (diff)

comment:2 by Jan Kokert, 8 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.