Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.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.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") [: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.7711/0.7711, allocations: 141.8 MB / 149.1 MB, free: 7.168 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 177.7 kB / 181.9 MB, free: 4.57 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.432/1.432, allocations: 221.3 MB / 436 MB, free: 12.35 MB / 346.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.001151, allocations: 95.09 kB / 0.507 GB, free: 5.754 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002083/0.002083, allocations: 273.4 kB / 0.5884 GB, free: 2.551 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 1.054e-05/1.056e-05, allocations: 2.625 kB / 0.6759 GB, free: 164.6 MB / 0.5419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1924, allocations: 82.78 MB / 0.7567 GB, free: 109.8 MB / 0.5419 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.823/1.015, allocations: 395.3 MB / 1.143 GB, free: 4.324 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/1.016, allocations: 88.58 kB / 1.143 GB, free: 4.281 MB / 0.7138 GB Notification: Performance of FrontEnd: time 4.346/5.361, allocations: 1.062 GB / 2.205 GB, free: 19.03 MB / 0.7295 GB Notification: Performance of Transformations before backend: time 0.000562/5.362, allocations: 79.92 kB / 2.205 GB, free: 18.95 MB / 0.7295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.01102/5.373, allocations: 3.211 MB / 2.208 GB, free: 15.65 MB / 0.7295 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/5.373, allocations: 8.031 kB / 2.208 GB, free: 15.64 MB / 0.7295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01126/5.384, allocations: 1.405 MB / 2.21 GB, free: 14.23 MB / 0.7295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01011/5.395, allocations: 3.333 MB / 2.213 GB, free: 10.84 MB / 0.7295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003682/5.395, allocations: 168 kB / 2.213 GB, free: 10.66 MB / 0.7295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001091/5.396, allocations: 136 kB / 2.213 GB, free: 10.52 MB / 0.7295 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005927/5.402, allocations: 2.036 MB / 2.215 GB, free: 8.48 MB / 0.7295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007475/5.41, allocations: 2.501 MB / 2.218 GB, free: 5.789 MB / 0.7295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001028/5.41, allocations: 7.938 kB / 2.218 GB, free: 5.781 MB / 0.7295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007431/5.41, allocations: 8 kB / 2.218 GB, free: 5.773 MB / 0.7295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.665e-05/5.411, allocations: 79.09 kB / 2.218 GB, free: 5.699 MB / 0.7295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0292/5.44, allocations: 13.95 MB / 2.231 GB, free: 7.125 MB / 0.7452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002406/5.442, allocations: 1.123 MB / 2.232 GB, free: 5.949 MB / 0.7452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/5.443, allocations: 0.6287 MB / 2.233 GB, free: 5.324 MB / 0.7452 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0022/5.446, allocations: 1.781 MB / 2.235 GB, free: 3.156 MB / 0.7452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001997/5.448, allocations: 0.9508 MB / 2.236 GB, free: 2.105 MB / 0.7452 GB Notification: Performance of pre-optimization done (n=122): time 4.068e-06/5.448, allocations: 1.531 kB / 2.236 GB, free: 2.105 MB / 0.7452 GB Notification: Performance of matching and sorting (n=122): time 0.006982/5.455, allocations: 1.678 MB / 2.237 GB, free: 416 kB / 0.7452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005498/5.455, allocations: 0.9402 MB / 2.238 GB, free: 15.24 MB / 0.7608 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005774/5.461, allocations: 1.848 MB / 2.24 GB, free: 13.38 MB / 0.7608 GB Notification: Performance of collectPreVariables (initialization): time 0.000559/5.462, allocations: 29.7 kB / 2.24 GB, free: 13.34 MB / 0.7608 GB Notification: Performance of collectInitialEqns (initialization): time 0.001691/5.463, allocations: 0.9861 MB / 2.241 GB, free: 12.34 MB / 0.7608 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007689/5.464, allocations: 410.6 kB / 2.241 GB, free: 11.93 MB / 0.7608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002502/5.464, allocations: 4 kB / 2.241 GB, free: 11.93 MB / 0.7608 GB Notification: Performance of setup shared object (initialization): time 0.0002655/5.465, allocations: 375.5 kB / 2.242 GB, free: 11.55 MB / 0.7608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/5.466, allocations: 0.6327 MB / 2.242 GB, free: 10.92 MB / 0.7608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002089/5.468, allocations: 1.232 MB / 2.244 GB, free: 9.445 MB / 0.7608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003028/5.472, allocations: 0.8322 MB / 2.244 GB, free: 8.613 MB / 0.7608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/5.472, allocations: 0 / 2.244 GB, free: 8.613 MB / 0.7608 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01495/5.486, allocations: 2.803 MB / 2.247 GB, free: 5.797 MB / 0.7608 GB Notification: Performance of prepare postOptimizeDAE: time 0.002166/5.489, allocations: 4.9 MB / 2.252 GB, free: 396 kB / 0.7608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.152e-05/5.489, allocations: 15.98 kB / 2.252 GB, free: 380 kB / 0.7608 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4125/5.901, allocations: 0.7036 MB / 2.253 GB, free: 125.1 MB / 0.7608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003183/5.905, allocations: 0.5036 MB / 2.253 GB, free: 125.1 MB / 0.7608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00259/5.907, allocations: 1.923 MB / 2.255 GB, free: 124.1 MB / 0.7608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005931/5.913, allocations: 484.3 kB / 2.255 GB, free: 124.1 MB / 0.7608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005079/5.914, allocations: 114.5 kB / 2.256 GB, free: 124.1 MB / 0.7608 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/5.914, allocations: 3.969 kB / 2.256 GB, free: 124.1 MB / 0.7608 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01262/5.926, allocations: 2.497 MB / 2.258 GB, free: 124.1 MB / 0.7608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-05/5.926, allocations: 13.88 kB / 2.258 GB, free: 124.1 MB / 0.7608 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001515/5.928, allocations: 0.7124 MB / 2.259 GB, free: 124 MB / 0.7608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003038/5.931, allocations: 497.9 kB / 2.259 GB, free: 124 MB / 0.7608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/5.933, allocations: 1.917 MB / 2.261 GB, free: 123 MB / 0.7608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00536/5.939, allocations: 395.8 kB / 2.261 GB, free: 123 MB / 0.7608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005481/5.939, allocations: 106.2 kB / 2.262 GB, free: 123 MB / 0.7608 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0006579/5.94, allocations: 164.1 kB / 2.262 GB, free: 122.9 MB / 0.7608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009193/5.941, allocations: 245 kB / 2.262 GB, free: 122.9 MB / 0.7608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01305/5.954, allocations: 2.317 MB / 2.264 GB, free: 122.8 MB / 0.7608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-05/5.954, allocations: 18.31 kB / 2.264 GB, free: 122.8 MB / 0.7608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/5.954, allocations: 4.844 kB / 2.264 GB, free: 122.8 MB / 0.7608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01183/5.966, allocations: 2.127 MB / 2.266 GB, free: 122.5 MB / 0.7608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0217/5.988, allocations: 6.729 MB / 2.273 GB, free: 120.7 MB / 0.7608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.309e-05/5.988, allocations: 6.438 kB / 2.273 GB, free: 120.7 MB / 0.7608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002192/5.99, allocations: 306.3 kB / 2.273 GB, free: 120.7 MB / 0.7608 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00178/5.992, allocations: 0.6971 MB / 2.274 GB, free: 120.6 MB / 0.7608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003878/5.992, allocations: 36.27 kB / 2.274 GB, free: 120.6 MB / 0.7608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003107/5.995, allocations: 1.909 MB / 2.276 GB, free: 119.6 MB / 0.7608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.056e-05/5.995, allocations: 17.62 kB / 2.276 GB, free: 119.6 MB / 0.7608 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007787/6.003, allocations: 3.268 MB / 2.279 GB, free: 118.4 MB / 0.7608 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002647/6.006, allocations: 0.6343 MB / 2.28 GB, free: 118.2 MB / 0.7608 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001431/6.007, allocations: 18.64 kB / 2.28 GB, free: 118.2 MB / 0.7608 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004703/6.012, allocations: 279 kB / 2.28 GB, free: 118.2 MB / 0.7608 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002891/6.012, allocations: 107.3 kB / 2.28 GB, free: 118.2 MB / 0.7608 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003116/6.013, allocations: 69.95 kB / 2.28 GB, free: 118.2 MB / 0.7608 GB Notification: Performance of sort global known variables: time 0.00385/6.017, allocations: 1.382 MB / 2.281 GB, free: 118 MB / 0.7608 GB Notification: Performance of remove unused functions: time 0.01017/6.027, allocations: 1.828 MB / 2.283 GB, free: 117.9 MB / 0.7608 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.004533/6.031, allocations: 1.521 MB / 2.285 GB, free: 117.6 MB / 0.7608 GB Notification: Performance of simCode: created initialization part: time 0.006532/6.038, allocations: 2.6 MB / 2.287 GB, free: 117.5 MB / 0.7608 GB Notification: Performance of simCode: created event and clocks part: time 1.811e-05/6.038, allocations: 5.719 kB / 2.287 GB, free: 117.5 MB / 0.7608 GB Notification: Performance of simCode: created simulation system equations: time 0.001822/6.04, allocations: 0.7795 MB / 2.288 GB, free: 117.5 MB / 0.7608 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006888/6.047, allocations: 1.056 MB / 2.289 GB, free: 117.5 MB / 0.7608 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/6.061, allocations: 3.892 MB / 2.293 GB, free: 116.4 MB / 0.7608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003839/6.065, allocations: 2.048 MB / 2.295 GB, free: 115.7 MB / 0.7608 GB Notification: Performance of SimCode: time 1.302e-06/6.065, allocations: 0 / 2.295 GB, free: 115.7 MB / 0.7608 GB Notification: Performance of Templates: time 0.1731/6.238, allocations: 76.91 MB / 2.37 GB, free: 112 MB / 0.7608 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)