Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.527/1.527, allocations: 289.8 MB / 297.1 MB, free: 12.73 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 188.9 kB / 366.3 MB, free: 11.98 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.1 MB / 0.6256 GB, free: 2.074 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009586/0.0009587, allocations: 83.55 kB / 0.7395 GB, free: 46.94 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 9.247e-06/9.368e-06, allocations: 4 kB / 0.859 GB, free: 7.23 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4938/0.4938, allocations: 116.3 MB / 0.9726 GB, free: 81.52 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1504/0.6442, allocations: 143.4 MB / 1.113 GB, free: 0.6523 MB / 0.7059 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.6445, allocations: 88.78 kB / 1.113 GB, free: 0.5664 MB / 0.7059 GB Notification: Performance of FrontEnd: time 0.02567/0.6702, allocations: 9.756 MB / 1.122 GB, free: 6.785 MB / 0.7215 GB Notification: Performance of Transformations before backend: time 1.971e-05/0.6702, allocations: 4 kB / 1.122 GB, free: 6.781 MB / 0.7215 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.0006475/0.6709, allocations: 0.5743 MB / 1.123 GB, free: 6.164 MB / 0.7215 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.6709, allocations: 8.031 kB / 1.123 GB, free: 6.156 MB / 0.7215 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.545e-05/0.671, allocations: 43.44 kB / 1.123 GB, free: 6.113 MB / 0.7215 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005578/0.6716, allocations: 347.2 kB / 1.123 GB, free: 5.73 MB / 0.7215 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.6716, allocations: 16.64 kB / 1.123 GB, free: 5.715 MB / 0.7215 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.6716, allocations: 9.219 kB / 1.123 GB, free: 5.707 MB / 0.7215 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.596e-05/0.6717, allocations: 28 kB / 1.123 GB, free: 5.68 MB / 0.7215 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.6719, allocations: 73.59 kB / 1.123 GB, free: 5.602 MB / 0.7215 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.6719, allocations: 0 / 1.123 GB, free: 5.602 MB / 0.7215 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.6719, allocations: 4 kB / 1.123 GB, free: 5.598 MB / 0.7215 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.6719, allocations: 0 / 1.123 GB, free: 5.598 MB / 0.7215 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006015/0.6725, allocations: 441.1 kB / 1.124 GB, free: 5.129 MB / 0.7215 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.6727, allocations: 63.56 kB / 1.124 GB, free: 5.059 MB / 0.7215 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.286e-05/0.6728, allocations: 20.98 kB / 1.124 GB, free: 5.035 MB / 0.7215 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.6728, allocations: 0 / 1.124 GB, free: 5.035 MB / 0.7215 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/0.6729, allocations: 75.39 kB / 1.124 GB, free: 4.949 MB / 0.7215 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.6729, allocations: 0 / 1.124 GB, free: 4.949 MB / 0.7215 GB Notification: Performance of matching and sorting (n=6): time 0.0002217/0.6731, allocations: 114.3 kB / 1.124 GB, free: 4.832 MB / 0.7215 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.6732, allocations: 56.28 kB / 1.124 GB, free: 4.766 MB / 0.7215 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004864/0.6736, allocations: 457.4 kB / 1.124 GB, free: 4.309 MB / 0.7215 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.6737, allocations: 29.7 kB / 1.124 GB, free: 4.273 MB / 0.7215 GB Notification: Performance of collectInitialEqns (initialization): time 8.278e-05/0.6738, allocations: 135.9 kB / 1.125 GB, free: 4.137 MB / 0.7215 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.6738, allocations: 15.81 kB / 1.125 GB, free: 4.121 MB / 0.7215 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-06/0.6738, allocations: 4 kB / 1.125 GB, free: 4.117 MB / 0.7215 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.6739, allocations: 358.8 kB / 1.125 GB, free: 3.758 MB / 0.7215 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.319e-05/0.674, allocations: 55.98 kB / 1.125 GB, free: 3.703 MB / 0.7215 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.6741, allocations: 75.88 kB / 1.125 GB, free: 3.621 MB / 0.7215 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.6743, allocations: 59.95 kB / 1.125 GB, free: 3.562 MB / 0.7215 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6743, allocations: 5.328 kB / 1.125 GB, free: 3.559 MB / 0.7215 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003606/0.6747, allocations: 227.3 kB / 1.125 GB, free: 3.332 MB / 0.7215 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.6747, allocations: 4 kB / 1.125 GB, free: 3.328 MB / 0.7215 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.6747, allocations: 0 / 1.125 GB, free: 3.328 MB / 0.7215 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.6748, allocations: 0 / 1.125 GB, free: 3.328 MB / 0.7215 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.6749, allocations: 23.98 kB / 1.125 GB, free: 3.305 MB / 0.7215 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.6749, allocations: 0 / 1.125 GB, free: 3.305 MB / 0.7215 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.675, allocations: 12.02 kB / 1.125 GB, free: 3.293 MB / 0.7215 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.6751, allocations: 12 kB / 1.125 GB, free: 3.281 MB / 0.7215 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 7.917e-05/0.6751, allocations: 116.8 kB / 1.125 GB, free: 3.16 MB / 0.7215 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.6752, allocations: 39.44 kB / 1.126 GB, free: 3.121 MB / 0.7215 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000197/0.6754, allocations: 122.4 kB / 1.126 GB, free: 2.996 MB / 0.7215 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.6754, allocations: 0 / 1.126 GB, free: 2.996 MB / 0.7215 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.6754, allocations: 2.656 kB / 1.126 GB, free: 2.996 MB / 0.7215 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.6754, allocations: 3.984 kB / 1.126 GB, free: 2.992 MB / 0.7215 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.6757, allocations: 278.1 kB / 1.126 GB, free: 2.684 MB / 0.7215 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.6757, allocations: 7.906 kB / 1.126 GB, free: 2.676 MB / 0.7215 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.129e-05/0.6757, allocations: 7.938 kB / 1.126 GB, free: 2.668 MB / 0.7215 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.6757, allocations: 0 / 1.126 GB, free: 2.668 MB / 0.7215 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.6757, allocations: 4 kB / 1.126 GB, free: 2.664 MB / 0.7215 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.6757, allocations: 0.875 kB / 1.126 GB, free: 2.664 MB / 0.7215 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6757, allocations: 2.031 kB / 1.126 GB, free: 2.664 MB / 0.7215 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001661/0.6759, allocations: 136.5 kB / 1.126 GB, free: 2.512 MB / 0.7215 GB Notification: Performance of postOpt removeConstants (simulation): time 8.295e-05/0.676, allocations: 124.5 kB / 1.126 GB, free: 2.371 MB / 0.7215 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.6761, allocations: 8 kB / 1.126 GB, free: 2.363 MB / 0.7215 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.423e-05/0.6762, allocations: 4 kB / 1.126 GB, free: 2.359 MB / 0.7215 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/0.6762, allocations: 19.95 kB / 1.126 GB, free: 2.34 MB / 0.7215 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.6762, allocations: 0.625 kB / 1.126 GB, free: 2.34 MB / 0.7215 GB Notification: Performance of sort global known variables: time 0.0003274/0.6766, allocations: 338.9 kB / 1.127 GB, free: 2.012 MB / 0.7215 GB Notification: Performance of remove unused functions: time 0.0002584/0.6768, allocations: 59.83 kB / 1.127 GB, free: 1.953 MB / 0.7215 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.0006506/0.6775, allocations: 358.5 kB / 1.127 GB, free: 1.711 MB / 0.7215 GB Notification: Performance of simCode: created initialization part: time 0.0001684/0.6777, allocations: 87.97 kB / 1.127 GB, free: 1.625 MB / 0.7215 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6777, allocations: 0 / 1.127 GB, free: 1.625 MB / 0.7215 GB Notification: Performance of simCode: created simulation system equations: time 5.782e-05/0.6777, allocations: 32 kB / 1.127 GB, free: 1.594 MB / 0.7215 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.6781, allocations: 59.34 kB / 1.127 GB, free: 1.535 MB / 0.7215 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007382/0.6788, allocations: 436.9 kB / 1.128 GB, free: 1.082 MB / 0.7215 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004331/0.6792, allocations: 0.8507 MB / 1.128 GB, free: 216 kB / 0.7215 GB Notification: Performance of SimCode: time 2.8e-07/0.6793, allocations: 1.031 kB / 1.128 GB, free: 216 kB / 0.7215 GB Notification: Performance of Templates: time 0.00615/0.6854, allocations: 2.654 MB / 1.131 GB, free: 13.61 MB / 0.7371 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)