Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.511/1.511, allocations: 285.5 MB / 292.8 MB, free: 10.4 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.001146/0.001147, allocations: 185.2 kB / 361.1 MB, free: 7.051 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.483/1.483, allocations: 205.1 MB / 0.6195 GB, free: 10.25 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.0008744/0.0008742, allocations: 95.61 kB / 0.7326 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.198e-05/1.223e-05, allocations: 7.938 kB / 0.8511 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7611/0.7612, allocations: 115.3 MB / 0.9637 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.035/1.796, allocations: 422.2 MB / 1.376 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003299/1.796, allocations: 90.98 kB / 1.376 GB, free: 140 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.678/3.475, allocations: 0.5502 GB / 1.926 GB, free: 63.59 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002737/3.475, allocations: 43.98 kB / 1.926 GB, free: 63.55 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.006044/3.481, allocations: 1.99 MB / 1.928 GB, free: 61.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/3.481, allocations: 8.531 kB / 1.928 GB, free: 61.49 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005804/3.487, allocations: 0.7351 MB / 1.929 GB, free: 60.75 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00503/3.492, allocations: 1.862 MB / 1.931 GB, free: 58.83 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001825/3.492, allocations: 92.34 kB / 1.931 GB, free: 58.73 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005025/3.493, allocations: 84 kB / 1.931 GB, free: 58.65 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002915/3.496, allocations: 1.157 MB / 1.932 GB, free: 57.49 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003147/3.499, allocations: 1.434 MB / 1.934 GB, free: 55.96 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.895e-05/3.499, allocations: 3.938 kB / 1.934 GB, free: 55.96 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002296/3.499, allocations: 8 kB / 1.934 GB, free: 55.95 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.006e-05/3.499, allocations: 43.98 kB / 1.934 GB, free: 55.91 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01324/3.513, allocations: 7.668 MB / 1.941 GB, free: 47.93 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/3.514, allocations: 0.6219 MB / 1.942 GB, free: 47.29 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005529/3.514, allocations: 374.7 kB / 1.942 GB, free: 46.93 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001187/3.515, allocations: 1.271 MB / 1.943 GB, free: 45.38 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/3.516, allocations: 43.22 kB / 1.943 GB, free: 45.33 MB / 0.948 GB Notification: Performance of pre-optimization done (n=77): time 4.428e-06/3.516, allocations: 0 / 1.943 GB, free: 45.33 MB / 0.948 GB Notification: Performance of matching and sorting (n=77): time 0.004445/3.52, allocations: 1.003 MB / 1.944 GB, free: 44.31 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/3.52, allocations: 196.6 kB / 1.944 GB, free: 44.08 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002181/3.522, allocations: 1.021 MB / 1.945 GB, free: 43.05 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002051/3.523, allocations: 33.7 kB / 1.946 GB, free: 43.01 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006779/3.523, allocations: 0.5693 MB / 1.946 GB, free: 42.43 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003103/3.524, allocations: 252.2 kB / 1.946 GB, free: 42.18 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.039e-05/3.524, allocations: 0 / 1.946 GB, free: 42.18 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001096/3.524, allocations: 341.9 kB / 1.947 GB, free: 41.84 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006371/3.524, allocations: 357.9 kB / 1.947 GB, free: 41.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007395/3.525, allocations: 0.6444 MB / 1.948 GB, free: 40.73 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/3.526, allocations: 466.8 kB / 1.948 GB, free: 40.27 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.353e-06/3.526, allocations: 0 / 1.948 GB, free: 40.27 MB / 0.948 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004592/3.531, allocations: 1.283 MB / 1.949 GB, free: 38.98 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005534/3.532, allocations: 2.473 MB / 1.952 GB, free: 36.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/3.532, allocations: 5.203 kB / 1.952 GB, free: 36.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008367/3.533, allocations: 362.1 kB / 1.952 GB, free: 35.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/3.534, allocations: 275.6 kB / 1.952 GB, free: 35.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/3.535, allocations: 0.969 MB / 1.953 GB, free: 34.72 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002957/3.538, allocations: 267.1 kB / 1.954 GB, free: 34.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/3.538, allocations: 59.95 kB / 1.954 GB, free: 34.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/3.538, allocations: 4 kB / 1.954 GB, free: 34.39 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004116/3.543, allocations: 1.111 MB / 1.955 GB, free: 33.28 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/3.543, allocations: 12.03 kB / 1.955 GB, free: 33.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007101/3.543, allocations: 364.6 kB / 1.955 GB, free: 32.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/3.545, allocations: 271.6 kB / 1.955 GB, free: 32.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/3.546, allocations: 0.9785 MB / 1.956 GB, free: 31.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002625/3.549, allocations: 223.2 kB / 1.956 GB, free: 31.42 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001701/3.549, allocations: 59.94 kB / 1.957 GB, free: 31.36 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.000398/3.549, allocations: 136.6 kB / 1.957 GB, free: 31.22 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005283/3.55, allocations: 134.4 kB / 1.957 GB, free: 31.09 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004464/3.554, allocations: 1.092 MB / 1.958 GB, free: 29.98 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/3.554, allocations: 8 kB / 1.958 GB, free: 29.98 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/3.554, allocations: 3.906 kB / 1.958 GB, free: 29.97 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003352/3.558, allocations: 0.9602 MB / 1.959 GB, free: 28.98 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008112/3.566, allocations: 2.812 MB / 1.962 GB, free: 26.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/3.566, allocations: 4 kB / 1.962 GB, free: 26.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/3.567, allocations: 180.2 kB / 1.962 GB, free: 25.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007371/3.568, allocations: 360.6 kB / 1.962 GB, free: 25.54 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.57e-05/3.568, allocations: 19.97 kB / 1.962 GB, free: 25.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001148/3.569, allocations: 0.9582 MB / 1.963 GB, free: 24.53 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/3.569, allocations: 4 kB / 1.963 GB, free: 24.53 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01097/3.58, allocations: 2.384 MB / 1.965 GB, free: 22.02 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/3.581, allocations: 395 kB / 1.966 GB, free: 21.62 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006574/3.582, allocations: 15.92 kB / 1.966 GB, free: 21.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00234/3.584, allocations: 167.8 kB / 1.966 GB, free: 21.44 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/3.584, allocations: 68.53 kB / 1.966 GB, free: 21.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001804/3.585, allocations: 51.94 kB / 1.966 GB, free: 21.32 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001535/3.586, allocations: 0.7703 MB / 1.967 GB, free: 20.55 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004495/3.591, allocations: 1.036 MB / 1.968 GB, free: 19.51 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.002453/3.593, allocations: 0.9157 MB / 1.969 GB, free: 18.58 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002949/3.596, allocations: 1.438 MB / 1.97 GB, free: 17.14 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/3.596, allocations: 4 kB / 1.97 GB, free: 17.14 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000884/3.597, allocations: 478 kB / 1.971 GB, free: 16.68 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003231/3.6, allocations: 0.5754 MB / 1.971 GB, free: 16.11 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006786/3.607, allocations: 2.163 MB / 1.973 GB, free: 13.85 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001793/3.609, allocations: 1.465 MB / 1.975 GB, free: 12.36 MB / 0.948 GB Notification: Performance of SimCode: time 1.443e-06/3.609, allocations: 4 kB / 1.975 GB, free: 12.35 MB / 0.948 GB Notification: Performance of Templates: time 0.4498/4.059, allocations: 42.52 MB / 2.016 GB, free: 256.5 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)