Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.037/2.037, allocations: 253.1 MB / 260.4 MB, free: 7.551 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001771/0.001771, allocations: 189 kB / 319.6 MB, free: 3.324 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.829/1.829, allocations: 205.4 MB / 0.5704 GB, free: 15.07 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001867/0.001866, allocations: 97.45 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.659e-06/9.808e-06, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2024, allocations: 106.2 MB / 0.8881 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6819/0.8843, allocations: 134.8 MB / 1.02 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003399/0.8847, allocations: 88.75 kB / 1.02 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01461/0.8993, allocations: 2.977 MB / 1.023 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.23e-05/0.8994, allocations: 4 kB / 1.023 GB, free: 1.066 MB / 0.6355 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.001025/0.9005, allocations: 493.2 kB / 1.023 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.9005, allocations: 8.031 kB / 1.023 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.9006, allocations: 27.72 kB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/0.901, allocations: 233 kB / 1.023 GB, free: 276 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.9011, allocations: 11.91 kB / 1.023 GB, free: 264 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.019e-05/0.9011, allocations: 8 kB / 1.023 GB, free: 256 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000387/0.9015, allocations: 110.2 kB / 1.024 GB, free: 188 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004671/0.902, allocations: 182.6 kB / 1.024 GB, free: 28 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.902, allocations: 4 kB / 1.024 GB, free: 24 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.9021, allocations: 0 / 1.024 GB, free: 24 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.9021, allocations: 8 kB / 1.024 GB, free: 16 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.9038, allocations: 0.562 MB / 1.024 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005105/0.9043, allocations: 117.7 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.9044, allocations: 34.73 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.543e-05/0.9045, allocations: 7.984 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.9046, allocations: 38.59 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 2.766e-06/0.9046, allocations: 0 / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0004299/0.905, allocations: 108.7 kB / 1.025 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.544e-05/0.9051, allocations: 132.4 kB / 1.025 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.9054, allocations: 163.7 kB / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.751e-05/0.9054, allocations: 29.2 kB / 1.025 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.9055, allocations: 131.4 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/0.9056, allocations: 38.91 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.362e-05/0.9056, allocations: 0 / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.9058, allocations: 326 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.9059, allocations: 33 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.9061, allocations: 71.42 kB / 1.025 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.9063, allocations: 32.17 kB / 1.025 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.9063, allocations: 0 / 1.025 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003703/0.9067, allocations: 121 kB / 1.026 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.9067, allocations: 6.188 kB / 1.026 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.9067, allocations: 0 / 1.026 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.9067, allocations: 0 / 1.026 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.907, allocations: 23.92 kB / 1.026 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.907, allocations: 7.984 kB / 1.026 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003053/0.9073, allocations: 39.88 kB / 1.026 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.9074, allocations: 7.875 kB / 1.026 GB, free: 14.16 MB / 0.6511 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.0001305/0.9075, allocations: 109.7 kB / 1.026 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-05/0.9076, allocations: 15.81 kB / 1.026 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004742/0.908, allocations: 118.4 kB / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.9081, allocations: 0 / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.9081, allocations: 0 / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.9081, allocations: 4 kB / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003907/0.9085, allocations: 243.6 kB / 1.026 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.9085, allocations: 0 / 1.026 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.9087, allocations: 15.98 kB / 1.026 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.9087, allocations: 0 / 1.026 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.9088, allocations: 0 / 1.026 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.9088, allocations: 7.938 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.9088, allocations: 0 / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003819/0.9092, allocations: 210.9 kB / 1.026 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.269e-05/0.9093, allocations: 88.92 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.572e-05/0.9093, allocations: 7.312 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003368/0.9097, allocations: 35.97 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.9098, allocations: 30.92 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.9099, allocations: 7.875 kB / 1.027 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.000153/0.91, allocations: 124.9 kB / 1.027 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004184/0.9104, allocations: 35.92 kB / 1.027 GB, free: 13.14 MB / 0.6511 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.0002215/0.9107, allocations: 107.2 kB / 1.027 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003276/0.911, allocations: 91.61 kB / 1.027 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.911, allocations: 0 / 1.027 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.9112, allocations: 41.44 kB / 1.027 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.9115, allocations: 10.88 kB / 1.027 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008218/0.9123, allocations: 200.1 kB / 1.027 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005666/0.9129, allocations: 0.7619 MB / 1.028 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of SimCode: time 1.202e-06/0.9129, allocations: 0 / 1.028 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of Templates: time 0.007502/0.9204, allocations: 1.859 MB / 1.03 GB, free: 10.15 MB / 0.6511 GB