Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.602/1.602, allocations: 289.8 MB / 297.1 MB, free: 6.543 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.001182/0.001182, allocations: 173.3 kB / 366.3 MB, free: 1.812 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.491/1.491, allocations: 205.1 MB / 0.6256 GB, free: 5.785 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.0008924/0.0008927, allocations: 88.36 kB / 0.7396 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.344e-06/7.665e-06, allocations: 0 / 0.859 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5606/0.5606, allocations: 116.3 MB / 0.9726 GB, free: 68.37 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7711/1.332, allocations: 424.1 MB / 1.387 GB, free: 64.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/1.332, allocations: 90.7 kB / 1.387 GB, free: 64.39 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.404/4.736, allocations: 1.043 GB / 2.43 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0005304/4.737, allocations: 83.84 kB / 2.43 GB, free: 117.2 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: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.01054/4.747, allocations: 3.232 MB / 2.433 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/4.747, allocations: 7.844 kB / 2.433 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0101/4.757, allocations: 1.311 MB / 2.435 GB, free: 115.6 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008888/4.766, allocations: 3.322 MB / 2.438 GB, free: 115 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003004/4.767, allocations: 161.7 kB / 2.438 GB, free: 115 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008691/4.767, allocations: 141.9 kB / 2.438 GB, free: 115 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005201/4.773, allocations: 2.005 MB / 2.44 GB, free: 115 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005119/4.778, allocations: 2.503 MB / 2.443 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.825e-05/4.778, allocations: 9.125 kB / 2.443 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002517/4.778, allocations: 7.875 kB / 2.443 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.29e-05/4.778, allocations: 68.05 kB / 2.443 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02059/4.799, allocations: 13.96 MB / 2.456 GB, free: 108 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/4.8, allocations: 1.084 MB / 2.457 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008075/4.801, allocations: 0.5746 MB / 2.458 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001466/4.803, allocations: 1.781 MB / 2.46 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001274/4.804, allocations: 0.8968 MB / 2.461 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=118): time 3.476e-06/4.804, allocations: 3.812 kB / 2.461 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=122): time 0.01835/4.822, allocations: 10.03 MB / 2.47 GB, free: 99.46 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002308/4.823, allocations: 0.9341 MB / 2.471 GB, free: 98.34 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002794/4.825, allocations: 1.834 MB / 2.473 GB, free: 98.11 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002448/4.826, allocations: 40.3 kB / 2.473 GB, free: 98.08 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009916/4.827, allocations: 0.9756 MB / 2.474 GB, free: 97.52 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004697/4.827, allocations: 414.1 kB / 2.474 GB, free: 97.26 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/4.827, allocations: 0 / 2.474 GB, free: 97.26 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001294/4.827, allocations: 368.3 kB / 2.475 GB, free: 96.95 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/4.828, allocations: 0.586 MB / 2.475 GB, free: 96.95 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/4.83, allocations: 1.202 MB / 2.477 GB, free: 96.27 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002509/4.832, allocations: 0.8023 MB / 2.477 GB, free: 96.25 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/4.832, allocations: 3.719 kB / 2.477 GB, free: 96.25 MB / 0.9636 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005306/4.838, allocations: 2.184 MB / 2.479 GB, free: 96.05 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001087/4.839, allocations: 5.094 MB / 2.484 GB, free: 90.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/4.839, allocations: 14.72 kB / 2.484 GB, free: 90.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001564/4.841, allocations: 0.7102 MB / 2.485 GB, free: 90.59 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002543/4.843, allocations: 469 kB / 2.486 GB, free: 90.59 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003738/4.847, allocations: 2.37 MB / 2.488 GB, free: 89.51 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005266/4.852, allocations: 385.1 kB / 2.488 GB, free: 89.49 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000246/4.852, allocations: 106.5 kB / 2.488 GB, free: 89.49 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/4.852, allocations: 5.469 kB / 2.488 GB, free: 89.49 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004237/4.857, allocations: 1.891 MB / 2.49 GB, free: 89.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/4.857, allocations: 13.5 kB / 2.49 GB, free: 89.45 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/4.858, allocations: 0.7122 MB / 2.491 GB, free: 89.43 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00247/4.861, allocations: 454.4 kB / 2.491 GB, free: 89.43 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003595/4.864, allocations: 2.367 MB / 2.494 GB, free: 88.36 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004709/4.869, allocations: 322.9 kB / 2.494 GB, free: 88.34 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002324/4.869, allocations: 105 kB / 2.494 GB, free: 88.34 MB / 0.9636 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.0006323/4.87, allocations: 160.8 kB / 2.494 GB, free: 88.22 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005068/4.87, allocations: 240.2 kB / 2.494 GB, free: 88.11 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00506/4.875, allocations: 1.707 MB / 2.496 GB, free: 87.99 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.16e-05/4.875, allocations: 21.25 kB / 2.496 GB, free: 87.99 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/4.876, allocations: 5.812 kB / 2.496 GB, free: 87.99 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003665/4.879, allocations: 1.508 MB / 2.498 GB, free: 87.7 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01255/4.892, allocations: 6.021 MB / 2.504 GB, free: 85.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/4.892, allocations: 10.38 kB / 2.504 GB, free: 85.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001853/4.894, allocations: 282.2 kB / 2.504 GB, free: 85.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001241/4.895, allocations: 0.6063 MB / 2.504 GB, free: 85.79 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/4.895, allocations: 35.02 kB / 2.504 GB, free: 85.79 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003163/4.898, allocations: 2.112 MB / 2.506 GB, free: 84.72 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/4.898, allocations: 12.11 kB / 2.507 GB, free: 84.72 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005716/4.904, allocations: 3.149 MB / 2.51 GB, free: 83.55 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001746/4.906, allocations: 0.6104 MB / 2.51 GB, free: 83.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008732/4.907, allocations: 21.25 kB / 2.51 GB, free: 83.33 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003804/4.91, allocations: 259.8 kB / 2.51 GB, free: 83.32 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001986/4.911, allocations: 103.1 kB / 2.511 GB, free: 83.32 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002085/4.911, allocations: 76.33 kB / 2.511 GB, free: 83.32 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.002623/4.913, allocations: 1.375 MB / 2.512 GB, free: 83.18 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.006157/4.92, allocations: 1.562 MB / 2.513 GB, free: 83.05 MB / 0.9636 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.002874/4.923, allocations: 1.496 MB / 2.515 GB, free: 82.65 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005952/4.928, allocations: 2.76 MB / 2.518 GB, free: 82.52 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/4.929, allocations: 4.562 kB / 2.518 GB, free: 82.52 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002053/4.931, allocations: 0.8575 MB / 2.518 GB, free: 82.51 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005536/4.936, allocations: 1.049 MB / 2.52 GB, free: 82.49 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01331/4.949, allocations: 3.961 MB / 2.523 GB, free: 81.41 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00317/4.953, allocations: 2.041 MB / 2.525 GB, free: 80.67 MB / 0.9636 GB Notification: Performance of SimCode: time 1.332e-06/4.953, allocations: 0 / 2.525 GB, free: 80.67 MB / 0.9636 GB Notification: Performance of Templates: time 0.1307/5.083, allocations: 75.2 MB / 2.599 GB, free: 57.66 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)