Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [: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.483/1.483, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.001121/0.001121, allocations: 181.3 kB / 361.1 MB, free: 7.113 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.234/1.234, allocations: 205.1 MB / 0.6195 GB, free: 10.39 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.0009175/0.0009176, allocations: 93.31 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.248e-06/9.278e-06, allocations: 4 kB / 0.8511 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4978/0.4978, allocations: 115.3 MB / 0.9637 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1562/0.6541, allocations: 142.4 MB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.6544, allocations: 90.72 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.0264/0.6808, allocations: 9.752 MB / 1.112 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.481e-05/0.6809, allocations: 8 kB / 1.112 GB, free: 3.816 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000738/0.6816, allocations: 0.572 MB / 1.113 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.6817, allocations: 8.531 kB / 1.113 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.847e-05/0.6818, allocations: 43.44 kB / 1.113 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005514/0.6823, allocations: 343.3 kB / 1.113 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.6824, allocations: 7.906 kB / 1.113 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.6824, allocations: 15.88 kB / 1.113 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001007/0.6825, allocations: 33.17 kB / 1.113 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.6826, allocations: 65.67 kB / 1.113 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.6827, allocations: 4 kB / 1.113 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.6827, allocations: 0 / 1.113 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.6827, allocations: 3.984 kB / 1.113 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006311/0.6833, allocations: 449 kB / 1.114 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.6835, allocations: 58.69 kB / 1.114 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.037e-05/0.6835, allocations: 20.98 kB / 1.114 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.6835, allocations: 5.406 kB / 1.114 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/0.6836, allocations: 71.39 kB / 1.114 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.6837, allocations: 0 / 1.114 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0002362/0.6839, allocations: 114 kB / 1.114 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.6839, allocations: 51.41 kB / 1.114 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000531/0.6845, allocations: 461.4 kB / 1.115 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.6845, allocations: 29.7 kB / 1.115 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.422e-05/0.6846, allocations: 131.9 kB / 1.115 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.6846, allocations: 23.78 kB / 1.115 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.278e-06/0.6846, allocations: 4 kB / 1.115 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.6848, allocations: 358.8 kB / 1.115 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-05/0.6849, allocations: 51.98 kB / 1.115 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.685, allocations: 78.45 kB / 1.115 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.6852, allocations: 63.95 kB / 1.115 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6852, allocations: 0 / 1.115 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003862/0.6856, allocations: 219.7 kB / 1.115 GB, free: 388 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.6856, allocations: 9.969 kB / 1.115 GB, free: 380 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.6857, allocations: 0 / 1.115 GB, free: 380 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.6857, allocations: 0 / 1.115 GB, free: 380 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.6858, allocations: 27.98 kB / 1.116 GB, free: 352 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.6858, allocations: 0 / 1.116 GB, free: 352 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.686, allocations: 20.98 kB / 1.116 GB, free: 332 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.686, allocations: 8.031 kB / 1.116 GB, free: 324 kB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TWat.tab.nextTimeEvent,$PRE.assWatTem.hys.y,assWatTem.hys.y,TWat.tab.nextTimeEvent,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 8.054e-05/0.6861, allocations: 108.9 kB / 1.116 GB, free: 208 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.6861, allocations: 43.44 kB / 1.116 GB, free: 164 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002115/0.6864, allocations: 117.5 kB / 1.116 GB, free: 40 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.6864, allocations: 0 / 1.116 GB, free: 40 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.6864, allocations: 0 / 1.116 GB, free: 40 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.6864, allocations: 3.938 kB / 1.116 GB, free: 36 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.6867, allocations: 278.1 kB / 1.116 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.6867, allocations: 9.156 kB / 1.116 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.334e-05/0.6867, allocations: 4 kB / 1.116 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.6867, allocations: 0 / 1.116 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.6868, allocations: 7.984 kB / 1.116 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.6868, allocations: 0 / 1.116 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6868, allocations: 0 / 1.116 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001766/0.687, allocations: 145.4 kB / 1.116 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.874e-05/0.687, allocations: 112.5 kB / 1.116 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.816e-05/0.6871, allocations: 4 kB / 1.116 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.6872, allocations: 19.17 kB / 1.116 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.6873, allocations: 7.984 kB / 1.116 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-06/0.6873, allocations: 0 / 1.116 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0003341/0.6876, allocations: 342.9 kB / 1.117 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002925/0.6879, allocations: 58 kB / 1.117 GB, free: 15 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 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007041/0.6886, allocations: 359 kB / 1.117 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001836/0.6888, allocations: 93.27 kB / 1.117 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.6888, allocations: 0 / 1.117 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.662e-05/0.6889, allocations: 28.06 kB / 1.117 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.6892, allocations: 55.08 kB / 1.117 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007827/0.69, allocations: 440.9 kB / 1.118 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004089/0.6905, allocations: 0.8493 MB / 1.119 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of SimCode: time 3.31e-07/0.6905, allocations: 0 / 1.119 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of Templates: time 0.006518/0.697, allocations: 2.654 MB / 1.121 GB, free: 10.68 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)