Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.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.Controls.OBC.CDL.Continuous.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum") [: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.353/1.353, allocations: 289.8 MB / 297.1 MB, free: 6.656 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.000998/0.000998, allocations: 180.1 kB / 366.3 MB, free: 1.957 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.093/1.093, allocations: 205.1 MB / 0.6256 GB, free: 5.812 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.0007857/0.0007857, allocations: 84.16 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.037e-06/9.127e-06, allocations: 4 kB / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4222/0.4222, allocations: 116.3 MB / 0.9726 GB, free: 68.03 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1365/0.5588, allocations: 137.9 MB / 1.107 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000148/0.559, allocations: 75.89 kB / 1.107 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.005351/0.5643, allocations: 1.739 MB / 1.109 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.5644, allocations: 4 kB / 1.109 GB, free: 8.766 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007292/0.5651, allocations: 0.506 MB / 1.11 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.5651, allocations: 8.031 kB / 1.11 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.5652, allocations: 23.66 kB / 1.11 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.5654, allocations: 222.5 kB / 1.11 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.5654, allocations: 4 kB / 1.11 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.5654, allocations: 4 kB / 1.11 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002085/0.5656, allocations: 112 kB / 1.11 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.5658, allocations: 122.1 kB / 1.11 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.5658, allocations: 4.562 kB / 1.11 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.5659, allocations: 0 / 1.11 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.5659, allocations: 0.8438 kB / 1.11 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009172/0.5668, allocations: 0.528 MB / 1.111 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.5669, allocations: 86.55 kB / 1.111 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.832e-05/0.567, allocations: 60.83 kB / 1.111 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.5671, allocations: 4 kB / 1.111 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.5671, allocations: 31.88 kB / 1.111 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.5671, allocations: 0 / 1.111 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002644/0.5674, allocations: 146.2 kB / 1.111 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.5674, allocations: 51.41 kB / 1.111 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.5675, allocations: 159.2 kB / 1.111 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.5675, allocations: 25.7 kB / 1.111 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.899e-05/0.5676, allocations: 100 kB / 1.111 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.5676, allocations: 31.55 kB / 1.111 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-06/0.5676, allocations: 0 / 1.111 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.5677, allocations: 322.8 kB / 1.111 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.58e-05/0.5678, allocations: 47.98 kB / 1.112 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.955e-05/0.5679, allocations: 47.98 kB / 1.112 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.297e-05/0.568, allocations: 51.91 kB / 1.112 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.568, allocations: 4.562 kB / 1.112 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002071/0.5682, allocations: 138.3 kB / 1.112 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.816e-06/0.5682, allocations: 4 kB / 1.112 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.5682, allocations: 3.906 kB / 1.112 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.5682, allocations: 4 kB / 1.112 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.5686, allocations: 67.83 kB / 1.112 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.5686, allocations: 4 kB / 1.112 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.5688, allocations: 59.88 kB / 1.112 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.5688, allocations: 0 / 1.112 GB, free: 5.621 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 6.558e-05/0.5689, allocations: 105.9 kB / 1.112 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.5689, allocations: 11.81 kB / 1.112 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.194e-05/0.569, allocations: 25.31 kB / 1.112 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.569, allocations: 4 kB / 1.112 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.569, allocations: 0 / 1.112 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.569, allocations: 5.047 kB / 1.112 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.5692, allocations: 210.1 kB / 1.112 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.5692, allocations: 0 / 1.112 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/0.5695, allocations: 67.94 kB / 1.112 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.5695, allocations: 7.906 kB / 1.112 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.5695, allocations: 4.594 kB / 1.112 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5695, allocations: 0 / 1.112 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5695, allocations: 0.5625 kB / 1.112 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002539/0.5698, allocations: 236.1 kB / 1.113 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.138e-05/0.5698, allocations: 88.92 kB / 1.113 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.5699, allocations: 0 / 1.113 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.5701, allocations: 52.45 kB / 1.113 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/0.5702, allocations: 20.47 kB / 1.113 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.5702, allocations: 4 kB / 1.113 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.35e-05/0.5703, allocations: 128.3 kB / 1.113 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002181/0.5705, allocations: 27.84 kB / 1.113 GB, free: 4.562 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0001077/0.5706, allocations: 103.2 kB / 1.113 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001973/0.5708, allocations: 113.2 kB / 1.113 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.5708, allocations: 0 / 1.113 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.651e-05/0.5709, allocations: 59.97 kB / 1.113 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.5712, allocations: 22.45 kB / 1.113 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004442/0.5716, allocations: 223.5 kB / 1.113 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003194/0.5719, allocations: 0.7464 MB / 1.114 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.5719, allocations: 0 / 1.114 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of Templates: time 0.003681/0.5756, allocations: 1.808 MB / 1.116 GB, free: 1.484 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1)