Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.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_StackRC,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Batteries_Examples_CCCV_StackRC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Batteries.Examples.CCCV_StackRC,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Batteries_Examples_CCCV_StackRC",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.001007/0.001007, allocations: 93.59 kB / 16.65 MB, free: 6.586 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.001269/0.001269, allocations: 181.1 kB / 17.56 MB, free: 6.203 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.697/1.697, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003039/0.0003038, allocations: 4 kB / 301.5 MB, free: 6.031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1218, allocations: 50.42 MB / 351.9 MB, free: 3.602 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_StackRC): time 0.012/0.1338, allocations: 10.6 MB / 362.5 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005893/0.1398, allocations: 3.658 MB / 366.2 MB, free: 5.281 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.141, allocations: 23.88 kB / 366.2 MB, free: 5.258 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.228/0.369, allocations: 6.038 MB / 372.3 MB, free: 17.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002284/0.3713, allocations: 449 kB / 372.7 MB, free: 17.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.3728, allocations: 472.9 kB / 373.2 MB, free: 17.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02461/0.3975, allocations: 21.8 MB / 395 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008836/0.4063, allocations: 9.205 MB / 404.2 MB, free: 336 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.06134/0.4677, allocations: 52.55 MB / 456.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005636/0.4734, allocations: 2.807 MB / 459.5 MB, free: 9.113 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001211/0.4747, allocations: 324 kB / 459.8 MB, free: 8.797 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00233/0.477, allocations: 0.5373 MB / 460.4 MB, free: 8.273 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00227/0.4793, allocations: 2.602 MB / 463 MB, free: 5.668 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006709/0.486, allocations: 4.052 MB / 467 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01612/0.5021, allocations: 15.62 MB / 482.7 MB, free: 2.242 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.5022, allocations: 0 / 482.7 MB, free: 2.242 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.5022, allocations: 0 / 482.7 MB, free: 2.242 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004604/0.5027, allocations: 0 / 482.7 MB, free: 2.242 MB / 382.1 MB Error: Too few equations, under-determined system. The model has 983 equation(s) and 1013 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Batteries/Examples/CCCV_StackRC.mo:54:3-57:22:writable] Error: stack.stackBus.cellBus.T = busTranscription.stackBus.cellBus.T has size 1 but 0 variables ()