Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.32/1.32, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.0009502/0.0009503, allocations: 181.2 kB / 361.1 MB, free: 7.129 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.016/1.016, allocations: 205.1 MB / 0.6195 GB, free: 10.35 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.0007644/0.0007644, allocations: 101.5 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1768/0.1776, allocations: 121.4 MB / 0.8511 GB, free: 2.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4129/0.5904, allocations: 115.3 MB / 0.9637 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.652/3.242, allocations: 2.09 GB / 3.054 GB, free: 16.34 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/3.242, allocations: 81.64 kB / 3.054 GB, free: 16.27 MB / 0.948 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.109/8.352, allocations: 1.947 GB / 5.001 GB, free: 91.94 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/8.352, allocations: 13.16 kB / 5.001 GB, free: 91.94 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007076/8.359, allocations: 1.068 MB / 5.002 GB, free: 91.74 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004932/8.364, allocations: 2.258 MB / 5.005 GB, free: 91.39 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/8.364, allocations: 102.5 kB / 5.005 GB, free: 91.39 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007438/8.365, allocations: 208.8 kB / 5.005 GB, free: 91.39 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006888/8.372, allocations: 4.232 MB / 5.009 GB, free: 91.38 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005804/8.377, allocations: 3.732 MB / 5.013 GB, free: 91.07 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.466e-05/8.377, allocations: 17.31 kB / 5.013 GB, free: 91.06 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002939/8.378, allocations: 3.625 kB / 5.013 GB, free: 91.06 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/8.378, allocations: 152.8 kB / 5.013 GB, free: 91.05 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0164/8.394, allocations: 15.1 MB / 5.028 GB, free: 84.1 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004608/8.399, allocations: 3.951 MB / 5.031 GB, free: 83.99 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002628/8.402, allocations: 2.42 MB / 5.034 GB, free: 83.96 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/8.403, allocations: 1.618 MB / 5.035 GB, free: 82.27 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/8.403, allocations: 82.05 kB / 5.035 GB, free: 82.23 MB / 1.01 GB Notification: Performance of pre-optimization done (n=392): time 4.688e-06/8.403, allocations: 1.844 kB / 5.035 GB, free: 82.23 MB / 1.01 GB Notification: Performance of matching and sorting (n=392): time 0.008267/8.411, allocations: 4.368 MB / 5.04 GB, free: 81.97 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/8.411, allocations: 89.42 kB / 5.04 GB, free: 81.9 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/8.413, allocations: 1.198 MB / 5.041 GB, free: 81.75 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002004/8.413, allocations: 27.95 kB / 5.041 GB, free: 81.71 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003045/8.413, allocations: 0.8206 MB / 5.042 GB, free: 81.26 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007817/8.414, allocations: 1.264 MB / 5.043 GB, free: 80.39 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/8.414, allocations: 0 / 5.043 GB, free: 80.39 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001392/8.414, allocations: 444.2 kB / 5.043 GB, free: 80.08 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002013/8.416, allocations: 1.565 MB / 5.045 GB, free: 80.07 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00215/8.418, allocations: 1.958 MB / 5.047 GB, free: 79.77 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004026/8.422, allocations: 2.202 MB / 5.049 GB, free: 79.72 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/8.422, allocations: 0 / 5.049 GB, free: 79.72 MB / 1.01 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007213/8.43, allocations: 4.443 MB / 5.053 GB, free: 79.47 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/8.43, allocations: 3.594 kB / 5.053 GB, free: 79.47 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/8.43, allocations: 3.594 kB / 5.053 GB, free: 79.47 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.218e-05/8.43, allocations: 25.44 kB / 5.053 GB, free: 79.47 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003012/8.433, allocations: 0.7128 MB / 5.054 GB, free: 79.47 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.86e-05/8.433, allocations: 20.41 kB / 5.054 GB, free: 79.47 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003174/8.436, allocations: 351.6 kB / 5.054 GB, free: 79.34 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002623/8.436, allocations: 125.3 kB / 5.055 GB, free: 79.34 MB / 1.01 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.000457/8.437, allocations: 150.5 kB / 5.055 GB, free: 79.23 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004221/8.437, allocations: 272.6 kB / 5.055 GB, free: 79.1 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007631/8.445, allocations: 4.705 MB / 5.06 GB, free: 78.93 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.398e-05/8.445, allocations: 41.75 kB / 5.06 GB, free: 78.93 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/8.445, allocations: 0 / 5.06 GB, free: 78.93 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005905/8.451, allocations: 4.078 MB / 5.064 GB, free: 78.59 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01346/8.464, allocations: 8.663 MB / 5.072 GB, free: 77.85 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/8.464, allocations: 3.5 kB / 5.072 GB, free: 77.85 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003395/8.468, allocations: 0.756 MB / 5.073 GB, free: 77.85 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.261e-05/8.468, allocations: 13.88 kB / 5.073 GB, free: 77.85 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002156/8.468, allocations: 44.61 kB / 5.073 GB, free: 77.85 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.31e-05/8.468, allocations: 20 kB / 5.073 GB, free: 77.85 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/8.468, allocations: 7.812 kB / 5.073 GB, free: 77.85 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009376/8.477, allocations: 7.403 MB / 5.08 GB, free: 77.12 MB / 1.01 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01271/8.49, allocations: 10.81 MB / 5.091 GB, free: 75.98 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001897/8.492, allocations: 0.7953 MB / 5.091 GB, free: 75.7 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004908/8.493, allocations: 11.25 kB / 5.091 GB, free: 75.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002421/8.495, allocations: 207.5 kB / 5.092 GB, free: 75.69 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002988/8.495, allocations: 197.9 kB / 5.092 GB, free: 75.68 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002381/8.496, allocations: 121.8 kB / 5.092 GB, free: 75.68 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.001091/8.497, allocations: 0.9178 MB / 5.093 GB, free: 75.57 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.004523/8.501, allocations: 2.093 MB / 5.095 GB, free: 75.43 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.U,volBotEas.dynBal.m,volBotEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.U,volBotWes.dynBal.m,volBotWes.dynBal.mXi[1],oriEasTop.mExc,volTopEas.dynBal.U,volTopEas.dynBal.m,volTopEas.dynBal.mXi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,volTopWes.dynBal.mXi[1],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.005522/8.507, allocations: 5.553 MB / 5.1 GB, free: 72.91 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004671/8.511, allocations: 3.942 MB / 5.104 GB, free: 72.85 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/8.511, allocations: 4.688 kB / 5.104 GB, free: 72.85 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002175/8.514, allocations: 2.132 MB / 5.106 GB, free: 72.84 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005423/8.519, allocations: 1.23 MB / 5.107 GB, free: 72.81 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009859/8.529, allocations: 6.703 MB / 5.114 GB, free: 71.62 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002828/8.532, allocations: 2.684 MB / 5.117 GB, free: 70.83 MB / 1.01 GB Notification: Performance of SimCode: time 5.81e-07/8.532, allocations: 3.438 kB / 5.117 GB, free: 70.83 MB / 1.01 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)