Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") [: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.0.1-maint.8.0.x/package.mo): time 1.504/1.504, allocations: 285.5 MB / 292.8 MB, free: 10.54 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.001074/0.001074, allocations: 195.5 kB / 361.1 MB, free: 7.098 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.473/1.473, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0009522/0.0009524, allocations: 90.95 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.203e-06/7.233e-06, allocations: 0 / 0.8511 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7293/0.7293, allocations: 115.3 MB / 0.9637 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.028/1.757, allocations: 423.1 MB / 1.377 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/1.758, allocations: 90.03 kB / 1.377 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.899/5.657, allocations: 1.043 GB / 2.42 GB, free: 102.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003215/5.657, allocations: 79.62 kB / 2.42 GB, free: 102.2 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.008605/5.666, allocations: 3.23 MB / 2.424 GB, free: 100.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/5.666, allocations: 18.91 kB / 2.424 GB, free: 100.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009711/5.675, allocations: 1.304 MB / 2.425 GB, free: 100.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007836/5.683, allocations: 3.314 MB / 2.428 GB, free: 100.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002385/5.683, allocations: 168.7 kB / 2.428 GB, free: 100 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004762/5.684, allocations: 140.1 kB / 2.428 GB, free: 100 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004028/5.688, allocations: 2.001 MB / 2.43 GB, free: 100 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004086/5.692, allocations: 2.51 MB / 2.433 GB, free: 99.52 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-05/5.692, allocations: 9.156 kB / 2.433 GB, free: 99.52 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002467/5.692, allocations: 5.062 kB / 2.433 GB, free: 99.52 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.572e-05/5.693, allocations: 73.88 kB / 2.433 GB, free: 99.52 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02139/5.714, allocations: 13.96 MB / 2.446 GB, free: 93.03 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/5.716, allocations: 1.082 MB / 2.448 GB, free: 92.81 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008277/5.716, allocations: 0.5808 MB / 2.448 GB, free: 92.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001525/5.718, allocations: 1.778 MB / 2.45 GB, free: 90.84 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001276/5.719, allocations: 0.8921 MB / 2.451 GB, free: 90.55 MB / 0.948 GB Notification: Performance of pre-optimization done (n=118): time 3.477e-06/5.719, allocations: 3.031 kB / 2.451 GB, free: 90.55 MB / 0.948 GB Notification: Performance of matching and sorting (n=122): time 0.02236/5.742, allocations: 10.02 MB / 2.46 GB, free: 84.53 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005038/5.742, allocations: 0.9331 MB / 2.461 GB, free: 83.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003062/5.745, allocations: 1.84 MB / 2.463 GB, free: 83.18 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000365/5.746, allocations: 33.23 kB / 2.463 GB, free: 83.15 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001011/5.747, allocations: 0.9908 MB / 2.464 GB, free: 82.58 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004993/5.747, allocations: 414 kB / 2.465 GB, free: 82.32 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/5.747, allocations: 0 / 2.465 GB, free: 82.32 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000158/5.747, allocations: 374.2 kB / 2.465 GB, free: 82.01 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/5.748, allocations: 0.5802 MB / 2.466 GB, free: 82.01 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/5.75, allocations: 1.198 MB / 2.467 GB, free: 81.33 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00235/5.752, allocations: 0.8078 MB / 2.467 GB, free: 81.31 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/5.752, allocations: 5.344 kB / 2.467 GB, free: 81.31 MB / 0.948 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005162/5.757, allocations: 2.189 MB / 2.47 GB, free: 81.11 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001248/5.759, allocations: 5.092 MB / 2.475 GB, free: 75.67 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/5.759, allocations: 12.16 kB / 2.475 GB, free: 75.67 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001723/5.76, allocations: 0.7195 MB / 2.475 GB, free: 75.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00272/5.763, allocations: 472.8 kB / 2.476 GB, free: 75.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003899/5.767, allocations: 2.364 MB / 2.478 GB, free: 74.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005576/5.773, allocations: 384.5 kB / 2.478 GB, free: 74.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002748/5.773, allocations: 106.4 kB / 2.479 GB, free: 74.55 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/5.773, allocations: 7.062 kB / 2.479 GB, free: 74.55 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004278/5.777, allocations: 1.889 MB / 2.48 GB, free: 74.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/5.777, allocations: 16.16 kB / 2.48 GB, free: 74.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001504/5.779, allocations: 0.7196 MB / 2.481 GB, free: 74.48 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/5.781, allocations: 453.2 kB / 2.482 GB, free: 74.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003744/5.785, allocations: 2.361 MB / 2.484 GB, free: 73.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004705/5.79, allocations: 319.6 kB / 2.484 GB, free: 73.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002614/5.79, allocations: 111.3 kB / 2.484 GB, free: 73.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (152): * Single equations (assignments): 149 * 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 {5 22,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.0006235/5.791, allocations: 157 kB / 2.484 GB, free: 73.28 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005476/5.791, allocations: 247.1 kB / 2.485 GB, free: 73.16 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005123/5.796, allocations: 1.707 MB / 2.486 GB, free: 73.05 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.606e-05/5.796, allocations: 19.78 kB / 2.486 GB, free: 73.05 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/5.796, allocations: 5.969 kB / 2.486 GB, free: 73.05 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003787/5.8, allocations: 1.513 MB / 2.488 GB, free: 72.76 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/5.813, allocations: 6.019 MB / 2.494 GB, free: 70.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/5.813, allocations: 3.781 kB / 2.494 GB, free: 70.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001798/5.815, allocations: 289.3 kB / 2.494 GB, free: 70.86 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001273/5.816, allocations: 0.5999 MB / 2.495 GB, free: 70.84 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/5.817, allocations: 38.88 kB / 2.495 GB, free: 70.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003218/5.82, allocations: 2.109 MB / 2.497 GB, free: 69.77 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/5.82, allocations: 10.41 kB / 2.497 GB, free: 69.77 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005805/5.826, allocations: 3.152 MB / 2.5 GB, free: 68.61 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00174/5.827, allocations: 0.6105 MB / 2.5 GB, free: 68.39 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004763/5.828, allocations: 10.88 kB / 2.5 GB, free: 68.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003384/5.831, allocations: 267.2 kB / 2.501 GB, free: 68.38 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002263/5.831, allocations: 103.3 kB / 2.501 GB, free: 68.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001742/5.832, allocations: 69.31 kB / 2.501 GB, free: 68.38 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002507/5.834, allocations: 1.379 MB / 2.502 GB, free: 68.23 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006687/5.841, allocations: 1.568 MB / 2.504 GB, free: 68.11 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.port_b1.h_outflow,heaPum1.port_b2.h_outflow) * 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 (80): * Single equations (assignments): 74 * 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,5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.003129/5.844, allocations: 1.481 MB / 2.505 GB, free: 67.73 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006479/5.851, allocations: 2.77 MB / 2.508 GB, free: 67.61 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-05/5.851, allocations: 4.5 kB / 2.508 GB, free: 67.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002283/5.853, allocations: 0.8436 MB / 2.509 GB, free: 67.59 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006228/5.859, allocations: 1.067 MB / 2.51 GB, free: 67.57 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01331/5.872, allocations: 3.957 MB / 2.514 GB, free: 66.49 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002256/5.875, allocations: 2.04 MB / 2.516 GB, free: 65.75 MB / 0.948 GB Notification: Performance of SimCode: time 1.102e-06/5.875, allocations: 2.625 kB / 2.516 GB, free: 65.75 MB / 0.948 GB Notification: Performance of Templates: time 0.1226/5.997, allocations: 75.19 MB / 2.589 GB, free: 57.8 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)