Opened 5 years ago
Last modified 3 years ago
#5757 assigned defect
parentJacobian member missing from linearSystemData
Reported by: | 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 , 5 years ago
comment:2 by , 5 years ago
Component: | *unknown* → Code Generation |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:3 by , 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 , 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 , 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:7 by , 5 years ago
Milestone: | Future → 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 by , 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 , 4 years ago
Milestone: | 1.15.0 → 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:11 by , 4 years ago
Milestone: | 1.17.0 → 1.18.0 |
---|
Retargeted to 1.18.0 because of 1.17.0 timed release.
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?