Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.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_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.468/1.468, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001084/0.001084, allocations: 189.2 kB / 361.1 MB, free: 7.074 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.311/1.311, allocations: 205.1 MB / 0.6195 GB, free: 11.9 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.0009337/0.0009335, allocations: 96 kB / 0.7325 GB, free: 44.45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.341e-05/1.378e-05, allocations: 0 / 0.8511 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.713/0.713, allocations: 115.3 MB / 0.9637 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8977/1.611, allocations: 423 MB / 1.377 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/1.611, allocations: 93.55 kB / 1.377 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.195/5.806, allocations: 1.042 GB / 2.419 GB, free: 103.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0006149/5.807, allocations: 83.23 kB / 2.419 GB, free: 103.8 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.01154/5.818, allocations: 3.2 MB / 2.422 GB, free: 102.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/5.818, allocations: 7.094 kB / 2.422 GB, free: 102.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/5.829, allocations: 1.302 MB / 2.423 GB, free: 102.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0101/5.839, allocations: 3.338 MB / 2.427 GB, free: 101.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002183/5.839, allocations: 167.3 kB / 2.427 GB, free: 101.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004764/5.84, allocations: 137 kB / 2.427 GB, free: 101.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004146/5.844, allocations: 1.976 MB / 2.429 GB, free: 101.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004307/5.848, allocations: 2.46 MB / 2.431 GB, free: 101.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.17e-05/5.848, allocations: 6.938 kB / 2.431 GB, free: 101.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002619/5.849, allocations: 7.719 kB / 2.431 GB, free: 101.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.016e-05/5.849, allocations: 75.05 kB / 2.431 GB, free: 101.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02282/5.872, allocations: 13.77 MB / 2.445 GB, free: 94.88 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/5.873, allocations: 1.062 MB / 2.446 GB, free: 94.66 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009048/5.874, allocations: 0.5958 MB / 2.447 GB, free: 94.66 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001682/5.876, allocations: 1.773 MB / 2.448 GB, free: 92.69 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001461/5.878, allocations: 0.9112 MB / 2.449 GB, free: 92.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=118): time 4.178e-06/5.878, allocations: 0 / 2.449 GB, free: 92.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=118): time 0.006252/5.884, allocations: 1.679 MB / 2.451 GB, free: 92.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003142/5.884, allocations: 0.9337 MB / 2.452 GB, free: 91.08 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003377/5.888, allocations: 1.857 MB / 2.453 GB, free: 90.86 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002946/5.888, allocations: 33.42 kB / 2.454 GB, free: 90.82 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001113/5.889, allocations: 0.9861 MB / 2.454 GB, free: 90.25 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004976/5.889, allocations: 399.1 kB / 2.455 GB, free: 90 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/5.89, allocations: 0 / 2.455 GB, free: 90 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001296/5.89, allocations: 372.2 kB / 2.455 GB, free: 89.69 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/5.891, allocations: 0.5991 MB / 2.456 GB, free: 89.69 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/5.892, allocations: 1.203 MB / 2.457 GB, free: 89.04 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00233/5.895, allocations: 0.8142 MB / 2.458 GB, free: 89.02 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/5.895, allocations: 6.219 kB / 2.458 GB, free: 89.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005059/5.9, allocations: 2.127 MB / 2.46 GB, free: 88.83 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001297/5.901, allocations: 4.903 MB / 2.465 GB, free: 83.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.182e-05/5.901, allocations: 13.06 kB / 2.465 GB, free: 83.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/5.902, allocations: 0.5343 MB / 2.465 GB, free: 83.56 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002881/5.905, allocations: 0.4964 MB / 2.466 GB, free: 83.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002258/5.907, allocations: 1.807 MB / 2.467 GB, free: 82.51 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005741/5.913, allocations: 467 kB / 2.468 GB, free: 82.42 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003334/5.914, allocations: 107.2 kB / 2.468 GB, free: 82.42 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/5.914, allocations: 7.5 kB / 2.468 GB, free: 82.42 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004448/5.918, allocations: 1.828 MB / 2.47 GB, free: 82.38 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/5.918, allocations: 11.81 kB / 2.47 GB, free: 82.38 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/5.919, allocations: 0.5285 MB / 2.47 GB, free: 82.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002735/5.922, allocations: 0.4946 MB / 2.471 GB, free: 82.36 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/5.924, allocations: 1.798 MB / 2.473 GB, free: 81.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005248/5.929, allocations: 376.8 kB / 2.473 GB, free: 81.24 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002857/5.93, allocations: 105.8 kB / 2.473 GB, free: 81.24 MB / 0.948 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.0007324/5.93, allocations: 172.2 kB / 2.473 GB, free: 81.12 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009141/5.931, allocations: 241.8 kB / 2.473 GB, free: 81 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006104/5.938, allocations: 1.71 MB / 2.475 GB, free: 80.89 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/5.938, allocations: 16.5 kB / 2.475 GB, free: 80.89 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/5.938, allocations: 7.625 kB / 2.475 GB, free: 80.89 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004474/5.942, allocations: 1.525 MB / 2.477 GB, free: 80.59 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0121/5.954, allocations: 6.112 MB / 2.483 GB, free: 78.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/5.954, allocations: 8.969 kB / 2.483 GB, free: 78.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001848/5.956, allocations: 300.6 kB / 2.483 GB, free: 78.65 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001151/5.957, allocations: 0.5192 MB / 2.483 GB, free: 78.63 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/5.957, allocations: 37.55 kB / 2.483 GB, free: 78.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/5.959, allocations: 1.787 MB / 2.485 GB, free: 77.58 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-05/5.96, allocations: 14.28 kB / 2.485 GB, free: 77.58 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006001/5.966, allocations: 3.152 MB / 2.488 GB, free: 76.34 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001744/5.967, allocations: 0.6261 MB / 2.489 GB, free: 76.11 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000656/5.968, allocations: 20.67 kB / 2.489 GB, free: 76.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003253/5.971, allocations: 262.9 kB / 2.489 GB, free: 76.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/5.971, allocations: 100.3 kB / 2.489 GB, free: 76.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000146/5.972, allocations: 73.17 kB / 2.489 GB, free: 76.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002264/5.974, allocations: 1.385 MB / 2.491 GB, free: 75.95 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006011/5.98, allocations: 1.816 MB / 2.492 GB, free: 75.63 MB / 0.948 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.002862/5.983, allocations: 1.51 MB / 2.494 GB, free: 75.21 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004576/5.987, allocations: 2.524 MB / 2.496 GB, free: 75.11 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/5.987, allocations: 4.438 kB / 2.496 GB, free: 75.11 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001422/5.989, allocations: 0.7384 MB / 2.497 GB, free: 75.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005299/5.994, allocations: 1.047 MB / 2.498 GB, free: 75.07 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/6.006, allocations: 4.075 MB / 2.502 GB, free: 73.97 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002085/6.008, allocations: 2.037 MB / 2.504 GB, free: 73.23 MB / 0.948 GB Notification: Performance of SimCode: time 1.363e-06/6.008, allocations: 2.75 kB / 2.504 GB, free: 73.23 MB / 0.948 GB Notification: Performance of Templates: time 0.1249/6.133, allocations: 74.48 MB / 2.577 GB, free: 65.12 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)