Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0/package.mo): time 0.7302/0.7302, allocations: 127.4 MB / 134.6 MB, free: 4.074 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001233/0.001233, allocations: 177.3 kB / 164.4 MB, free: 6.895 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.81/1.81, allocations: 205.1 MB / 399.1 MB, free: 6.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009447/0.0009448, allocations: 85.59 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.307e-05/1.309e-05, allocations: 4 kB / 0.546 GB, free: 42.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2051, allocations: 76.75 MB / 0.6209 GB, free: 13.9 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5643/0.7695, allocations: 104.9 MB / 0.7234 GB, free: 7.453 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/0.7698, allocations: 91.94 kB / 0.7235 GB, free: 7.363 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.01036/0.7802, allocations: 2.983 MB / 0.7264 GB, free: 4.387 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.109e-05/0.7803, allocations: 4 kB / 0.7264 GB, free: 4.383 MB / 490.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.0007464/0.781, allocations: 490.5 kB / 0.7269 GB, free: 3.859 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/0.7811, allocations: 8.031 kB / 0.7269 GB, free: 3.852 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.7812, allocations: 23.72 kB / 0.7269 GB, free: 3.828 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.7816, allocations: 239.4 kB / 0.7271 GB, free: 3.551 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.7816, allocations: 6.188 kB / 0.7271 GB, free: 3.547 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.7816, allocations: 16 kB / 0.7271 GB, free: 3.531 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002607/0.7819, allocations: 108 kB / 0.7272 GB, free: 3.426 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.7823, allocations: 184.6 kB / 0.7274 GB, free: 3.227 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.7823, allocations: 0 / 0.7274 GB, free: 3.227 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.7823, allocations: 0 / 0.7274 GB, free: 3.227 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.7823, allocations: 4 kB / 0.7274 GB, free: 3.223 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.7834, allocations: 0.573 MB / 0.728 GB, free: 2.613 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/0.7837, allocations: 107 kB / 0.7281 GB, free: 2.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.836e-05/0.7838, allocations: 44.8 kB / 0.7281 GB, free: 2.453 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.987e-05/0.7839, allocations: 0 / 0.7281 GB, free: 2.453 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/0.784, allocations: 38.56 kB / 0.7282 GB, free: 2.406 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.784, allocations: 0 / 0.7282 GB, free: 2.406 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003286/0.7843, allocations: 105.4 kB / 0.7283 GB, free: 2.297 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.439e-05/0.7844, allocations: 132.5 kB / 0.7284 GB, free: 2.137 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.7846, allocations: 163.3 kB / 0.7285 GB, free: 1.973 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.7846, allocations: 29.7 kB / 0.7286 GB, free: 1.938 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.7847, allocations: 128.2 kB / 0.7287 GB, free: 1.809 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.982e-05/0.7848, allocations: 31.61 kB / 0.7287 GB, free: 1.777 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.087e-05/0.7848, allocations: 0 / 0.7287 GB, free: 1.777 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.785, allocations: 326.8 kB / 0.729 GB, free: 1.449 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.903e-05/0.7851, allocations: 36 kB / 0.7291 GB, free: 1.414 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.341e-05/0.7852, allocations: 67.42 kB / 0.7291 GB, free: 1.336 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.7853, allocations: 28.86 kB / 0.7292 GB, free: 1.309 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.7853, allocations: 4 kB / 0.7292 GB, free: 1.305 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002529/0.7856, allocations: 126.4 kB / 0.7293 GB, free: 1.176 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.7856, allocations: 8.094 kB / 0.7293 GB, free: 1.168 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.7856, allocations: 3.938 kB / 0.7293 GB, free: 1.164 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.7856, allocations: 0 / 0.7293 GB, free: 1.164 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.7858, allocations: 19.89 kB / 0.7293 GB, free: 1.145 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.7858, allocations: 4 kB / 0.7293 GB, free: 1.141 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.786, allocations: 35.97 kB / 0.7294 GB, free: 1.105 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.786, allocations: 0 / 0.7294 GB, free: 1.105 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 0.0001658/0.7862, allocations: 113 kB / 0.7295 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.891e-05/0.7862, allocations: 15.81 kB / 0.7295 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002827/0.7865, allocations: 127 kB / 0.7296 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.7865, allocations: 4 kB / 0.7296 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.7866, allocations: 0 / 0.7296 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.7866, allocations: 3.906 kB / 0.7296 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.7868, allocations: 234 kB / 0.7298 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.7868, allocations: 0 / 0.7298 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.787, allocations: 23.92 kB / 0.7299 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.787, allocations: 4 kB / 0.7299 GB, free: 0.543 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.787, allocations: 4 kB / 0.7299 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.787, allocations: 0 / 0.7299 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.787, allocations: 0 / 0.7299 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000248/0.7873, allocations: 207.2 kB / 0.7301 GB, free: 328 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.623e-05/0.7873, allocations: 96.91 kB / 0.7302 GB, free: 212 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.7874, allocations: 4 kB / 0.7302 GB, free: 208 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.7876, allocations: 35.97 kB / 0.7302 GB, free: 172 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.208e-05/0.7877, allocations: 23.95 kB / 0.7302 GB, free: 148 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.7877, allocations: 4 kB / 0.7302 GB, free: 144 kB / 490.7 MB Notification: Performance of sort global known variables: time 0.0001054/0.7878, allocations: 121.2 kB / 0.7303 GB, free: 24 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003078/0.7881, allocations: 43.77 kB / 0.7304 GB, free: 15.98 MB / 0.4948 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.0001737/0.7883, allocations: 111.4 kB / 0.7305 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002238/0.7885, allocations: 91.92 kB / 0.7306 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/0.7886, allocations: 0 / 0.7306 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.538e-05/0.7886, allocations: 43.94 kB / 0.7306 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.7889, allocations: 12.19 kB / 0.7306 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005566/0.7894, allocations: 200.2 kB / 0.7308 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004027/0.7899, allocations: 0.7547 MB / 0.7316 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of SimCode: time 2.3e-07/0.7899, allocations: 4 kB / 0.7316 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of Templates: time 0.005375/0.7953, allocations: 1.869 MB / 0.7334 GB, free: 12.88 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)