Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Electrical.Batteries.Examples.CCCV_StackRC,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Batteries_Examples_CCCV_StackRC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Batteries.Examples.CCCV_StackRC,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Batteries_Examples_CCCV_StackRC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009361/0.000936, allocations: 191.7 kB / 17.37 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.275/1.275, allocations: 226.5 MB / 244.7 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007645/0.0007642, allocations: 101.5 kB / 296.7 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002111/0.0002112, allocations: 8 kB / 356.8 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1976, allocations: 51.29 MB / 408.1 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_StackRC): time 0.007047/0.2047, allocations: 9.945 MB / 418.1 MB, free: 17.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004196/0.2089, allocations: 3.621 MB / 421.7 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009186/0.2099, allocations: 23.88 kB / 421.7 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006513/0.2164, allocations: 5.596 MB / 427.3 MB, free: 8.457 MB / 298.7 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.001505/0.2179, allocations: 437.3 kB / 427.7 MB, free: 8.027 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008892/0.2188, allocations: 328 kB / 428.1 MB, free: 7.711 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.02022/0.2391, allocations: 20.24 MB / 448.3 MB, free: 3.438 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01097/0.2501, allocations: 8.928 MB / 457.2 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05773/0.3078, allocations: 49.43 MB / 0.4948 GB, free: 8.922 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004405/0.3123, allocations: 2.726 MB / 0.4974 GB, free: 6.184 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001121/0.3134, allocations: 332 kB / 0.4978 GB, free: 5.859 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002124/0.3156, allocations: 0.5075 MB / 0.4983 GB, free: 5.352 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002336/0.3179, allocations: 2.625 MB / 0.5008 GB, free: 2.723 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1646/0.4825, allocations: 3.849 MB / 0.5046 GB, free: 81.54 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009776/0.4923, allocations: 13.84 MB / 0.5181 GB, free: 77.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4923, allocations: 0.5625 kB / 0.5181 GB, free: 77.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4923, allocations: 0 / 0.5181 GB, free: 77.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003618/0.4927, allocations: 0.7188 kB / 0.5181 GB, free: 77.16 MB / 378.7 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 ()