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.001033/0.001032, allocations: 87.34 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.001197/0.001197, allocations: 183.8 kB / 17.21 MB, free: 6.32 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.446/1.446, allocations: 223.3 MB / 241.2 MB, free: 5.281 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002968/0.0002968, allocations: 9.375 kB / 300.9 MB, free: 5.609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.126, allocations: 50.42 MB / 351.3 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_StackRC): time 0.01069/0.1367, allocations: 9.914 MB / 361.2 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005528/0.1423, allocations: 3.465 MB / 364.7 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009864/0.1433, allocations: 27.88 kB / 364.7 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007914/0.1512, allocations: 5.487 MB / 370.2 MB, free: 8.426 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.001655/0.1529, allocations: 413.4 kB / 370.6 MB, free: 8.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.154, allocations: 317.6 kB / 370.9 MB, free: 7.715 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02235/0.1764, allocations: 19.24 MB / 390.2 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01062/0.1871, allocations: 7.88 MB / 398.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3161/0.5032, allocations: 48.35 MB / 446.4 MB, free: 50.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006391/0.5097, allocations: 2.722 MB / 449.1 MB, free: 49.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001591/0.5113, allocations: 326 kB / 449.4 MB, free: 48.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003/0.5144, allocations: 0.5091 MB / 450 MB, free: 48.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002492/0.5169, allocations: 2.61 MB / 452.6 MB, free: 46.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00453/0.5214, allocations: 1.744 MB / 454.3 MB, free: 46.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01477/0.5362, allocations: 13.79 MB / 468.1 MB, free: 34.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.989e-06/0.5363, allocations: 0 / 468.1 MB, free: 34.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.897e-06/0.5363, allocations: 0.625 kB / 468.1 MB, free: 34.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000574/0.5369, allocations: 0 / 468.1 MB, free: 34.28 MB / 350.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 ()