Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") [: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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.582/1.582, allocations: 289.8 MB / 297.1 MB, free: 6.711 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001525/0.001525, allocations: 185.3 kB / 366.3 MB, free: 2 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.678/1.678, allocations: 205.2 MB / 0.6256 GB, free: 5.84 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 95 kB / 0.7396 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.728e-06/9.818e-06, allocations: 4 kB / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5922/0.5922, allocations: 116.3 MB / 0.9726 GB, free: 68.73 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8097/1.402, allocations: 424 MB / 1.387 GB, free: 63.82 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/1.402, allocations: 93.08 kB / 1.387 GB, free: 63.77 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.33/4.732, allocations: 1.042 GB / 2.429 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.000464/4.733, allocations: 86.88 kB / 2.429 GB, free: 118.1 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.009052/4.742, allocations: 3.201 MB / 2.432 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/4.742, allocations: 12.09 kB / 2.432 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009632/4.751, allocations: 1.304 MB / 2.433 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00778/4.759, allocations: 3.322 MB / 2.437 GB, free: 116 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002071/4.759, allocations: 169.4 kB / 2.437 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004248/4.76, allocations: 144 kB / 2.437 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004116/4.764, allocations: 1.975 MB / 2.439 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004024/4.768, allocations: 2.458 MB / 2.441 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.852e-05/4.768, allocations: 7.938 kB / 2.441 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002573/4.768, allocations: 6.969 kB / 2.441 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.895e-05/4.768, allocations: 72.66 kB / 2.441 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02256/4.791, allocations: 13.76 MB / 2.455 GB, free: 109.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/4.793, allocations: 1.062 MB / 2.456 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008189/4.793, allocations: 0.5943 MB / 2.456 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001473/4.795, allocations: 1.779 MB / 2.458 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00121/4.796, allocations: 0.9083 MB / 2.459 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=118): time 3.236e-06/4.796, allocations: 2.562 kB / 2.459 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=118): time 0.005856/4.802, allocations: 1.68 MB / 2.461 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002053/4.802, allocations: 0.936 MB / 2.462 GB, free: 105.3 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002992/4.805, allocations: 1.853 MB / 2.463 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002706/4.806, allocations: 35.67 kB / 2.463 GB, free: 105 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007971/4.806, allocations: 0.9867 MB / 2.464 GB, free: 104.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003806/4.807, allocations: 397.5 kB / 2.465 GB, free: 104.2 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/4.807, allocations: 0 / 2.465 GB, free: 104.2 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.973e-05/4.807, allocations: 369.5 kB / 2.465 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009848/4.808, allocations: 0.6025 MB / 2.466 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/4.809, allocations: 1.195 MB / 2.467 GB, free: 103.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002256/4.812, allocations: 0.8176 MB / 2.468 GB, free: 103.2 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/4.812, allocations: 3.875 kB / 2.468 GB, free: 103.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005019/4.817, allocations: 2.127 MB / 2.47 GB, free: 103 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009044/4.818, allocations: 4.901 MB / 2.474 GB, free: 97.78 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/4.818, allocations: 14.88 kB / 2.474 GB, free: 97.78 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/4.819, allocations: 0.5291 MB / 2.475 GB, free: 97.75 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00288/4.822, allocations: 0.5005 MB / 2.476 GB, free: 97.75 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/4.824, allocations: 1.8 MB / 2.477 GB, free: 96.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005468/4.829, allocations: 467.8 kB / 2.478 GB, free: 96.62 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003859/4.83, allocations: 105 kB / 2.478 GB, free: 96.62 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/4.83, allocations: 7.656 kB / 2.478 GB, free: 96.61 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004314/4.834, allocations: 1.837 MB / 2.48 GB, free: 96.57 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/4.834, allocations: 11.78 kB / 2.48 GB, free: 96.57 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/4.835, allocations: 0.5214 MB / 2.48 GB, free: 96.55 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002703/4.838, allocations: 0.4939 MB / 2.481 GB, free: 96.55 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/4.84, allocations: 1.802 MB / 2.482 GB, free: 95.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004715/4.845, allocations: 379.5 kB / 2.483 GB, free: 95.43 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003771/4.845, allocations: 105.4 kB / 2.483 GB, free: 95.43 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0006097/4.846, allocations: 158.2 kB / 2.483 GB, free: 95.32 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007425/4.847, allocations: 244.7 kB / 2.483 GB, free: 95.2 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005859/4.852, allocations: 1.715 MB / 2.485 GB, free: 95.08 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-05/4.853, allocations: 15.06 kB / 2.485 GB, free: 95.08 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/4.853, allocations: 6.094 kB / 2.485 GB, free: 95.08 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0047/4.857, allocations: 1.522 MB / 2.486 GB, free: 94.79 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.014/4.871, allocations: 6.111 MB / 2.492 GB, free: 92.86 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-05/4.871, allocations: 6.719 kB / 2.492 GB, free: 92.86 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001938/4.873, allocations: 306.5 kB / 2.493 GB, free: 92.85 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001155/4.874, allocations: 0.5234 MB / 2.493 GB, free: 92.83 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001813/4.875, allocations: 32.53 kB / 2.493 GB, free: 92.83 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/4.877, allocations: 1.796 MB / 2.495 GB, free: 91.78 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-05/4.877, allocations: 14.69 kB / 2.495 GB, free: 91.78 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006183/4.883, allocations: 3.152 MB / 2.498 GB, free: 90.54 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002268/4.885, allocations: 0.6334 MB / 2.499 GB, free: 90.31 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001191/4.887, allocations: 14.09 kB / 2.499 GB, free: 90.31 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004211/4.891, allocations: 269.2 kB / 2.499 GB, free: 90.3 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002664/4.891, allocations: 98.98 kB / 2.499 GB, free: 90.29 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002478/4.891, allocations: 75.59 kB / 2.499 GB, free: 90.29 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.003843/4.895, allocations: 1.379 MB / 2.5 GB, free: 90.15 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01057/4.906, allocations: 1.819 MB / 2.502 GB, free: 89.82 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.003502/4.909, allocations: 1.495 MB / 2.504 GB, free: 89.43 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005727/4.915, allocations: 2.524 MB / 2.506 GB, free: 89.32 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.65e-05/4.915, allocations: 4.656 kB / 2.506 GB, free: 89.31 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001446/4.917, allocations: 0.7422 MB / 2.507 GB, free: 89.3 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006058/4.923, allocations: 1.051 MB / 2.508 GB, free: 89.28 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01234/4.935, allocations: 4.068 MB / 2.512 GB, free: 88.18 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002026/4.937, allocations: 2.04 MB / 2.514 GB, free: 87.44 MB / 0.9636 GB Notification: Performance of SimCode: time 8.01e-07/4.937, allocations: 0 / 2.514 GB, free: 87.44 MB / 0.9636 GB Notification: Performance of Templates: time 0.1222/5.059, allocations: 74.5 MB / 2.587 GB, free: 70.4 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)