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: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 187.9 kB / 7.802 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.457/0.457, allocations: 90.85 MB / 99.07 MB, free: 14.95 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.26/1.26, allocations: 221.4 MB / 342.8 MB, free: 5.199 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.001111/0.001112, allocations: 99.56 kB / 415.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1774/0.1786, allocations: 78.46 MB / 494 MB, free: 7.977 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.5459, allocations: 72.29 MB / 0.553 GB, free: 73.25 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1206/0.6666, allocations: 103.7 MB / 0.6543 GB, free: 6.262 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003386/0.667, allocations: 87.94 kB / 0.6544 GB, free: 6.176 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.01001/0.677, allocations: 3.53 MB / 0.6578 GB, free: 2.668 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.677, allocations: 13.3 kB / 0.6578 GB, free: 2.656 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.181e-05/0.6771, allocations: 27.72 kB / 0.6579 GB, free: 2.629 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.6774, allocations: 223.7 kB / 0.6581 GB, free: 2.367 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.6774, allocations: 11.91 kB / 0.6581 GB, free: 2.355 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.305e-05/0.6775, allocations: 8 kB / 0.6581 GB, free: 2.348 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002528/0.6777, allocations: 107.8 kB / 0.6582 GB, free: 2.242 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.678, allocations: 189 kB / 0.6584 GB, free: 2.039 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.6781, allocations: 0 / 0.6584 GB, free: 2.039 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.6781, allocations: 0 / 0.6584 GB, free: 2.039 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.6781, allocations: 4 kB / 0.6584 GB, free: 2.035 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008757/0.679, allocations: 0.5627 MB / 0.6589 GB, free: 1.434 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.6793, allocations: 114.7 kB / 0.659 GB, free: 1.312 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.687e-05/0.6794, allocations: 37.89 kB / 0.6591 GB, free: 1.273 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.019e-05/0.6795, allocations: 4 kB / 0.6591 GB, free: 1.27 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.6795, allocations: 38.47 kB / 0.6591 GB, free: 1.223 MB / 474.7 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.6795, allocations: 0 / 0.6591 GB, free: 1.223 MB / 474.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002891/0.6798, allocations: 108 kB / 0.6592 GB, free: 1.113 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.6799, allocations: 136.4 kB / 0.6593 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.68, allocations: 158.4 kB / 0.6595 GB, free: 0.7891 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.6801, allocations: 29.7 kB / 0.6595 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.246e-05/0.6802, allocations: 136.1 kB / 0.6596 GB, free: 0.6172 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.6802, allocations: 27.61 kB / 0.6597 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.936e-06/0.6802, allocations: 4 kB / 0.6597 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.6804, allocations: 326.8 kB / 0.66 GB, free: 264 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-05/0.6805, allocations: 39.98 kB / 0.66 GB, free: 224 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.114e-05/0.6806, allocations: 63.38 kB / 0.6601 GB, free: 148 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.854e-05/0.6806, allocations: 27.98 kB / 0.6601 GB, free: 120 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.6806, allocations: 0 / 0.6601 GB, free: 120 kB / 474.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002693/0.6809, allocations: 121.5 kB / 0.6602 GB, free: 15.99 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.6809, allocations: 8 kB / 0.6602 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.681, allocations: 3.938 kB / 0.6602 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.681, allocations: 0 / 0.6602 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.6811, allocations: 23.92 kB / 0.6603 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.6811, allocations: 0 / 0.6603 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.6813, allocations: 39.83 kB / 0.6603 GB, free: 15.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.6813, allocations: 9.047 kB / 0.6603 GB, free: 15.91 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 9.95e-05/0.6814, allocations: 118.8 kB / 0.6604 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.6815, allocations: 15.81 kB / 0.6604 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.6817, allocations: 121.7 kB / 0.6606 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.6818, allocations: 0 / 0.6606 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.6818, allocations: 1.875 kB / 0.6606 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.6818, allocations: 4 kB / 0.6606 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.682, allocations: 230 kB / 0.6608 GB, free: 15.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.682, allocations: 4 kB / 0.6608 GB, free: 15.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.6822, allocations: 19.98 kB / 0.6608 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.6822, allocations: 0 / 0.6608 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.6822, allocations: 0 / 0.6608 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.6822, allocations: 4 kB / 0.6608 GB, free: 15.35 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6822, allocations: 0 / 0.6608 GB, free: 15.35 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002422/0.6825, allocations: 207.3 kB / 0.661 GB, free: 15.13 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003474/0.6828, allocations: 0.5807 MB / 0.6616 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.113e-05/0.6829, allocations: 92.92 kB / 0.6617 GB, free: 14.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.6829, allocations: 0 / 0.6617 GB, free: 14.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.6831, allocations: 37.78 kB / 0.6617 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.411e-05/0.6832, allocations: 27.95 kB / 0.6617 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.6832, allocations: 3.984 kB / 0.6617 GB, free: 14.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.022e-05/0.6833, allocations: 125.2 kB / 0.6618 GB, free: 14.24 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008116/0.6841, allocations: 35.84 kB / 0.6619 GB, free: 14.2 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.0001586/0.6843, allocations: 107.2 kB / 0.662 GB, free: 14.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.6845, allocations: 96.86 kB / 0.6621 GB, free: 14 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6845, allocations: 0 / 0.6621 GB, free: 14 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.533e-05/0.6846, allocations: 43.94 kB / 0.6621 GB, free: 13.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.6848, allocations: 16.17 kB / 0.6621 GB, free: 13.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005127/0.6854, allocations: 199.1 kB / 0.6623 GB, free: 13.72 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003937/0.6858, allocations: 0.7626 MB / 0.6631 GB, free: 12.93 MB / 490.7 MB Notification: Performance of SimCode: time 3.11e-07/0.6858, allocations: 0 / 0.6631 GB, free: 12.93 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)