Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_7_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.407/2.407, allocations: 248.6 MB / 255.9 MB, free: 7.121 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001603/0.001603, allocations: 177.3 kB / 315.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.945/1.945, allocations: 205.1 MB / 0.5658 GB, free: 364 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001296/0.001296, allocations: 79.36 kB / 0.67 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4833/0.4846, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.6913, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.978/6.669, allocations: 2.206 GB / 3.09 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/6.67, allocations: 89.2 kB / 3.09 GB, free: 162.5 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 677 * Number of variables: 677 Notification: Performance of Generate backend data structure: time 8.513/15.18, allocations: 1.687 GB / 4.777 GB, free: 77.88 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/15.18, allocations: 6.906 kB / 4.777 GB, free: 77.88 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01234/15.2, allocations: 0.982 MB / 4.778 GB, free: 77.71 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008092/15.2, allocations: 1.952 MB / 4.78 GB, free: 77.24 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001607/15.2, allocations: 88.84 kB / 4.78 GB, free: 77.24 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001195/15.2, allocations: 163.1 kB / 4.78 GB, free: 77.24 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01131/15.22, allocations: 3.098 MB / 4.783 GB, free: 77.22 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01194/15.23, allocations: 2.967 MB / 4.786 GB, free: 76.92 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001311/15.23, allocations: 10.62 kB / 4.786 GB, free: 76.91 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005724/15.23, allocations: 7.25 kB / 4.786 GB, free: 76.91 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002409/15.23, allocations: 129.8 kB / 4.786 GB, free: 76.91 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03798/15.27, allocations: 12.85 MB / 4.799 GB, free: 70.39 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009633/15.28, allocations: 2.686 MB / 4.801 GB, free: 70.31 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005523/15.28, allocations: 1.833 MB / 4.803 GB, free: 70.27 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002112/15.28, allocations: 1.494 MB / 4.804 GB, free: 68.67 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.727e-05/15.28, allocations: 69.91 kB / 4.805 GB, free: 68.63 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=278): time 5.63e-06/15.28, allocations: 0 / 4.805 GB, free: 68.63 MB / 0.9167 GB Notification: Performance of matching and sorting (n=278): time 0.02406/15.31, allocations: 3.166 MB / 4.808 GB, free: 68.4 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/15.31, allocations: 82.75 kB / 4.808 GB, free: 68.34 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003507/15.31, allocations: 1.022 MB / 4.809 GB, free: 68.19 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001074/15.31, allocations: 29.42 kB / 4.809 GB, free: 68.16 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007454/15.31, allocations: 0.7247 MB / 4.809 GB, free: 67.75 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001957/15.32, allocations: 0.9129 MB / 4.81 GB, free: 67.12 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002703/15.32, allocations: 0 / 4.81 GB, free: 67.12 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003084/15.32, allocations: 402.4 kB / 4.811 GB, free: 66.82 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003631/15.32, allocations: 1.132 MB / 4.812 GB, free: 66.81 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003985/15.32, allocations: 1.443 MB / 4.813 GB, free: 66.54 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00654/15.33, allocations: 1.546 MB / 4.815 GB, free: 66.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.892e-05/15.33, allocations: 3.938 kB / 4.815 GB, free: 66.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01208/15.34, allocations: 3.204 MB / 4.818 GB, free: 66.28 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.5e-05/15.34, allocations: 3.875 kB / 4.818 GB, free: 66.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.644e-05/15.34, allocations: 3.719 kB / 4.818 GB, free: 66.28 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.14e-05/15.34, allocations: 16.19 kB / 4.818 GB, free: 66.28 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009069/15.35, allocations: 0.5341 MB / 4.818 GB, free: 66.28 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.106e-05/15.35, allocations: 17.34 kB / 4.818 GB, free: 66.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008891/15.36, allocations: 279.3 kB / 4.819 GB, free: 66.18 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001172/15.36, allocations: 94.17 kB / 4.819 GB, free: 66.18 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (311): * Single equations (assignments): 311 * 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.001436/15.36, allocations: 150.5 kB / 4.819 GB, free: 66.07 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001655/15.37, allocations: 222.6 kB / 4.819 GB, free: 65.96 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02022/15.39, allocations: 3.322 MB / 4.822 GB, free: 65.8 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.898e-05/15.39, allocations: 25.78 kB / 4.822 GB, free: 65.8 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.15e-05/15.39, allocations: 0 / 4.822 GB, free: 65.8 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01545/15.4, allocations: 2.829 MB / 4.825 GB, free: 65.57 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0326/15.43, allocations: 6.293 MB / 4.831 GB, free: 65.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.098e-05/15.44, allocations: 0 / 4.831 GB, free: 65.04 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009002/15.44, allocations: 0.5742 MB / 4.832 GB, free: 65.04 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.099e-05/15.44, allocations: 9.531 kB / 4.832 GB, free: 65.04 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006992/15.44, allocations: 39.92 kB / 4.832 GB, free: 65.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.393e-05/15.44, allocations: 6.625 kB / 4.832 GB, free: 65.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/15.45, allocations: 0 / 4.832 GB, free: 65.04 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01732/15.46, allocations: 5.098 MB / 4.837 GB, free: 64.66 MB / 0.9167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02571/15.49, allocations: 7.685 MB / 4.844 GB, free: 63.88 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003322/15.49, allocations: 0.6385 MB / 4.845 GB, free: 63.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001228/15.49, allocations: 9.312 kB / 4.845 GB, free: 63.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005644/15.5, allocations: 192 kB / 4.845 GB, free: 63.62 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008492/15.5, allocations: 137.9 kB / 4.845 GB, free: 63.62 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004853/15.5, allocations: 88.97 kB / 4.845 GB, free: 63.62 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.002448/15.5, allocations: 0.7953 MB / 4.846 GB, free: 63.48 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01057/15.51, allocations: 1.753 MB / 4.848 GB, free: 62.59 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 278 * 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.01148/15.52, allocations: 4.695 MB / 4.853 GB, free: 60.56 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.009272/15.53, allocations: 2.838 MB / 4.855 GB, free: 59.57 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/15.53, allocations: 4.25 kB / 4.855 GB, free: 59.57 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00518/15.54, allocations: 1.522 MB / 4.857 GB, free: 59.06 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01169/15.55, allocations: 1.08 MB / 4.858 GB, free: 58.87 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02193/15.57, allocations: 5.296 MB / 4.863 GB, free: 57.24 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009406/15.58, allocations: 2.303 MB / 4.865 GB, free: 56.36 MB / 0.9167 GB Notification: Performance of SimCode: time 1.523e-06/15.58, allocations: 0 / 4.865 GB, free: 56.36 MB / 0.9167 GB