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.0008885/0.0008885, allocations: 96.73 kB / 16.3 MB, free: 5.988 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.00101/0.00101, allocations: 179.2 kB / 17.19 MB, free: 5.906 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.477/1.477, allocations: 223.2 MB / 241.1 MB, free: 5.449 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003017/0.0003018, allocations: 7.453 kB / 300.8 MB, free: 6.004 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1069, allocations: 50.42 MB / 351.2 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_StackRC): time 0.00982/0.1168, allocations: 9.184 MB / 360.4 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005507/0.1224, allocations: 3.47 MB / 363.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.1236, allocations: 23.88 kB / 363.9 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009141/0.1327, allocations: 4.984 MB / 368.9 MB, free: 9.926 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Batteries/BatteryStacks/CellRCStack.mo:14:26-14:33:writable] Warning: 'each' used when modifying non-array element v. Notification: Performance of NFTyping.typeBindings: time 0.001833/0.1346, allocations: 466.7 kB / 369.3 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.1358, allocations: 322.7 kB / 369.7 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01356/0.1493, allocations: 10.01 MB / 379.7 MB, free: 15.14 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005832/0.1552, allocations: 4.122 MB / 383.8 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005386/0.1606, allocations: 2.874 MB / 386.7 MB, free: 8.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005959/0.1666, allocations: 3 MB / 389.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001362/0.168, allocations: 240 kB / 389.9 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/0.1699, allocations: 284 kB / 390.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002425/0.1723, allocations: 2.141 MB / 392.3 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002466/0.1748, allocations: 1.747 MB / 394.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01174/0.1865, allocations: 12.71 MB / 406.8 MB, free: 3.902 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1866, allocations: 0 / 406.8 MB, free: 3.902 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.1866, allocations: 0 / 406.8 MB, free: 3.902 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0005039/0.1871, allocations: 0 / 406.8 MB, free: 3.902 MB / 334.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 ()