Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_Stack.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: translateModel(Modelica.Electrical.Batteries.Examples.CCCV_Stack,tolerance=1e-06,outputFormat="mat",numberOfIntervals=24000,variableFilter="time|energy.y|stack.cell.1, 1..cell.limIntegrator.y|stack.cell.1, 1..limIntegrator.y|stack.cell.1, 2..cell.limIntegrator.y|stack.cell.1, 2..limIntegrator.y|stack.cell.2, 1..cell.limIntegrator.y|stack.cell.2, 1..limIntegrator.y|stack.cell.2, 2..cell.limIntegrator.y|stack.cell.2, 2..limIntegrator.y|stack.cell.3, 1..cell.limIntegrator.y|stack.cell.3, 1..limIntegrator.y|stack.cell.3, 2..cell.limIntegrator.y|stack.cell.3, 2..limIntegrator.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_Stack") translateModel(Modelica.Electrical.Batteries.Examples.CCCV_Stack,tolerance=1e-06,outputFormat="mat",numberOfIntervals=24000,variableFilter="time|energy.y|stack.cell.1, 1..cell.limIntegrator.y|stack.cell.1, 1..limIntegrator.y|stack.cell.1, 2..cell.limIntegrator.y|stack.cell.1, 2..limIntegrator.y|stack.cell.2, 1..cell.limIntegrator.y|stack.cell.2, 1..limIntegrator.y|stack.cell.2, 2..cell.limIntegrator.y|stack.cell.2, 2..limIntegrator.y|stack.cell.3, 1..cell.limIntegrator.y|stack.cell.3, 1..limIntegrator.y|stack.cell.3, 2..cell.limIntegrator.y|stack.cell.3, 2..limIntegrator.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_Stack") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001507/0.001507, allocations: 193.1 kB / 8.539 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 225.5 MB / 234.4 MB, free: 3.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008827/0.0008828, allocations: 90.77 kB / 286.3 MB, free: 5.223 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.892e-06/6.002e-06, allocations: 0 / 343.1 MB, free: 8.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09584/0.09587, allocations: 51.47 MB / 394.6 MB, free: 5.293 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2713/0.3672, allocations: 92.04 MB / 486.7 MB, free: 1.371 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002051/0.3675, allocations: 79.38 kB / 486.7 MB, free: 1.336 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.6066/0.974, allocations: 199.6 MB / 0.6703 GB, free: 63.81 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.003756/0.9779, allocations: 219 kB / 0.6705 GB, free: 63.8 MB / 442.7 MB Error: Too few equations, under-determined system. The model has 831 equation(s) and 837 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Thermal/HeatTransfer/Interfaces/HeatPort.mo:4:3-5:75:writable] Warning: Variable stack.heatPort[3,2].Q_flow does not have any remaining equation to be solved in. The original equations were: Equation 401: stack.heatPort[3,2].Q_flow + thermalCollectorMatrix.port_a[3,2].Q_flow = 0.0, which needs to solve for thermalCollectorMatrix.port_a[3,2].Q_flow [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Thermal/HeatTransfer/Interfaces/HeatPort.mo:4:3-5:75:writable] Warning: Variable stack.heatPort[3,1].Q_flow does not have any remaining equation to be solved in. The original equations were: Equation 402: stack.heatPort[3,1].Q_flow + thermalCollectorMatrix.port_a[3,1].Q_flow = 0.0, which needs to solve for thermalCollectorMatrix.port_a[3,1].Q_flow [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Thermal/HeatTransfer/Interfaces/HeatPort.mo:4:3-5:75:writable] Warning: Variable stack.heatPort[2,2].Q_flow does not have any remaining equation to be solved in. The original equations were: Equation 403: stack.heatPort[2,2].Q_flow + thermalCollectorMatrix.port_a[2,2].Q_flow = 0.0, which needs to solve for thermalCollectorMatrix.port_a[2,2].Q_flow [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Thermal/HeatTransfer/Interfaces/HeatPort.mo:4:3-5:75:writable] Warning: Variable stack.heatPort[2,1].Q_flow does not have any remaining equation to be solved in. The original equations were: Equation 404: stack.heatPort[2,1].Q_flow + thermalCollectorMatrix.port_a[2,1].Q_flow = 0.0, which needs to solve for thermalCollectorMatrix.port_a[2,1].Q_flow [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Thermal/HeatTransfer/Interfaces/HeatPort.mo:4:3-5:75:writable] Warning: Variable stack.heatPort[1,2].Q_flow does not have any remaining equation to be solved in. The original equations were: Equation 405: stack.heatPort[1,2].Q_flow + thermalCollectorMatrix.port_a[1,2].Q_flow = 0.0, which needs to solve for thermalCollectorMatrix.port_a[1,2].Q_flow [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Thermal/HeatTransfer/Interfaces/HeatPort.mo:4:3-5:75:writable] Warning: Variable stack.heatPort[1,1].Q_flow does not have any remaining equation to be solved in. The original equations were: Equation 406: stack.heatPort[1,1].Q_flow + thermalCollectorMatrix.port_a[1,1].Q_flow = 0.0, which needs to solve for thermalCollectorMatrix.port_a[1,1].Q_flow