Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",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 10.0.0-master/package.mo): time 1.825/1.825, allocations: 390.4 MB / 397.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009763/0.0009763, allocations: 181.3 kB / 490.8 MB, free: 1.93 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.176/1.176, allocations: 221.3 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009202/0.0009202, allocations: 88.67 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4495/0.4505, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.6389, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.004/3.643, allocations: 1.938 GB / 3.149 GB, free: 398.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/3.644, allocations: 87.95 kB / 3.15 GB, free: 398.4 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 5.114/8.758, allocations: 1.981 GB / 5.13 GB, free: 124.9 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/8.758, allocations: 8.312 kB / 5.13 GB, free: 124.9 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007883/8.766, allocations: 1.072 MB / 5.131 GB, free: 124.7 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006767/8.773, allocations: 2.293 MB / 5.134 GB, free: 124.1 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001927/8.773, allocations: 103.8 kB / 5.134 GB, free: 124.1 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001098/8.774, allocations: 194.9 kB / 5.134 GB, free: 124.1 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007751/8.782, allocations: 4.251 MB / 5.138 GB, free: 124.1 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005434/8.787, allocations: 3.744 MB / 5.142 GB, free: 123.8 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.11e-05/8.787, allocations: 0 / 5.142 GB, free: 123.8 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002918/8.788, allocations: 3.375 kB / 5.142 GB, free: 123.8 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/8.788, allocations: 160 kB / 5.142 GB, free: 123.8 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01817/8.806, allocations: 16.23 MB / 5.158 GB, free: 115.6 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005113/8.811, allocations: 3.948 MB / 5.162 GB, free: 114.3 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002939/8.814, allocations: 2.412 MB / 5.164 GB, free: 113.4 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001213/8.815, allocations: 1.624 MB / 5.165 GB, free: 111.7 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/8.815, allocations: 72.73 kB / 5.166 GB, free: 111.6 MB / 1.198 GB Notification: Performance of pre-optimization done (n=392): time 4.679e-06/8.815, allocations: 0 / 5.166 GB, free: 111.6 MB / 1.198 GB Notification: Performance of matching and sorting (n=392): time 0.009597/8.825, allocations: 4.374 MB / 5.17 GB, free: 110.2 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/8.825, allocations: 96.73 kB / 5.17 GB, free: 110.2 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/8.827, allocations: 1.201 MB / 5.171 GB, free: 109.7 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002331/8.827, allocations: 31.83 kB / 5.171 GB, free: 109.7 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000364/8.827, allocations: 0.8199 MB / 5.172 GB, free: 109.1 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009088/8.828, allocations: 1.264 MB / 5.173 GB, free: 108.1 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/8.828, allocations: 0 / 5.173 GB, free: 108.1 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001497/8.828, allocations: 448.8 kB / 5.174 GB, free: 107.7 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002316/8.831, allocations: 1.566 MB / 5.175 GB, free: 107.1 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002518/8.833, allocations: 1.937 MB / 5.177 GB, free: 106.2 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004758/8.838, allocations: 2.195 MB / 5.179 GB, free: 105.5 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/8.838, allocations: 3.719 kB / 5.179 GB, free: 105.5 MB / 1.198 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008391/8.846, allocations: 4.449 MB / 5.183 GB, free: 102.4 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/8.847, allocations: 8 kB / 5.183 GB, free: 102.4 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/8.847, allocations: 8.031 kB / 5.183 GB, free: 102.4 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.637e-05/8.847, allocations: 20 kB / 5.184 GB, free: 102.4 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003181/8.85, allocations: 0.7137 MB / 5.184 GB, free: 101.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.452e-05/8.85, allocations: 25.02 kB / 5.184 GB, free: 101.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003522/8.853, allocations: 393 kB / 5.185 GB, free: 101.4 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003015/8.854, allocations: 131.3 kB / 5.185 GB, free: 101.3 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 430 * 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 0.0004435/8.854, allocations: 159 kB / 5.185 GB, free: 101.2 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000441/8.855, allocations: 277.3 kB / 5.185 GB, free: 100.9 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008434/8.863, allocations: 4.712 MB / 5.19 GB, free: 96.93 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.54e-05/8.863, allocations: 36 kB / 5.19 GB, free: 96.9 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/8.863, allocations: 0 / 5.19 GB, free: 96.9 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006033/8.869, allocations: 4.077 MB / 5.194 GB, free: 92.76 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01366/8.883, allocations: 8.674 MB / 5.202 GB, free: 84.05 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/8.883, allocations: 6.844 kB / 5.202 GB, free: 84.05 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003415/8.886, allocations: 0.7482 MB / 5.203 GB, free: 83.3 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.473e-05/8.886, allocations: 16 kB / 5.203 GB, free: 83.29 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002505/8.887, allocations: 47.95 kB / 5.203 GB, free: 83.24 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-05/8.887, allocations: 16 kB / 5.203 GB, free: 83.22 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/8.887, allocations: 2.5 kB / 5.203 GB, free: 83.22 MB / 1.198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009228/8.896, allocations: 6.99 MB / 5.21 GB, free: 76.1 MB / 1.198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0128/8.909, allocations: 10.34 MB / 5.22 GB, free: 65.62 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00189/8.911, allocations: 0.807 MB / 5.221 GB, free: 64.8 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004997/8.911, allocations: 12 kB / 5.221 GB, free: 64.79 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002446/8.913, allocations: 206.1 kB / 5.221 GB, free: 64.6 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003088/8.914, allocations: 201.1 kB / 5.221 GB, free: 64.41 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002706/8.914, allocations: 123.9 kB / 5.221 GB, free: 64.29 MB / 1.198 GB Notification: Performance of sort global known variables: time 0.001119/8.915, allocations: 0.919 MB / 5.222 GB, free: 63.38 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.00453/8.92, allocations: 2.099 MB / 5.224 GB, free: 61.27 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (392): * Single equations (assignments): 392 * 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.005533/8.925, allocations: 5.542 MB / 5.23 GB, free: 56.31 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.004682/8.93, allocations: 3.942 MB / 5.233 GB, free: 52.36 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/8.93, allocations: 0 / 5.233 GB, free: 52.36 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.00216/8.932, allocations: 2.138 MB / 5.236 GB, free: 50.23 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005589/8.938, allocations: 1.224 MB / 5.237 GB, free: 49.11 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/8.948, allocations: 6.745 MB / 5.243 GB, free: 42.83 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002731/8.951, allocations: 2.698 MB / 5.246 GB, free: 40.1 MB / 1.198 GB Notification: Performance of SimCode: time 1.292e-06/8.951, allocations: 0 / 5.246 GB, free: 40.1 MB / 1.198 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)