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: "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox",fmuType="me",version="2.0",platforms={"static"}) [: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.297/1.297, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0008706/0.0008706, allocations: 183.3 kB / 361.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9793/0.9793, allocations: 205.1 MB / 0.6195 GB, free: 11.93 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.0007481/0.0007482, allocations: 92.58 kB / 0.7326 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1746/0.1754, allocations: 121.4 MB / 0.8512 GB, free: 3.148 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.5879, allocations: 115.3 MB / 0.9638 GB, free: 77.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1352/0.7231, allocations: 141.7 MB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/0.7234, allocations: 90.25 kB / 1.102 GB, free: 14.25 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.02982/0.7532, allocations: 13.13 MB / 1.115 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.7533, allocations: 13.69 kB / 1.115 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.7534, allocations: 98.78 kB / 1.115 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006817/0.7541, allocations: 0.5143 MB / 1.116 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.7542, allocations: 20 kB / 1.116 GB, free: 488 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.732e-05/0.7543, allocations: 47.94 kB / 1.116 GB, free: 440 kB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00088/0.7551, allocations: 484 kB / 1.116 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009552/0.7561, allocations: 0.6082 MB / 1.117 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.7561, allocations: 4 kB / 1.117 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.007e-05/0.7562, allocations: 4 kB / 1.117 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.7562, allocations: 20 kB / 1.117 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003076/0.7593, allocations: 2.272 MB / 1.119 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009623/0.7603, allocations: 0.5213 MB / 1.12 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/0.7606, allocations: 242.2 kB / 1.12 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.528e-05/0.7607, allocations: 12.41 kB / 1.12 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003984/0.7611, allocations: 274.6 kB / 1.12 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=57): time 2.565e-06/0.7611, allocations: 0 / 1.12 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=57): time 0.0007173/0.7618, allocations: 447.9 kB / 1.12 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.7619, allocations: 142.2 kB / 1.121 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004441/0.7623, allocations: 413.3 kB / 1.121 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/0.7624, allocations: 25.7 kB / 1.121 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.7626, allocations: 296 kB / 1.121 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.7627, allocations: 177.4 kB / 1.121 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.7627, allocations: 0 / 1.121 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.7628, allocations: 370.7 kB / 1.122 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/0.7631, allocations: 169.3 kB / 1.122 GB, free: 9.852 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.7635, allocations: 275.3 kB / 1.122 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.7638, allocations: 191.1 kB / 1.122 GB, free: 9.367 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.7638, allocations: 4 kB / 1.122 GB, free: 9.363 MB / 0.7292 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0007639/0.7646, allocations: 0.507 MB / 1.123 GB, free: 8.848 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.7647, allocations: 362.6 kB / 1.123 GB, free: 8.469 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.7647, allocations: 0.5625 kB / 1.123 GB, free: 8.469 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.7647, allocations: 4 kB / 1.123 GB, free: 8.465 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006472/0.7654, allocations: 171.8 kB / 1.123 GB, free: 8.297 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.7654, allocations: 7.938 kB / 1.123 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005564/0.7659, allocations: 135.4 kB / 1.124 GB, free: 8.156 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/0.766, allocations: 16 kB / 1.124 GB, free: 8.141 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.053e-06/0.766, allocations: 5.406 kB / 1.124 GB, free: 8.137 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006299/0.7666, allocations: 402.3 kB / 1.124 GB, free: 7.742 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.7666, allocations: 0 / 1.124 GB, free: 7.742 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.352e-06/0.7667, allocations: 7.938 kB / 1.124 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005166/0.7672, allocations: 136 kB / 1.124 GB, free: 7.602 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.7672, allocations: 7.938 kB / 1.124 GB, free: 7.594 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/0.7677, allocations: 103.5 kB / 1.124 GB, free: 7.492 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/0.7677, allocations: 16 kB / 1.124 GB, free: 7.477 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.0001174/0.7678, allocations: 112.9 kB / 1.124 GB, free: 7.359 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-05/0.7679, allocations: 63.23 kB / 1.124 GB, free: 7.297 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007801/0.7687, allocations: 476.5 kB / 1.125 GB, free: 6.824 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.7687, allocations: 8 kB / 1.125 GB, free: 6.816 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.7687, allocations: 0 / 1.125 GB, free: 6.816 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.7687, allocations: 3.984 kB / 1.125 GB, free: 6.812 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.7701, allocations: 1.174 MB / 1.126 GB, free: 5.598 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.7702, allocations: 1.031 kB / 1.126 GB, free: 5.598 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006405/0.7708, allocations: 159.8 kB / 1.126 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.7708, allocations: 0 / 1.126 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.259e-05/0.7709, allocations: 4 kB / 1.126 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.7709, allocations: 4 kB / 1.126 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.7709, allocations: 4 kB / 1.126 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001103/0.772, allocations: 0.8044 MB / 1.127 GB, free: 4.609 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001545/0.7736, allocations: 1.449 MB / 1.128 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.7737, allocations: 140.3 kB / 1.129 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.347e-05/0.7738, allocations: 5.25 kB / 1.129 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005285/0.7743, allocations: 91.92 kB / 1.129 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.7744, allocations: 52.97 kB / 1.129 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.819e-05/0.7745, allocations: 16 kB / 1.129 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0003204/0.7748, allocations: 315 kB / 1.129 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001675/0.7765, allocations: 250.7 kB / 1.129 GB, free: 2.27 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.0001691/0.7767, allocations: 130.8 kB / 1.129 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.7777, allocations: 0.7903 MB / 1.13 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.7778, allocations: 0.6562 kB / 1.13 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003297/0.7781, allocations: 233.8 kB / 1.13 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005246/0.7786, allocations: 98.09 kB / 1.13 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.7803, allocations: 0.8844 MB / 1.131 GB, free: 88 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006505/0.7809, allocations: 1.009 MB / 1.132 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of SimCode: time 3.01e-07/0.7809, allocations: 1.031 kB / 1.132 GB, free: 15.05 MB / 0.7448 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox.fmu > Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)