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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) [: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.384/1.384, allocations: 285.5 MB / 292.8 MB, free: 10.51 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.0009545/0.0009545, allocations: 185.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.192/1.192, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0008117/0.0008118, allocations: 93.31 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2046/0.2054, allocations: 121.5 MB / 0.8512 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4855/0.6909, allocations: 115.3 MB / 0.9638 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1403/0.8313, allocations: 140.2 MB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/0.8315, allocations: 88.55 kB / 1.101 GB, free: 15.68 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.008779/0.8403, allocations: 3.468 MB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.8403, allocations: 12.5 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.753e-05/0.8404, allocations: 27.47 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.8407, allocations: 231.5 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.8407, allocations: 4 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.8407, allocations: 17.75 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002268/0.841, allocations: 108 kB / 1.105 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.8413, allocations: 187.8 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.8413, allocations: 0 / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.8414, allocations: 7.906 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.8414, allocations: 4 kB / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000864/0.8422, allocations: 0.5601 MB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.8426, allocations: 106.8 kB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.117e-05/0.8426, allocations: 40.86 kB / 1.105 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.437e-05/0.8427, allocations: 8.625 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.8427, allocations: 38.56 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.735e-06/0.8427, allocations: 0 / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002704/0.843, allocations: 105.6 kB / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.8431, allocations: 136.5 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.8432, allocations: 162.7 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.8432, allocations: 29.7 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.554e-05/0.8433, allocations: 132.1 kB / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.8433, allocations: 23.7 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-06/0.8434, allocations: 0 / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.608e-05/0.8435, allocations: 330.7 kB / 1.106 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.989e-05/0.8435, allocations: 36 kB / 1.106 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.5e-05/0.8436, allocations: 67.42 kB / 1.106 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.903e-05/0.8437, allocations: 32 kB / 1.107 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.8437, allocations: 0 / 1.107 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002303/0.844, allocations: 121.4 kB / 1.107 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.844, allocations: 8 kB / 1.107 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.844, allocations: 0 / 1.107 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.844, allocations: 0 / 1.107 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.8441, allocations: 21.02 kB / 1.107 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.8441, allocations: 0 / 1.107 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.8443, allocations: 36.53 kB / 1.107 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.8443, allocations: 4.812 kB / 1.107 GB, free: 9.496 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 7.322e-05/0.8444, allocations: 116.8 kB / 1.107 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.8445, allocations: 15.81 kB / 1.107 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.8447, allocations: 122.8 kB / 1.107 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.8447, allocations: 4 kB / 1.107 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.8447, allocations: 0 / 1.107 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.8447, allocations: 4.641 kB / 1.107 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.845, allocations: 234 kB / 1.107 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.845, allocations: 3.938 kB / 1.107 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.8451, allocations: 16 kB / 1.107 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.8451, allocations: 7.891 kB / 1.107 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.8451, allocations: 9.25 kB / 1.107 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.8451, allocations: 0 / 1.107 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.8451, allocations: 0 / 1.107 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002125/0.8453, allocations: 207.2 kB / 1.107 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002854/0.8456, allocations: 0.5761 MB / 1.108 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-05/0.8457, allocations: 92.86 kB / 1.108 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.8457, allocations: 8 kB / 1.108 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.8459, allocations: 36.53 kB / 1.108 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.63e-05/0.846, allocations: 19.95 kB / 1.108 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.846, allocations: 9.156 kB / 1.108 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.098e-05/0.8461, allocations: 124.1 kB / 1.108 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007969/0.8469, allocations: 39.84 kB / 1.108 GB, free: 7.773 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.000144/0.8471, allocations: 109.4 kB / 1.108 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001811/0.8472, allocations: 91.92 kB / 1.108 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.8473, allocations: 0 / 1.108 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.31e-05/0.8473, allocations: 41.25 kB / 1.109 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.8475, allocations: 16.19 kB / 1.109 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004672/0.848, allocations: 201 kB / 1.109 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/0.8483, allocations: 0.7568 MB / 1.109 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of SimCode: time 3.81e-07/0.8483, allocations: 0 / 1.109 GB, free: 6.508 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)