Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#3381 closed defect (fixed)

problem with model translation

Reported by: marek@… 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 Martin Sjölund, 9 years ago

Component: Run-timeBackend
Owner: changed from somebody to Willi Braun
Status: newassigned

Willi: Any clue why an analytic Jacobian is referenced but not generated?

comment:2 by Willi Braun, 9 years ago

Status: assignedaccepted

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

Milestone: 1.9.31.9.4

Moved to new milestone 1.9.4

comment:4 by Willi Braun, 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 Willi Braun, 9 years ago

Resolution: fixed
Status: acceptedclosed

The model starts to work with as soon as PR450 is merged.

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

Milestone: 1.9.41.9.4-1.9.x

Milestone renamed

comment:7 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.