Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 181.2 kB / 7.8 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4491/0.4491, allocations: 90.85 MB / 99.08 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 221.3 MB / 342.7 MB, free: 5.219 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000996/0.0009959, allocations: 95.31 kB / 415.5 MB, free: 9.875 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.561e-06/5.591e-06, allocations: 0 / 493.9 MB, free: 11.58 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.276, allocations: 72.3 MB / 0.5529 GB, free: 44.9 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1126/0.3886, allocations: 103.7 MB / 0.6542 GB, free: 5.043 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.3889, allocations: 92.47 kB / 0.6543 GB, free: 4.953 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.008587/0.3975, allocations: 3.038 MB / 0.6572 GB, free: 1.914 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.3975, allocations: 4 kB / 0.6572 GB, free: 1.91 MB / 474.7 MB 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.0005831/0.3981, allocations: 0.4889 MB / 0.6577 GB, free: 1.379 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.3982, allocations: 8.031 kB / 0.6577 GB, free: 1.371 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.786e-05/0.3982, allocations: 23.72 kB / 0.6578 GB, free: 1.348 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.3985, allocations: 227.6 kB / 0.658 GB, free: 1.082 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.3985, allocations: 7.906 kB / 0.658 GB, free: 1.074 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.5e-05/0.3986, allocations: 13.31 kB / 0.658 GB, free: 1.062 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002416/0.3988, allocations: 111.8 kB / 0.6581 GB, free: 0.9531 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.3991, allocations: 185 kB / 0.6583 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3991, allocations: 0 / 0.6583 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.3991, allocations: 0 / 0.6583 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.3992, allocations: 4 kB / 0.6583 GB, free: 0.75 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008369/0.4, allocations: 0.5627 MB / 0.6588 GB, free: 152 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002937/0.4003, allocations: 110.8 kB / 0.6589 GB, free: 32 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.406e-05/0.4004, allocations: 36.86 kB / 0.659 GB, free: 15.99 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.776e-05/0.4005, allocations: 0 / 0.659 GB, free: 15.99 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.4005, allocations: 50.64 kB / 0.659 GB, free: 15.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 2.174e-06/0.4005, allocations: 1.875 kB / 0.659 GB, free: 15.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002662/0.4008, allocations: 97.53 kB / 0.6591 GB, free: 15.83 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/0.4008, allocations: 132.5 kB / 0.6592 GB, free: 15.67 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.401, allocations: 166.3 kB / 0.6594 GB, free: 15.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.401, allocations: 29.7 kB / 0.6594 GB, free: 15.47 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.465e-05/0.4011, allocations: 136.1 kB / 0.6596 GB, free: 15.33 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.4012, allocations: 27.61 kB / 0.6596 GB, free: 15.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-06/0.4012, allocations: 0 / 0.6596 GB, free: 15.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.4013, allocations: 326.8 kB / 0.6599 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.963e-05/0.4014, allocations: 36 kB / 0.6599 GB, free: 14.94 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.204e-05/0.4015, allocations: 67.38 kB / 0.66 GB, free: 14.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.369e-05/0.4016, allocations: 27.98 kB / 0.66 GB, free: 14.84 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4016, allocations: 3.938 kB / 0.66 GB, free: 14.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002189/0.4018, allocations: 125.5 kB / 0.6601 GB, free: 14.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.4018, allocations: 9.031 kB / 0.6602 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.4018, allocations: 4 kB / 0.6602 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.4018, allocations: 0 / 0.6602 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.402, allocations: 19.92 kB / 0.6602 GB, free: 14.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.402, allocations: 0 / 0.6602 GB, free: 14.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.4022, allocations: 43.81 kB / 0.6602 GB, free: 14.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.4022, allocations: 7.203 kB / 0.6602 GB, free: 14.62 MB / 490.7 MB 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 8.616e-05/0.4023, allocations: 110.8 kB / 0.6603 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.203e-05/0.4023, allocations: 19.81 kB / 0.6603 GB, free: 14.49 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.4026, allocations: 123.6 kB / 0.6605 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.4026, allocations: 4 kB / 0.6605 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.4026, allocations: 0 / 0.6605 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4026, allocations: 0.5625 kB / 0.6605 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.4028, allocations: 234 kB / 0.6607 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.4028, allocations: 0 / 0.6607 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.4029, allocations: 23.98 kB / 0.6607 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.403, allocations: 4 kB / 0.6607 GB, free: 14.06 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.403, allocations: 7.984 kB / 0.6607 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.403, allocations: 0.9375 kB / 0.6607 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.403, allocations: 0 / 0.6607 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002151/0.4032, allocations: 204.1 kB / 0.6609 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.154e-05/0.4033, allocations: 88.92 kB / 0.661 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.4033, allocations: 4 kB / 0.661 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.4035, allocations: 35.97 kB / 0.661 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.502e-05/0.4036, allocations: 27.86 kB / 0.6611 GB, free: 13.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.4036, allocations: 11.98 kB / 0.6611 GB, free: 13.66 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.832e-05/0.4037, allocations: 121.2 kB / 0.6612 GB, free: 13.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002468/0.404, allocations: 31.94 kB / 0.6612 GB, free: 13.51 MB / 490.7 MB 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.0001404/0.4041, allocations: 114.8 kB / 0.6613 GB, free: 13.39 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.4043, allocations: 86.17 kB / 0.6614 GB, free: 13.31 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4043, allocations: 0 / 0.6614 GB, free: 13.31 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.672e-05/0.4044, allocations: 47.94 kB / 0.6615 GB, free: 13.26 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.4046, allocations: 20.08 kB / 0.6615 GB, free: 13.24 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004803/0.4051, allocations: 204.1 kB / 0.6617 GB, free: 13.02 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003584/0.4054, allocations: 0.7586 MB / 0.6624 GB, free: 12.23 MB / 490.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4055, allocations: 0 / 0.6624 GB, free: 12.23 MB / 490.7 MB Notification: Performance of Templates: time 0.004191/0.4097, allocations: 1.846 MB / 0.6642 GB, free: 10.43 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)