Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7161/0.7161, allocations: 141.8 MB / 149.1 MB, free: 1.188 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 173.3 kB / 181.9 MB, free: 0.5 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 221.3 MB / 436 MB, free: 5.281 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008875/0.0008874, allocations: 104 kB / 0.507 GB, free: 1.93 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001671/0.001671, allocations: 277.7 kB / 0.5884 GB, free: 47.04 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3493/0.351, allocations: 89.65 MB / 0.676 GB, free: 59.55 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.5054, allocations: 82.78 MB / 0.7568 GB, free: 384 kB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1453/0.6508, allocations: 110.8 MB / 0.8651 GB, free: 1.371 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/0.6512, allocations: 89.97 kB / 0.8651 GB, free: 1.285 MB / 0.5419 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.2734/0.9246, allocations: 3.506 MB / 0.8686 GB, free: 109.7 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.9247, allocations: 9.047 kB / 0.8686 GB, free: 109.7 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.855e-05/0.9247, allocations: 28.66 kB / 0.8686 GB, free: 109.7 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.9251, allocations: 237.5 kB / 0.8688 GB, free: 109.5 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.9251, allocations: 5.594 kB / 0.8688 GB, free: 109.5 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/0.9251, allocations: 10.47 kB / 0.8688 GB, free: 109.5 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002846/0.9254, allocations: 111.5 kB / 0.869 GB, free: 109.4 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000332/0.9258, allocations: 182.4 kB / 0.8691 GB, free: 109.4 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.9258, allocations: 0.75 kB / 0.8691 GB, free: 109.4 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.9258, allocations: 7.906 kB / 0.8691 GB, free: 109.4 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.9258, allocations: 4.75 kB / 0.8691 GB, free: 109.4 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009058/0.9267, allocations: 0.5551 MB / 0.8697 GB, free: 109.1 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.927, allocations: 118.8 kB / 0.8698 GB, free: 109.1 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.776e-05/0.9271, allocations: 34.27 kB / 0.8698 GB, free: 109.1 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.813e-05/0.9272, allocations: 8.359 kB / 0.8698 GB, free: 109.1 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.9272, allocations: 31.75 kB / 0.8699 GB, free: 109 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.9272, allocations: 0 / 0.8699 GB, free: 109 MB / 0.5419 GB Notification: Performance of matching and sorting (n=10): time 0.0002674/0.9275, allocations: 109.2 kB / 0.87 GB, free: 109 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.9275, allocations: 133.9 kB / 0.8701 GB, free: 108.8 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.9277, allocations: 162 kB / 0.8703 GB, free: 108.7 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.9277, allocations: 27.75 kB / 0.8703 GB, free: 108.7 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 6.058e-05/0.9278, allocations: 133.6 kB / 0.8704 GB, free: 108.6 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.9278, allocations: 25.94 kB / 0.8704 GB, free: 108.6 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.256e-06/0.9278, allocations: 1.5 kB / 0.8704 GB, free: 108.6 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 5.697e-05/0.9279, allocations: 324.9 kB / 0.8707 GB, free: 108.3 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.4e-05/0.928, allocations: 35.28 kB / 0.8708 GB, free: 108.3 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.426e-05/0.9281, allocations: 68.88 kB / 0.8708 GB, free: 108.2 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.265e-05/0.9282, allocations: 36.38 kB / 0.8709 GB, free: 108.2 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9282, allocations: 3.938 kB / 0.8709 GB, free: 108.2 MB / 0.5419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002376/0.9284, allocations: 123.3 kB / 0.871 GB, free: 108.2 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.9284, allocations: 4.516 kB / 0.871 GB, free: 108.2 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.9284, allocations: 2.938 kB / 0.871 GB, free: 108.2 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.9285, allocations: 1.25 kB / 0.871 GB, free: 108.2 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.9286, allocations: 23.05 kB / 0.871 GB, free: 108.2 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.9286, allocations: 0 / 0.871 GB, free: 108.2 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.9288, allocations: 35.72 kB / 0.8711 GB, free: 108.2 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.9288, allocations: 2.766 kB / 0.8711 GB, free: 108.2 MB / 0.5419 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 7.859e-05/0.9289, allocations: 117.3 kB / 0.8712 GB, free: 108.1 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.929, allocations: 12.34 kB / 0.8712 GB, free: 108.1 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002747/0.9292, allocations: 124 kB / 0.8713 GB, free: 108 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.9293, allocations: 5.75 kB / 0.8713 GB, free: 108 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.9293, allocations: 4.75 kB / 0.8713 GB, free: 108 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.9293, allocations: 0.5625 kB / 0.8713 GB, free: 108 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.9295, allocations: 234.1 kB / 0.8715 GB, free: 107.8 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.9295, allocations: 1.531 kB / 0.8715 GB, free: 107.8 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.9296, allocations: 16.66 kB / 0.8716 GB, free: 107.8 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.9297, allocations: 7.828 kB / 0.8716 GB, free: 107.8 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.9297, allocations: 1.594 kB / 0.8716 GB, free: 107.8 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.9297, allocations: 1.125 kB / 0.8716 GB, free: 107.8 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.9297, allocations: 0.7969 kB / 0.8716 GB, free: 107.8 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000212/0.9299, allocations: 211.5 kB / 0.8718 GB, free: 107.7 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000248/0.9302, allocations: 0.5713 MB / 0.8723 GB, free: 107.2 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.9302, allocations: 92.3 kB / 0.8724 GB, free: 107.1 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.9303, allocations: 5.891 kB / 0.8724 GB, free: 107.1 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.9305, allocations: 35.12 kB / 0.8725 GB, free: 107.1 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/0.9306, allocations: 30.23 kB / 0.8725 GB, free: 107.1 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.9306, allocations: 5.656 kB / 0.8725 GB, free: 107.1 MB / 0.5419 GB Notification: Performance of sort global known variables: time 8.65e-05/0.9307, allocations: 130.4 kB / 0.8726 GB, free: 107 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008941/0.9316, allocations: 33.09 kB / 0.8726 GB, free: 107 MB / 0.5419 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.000166/0.9317, allocations: 110.2 kB / 0.8728 GB, free: 106.9 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0002224/0.932, allocations: 86.69 kB / 0.8728 GB, free: 106.9 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.932, allocations: 1.438 kB / 0.8728 GB, free: 106.9 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 9.165e-05/0.9321, allocations: 54.66 kB / 0.8729 GB, free: 106.9 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.9323, allocations: 13.56 kB / 0.8729 GB, free: 106.9 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005306/0.9329, allocations: 199.8 kB / 0.8731 GB, free: 106.8 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/0.9331, allocations: 0.7561 MB / 0.8738 GB, free: 106.1 MB / 0.5419 GB Notification: Performance of SimCode: time 4.11e-07/0.9331, allocations: 0 / 0.8738 GB, free: 106.1 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)