Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_Stack.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Batteries.Examples.CCCV_Stack,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Batteries_Examples_CCCV_Stack",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Batteries.Examples.CCCV_Stack,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Batteries_Examples_CCCV_Stack",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007761/0.0007763, allocations: 90.48 kB / 16.31 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008119/0.0008118, allocations: 180.7 kB / 17.21 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 223.2 MB / 241.2 MB, free: 5.41 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002785/0.0002787, allocations: 6.906 kB / 300.9 MB, free: 6.055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1104, allocations: 50.43 MB / 351.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Stack): time 0.009346/0.1198, allocations: 8.839 MB / 360.2 MB, free: 2.695 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004733/0.1246, allocations: 3.204 MB / 363.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000604/0.1252, allocations: 15.94 kB / 363.4 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001819/0.127, allocations: 1.059 MB / 364.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008707/0.1279, allocations: 0.56 MB / 365 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007824/0.1287, allocations: 302.3 kB / 365.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005876/0.1346, allocations: 6.132 MB / 371.4 MB, free: 7.402 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00384/0.1384, allocations: 3.152 MB / 374.6 MB, free: 4.195 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004677/0.1431, allocations: 2.422 MB / 377 MB, free: 1.766 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003726/0.1469, allocations: 2.018 MB / 379 MB, free: 15.74 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007913/0.1477, allocations: 228 kB / 379.3 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/0.1495, allocations: 375.8 kB / 379.6 MB, free: 15.15 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00369/0.1532, allocations: 4.866 MB / 384.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00322/0.1565, allocations: 2.412 MB / 386.9 MB, free: 7.844 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02111/0.1776, allocations: 20.56 MB / 407.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.641e-05/0.1777, allocations: 3.938 kB / 407.5 MB, free: 3.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.328e-06/0.1777, allocations: 7.938 kB / 407.5 MB, free: 3.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.001185/0.1789, allocations: 0 / 407.5 MB, free: 3.223 MB / 334.1 MB Error: Too few equations, under-determined system. The model has 807 equation(s) and 837 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Batteries/Examples/CCCV_Stack.mo:62:3-65:22:writable] Error: stack.stackBus.cellBus.T = busTranscription.stackBus.cellBus.T has size 1 but 0 variables ()