Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.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.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") [: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.323/1.323, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.0009152/0.0009152, allocations: 185.3 kB / 361.1 MB, free: 7.059 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.04/1.04, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0008114/0.0008114, allocations: 96.91 kB / 0.7326 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.35e-06/5.451e-06, allocations: 0 / 0.8511 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4077, allocations: 115.3 MB / 0.9637 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1417/0.5495, allocations: 141.7 MB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.5498, allocations: 80.61 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03031/0.5801, allocations: 12.05 MB / 1.114 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.186e-05/0.5801, allocations: 16 kB / 1.114 GB, free: 2.223 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.001741/0.5819, allocations: 1.069 MB / 1.115 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.5819, allocations: 12.53 kB / 1.115 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.5821, allocations: 104.4 kB / 1.115 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006534/0.5827, allocations: 0.5065 MB / 1.116 GB, free: 444 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.5828, allocations: 24 kB / 1.116 GB, free: 420 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.515e-05/0.5829, allocations: 44 kB / 1.116 GB, free: 376 kB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008756/0.5838, allocations: 488 kB / 1.116 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009777/0.5847, allocations: 0.6082 MB / 1.117 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.5848, allocations: 2.625 kB / 1.117 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.015e-05/0.5848, allocations: 7.984 kB / 1.117 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.5849, allocations: 16 kB / 1.117 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003003/0.5879, allocations: 2.274 MB / 1.119 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009691/0.5888, allocations: 0.5213 MB / 1.119 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000355/0.5892, allocations: 238.2 kB / 1.12 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.333e-05/0.5893, allocations: 20.36 kB / 1.12 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003993/0.5897, allocations: 271.8 kB / 1.12 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=57): time 1.904e-06/0.5897, allocations: 0 / 1.12 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of matching and sorting (n=57): time 0.0007585/0.5904, allocations: 447.9 kB / 1.12 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.5905, allocations: 145 kB / 1.121 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004308/0.5909, allocations: 409.3 kB / 1.121 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.382e-05/0.591, allocations: 29.7 kB / 1.121 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.5912, allocations: 288 kB / 1.121 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.5913, allocations: 169.5 kB / 1.121 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.5913, allocations: 0 / 1.121 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.5914, allocations: 374.7 kB / 1.122 GB, free: 9.961 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/0.5917, allocations: 181.3 kB / 1.122 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/0.5921, allocations: 271.3 kB / 1.122 GB, free: 9.488 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.5924, allocations: 195.2 kB / 1.122 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.5924, allocations: 0 / 1.122 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0007757/0.5932, allocations: 0.507 MB / 1.123 GB, free: 8.781 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.5933, allocations: 362.6 kB / 1.123 GB, free: 8.402 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.5933, allocations: 3.938 kB / 1.123 GB, free: 8.398 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.5933, allocations: 4 kB / 1.123 GB, free: 8.395 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007042/0.594, allocations: 167.8 kB / 1.123 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.5941, allocations: 4 kB / 1.123 GB, free: 8.227 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005765/0.5946, allocations: 136.6 kB / 1.123 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/0.5947, allocations: 19.98 kB / 1.124 GB, free: 8.074 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.53e-06/0.5947, allocations: 4 kB / 1.124 GB, free: 8.07 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006553/0.5954, allocations: 402.2 kB / 1.124 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-06/0.5954, allocations: 4.094 kB / 1.124 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.06e-06/0.5954, allocations: 4 kB / 1.124 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005547/0.5959, allocations: 137.9 kB / 1.124 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.596, allocations: 4 kB / 1.124 GB, free: 7.531 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000466/0.5964, allocations: 99.53 kB / 1.124 GB, free: 7.434 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/0.5965, allocations: 19.98 kB / 1.124 GB, free: 7.414 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.TRoo.T_start,TRoo.T_start,$PRE.TRoo.count,TRoo.count,$PRE.m_flow.T_start,m_flow.T_start,$PRE.m_flow.count,m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001179/0.5966, allocations: 116.9 kB / 1.124 GB, free: 7.293 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.529e-05/0.5967, allocations: 63.25 kB / 1.124 GB, free: 7.23 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007602/0.5974, allocations: 480.5 kB / 1.125 GB, free: 6.754 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.5975, allocations: 4 kB / 1.125 GB, free: 6.75 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.5975, allocations: 0 / 1.125 GB, free: 6.75 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.5975, allocations: 3.984 kB / 1.125 GB, free: 6.746 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.5988, allocations: 1.174 MB / 1.126 GB, free: 5.531 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.5988, allocations: 0 / 1.126 GB, free: 5.531 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006602/0.5995, allocations: 155.8 kB / 1.126 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.5995, allocations: 4 kB / 1.126 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.623e-05/0.5995, allocations: 7.984 kB / 1.126 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.708e-06/0.5996, allocations: 4 kB / 1.126 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5996, allocations: 5.562 kB / 1.126 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00109/0.6007, allocations: 0.8044 MB / 1.127 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.493e-05/0.6008, allocations: 140.3 kB / 1.127 GB, free: 4.383 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.822e-05/0.6008, allocations: 0 / 1.127 GB, free: 4.383 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005552/0.6014, allocations: 99.91 kB / 1.127 GB, free: 4.285 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.6015, allocations: 48.42 kB / 1.127 GB, free: 4.238 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.755e-05/0.6016, allocations: 19.91 kB / 1.127 GB, free: 4.219 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0003222/0.6019, allocations: 315 kB / 1.127 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006019/0.6025, allocations: 242.8 kB / 1.128 GB, free: 3.676 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (conMix.conHea.I.y,conMix.conCoo.I.y,conMix.conFloRat.I.y) * Number of discrete variables: 9 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,TRoo.T_start,TRoo.count,m_flow.T_start,m_flow.count) * Number of discrete states: 2 (m_flow.count,TRoo.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001538/0.6027, allocations: 122.8 kB / 1.128 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001068/0.6037, allocations: 0.7959 MB / 1.129 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6038, allocations: 4 kB / 1.129 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003347/0.6041, allocations: 233.8 kB / 1.129 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005261/0.6046, allocations: 94.92 kB / 1.129 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.6063, allocations: 0.8727 MB / 1.13 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006153/0.6069, allocations: 1.005 MB / 1.131 GB, free: 480 kB / 0.7292 GB Notification: Performance of SimCode: time 3e-07/0.6069, allocations: 0 / 1.131 GB, free: 480 kB / 0.7292 GB Notification: Performance of Templates: time 0.01489/0.6218, allocations: 9.775 MB / 1.14 GB, free: 6.902 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)