Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.599/1.599, allocations: 289.8 MB / 297.1 MB, free: 6.609 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.001119/0.001119, allocations: 189.3 kB / 366.3 MB, free: 1.965 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.548/1.548, allocations: 205.1 MB / 0.6256 GB, free: 5.824 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.0009615/0.0009615, allocations: 104.3 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.032e-05/1.035e-05, allocations: 0 / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8062/0.8062, allocations: 116.3 MB / 0.9726 GB, free: 68.81 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.055/1.862, allocations: 424.4 MB / 1.387 GB, free: 60.49 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/1.862, allocations: 93.67 kB / 1.387 GB, free: 60.44 MB / 0.823 GB Notification: Performance of FrontEnd: time 4.021/5.883, allocations: 1.042 GB / 2.429 GB, free: 106.4 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003388/5.883, allocations: 77.28 kB / 2.43 GB, free: 106.3 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.008174/5.892, allocations: 3.22 MB / 2.433 GB, free: 105 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/5.892, allocations: 11.03 kB / 2.433 GB, free: 105 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01083/5.903, allocations: 1.407 MB / 2.434 GB, free: 104.8 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007507/5.91, allocations: 3.344 MB / 2.437 GB, free: 104.3 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002127/5.91, allocations: 169.4 kB / 2.438 GB, free: 104.2 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000532/5.911, allocations: 140.1 kB / 2.438 GB, free: 104.2 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004094/5.915, allocations: 2.028 MB / 2.44 GB, free: 104.2 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005058/5.92, allocations: 2.511 MB / 2.442 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.573e-05/5.92, allocations: 10.28 kB / 2.442 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003932/5.921, allocations: 7.5 kB / 2.442 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.275e-05/5.921, allocations: 70.86 kB / 2.442 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02333/5.944, allocations: 13.93 MB / 2.456 GB, free: 97.4 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/5.946, allocations: 1.129 MB / 2.457 GB, free: 97.17 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008371/5.946, allocations: 0.6376 MB / 2.457 GB, free: 97.16 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001489/5.948, allocations: 1.775 MB / 2.459 GB, free: 95.19 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001256/5.949, allocations: 0.947 MB / 2.46 GB, free: 94.91 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=122): time 3.026e-06/5.949, allocations: 0 / 2.46 GB, free: 94.91 MB / 0.9948 GB Notification: Performance of matching and sorting (n=122): time 0.005821/5.955, allocations: 1.681 MB / 2.462 GB, free: 94.71 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001971/5.955, allocations: 0.9335 MB / 2.463 GB, free: 93.58 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002832/5.958, allocations: 1.857 MB / 2.465 GB, free: 93.36 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002858/5.958, allocations: 34.8 kB / 2.465 GB, free: 93.33 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008269/5.959, allocations: 0.9821 MB / 2.466 GB, free: 92.77 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00042/5.96, allocations: 413 kB / 2.466 GB, free: 92.5 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/5.96, allocations: 0 / 2.466 GB, free: 92.5 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.427e-05/5.96, allocations: 372.7 kB / 2.466 GB, free: 92.2 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009783/5.961, allocations: 0.6266 MB / 2.467 GB, free: 92.2 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/5.962, allocations: 1.23 MB / 2.468 GB, free: 91.54 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002209/5.964, allocations: 0.8383 MB / 2.469 GB, free: 91.52 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/5.964, allocations: 3.938 kB / 2.469 GB, free: 91.52 MB / 0.9948 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.013/5.977, allocations: 2.805 MB / 2.472 GB, free: 91.32 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001062/5.979, allocations: 4.901 MB / 2.476 GB, free: 86.08 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.587e-05/5.979, allocations: 11 kB / 2.476 GB, free: 86.08 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001626/5.98, allocations: 0.7035 MB / 2.477 GB, free: 86.06 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002987/5.983, allocations: 0.5062 MB / 2.478 GB, free: 86.06 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/5.986, allocations: 1.916 MB / 2.479 GB, free: 85 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005528/5.991, allocations: 484.5 kB / 2.48 GB, free: 84.92 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003056/5.992, allocations: 106.3 kB / 2.48 GB, free: 84.92 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/5.992, allocations: 9.625 kB / 2.48 GB, free: 84.92 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01251/6.004, allocations: 2.508 MB / 2.483 GB, free: 84.87 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.149e-05/6.004, allocations: 11.59 kB / 2.483 GB, free: 84.87 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/6.006, allocations: 0.7083 MB / 2.483 GB, free: 84.84 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003006/6.009, allocations: 495.9 kB / 2.484 GB, free: 84.84 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002571/6.011, allocations: 1.914 MB / 2.486 GB, free: 83.79 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005783/6.017, allocations: 399.7 kB / 2.486 GB, free: 83.73 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002936/6.017, allocations: 107.3 kB / 2.486 GB, free: 83.73 MB / 0.9948 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 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0007981/6.018, allocations: 160.5 kB / 2.486 GB, free: 83.61 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007412/6.019, allocations: 252.7 kB / 2.486 GB, free: 83.49 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01292/6.032, allocations: 2.317 MB / 2.489 GB, free: 83.39 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.333e-05/6.032, allocations: 17.78 kB / 2.489 GB, free: 83.39 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/6.032, allocations: 7.875 kB / 2.489 GB, free: 83.39 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01134/6.043, allocations: 2.128 MB / 2.491 GB, free: 83.09 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01768/6.061, allocations: 6.731 MB / 2.497 GB, free: 81.13 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.659e-05/6.061, allocations: 3.969 kB / 2.497 GB, free: 81.13 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001941/6.063, allocations: 303.8 kB / 2.498 GB, free: 81.13 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001462/6.064, allocations: 0.7007 MB / 2.498 GB, free: 81.11 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001485/6.065, allocations: 31.81 kB / 2.498 GB, free: 81.11 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002337/6.067, allocations: 1.92 MB / 2.5 GB, free: 80.06 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.256e-06/6.067, allocations: 11.22 kB / 2.5 GB, free: 80.06 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005558/6.073, allocations: 3.265 MB / 2.503 GB, free: 78.82 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001781/6.074, allocations: 0.6407 MB / 2.504 GB, free: 78.59 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005343/6.075, allocations: 14.25 kB / 2.504 GB, free: 78.59 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003467/6.078, allocations: 282.7 kB / 2.504 GB, free: 78.58 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/6.079, allocations: 110 kB / 2.504 GB, free: 78.57 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001824/6.079, allocations: 69.17 kB / 2.505 GB, free: 78.57 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.002018/6.081, allocations: 1.387 MB / 2.506 GB, free: 78.43 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.006071/6.087, allocations: 1.831 MB / 2.508 GB, free: 78.1 MB / 0.9948 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 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.003087/6.09, allocations: 1.515 MB / 2.509 GB, free: 77.68 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004831/6.095, allocations: 2.605 MB / 2.512 GB, free: 77.57 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/6.095, allocations: 0.7188 kB / 2.512 GB, free: 77.57 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001433/6.096, allocations: 0.7803 MB / 2.512 GB, free: 77.56 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005755/6.102, allocations: 1.049 MB / 2.513 GB, free: 77.53 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009151/6.111, allocations: 3.905 MB / 2.517 GB, free: 76.43 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001828/6.113, allocations: 2.05 MB / 2.519 GB, free: 75.69 MB / 0.9948 GB Notification: Performance of SimCode: time 7.21e-07/6.113, allocations: 3.469 kB / 2.519 GB, free: 75.69 MB / 0.9948 GB Notification: Performance of Templates: time 0.1137/6.227, allocations: 76.85 MB / 2.594 GB, free: 69.02 MB / 0.9948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)