Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.106/2.106, allocations: 248.6 MB / 255.9 MB, free: 7.551 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001702/0.001702, allocations: 182.8 kB / 315.1 MB, free: 8.578 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.966/1.966, allocations: 205.1 MB / 0.5658 GB, free: 4.105 MB / 414.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001765/0.001765, allocations: 77.84 kB / 0.67 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.4924/0.4942, allocations: 112.4 MB / 0.7797 GB, free: 107.4 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.7218, allocations: 106.2 MB / 0.8835 GB, free: 1.059 MB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.8/6.522, allocations: 2.209 GB / 3.093 GB, free: 180.4 MB / 0.8731 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/6.522, allocations: 86.14 kB / 3.093 GB, free: 180.4 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 9.965/16.49, allocations: 1.894 GB / 4.987 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.218e-05/16.49, allocations: 8 kB / 4.987 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01568/16.5, allocations: 1.084 MB / 4.988 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01097/16.51, allocations: 2.273 MB / 4.99 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000254/16.51, allocations: 104 kB / 4.99 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001898/16.52, allocations: 203.9 kB / 4.99 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01685/16.53, allocations: 4.245 MB / 4.995 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02139/16.55, allocations: 3.76 MB / 4.998 GB, free: 1.633 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003208/16.55, allocations: 11.84 kB / 4.998 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001835/16.56, allocations: 0 / 4.998 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003609/16.56, allocations: 158.5 kB / 4.998 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5607/17.12, allocations: 15.15 MB / 5.013 GB, free: 156.1 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01289/17.13, allocations: 3.943 MB / 5.017 GB, free: 156.1 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01033/17.14, allocations: 2.41 MB / 5.019 GB, free: 156 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003331/17.14, allocations: 1.613 MB / 5.021 GB, free: 154.3 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001132/17.14, allocations: 81.48 kB / 5.021 GB, free: 154.3 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=392): time 1.27e-05/17.14, allocations: 0 / 5.021 GB, free: 154.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=392): time 0.03057/17.18, allocations: 4.353 MB / 5.025 GB, free: 154 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.98e-05/17.18, allocations: 90.3 kB / 5.025 GB, free: 154 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005116/17.18, allocations: 1.22 MB / 5.027 GB, free: 153.8 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.001166/17.18, allocations: 29.64 kB / 5.027 GB, free: 153.8 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.00107/17.18, allocations: 0.8197 MB / 5.027 GB, free: 153.5 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.003215/17.19, allocations: 1.27 MB / 5.029 GB, free: 152.8 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008137/17.19, allocations: 0 / 5.029 GB, free: 152.8 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0005395/17.19, allocations: 444.3 kB / 5.029 GB, free: 152.5 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007263/17.19, allocations: 1.557 MB / 5.031 GB, free: 152.4 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007928/17.2, allocations: 1.951 MB / 5.033 GB, free: 152.1 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01317/17.22, allocations: 2.199 MB / 5.035 GB, free: 152.1 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-05/17.22, allocations: 2.953 kB / 5.035 GB, free: 152.1 MB / 0.9512 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.0231/17.24, allocations: 4.419 MB / 5.039 GB, free: 151.8 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/17.24, allocations: 4.531 kB / 5.039 GB, free: 151.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.092e-05/17.24, allocations: 6.25 kB / 5.039 GB, free: 151.8 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.177e-05/17.24, allocations: 23.66 kB / 5.039 GB, free: 151.8 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00964/17.25, allocations: 0.7231 MB / 5.04 GB, free: 151.8 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001087/17.25, allocations: 19.25 kB / 5.04 GB, free: 151.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01083/17.26, allocations: 346.5 kB / 5.04 GB, free: 151.8 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001513/17.26, allocations: 127.4 kB / 5.04 GB, free: 151.8 MB / 0.9512 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.001841/17.26, allocations: 166.2 kB / 5.04 GB, free: 151.7 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00213/17.27, allocations: 276.4 kB / 5.041 GB, free: 151.5 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02907/17.3, allocations: 4.687 MB / 5.045 GB, free: 151.4 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.23e-05/17.3, allocations: 40.28 kB / 5.045 GB, free: 151.4 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.808e-05/17.3, allocations: 6.219 kB / 5.045 GB, free: 151.4 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0227/17.32, allocations: 4.069 MB / 5.049 GB, free: 151 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04679/17.36, allocations: 8.658 MB / 5.058 GB, free: 150.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.22e-05/17.36, allocations: 3.656 kB / 5.058 GB, free: 150.3 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01249/17.38, allocations: 0.754 MB / 5.058 GB, free: 150.3 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001144/17.38, allocations: 14.91 kB / 5.058 GB, free: 150.3 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001379/17.38, allocations: 48.41 kB / 5.059 GB, free: 150.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.245e-05/17.38, allocations: 19.77 kB / 5.059 GB, free: 150.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/17.38, allocations: 6.312 kB / 5.059 GB, free: 150.3 MB / 0.9512 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03368/17.41, allocations: 7.368 MB / 5.066 GB, free: 149.6 MB / 0.9512 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04109/17.45, allocations: 10.76 MB / 5.076 GB, free: 148.5 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003785/17.46, allocations: 0.8199 MB / 5.077 GB, free: 148.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001658/17.46, allocations: 10.09 kB / 5.077 GB, free: 148.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006514/17.47, allocations: 212.2 kB / 5.077 GB, free: 148.2 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001114/17.47, allocations: 204.4 kB / 5.077 GB, free: 148.2 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006322/17.47, allocations: 123.5 kB / 5.078 GB, free: 148.2 MB / 0.9512 GB Notification: Performance of sort global known variables: time 0.00242/17.47, allocations: 0.9324 MB / 5.078 GB, free: 148.1 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.01161/17.48, allocations: 2.1 MB / 5.081 GB, free: 148.1 MB / 0.9512 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.01277/17.49, allocations: 5.544 MB / 5.086 GB, free: 145.6 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01547/17.51, allocations: 3.925 MB / 5.09 GB, free: 145.6 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/17.51, allocations: 3.25 kB / 5.09 GB, free: 145.6 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.006501/17.52, allocations: 2.131 MB / 5.092 GB, free: 145.6 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01375/17.53, allocations: 1.234 MB / 5.093 GB, free: 145.5 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02662/17.56, allocations: 6.741 MB / 5.1 GB, free: 144.3 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006253/17.56, allocations: 2.706 MB / 5.102 GB, free: 143.6 MB / 0.9512 GB Notification: Performance of SimCode: time 1.623e-06/17.56, allocations: 0 / 5.102 GB, free: 143.6 MB / 0.9512 GB