Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.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.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") [: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.354/1.354, allocations: 289.8 MB / 297.1 MB, free: 6.66 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.0008905/0.0008908, allocations: 185.3 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.046/1.046, allocations: 205.1 MB / 0.6256 GB, free: 5.805 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.0007835/0.0007835, allocations: 90.72 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.328e-05/1.361e-05, allocations: 4 kB / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5005/0.5005, allocations: 116.3 MB / 0.9726 GB, free: 68.89 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.151/0.6516, allocations: 137.4 MB / 1.107 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.6519, allocations: 71.94 kB / 1.107 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.001555/0.6535, allocations: 388.8 kB / 1.107 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.6535, allocations: 0 / 1.107 GB, free: 10.69 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.0003293/0.6538, allocations: 339 kB / 1.107 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.6539, allocations: 8.656 kB / 1.107 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.6539, allocations: 8.406 kB / 1.108 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.6542, allocations: 179 kB / 1.108 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.6542, allocations: 4.562 kB / 1.108 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.6542, allocations: 0.7188 kB / 1.108 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001149/0.6543, allocations: 44.62 kB / 1.108 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.6545, allocations: 73.58 kB / 1.108 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.6545, allocations: 7.875 kB / 1.108 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.6545, allocations: 0 / 1.108 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.6545, allocations: 4 kB / 1.108 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004571/0.655, allocations: 447.8 kB / 1.108 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.653e-05/0.6551, allocations: 169.1 kB / 1.108 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.012e-05/0.6551, allocations: 80.98 kB / 1.108 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.6551, allocations: 75.28 kB / 1.109 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/0.6552, allocations: 109.8 kB / 1.109 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.6552, allocations: 4 kB / 1.109 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 0.0001043/0.6553, allocations: 33.59 kB / 1.109 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.6553, allocations: 55.34 kB / 1.109 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.6554, allocations: 113 kB / 1.109 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.6555, allocations: 25.7 kB / 1.109 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.6555, allocations: 96.03 kB / 1.109 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.6555, allocations: 1.312 kB / 1.109 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-06/0.6555, allocations: 0 / 1.109 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.6557, allocations: 318.8 kB / 1.109 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.582e-05/0.6557, allocations: 14.47 kB / 1.109 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.17e-05/0.6557, allocations: 7.984 kB / 1.109 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.687e-05/0.6557, allocations: 7.984 kB / 1.109 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6557, allocations: 0 / 1.109 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001157/0.6559, allocations: 49.69 kB / 1.109 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.6559, allocations: 4 kB / 1.109 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.6559, allocations: 0 / 1.109 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.6559, allocations: 0 / 1.109 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.029e-05/0.656, allocations: 7.984 kB / 1.109 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.656, allocations: 8 kB / 1.109 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.311e-05/0.656, allocations: 8 kB / 1.109 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.656, allocations: 1.219 kB / 1.109 GB, free: 8.234 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 (1): * Single equations (assignments): 1 * 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 9.237e-05/0.6561, allocations: 184.2 kB / 1.11 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.053e-05/0.6562, allocations: 112.9 kB / 1.11 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.915e-05/0.6563, allocations: 104.6 kB / 1.11 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.697e-05/0.6563, allocations: 192.1 kB / 1.11 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.206e-05/0.6564, allocations: 176.3 kB / 1.11 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.689e-05/0.6565, allocations: 180.2 kB / 1.11 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.6567, allocations: 397.7 kB / 1.111 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.991e-05/0.6567, allocations: 101 kB / 1.111 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.286e-05/0.6568, allocations: 105 kB / 1.111 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-05/0.6568, allocations: 188.2 kB / 1.111 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.308e-05/0.6569, allocations: 176.3 kB / 1.111 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.113e-05/0.6569, allocations: 176.3 kB / 1.111 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.374e-05/0.657, allocations: 189.1 kB / 1.112 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001267/0.6572, allocations: 314.8 kB / 1.112 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.847e-05/0.6572, allocations: 185.9 kB / 1.112 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.844e-05/0.6573, allocations: 180.3 kB / 1.112 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.331e-05/0.6574, allocations: 105 kB / 1.112 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.194e-05/0.6575, allocations: 180.2 kB / 1.112 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.931e-05/0.6576, allocations: 101 kB / 1.113 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.133e-05/0.6576, allocations: 103.8 kB / 1.113 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002032/0.6578, allocations: 15.84 kB / 1.113 GB, free: 4.633 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 (0): * Single equations (assignments): 0 * 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.0001405/0.658, allocations: 170.5 kB / 1.113 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.855e-05/0.658, allocations: 8 kB / 1.113 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.658, allocations: 0 / 1.113 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.217e-06/0.6581, allocations: 3.984 kB / 1.113 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.6584, allocations: 0.5272 MB / 1.113 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002382/0.6586, allocations: 159.1 kB / 1.114 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/0.6589, allocations: 0.6997 MB / 1.114 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.6589, allocations: 0 / 1.114 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of Templates: time 0.001901/0.6608, allocations: 315.8 kB / 1.115 GB, free: 2.715 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1)