#3381 closed defect (fixed)
problem with model translation
Reported by: | Owned by: | Willi Braun | |
---|---|---|---|
Priority: | high | Milestone: | 1.9.4 |
Component: | Backend | Version: | trunk |
Keywords: | Cc: |
Description
The example Chemical.Examples.LeadAcidBattery (of library Chemical - https://github.com/MarekMatejak/Chemical) tested in Dymola 2015 is not running in OpenModelica r1.9.1, r1.9.2 and 1.9.3-Nightly-build (v1.9.3-dev-1053-gf923680).
The error during compilation is:
C:/Users/marek/AppData/Local/Temp/OpenModelica/OMEdit/Chemical.Examples.LeadAcidBattery_03lsy.c: In function 'Chemical_Examples_LeadAcidBattery_initialLinearSystem':
C:/Users/marek/AppData/Local/Temp/OpenModelica/OMEdit/Chemical.Examples.LeadAcidBattery_03lsy.c:985: error: 'Chemical_Examples_LeadAcidBattery_functionJacNLSJac19_column' undeclared (first use in this function)
C:/Users/marek/AppData/Local/Temp/OpenModelica/OMEdit/Chemical.Examples.LeadAcidBattery_03lsy.c:985: error: (Each undeclared identifier is reported only once
C:/Users/marek/AppData/Local/Temp/OpenModelica/OMEdit/Chemical.Examples.LeadAcidBattery_03lsy.c:985: error: for each function it appears in.)
C:/Users/marek/AppData/Local/Temp/OpenModelica/OMEdit/Chemical.Examples.LeadAcidBattery_03lsy.c:986: error: 'Chemical_Examples_LeadAcidBattery_initialAnalyticJacobianNLSJac19' undeclared (first use in this function)
mingw32-make: * [Chemical.Examples.LeadAcidBattery_03lsy.o] Error 1
Change History (7)
comment:1 by , 9 years ago
Component: | Run-time → Backend |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 9 years ago
Status: | assigned → accepted |
---|
comment:4 by , 9 years ago
The original error is gone, but for some reasons we got:
Got number 1096.000000, expected: 1089.000000
So it seems there is something wrong with the counting of jacobian equations.
comment:5 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
The model starts to work with as soon as PR450 is merged.
Willi: Any clue why an analytic Jacobian is referenced but not generated?