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: translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7669/0.7669, allocations: 141.8 MB / 149.1 MB, free: 3.668 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.001194/0.001193, allocations: 180.9 kB / 181.9 MB, free: 15.41 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.384/1.384, allocations: 221.4 MB / 436 MB, free: 8.535 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.001083/0.001083, allocations: 94.22 kB / 0.507 GB, free: 24.22 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001912/0.001912, allocations: 270.3 kB / 0.5884 GB, free: 11.6 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 6.723e-06/6.743e-06, allocations: 0 / 0.6759 GB, free: 1.957 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.4437, allocations: 82.76 MB / 0.7567 GB, free: 112.2 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1284/0.5722, allocations: 110.8 MB / 0.865 GB, free: 1.184 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.5726, allocations: 92.69 kB / 0.8651 GB, free: 1.098 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.009404/0.582, allocations: 3.028 MB / 0.868 GB, free: 14.09 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 3.024e-05/0.5821, allocations: 8 kB / 0.868 GB, free: 14.08 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.0007877/0.5829, allocations: 481.8 kB / 0.8685 GB, free: 13.57 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.5829, allocations: 12.02 kB / 0.8685 GB, free: 13.55 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.583, allocations: 31.7 kB / 0.8685 GB, free: 13.52 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000412/0.5835, allocations: 227.5 kB / 0.8687 GB, free: 13.26 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.5835, allocations: 8 kB / 0.8687 GB, free: 13.25 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.5835, allocations: 8 kB / 0.8688 GB, free: 13.24 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002695/0.5838, allocations: 115.8 kB / 0.8689 GB, free: 13.13 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003227/0.5841, allocations: 177 kB / 0.869 GB, free: 12.94 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.5841, allocations: 0 / 0.869 GB, free: 12.94 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.5842, allocations: 3.938 kB / 0.869 GB, free: 12.93 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.5842, allocations: 7.938 kB / 0.869 GB, free: 12.93 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009646/0.5852, allocations: 0.5665 MB / 0.8696 GB, free: 12.32 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.5855, allocations: 110.7 kB / 0.8697 GB, free: 12.2 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.99e-05/0.5856, allocations: 36.86 kB / 0.8697 GB, free: 12.16 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.563e-05/0.5856, allocations: 8 kB / 0.8697 GB, free: 12.16 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.5857, allocations: 30.56 kB / 0.8698 GB, free: 12.12 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.5857, allocations: 0 / 0.8698 GB, free: 12.12 MB / 0.5419 GB Notification: Performance of matching and sorting (n=10): time 0.0003253/0.586, allocations: 113.6 kB / 0.8699 GB, free: 12 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/0.5861, allocations: 128.5 kB / 0.87 GB, free: 11.84 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.5862, allocations: 158.4 kB / 0.8702 GB, free: 11.68 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.5863, allocations: 29.7 kB / 0.8702 GB, free: 11.65 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 8.396e-05/0.5864, allocations: 136.1 kB / 0.8703 GB, free: 11.51 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.5864, allocations: 30.05 kB / 0.8703 GB, free: 11.48 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.5864, allocations: 0 / 0.8703 GB, free: 11.48 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.5866, allocations: 326.8 kB / 0.8707 GB, free: 11.16 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.581e-05/0.5867, allocations: 35.98 kB / 0.8707 GB, free: 11.12 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.298e-05/0.5868, allocations: 63.44 kB / 0.8708 GB, free: 11.05 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.203e-05/0.5869, allocations: 31.98 kB / 0.8708 GB, free: 11.02 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5869, allocations: 0 / 0.8708 GB, free: 11.02 MB / 0.5419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002157/0.5871, allocations: 125.4 kB / 0.8709 GB, free: 10.89 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.5871, allocations: 11.89 kB / 0.8709 GB, free: 10.88 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.5871, allocations: 0 / 0.8709 GB, free: 10.88 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.5871, allocations: 0 / 0.8709 GB, free: 10.88 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.5873, allocations: 19.98 kB / 0.8709 GB, free: 10.86 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.5873, allocations: 0 / 0.8709 GB, free: 10.86 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.5874, allocations: 35.92 kB / 0.871 GB, free: 10.82 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.5875, allocations: 11.98 kB / 0.871 GB, free: 10.81 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 0.0001029/0.5876, allocations: 109 kB / 0.8711 GB, free: 10.7 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.474e-05/0.5876, allocations: 19.75 kB / 0.8711 GB, free: 10.68 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.5879, allocations: 119 kB / 0.8712 GB, free: 10.55 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.5879, allocations: 3.953 kB / 0.8712 GB, free: 10.55 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.5879, allocations: 5.016 kB / 0.8712 GB, free: 10.55 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.5879, allocations: 0 / 0.8712 GB, free: 10.55 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.5882, allocations: 234.1 kB / 0.8714 GB, free: 10.28 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.5882, allocations: 0 / 0.8714 GB, free: 10.28 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.5883, allocations: 31.86 kB / 0.8715 GB, free: 10.25 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.5884, allocations: 0 / 0.8715 GB, free: 10.25 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.5884, allocations: 0 / 0.8715 GB, free: 10.25 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.5884, allocations: 3.906 kB / 0.8715 GB, free: 10.25 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5884, allocations: 0 / 0.8715 GB, free: 10.25 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002632/0.5887, allocations: 212.2 kB / 0.8717 GB, free: 10.02 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.5887, allocations: 88.92 kB / 0.8718 GB, free: 9.918 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.5888, allocations: 4 kB / 0.8718 GB, free: 9.914 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.589, allocations: 35.97 kB / 0.8718 GB, free: 9.879 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.151e-05/0.589, allocations: 29.36 kB / 0.8718 GB, free: 9.852 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.5891, allocations: 4 kB / 0.8718 GB, free: 9.848 MB / 0.5419 GB Notification: Performance of sort global known variables: time 9.947e-05/0.5892, allocations: 133.2 kB / 0.872 GB, free: 9.719 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002768/0.5895, allocations: 31.84 kB / 0.872 GB, free: 9.688 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.000174/0.5896, allocations: 106.1 kB / 0.8721 GB, free: 9.578 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0002186/0.5899, allocations: 91.92 kB / 0.8722 GB, free: 9.488 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5899, allocations: 4 kB / 0.8722 GB, free: 9.484 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 8.119e-05/0.59, allocations: 45.81 kB / 0.8722 GB, free: 9.441 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.5902, allocations: 13 kB / 0.8722 GB, free: 9.426 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005811/0.5908, allocations: 196.2 kB / 0.8724 GB, free: 9.207 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004055/0.5912, allocations: 0.7625 MB / 0.8732 GB, free: 8.418 MB / 0.5419 GB Notification: Performance of SimCode: time 2.91e-07/0.5912, allocations: 0 / 0.8732 GB, free: 8.418 MB / 0.5419 GB Notification: Performance of Templates: time 0.00485/0.5961, allocations: 1.86 MB / 0.875 GB, free: 6.629 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)