Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.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.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") [: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.54/1.54, 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.001146/0.001146, allocations: 177.3 kB / 361.1 MB, free: 7.113 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.568/1.568, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.000868/0.0008682, allocations: 87.11 kB / 0.7325 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.668e-06/9.699e-06, allocations: 4 kB / 0.8511 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6784/0.6784, allocations: 115.3 MB / 0.9637 GB, free: 78.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1829/0.8614, allocations: 140.2 MB / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.8618, allocations: 89.11 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.009199/0.871, allocations: 2.98 MB / 1.104 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.78e-05/0.871, allocations: 4 kB / 1.104 GB, free: 12.86 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0006288/0.8717, allocations: 477.8 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.8717, allocations: 12.53 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.042e-05/0.8718, allocations: 29.53 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.8721, allocations: 238.8 kB / 1.104 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.8721, allocations: 4 kB / 1.104 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.8722, allocations: 13.12 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002354/0.8724, allocations: 99.98 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.8727, allocations: 192.5 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.8727, allocations: 0 / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.8728, allocations: 11.91 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.8728, allocations: 4 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008615/0.8736, allocations: 0.5583 MB / 1.105 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.874, allocations: 111.3 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.443e-05/0.8741, allocations: 40.86 kB / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.436e-05/0.8741, allocations: 3.75 kB / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.8742, allocations: 38.55 kB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.8742, allocations: 0 / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003367/0.8745, allocations: 106.3 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.806e-05/0.8746, allocations: 136.5 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.8748, allocations: 162.6 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/0.8748, allocations: 33.7 kB / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.428e-05/0.8749, allocations: 128.1 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.8749, allocations: 26.55 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/0.875, allocations: 0 / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.8751, allocations: 330.7 kB / 1.106 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.344e-05/0.8752, allocations: 40 kB / 1.106 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.834e-05/0.8752, allocations: 67.42 kB / 1.106 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.592e-05/0.8753, allocations: 24 kB / 1.106 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.8753, allocations: 0 / 1.106 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002181/0.8756, allocations: 125.4 kB / 1.107 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.8756, allocations: 4 kB / 1.107 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.8756, allocations: 4 kB / 1.107 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.8756, allocations: 0 / 1.107 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.8757, allocations: 19.98 kB / 1.107 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.8758, allocations: 1.25 kB / 1.107 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.8759, allocations: 35.97 kB / 1.107 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.876, allocations: 4 kB / 1.107 GB, free: 9.598 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.temPro.hysHig.y,temPro.hysHig.y,$PRE.temPro.hysLow.y,temPro.hysLow.y,temPro.on.y,$PRE.temPro.hysdTConEva.y,temPro.hysdTConEva.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.768e-05/0.8761, allocations: 116.8 kB / 1.107 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/0.8761, allocations: 16.75 kB / 1.107 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.8764, allocations: 115 kB / 1.107 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.8764, allocations: 4 kB / 1.107 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.8764, allocations: 9.312 kB / 1.107 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.8764, allocations: 1.031 kB / 1.107 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.8767, allocations: 238 kB / 1.107 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.8767, allocations: 0 / 1.107 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.8768, allocations: 15.98 kB / 1.107 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.8768, allocations: 4.422 kB / 1.107 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.8768, allocations: 11.92 kB / 1.107 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.8768, allocations: 0 / 1.107 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.8768, allocations: 0 / 1.107 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002261/0.8771, allocations: 209.9 kB / 1.107 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.656e-05/0.8771, allocations: 88.92 kB / 1.107 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/0.8772, allocations: 9.594 kB / 1.107 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.8774, allocations: 35.97 kB / 1.107 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.8775, allocations: 20.56 kB / 1.107 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.8775, allocations: 11.98 kB / 1.107 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.458e-05/0.8776, allocations: 120.1 kB / 1.108 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002579/0.8778, allocations: 35.84 kB / 1.108 GB, free: 8.477 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (temPro.hysHig.y,temPro.hysLow.y,temPro.on.y,temPro.hysdTConEva.y) * Number of discrete states: 3 (temPro.hysdTConEva.y,temPro.hysLow.y,temPro.hysHig.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001724/0.878, allocations: 113.9 kB / 1.108 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.8782, allocations: 91.42 kB / 1.108 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8782, allocations: 4 kB / 1.108 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.848e-05/0.8783, allocations: 42.47 kB / 1.108 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.8786, allocations: 20.17 kB / 1.108 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005384/0.8791, allocations: 197 kB / 1.108 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003442/0.8795, allocations: 0.7516 MB / 1.109 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.8795, allocations: 0 / 1.109 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of Templates: time 0.004644/0.8841, allocations: 1.864 MB / 1.111 GB, free: 5.418 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)