Opened 5 years ago

Last modified 3 years ago

#5757 assigned defect

parentJacobian member missing from linearSystemData

Reported by: dariomangoni@… Owned by: Karim Adbdelhak
Priority: high Milestone:
Component: Code Generation Version: v.1.15.0-dev
Keywords: Cc:

Description

Unfortunately I cannot share source code, but I hit an issue that was not there in 1.14.0

CrtVehicleTesting.Engines.EngineMapByMechTest_fromRecord_03lsy.c: In function 'CrtVehicleTesting_Engines_EngineMapByMechTest_fromRecord_initialLinearSystem':
CrtVehicleTesting.Engines.EngineMapByMechTest_fromRecord_03lsy.c:107:22: error: 'LINEAR_SYSTEM_DATA {aka struct LINEAR_SYSTEM_DATA}' has no member named 'parentJacobian'
   linearSystemData[1].parentJacobian = NULL;
                      ^
CrtVehicleTesting.Engines.EngineMapByMechTest_fromRecord_03lsy.c:122:22: error: 'LINEAR_SYSTEM_DATA {aka struct LINEAR_SYSTEM_DATA}' has no member named 'parentJacobian'
   linearSystemData[0].parentJacobian = NULL;
                      ^
<builtin>: recipe for target 'CrtVehicleTesting.Engines.EngineMapByMechTest_fromRecord_03lsy.o' failed
mingw32-make: *** [CrtVehicleTesting.Engines.EngineMapByMechTest_fromRecord_03lsy.o] Error 1

Change History (12)

comment:1 by Karim Adbdelhak, 5 years ago

I have never encountered such a problem. Unfortunately we cannot do anything without a minimal example or at least a hint on what to look for. We need to reproduce this to fix it.

Am i correctly assuming that you try to linearize a nonlinear system?

comment:2 by Karim Adbdelhak, 5 years ago

Component: *unknown*Code Generation
Owner: changed from somebody to Karim Adbdelhak
Status: newassigned

comment:3 by dariomangoni@…, 5 years ago

My model makes use of Modelica.Blocks.Tables.CombiTable2D.
That's where there probably is that linearization.

I might send the generated code: can I send it to you personally? Can you see my mail address?

comment:4 by Karim Adbdelhak, 5 years ago

I can only see your email until the at sign. Mail it to karim.abdelhak@ fh-bielefeld.de (without space).

comment:5 by Karim Adbdelhak, 5 years ago

I think i found the commit that caused this. Probably one case was missed that has to be adapted, if you send me the generated code i might be able to figure it out.

I will delete everything afterwards if that is what you are worried about. It would suffice if you send CrtVehicleTesting.Engines.EngineMapByMechTest_fromRecord_03lsy.c i suppose.

comment:6 by dariomangoni@…, 5 years ago

In OpenModelica-v1.16.0-dev-92-g224c6137b-64bit problem is fixed!

comment:7 by Francesco Casella, 5 years ago

Milestone: Future1.15.0

@Karim, it would be good if you understood what fixed it in 1.16.0-dev and backport it to 1.15.0

comment:8 by Karim Adbdelhak, 5 years ago

It was commit by Andreas for the parallelization of jacobians. I will talk to adrian if it is possible to backport it.

comment:9 by Francesco Casella, 4 years ago

Milestone: 1.15.01.16.0

Release 1.15.0 was scrapped, because replaceable support eventually turned out to be more easily implemented in 1.16.0. Hence, all 1.15.0 tickets are rescheduled to 1.16.0

comment:10 by Francesco Casella, 4 years ago

Milestone: 1.16.01.17.0

Retargeted to 1.17.0 after 1.16.0 release

comment:11 by Francesco Casella, 4 years ago

Milestone: 1.17.01.18.0

Retargeted to 1.18.0 because of 1.17.0 timed release.

comment:12 by Francesco Casella, 3 years ago

Milestone: 1.18.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.