Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.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 8.0.0/package.mo): time 2.331/2.331, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001553/0.001552, allocations: 181.3 kB / 360.4 MB, free: 7.531 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.875/1.875, allocations: 205.2 MB / 0.6188 GB, free: 13.2 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001256/0.001255, allocations: 82.61 kB / 0.7318 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.243e-05/1.289e-05, allocations: 4 kB / 0.8503 GB, free: 3.992 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6706/0.6707, allocations: 115.2 MB / 0.9628 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2322/0.903, allocations: 140.1 MB / 1.1 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003555/0.9034, allocations: 93.78 kB / 1.1 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01505/0.9185, allocations: 2.978 MB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.455e-05/0.9185, allocations: 4 kB / 1.103 GB, free: 13.75 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.001073/0.9196, allocations: 484.9 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.9197, allocations: 8.531 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.9198, allocations: 27.72 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000437/0.9203, allocations: 231.5 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.9203, allocations: 8 kB / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.45e-05/0.9204, allocations: 8.703 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004259/0.9208, allocations: 109 kB / 1.103 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005095/0.9213, allocations: 196.5 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.9213, allocations: 0 / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.864e-05/0.9214, allocations: 3.906 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.9214, allocations: 4.516 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.923, allocations: 0.5545 MB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000516/0.9236, allocations: 114.8 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.9237, allocations: 40.78 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.659e-05/0.9238, allocations: 9.219 kB / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.656e-05/0.9239, allocations: 30.56 kB / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.876e-06/0.9239, allocations: 4 kB / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0004626/0.9244, allocations: 109.6 kB / 1.104 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.862e-05/0.9245, allocations: 128.5 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.9248, allocations: 166.3 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/0.9248, allocations: 25.7 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.9249, allocations: 140.1 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.212e-05/0.925, allocations: 23.7 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.357e-05/0.925, allocations: 1.406 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.9252, allocations: 330.7 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.9254, allocations: 40 kB / 1.105 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.9255, allocations: 67.36 kB / 1.105 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.9257, allocations: 31.98 kB / 1.105 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.9257, allocations: 0 / 1.105 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004194/0.9261, allocations: 117.5 kB / 1.105 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.9262, allocations: 5.094 kB / 1.105 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.9262, allocations: 4 kB / 1.105 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.9262, allocations: 4 kB / 1.105 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.9265, allocations: 21.42 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.9265, allocations: 0 / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003139/0.9268, allocations: 35.97 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.9269, allocations: 4 kB / 1.106 GB, free: 10.48 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.000132/0.927, allocations: 108.9 kB / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.12e-05/0.9271, allocations: 21.77 kB / 1.106 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004573/0.9276, allocations: 128.3 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.9276, allocations: 0 / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.9276, allocations: 5.625 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.9276, allocations: 0 / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000421/0.9281, allocations: 238 kB / 1.106 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.9281, allocations: 0 / 1.106 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.9283, allocations: 15.98 kB / 1.106 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.9283, allocations: 3.906 kB / 1.106 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.9283, allocations: 4 kB / 1.106 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.9284, allocations: 7.938 kB / 1.106 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.9284, allocations: 0 / 1.106 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004209/0.9288, allocations: 205.5 kB / 1.106 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.312e-05/0.9289, allocations: 92.91 kB / 1.106 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.94e-05/0.929, allocations: 4 kB / 1.106 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003502/0.9293, allocations: 33.72 kB / 1.106 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.9295, allocations: 27.95 kB / 1.106 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.9295, allocations: 0 / 1.106 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001564/0.9297, allocations: 128.1 kB / 1.107 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004609/0.9301, allocations: 35.84 kB / 1.107 GB, free: 9.363 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.0002389/0.9304, allocations: 119.9 kB / 1.107 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003478/0.9308, allocations: 76 kB / 1.107 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.9308, allocations: 7.938 kB / 1.107 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.9309, allocations: 46.61 kB / 1.107 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.9313, allocations: 15.52 kB / 1.107 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008603/0.9322, allocations: 205 kB / 1.107 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005684/0.9328, allocations: 0.7547 MB / 1.108 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of SimCode: time 1.383e-06/0.9328, allocations: 4 kB / 1.108 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of Templates: time 0.008013/0.9408, allocations: 1.861 MB / 1.11 GB, free: 6.305 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)