Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.546/1.546, allocations: 289.8 MB / 297.1 MB, free: 6.617 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.001152/0.001151, allocations: 185.2 kB / 366.3 MB, free: 1.934 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.532/1.532, allocations: 205.1 MB / 0.6256 GB, free: 5.82 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.0009573/0.0009572, allocations: 102 kB / 0.7396 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.715e-06/8.156e-06, allocations: 0 / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7769/0.777, allocations: 116.3 MB / 0.9726 GB, free: 68.07 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.069/1.846, allocations: 423.2 MB / 1.386 GB, free: 61.62 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/1.847, allocations: 93.02 kB / 1.386 GB, free: 61.57 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.683/3.53, allocations: 0.5502 GB / 1.936 GB, free: 12.04 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001552/3.53, allocations: 47.98 kB / 1.936 GB, free: 11.99 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004285/3.535, allocations: 1.983 MB / 1.938 GB, free: 9.949 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/3.535, allocations: 15.97 kB / 1.938 GB, free: 9.934 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005257/3.54, allocations: 0.7312 MB / 1.939 GB, free: 9.199 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004241/3.544, allocations: 1.862 MB / 1.941 GB, free: 7.281 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/3.544, allocations: 92.34 kB / 1.941 GB, free: 7.184 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002191/3.545, allocations: 80 kB / 1.941 GB, free: 7.105 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002257/3.547, allocations: 1.161 MB / 1.942 GB, free: 5.941 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/3.549, allocations: 1.441 MB / 1.943 GB, free: 4.406 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.981e-05/3.549, allocations: 7.938 kB / 1.943 GB, free: 4.398 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/3.549, allocations: 4 kB / 1.943 GB, free: 4.395 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-05/3.549, allocations: 40 kB / 1.943 GB, free: 4.355 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5136/4.063, allocations: 7.658 MB / 1.951 GB, free: 244.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009929/4.064, allocations: 0.6111 MB / 1.952 GB, free: 244.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005197/4.065, allocations: 381.1 kB / 1.952 GB, free: 244.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/4.066, allocations: 1.27 MB / 1.953 GB, free: 242.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/4.066, allocations: 43.03 kB / 1.953 GB, free: 242.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=77): time 4.008e-06/4.066, allocations: 0 / 1.953 GB, free: 242.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=77): time 0.004059/4.07, allocations: 1.005 MB / 1.954 GB, free: 242.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/4.07, allocations: 190.3 kB / 1.954 GB, free: 242.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/4.071, allocations: 1.031 MB / 1.955 GB, free: 242.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001782/4.072, allocations: 34.7 kB / 1.955 GB, free: 242.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005212/4.072, allocations: 0.5643 MB / 1.956 GB, free: 242 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/4.072, allocations: 254.6 kB / 1.956 GB, free: 241.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.148e-05/4.072, allocations: 0 / 1.956 GB, free: 241.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.742e-05/4.073, allocations: 352.1 kB / 1.956 GB, free: 241.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005442/4.073, allocations: 351.8 kB / 1.957 GB, free: 241.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007156/4.074, allocations: 0.6456 MB / 1.957 GB, free: 241.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/4.075, allocations: 460.9 kB / 1.958 GB, free: 241.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/4.075, allocations: 0 / 1.958 GB, free: 241.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004332/4.079, allocations: 1.279 MB / 1.959 GB, free: 241.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008123/4.08, allocations: 2.471 MB / 1.962 GB, free: 238.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/4.08, allocations: 3.844 kB / 1.962 GB, free: 238.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009234/4.081, allocations: 366.3 kB / 1.962 GB, free: 238.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/4.083, allocations: 274.6 kB / 1.962 GB, free: 238.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/4.084, allocations: 0.965 MB / 1.963 GB, free: 238 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003068/4.087, allocations: 270 kB / 1.963 GB, free: 238 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/4.088, allocations: 59.42 kB / 1.963 GB, free: 238 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/4.088, allocations: 3.656 kB / 1.963 GB, free: 238 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004414/4.092, allocations: 1.107 MB / 1.965 GB, free: 238 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/4.092, allocations: 17.11 kB / 1.965 GB, free: 238 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009143/4.093, allocations: 360.9 kB / 1.965 GB, free: 238 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/4.094, allocations: 277.8 kB / 1.965 GB, free: 238 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/4.096, allocations: 0.9627 MB / 1.966 GB, free: 237.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002642/4.098, allocations: 231.2 kB / 1.966 GB, free: 237.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/4.099, allocations: 55.8 kB / 1.966 GB, free: 237.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum.temPro.hysHig.y,heaPum.temPro.hysHig.y,$PRE.heaPum.temPro.hysLow.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,$PRE.heaPum.temPro.hysdTConEva.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0004314/4.099, allocations: 142.5 kB / 1.966 GB, free: 237.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005663/4.1, allocations: 137.2 kB / 1.967 GB, free: 237.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0045/4.104, allocations: 1.093 MB / 1.968 GB, free: 237.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/4.104, allocations: 7.281 kB / 1.968 GB, free: 237.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/4.104, allocations: 0 / 1.968 GB, free: 237.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003432/4.108, allocations: 0.9616 MB / 1.969 GB, free: 237 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008693/4.116, allocations: 2.817 MB / 1.971 GB, free: 236.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/4.116, allocations: 3.125 kB / 1.971 GB, free: 236.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/4.117, allocations: 181.2 kB / 1.972 GB, free: 236.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008349/4.118, allocations: 369.3 kB / 1.972 GB, free: 236.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.986e-05/4.118, allocations: 13.95 kB / 1.972 GB, free: 236.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/4.12, allocations: 0.9541 MB / 1.973 GB, free: 236 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/4.12, allocations: 7.156 kB / 1.973 GB, free: 236 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01134/4.131, allocations: 2.385 MB / 1.975 GB, free: 235.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001563/4.133, allocations: 402.6 kB / 1.976 GB, free: 235.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007704/4.133, allocations: 17.28 kB / 1.976 GB, free: 235.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002449/4.136, allocations: 154.5 kB / 1.976 GB, free: 235.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002753/4.136, allocations: 74.16 kB / 1.976 GB, free: 235.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002602/4.136, allocations: 52.97 kB / 1.976 GB, free: 235.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002372/4.139, allocations: 0.77 MB / 1.977 GB, free: 235.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006176/4.145, allocations: 1.036 MB / 1.978 GB, free: 235.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 5 (heaPum.com.isOn,heaPum.temPro.hysHig.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 4 (heaPum.temPro.hysLow.y,heaPum.temPro.hysHig.y,heaPum.temPro.hysdTConEva.y,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.00332/4.148, allocations: 0.9117 MB / 1.979 GB, free: 235 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00362/4.152, allocations: 1.437 MB / 1.98 GB, free: 234.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/4.152, allocations: 3.906 kB / 1.98 GB, free: 234.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/4.153, allocations: 480.8 kB / 1.98 GB, free: 234.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003682/4.157, allocations: 0.5808 MB / 1.981 GB, free: 234.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008046/4.165, allocations: 2.168 MB / 1.983 GB, free: 234.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001679/4.167, allocations: 1.45 MB / 1.984 GB, free: 233.6 MB / 0.948 GB Notification: Performance of SimCode: time 9.82e-07/4.167, allocations: 0 / 1.984 GB, free: 233.6 MB / 0.948 GB Notification: Performance of Templates: time 0.07045/4.237, allocations: 42.52 MB / 2.026 GB, free: 232.8 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)