Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.594/1.594, allocations: 289.8 MB / 297.1 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001258/0.001258, allocations: 193.2 kB / 366.3 MB, free: 1.996 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205.1 MB / 0.6256 GB, free: 5.828 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009378/0.0009379, allocations: 92.81 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.565e-06/7.605e-06, allocations: 0 / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6009/0.6009, allocations: 116.3 MB / 0.9726 GB, free: 68.9 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1683/0.7692, allocations: 141.2 MB / 1.11 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.7696, allocations: 91.92 kB / 1.111 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.008825/0.7784, allocations: 2.977 MB / 1.113 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.805e-05/0.7785, allocations: 6.188 kB / 1.113 GB, free: 4.309 MB / 0.7136 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.0006156/0.7791, allocations: 489.8 kB / 1.114 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.7791, allocations: 8.031 kB / 1.114 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.808e-05/0.7792, allocations: 27.72 kB / 1.114 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.7795, allocations: 227.5 kB / 1.114 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.7795, allocations: 8 kB / 1.114 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.7795, allocations: 12 kB / 1.114 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002327/0.7798, allocations: 115.7 kB / 1.114 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.7801, allocations: 177 kB / 1.114 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.7801, allocations: 0 / 1.114 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.7801, allocations: 6.156 kB / 1.114 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.7801, allocations: 4 kB / 1.114 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008616/0.781, allocations: 0.569 MB / 1.115 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.7813, allocations: 110.8 kB / 1.115 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.809e-05/0.7814, allocations: 40.8 kB / 1.115 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.395e-05/0.7815, allocations: 7.984 kB / 1.115 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.7815, allocations: 38.69 kB / 1.115 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.7815, allocations: 0 / 1.115 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002759/0.7818, allocations: 105.5 kB / 1.115 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/0.7819, allocations: 128.5 kB / 1.115 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.782, allocations: 166.3 kB / 1.116 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.782, allocations: 25.7 kB / 1.116 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.086e-05/0.7821, allocations: 140.1 kB / 1.116 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.7822, allocations: 23.7 kB / 1.116 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/0.7822, allocations: 0 / 1.116 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.7823, allocations: 328.2 kB / 1.116 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.724e-05/0.7824, allocations: 35.94 kB / 1.116 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.7825, allocations: 69.42 kB / 1.116 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.907e-05/0.7826, allocations: 35.98 kB / 1.116 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.7826, allocations: 0 / 1.116 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002064/0.7828, allocations: 121.5 kB / 1.116 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.7828, allocations: 4 kB / 1.116 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.7828, allocations: 0 / 1.116 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.64e-05/0.7829, allocations: 4.047 kB / 1.116 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.783, allocations: 23.91 kB / 1.116 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.783, allocations: 0 / 1.116 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.7832, allocations: 35.97 kB / 1.116 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.7832, allocations: 4 kB / 1.116 GB, free: 1.023 MB / 0.7136 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 9.45e-05/0.7833, allocations: 119.7 kB / 1.117 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.091e-05/0.7834, allocations: 15.81 kB / 1.117 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.7836, allocations: 124.8 kB / 1.117 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.7836, allocations: 0 / 1.117 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.7836, allocations: 4 kB / 1.117 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7837, allocations: 0 / 1.117 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.7839, allocations: 234 kB / 1.117 GB, free: 496 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.7839, allocations: 4 kB / 1.117 GB, free: 492 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.784, allocations: 23.98 kB / 1.117 GB, free: 468 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.784, allocations: 3.906 kB / 1.117 GB, free: 464 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.7841, allocations: 0 / 1.117 GB, free: 464 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.7841, allocations: 7.938 kB / 1.117 GB, free: 456 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.7841, allocations: 0 / 1.117 GB, free: 456 kB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002248/0.7843, allocations: 208.3 kB / 1.117 GB, free: 232 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.634e-05/0.7844, allocations: 92.92 kB / 1.117 GB, free: 120 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.7844, allocations: 0 / 1.117 GB, free: 120 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.7846, allocations: 35.97 kB / 1.117 GB, free: 84 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.127e-05/0.7847, allocations: 27.95 kB / 1.117 GB, free: 56 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.7847, allocations: 0 / 1.117 GB, free: 56 kB / 0.7136 GB Notification: Performance of sort global known variables: time 9.513e-05/0.7848, allocations: 128.8 kB / 1.117 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000257/0.7851, allocations: 35.84 kB / 1.117 GB, free: 15.89 MB / 0.7292 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.0001593/0.7852, allocations: 111.2 kB / 1.118 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000187/0.7854, allocations: 89.05 kB / 1.118 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.7854, allocations: 0 / 1.118 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.69e-05/0.7855, allocations: 44 kB / 1.118 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.7857, allocations: 10 kB / 1.118 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005029/0.7862, allocations: 204.1 kB / 1.118 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004119/0.7867, allocations: 0.7586 MB / 1.119 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of SimCode: time 2.7e-07/0.7867, allocations: 0.6562 kB / 1.119 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of Templates: time 0.004541/0.7912, allocations: 1.855 MB / 1.12 GB, free: 12.83 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)