Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.598/1.598, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.001515/0.001515, allocations: 169.3 kB / 366.3 MB, free: 2.008 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.663/1.663, allocations: 205.1 MB / 0.6256 GB, free: 5.848 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.0008671/0.000867, allocations: 87.72 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2753/0.2762, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6376/0.9138, allocations: 116.3 MB / 0.9727 GB, free: 68.64 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1936/1.107, allocations: 141.2 MB / 1.111 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/1.108, allocations: 87.92 kB / 1.111 GB, free: 7.262 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.01018/1.118, allocations: 3.464 MB / 1.114 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/1.118, allocations: 8 kB / 1.114 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/1.118, allocations: 23.72 kB / 1.114 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/1.119, allocations: 239.5 kB / 1.114 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/1.119, allocations: 4 kB / 1.114 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/1.119, allocations: 12 kB / 1.114 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002704/1.119, allocations: 111.8 kB / 1.114 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/1.119, allocations: 183.6 kB / 1.115 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/1.119, allocations: 3.938 kB / 1.115 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/1.119, allocations: 3.906 kB / 1.115 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/1.119, allocations: 8 kB / 1.115 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/1.12, allocations: 0.5549 MB / 1.115 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/1.121, allocations: 115.3 kB / 1.115 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.16e-05/1.121, allocations: 36.86 kB / 1.115 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.677e-05/1.121, allocations: 4 kB / 1.115 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/1.121, allocations: 38.5 kB / 1.115 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 3.145e-06/1.121, allocations: 0 / 1.115 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003147/1.121, allocations: 106.4 kB / 1.115 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.79e-05/1.121, allocations: 132.5 kB / 1.116 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/1.121, allocations: 168.3 kB / 1.116 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/1.121, allocations: 29.7 kB / 1.116 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.545e-05/1.122, allocations: 136.1 kB / 1.116 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/1.122, allocations: 23.7 kB / 1.116 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.976e-06/1.122, allocations: 0 / 1.116 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.122, allocations: 326.7 kB / 1.116 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.31e-05/1.122, allocations: 36 kB / 1.116 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.766e-05/1.122, allocations: 73.3 kB / 1.116 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/1.122, allocations: 27.98 kB / 1.116 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.122, allocations: 0 / 1.116 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002426/1.122, allocations: 125.1 kB / 1.116 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/1.122, allocations: 8 kB / 1.116 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/1.122, allocations: 3.984 kB / 1.116 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/1.122, allocations: 0 / 1.116 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/1.123, allocations: 15.98 kB / 1.116 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/1.123, allocations: 8 kB / 1.116 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/1.123, allocations: 32.03 kB / 1.117 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/1.123, allocations: 7.969 kB / 1.117 GB, free: 1.008 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 0.0001019/1.123, allocations: 112.8 kB / 1.117 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.77e-05/1.123, allocations: 15.81 kB / 1.117 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000301/1.123, allocations: 127.8 kB / 1.117 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/1.123, allocations: 0 / 1.117 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.123, allocations: 0 / 1.117 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/1.123, allocations: 0.6562 kB / 1.117 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/1.124, allocations: 238 kB / 1.117 GB, free: 480 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/1.124, allocations: 0 / 1.117 GB, free: 480 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/1.124, allocations: 23.92 kB / 1.117 GB, free: 456 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/1.124, allocations: 7.906 kB / 1.117 GB, free: 448 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/1.124, allocations: 0 / 1.117 GB, free: 448 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/1.124, allocations: 0 / 1.117 GB, free: 448 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.124, allocations: 0.5625 kB / 1.117 GB, free: 448 kB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002521/1.124, allocations: 219.8 kB / 1.117 GB, free: 212 kB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003859/1.124, allocations: 0.5671 MB / 1.118 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.356e-05/1.124, allocations: 88.92 kB / 1.118 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.165e-05/1.125, allocations: 7.938 kB / 1.118 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/1.125, allocations: 35.92 kB / 1.118 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.679e-05/1.125, allocations: 20.61 kB / 1.118 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/1.125, allocations: 15.89 kB / 1.118 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.108e-05/1.125, allocations: 129.2 kB / 1.118 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00091/1.126, allocations: 31.84 kB / 1.118 GB, free: 15.28 MB / 0.7292 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.0001786/1.126, allocations: 108.5 kB / 1.118 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002109/1.126, allocations: 91.92 kB / 1.118 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.126, allocations: 0 / 1.118 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.596e-05/1.126, allocations: 44 kB / 1.118 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/1.127, allocations: 23.38 kB / 1.118 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005537/1.127, allocations: 197.1 kB / 1.119 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004129/1.128, allocations: 0.7547 MB / 1.119 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/1.128, allocations: 4 kB / 1.119 GB, free: 14.01 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)