Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#3484 closed defect (fixed)

Undeclared symbols simulating with c and cpp runtime

Reported by: Alexander Täschner <A.Taeschner@…> Owned by: Lennart Ochel
Priority: critical Milestone: 1.9.4
Component: Code Generation Version:
Keywords: Cc:

Description

Trying to find a workaround for bug #3089 for the HelmholtzMedia library, I slightly changed the inner structure of the model (see https://github.com/AlexanderTaeschner/HelmholtzMedia for the changes). With this changes omc can flatten the HeliumTestModel example, but the model does not compile due to undefined symbols. This occures both with the C (test_c.log) and the CPP simCodeTarget (test_cpp.log).

To replicate the problem you can use the added mos script on the save total file.

Attachments (4)

HeliumTestModel_Total.mo (230.2 KB ) - added by Alexander Täschner <A.Taeschner@…> 9 years ago.
Save total model
Test_HeliumTestModel_Total.mos (186 bytes ) - added by Alexander Täschner <A.Taeschner@…> 9 years ago.
Mos script file for test
test_c.log (9.1 KB ) - added by Alexander Täschner <A.Taeschner@…> 9 years ago.
Log file with C runtime
test_cpp.log (19.1 KB ) - added by Alexander Täschner <A.Taeschner@…> 9 years ago.
Log file with CPP runtime

Download all attachments as: .zip

Change History (10)

by Alexander Täschner <A.Taeschner@…>, 9 years ago

Attachment: HeliumTestModel_Total.mo added

Save total model

by Alexander Täschner <A.Taeschner@…>, 9 years ago

Mos script file for test

by Alexander Täschner <A.Taeschner@…>, 9 years ago

Attachment: test_c.log added

Log file with C runtime

by Alexander Täschner <A.Taeschner@…>, 9 years ago

Attachment: test_cpp.log added

Log file with CPP runtime

comment:1 by Alexander Täschner <A.Taeschner@…>, 9 years ago

Component: UnknownCode Generation
Owner: changed from somebody to Lennart Ochel

comment:2 by Alexander Täschner <A.Taeschner@…>, 9 years ago

Any news on solving this bug? I just retried with the current nightly Windows build and see the same errors.

comment:3 by Lennart Ochel, 9 years ago

Sorry, there are no news yet. I will put it on my agenda.

comment:4 by Alexander Täschner <A.Taeschner@…>, 9 years ago

Resolution: fixed
Status: newclosed

Using the current nightly the undeclared symbol error is gone, now the flattening fails due to failed differentiation. I will therefore close this ticket.

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

Milestone: 1.9.41.9.4-1.9.x

Milestone renamed

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

Milestone: 1.9.4-1.9.x1.9.4

Milestone renamed

Note: See TracTickets for help on using tickets.