Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Batteries.Examples.CCCV_StackRC,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Batteries_Examples_CCCV_StackRC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Batteries.Examples.CCCV_StackRC,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.0009902/0.0009901, allocations: 93.56 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001003/0.001003, allocations: 201.1 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002365/0.0002366, allocations: 8 kB / 306.7 MB, free: 1.293 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1145, allocations: 51.49 MB / 358.2 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_StackRC): time 0.00929/0.1238, allocations: 9.222 MB / 367.4 MB, free: 4.555 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005749/0.1296, allocations: 3.622 MB / 371 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001375/0.131, allocations: 23.88 kB / 371.1 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2743/0.4054, allocations: 4.98 MB / 376 MB, free: 12.5 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.002773/0.4082, allocations: 0.4886 MB / 376.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.4097, allocations: 319.4 kB / 376.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01817/0.4279, allocations: 10.02 MB / 386.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007267/0.4352, allocations: 4.129 MB / 391 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007655/0.4429, allocations: 2.883 MB / 393.9 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007118/0.4501, allocations: 3.009 MB / 396.9 MB, free: 6.012 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002139/0.4523, allocations: 240 kB / 397.1 MB, free: 5.777 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003303/0.4556, allocations: 296.6 kB / 397.4 MB, free: 5.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003057/0.4586, allocations: 2.134 MB / 399.5 MB, free: 3.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003729/0.4624, allocations: 1.751 MB / 401.3 MB, free: 2.227 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01547/0.4779, allocations: 12.77 MB / 414.1 MB, free: 5.508 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.4779, allocations: 0 / 414.1 MB, free: 5.508 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4779, allocations: 0 / 414.1 MB, free: 5.508 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0006677/0.4786, allocations: 0 / 414.1 MB, free: 5.508 MB / 318.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 trunk/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 ()