Opened 5 years ago

Last modified 3 years ago

#5757 assigned defect

parentJacobian member missing from linearSystemData

Reported by: dariomangoni@… Owned by: Karim.Abdelhak
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 Changed 5 years ago by Karim.Abdelhak

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 Changed 5 years ago by Karim.Abdelhak

  • Component changed from *unknown* to Code Generation
  • Owner changed from somebody to Karim.Abdelhak
  • Status changed from new to assigned

comment:3 Changed 5 years ago by dariomangoni@…

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 Changed 5 years ago by Karim.Abdelhak

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

comment:5 Changed 5 years ago by Karim.Abdelhak

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 Changed 5 years ago by dariomangoni@…

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

comment:7 Changed 5 years ago by casella

  • Milestone changed from Future to 1.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 Changed 5 years ago by Karim.Abdelhak

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

comment:9 Changed 4 years ago by casella

  • Milestone changed from 1.15.0 to 1.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 Changed 4 years ago by casella

  • Milestone changed from 1.16.0 to 1.17.0

Retargeted to 1.17.0 after 1.16.0 release

comment:11 Changed 4 years ago by casella

  • Milestone changed from 1.17.0 to 1.18.0

Retargeted to 1.18.0 because of 1.17.0 timed release.

comment:12 Changed 3 years ago by casella

  • Milestone 1.18.0 deleted

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.