Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 3.945/3.945, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5684/4.513, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/4.769, allocations: 98.72 MB / 0.6283 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.702/10.47, allocations: 2.204 GB / 2.832 GB, free: 142.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/10.47, allocations: 90.53 kB / 2.832 GB, free: 142.3 MB / 0.823 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 10.15/20.62, allocations: 1.886 GB / 4.719 GB, free: 71.04 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/20.62, allocations: 12.53 kB / 4.719 GB, free: 71.04 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01237/20.64, allocations: 1.076 MB / 4.72 GB, free: 70.83 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00966/20.64, allocations: 2.279 MB / 4.722 GB, free: 70.32 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002167/20.65, allocations: 105.8 kB / 4.722 GB, free: 70.32 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001551/20.65, allocations: 202.8 kB / 4.722 GB, free: 70.31 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01553/20.66, allocations: 4.254 MB / 4.727 GB, free: 70.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0169/20.68, allocations: 3.756 MB / 4.73 GB, free: 69.99 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004084/20.68, allocations: 11.41 kB / 4.73 GB, free: 69.98 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002243/20.68, allocations: 2.656 kB / 4.73 GB, free: 69.98 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003517/20.68, allocations: 157.8 kB / 4.73 GB, free: 69.98 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0461/20.73, allocations: 15.16 MB / 4.745 GB, free: 62.87 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.011/20.74, allocations: 3.948 MB / 4.749 GB, free: 62.77 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009271/20.75, allocations: 2.408 MB / 4.751 GB, free: 62.74 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004155/20.75, allocations: 1.732 MB / 4.753 GB, free: 60.95 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001439/20.75, allocations: 81.8 kB / 4.753 GB, free: 60.91 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=392): time 1.511e-05/20.75, allocations: 0 / 4.753 GB, free: 60.91 MB / 0.8855 GB Notification: Performance of matching and sorting (n=392): time 0.02414/20.78, allocations: 4.373 MB / 4.758 GB, free: 60.66 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/20.78, allocations: 97.27 kB / 4.758 GB, free: 60.59 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003124/20.78, allocations: 1.22 MB / 4.759 GB, free: 60.43 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001386/20.78, allocations: 32.2 kB / 4.759 GB, free: 60.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009596/20.78, allocations: 0.8236 MB / 4.76 GB, free: 59.94 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.002453/20.79, allocations: 1.263 MB / 4.761 GB, free: 59.07 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004488/20.79, allocations: 0 / 4.761 GB, free: 59.07 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0004305/20.79, allocations: 444 kB / 4.761 GB, free: 58.77 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005052/20.79, allocations: 1.565 MB / 4.763 GB, free: 58.76 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005717/20.8, allocations: 1.94 MB / 4.765 GB, free: 58.45 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01489/20.81, allocations: 2.213 MB / 4.767 GB, free: 58.41 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.84e-05/20.81, allocations: 2.344 kB / 4.767 GB, free: 58.41 MB / 0.8855 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.0264/20.84, allocations: 4.442 MB / 4.771 GB, free: 58.16 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/20.84, allocations: 11.09 kB / 4.771 GB, free: 58.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-05/20.84, allocations: 11.09 kB / 4.771 GB, free: 58.16 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.307e-05/20.84, allocations: 22.31 kB / 4.771 GB, free: 58.16 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01155/20.85, allocations: 0.7122 MB / 4.772 GB, free: 58.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.912e-05/20.85, allocations: 22.59 kB / 4.772 GB, free: 58.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01083/20.86, allocations: 354.1 kB / 4.772 GB, free: 58.02 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001634/20.86, allocations: 126.2 kB / 4.772 GB, free: 58.02 MB / 0.8855 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.002448/20.87, allocations: 159.5 kB / 4.773 GB, free: 57.91 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002177/20.87, allocations: 277.5 kB / 4.773 GB, free: 57.78 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02895/20.9, allocations: 4.707 MB / 4.777 GB, free: 57.61 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.156e-05/20.9, allocations: 37.94 kB / 4.778 GB, free: 57.61 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.416e-05/20.9, allocations: 3.5 kB / 4.778 GB, free: 57.61 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01927/20.92, allocations: 4.082 MB / 4.781 GB, free: 57.27 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03676/20.95, allocations: 8.679 MB / 4.79 GB, free: 56.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.259e-05/20.95, allocations: 4.078 kB / 4.79 GB, free: 56.54 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008227/20.96, allocations: 0.7524 MB / 4.791 GB, free: 56.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.737e-05/20.96, allocations: 16.19 kB / 4.791 GB, free: 56.54 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000836/20.96, allocations: 57.83 kB / 4.791 GB, free: 56.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.868e-05/20.96, allocations: 15.81 kB / 4.791 GB, free: 56.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/20.96, allocations: 2.531 kB / 4.791 GB, free: 56.54 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02865/20.99, allocations: 7.396 MB / 4.798 GB, free: 55.8 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03277/21.02, allocations: 10.79 MB / 4.809 GB, free: 54.67 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003828/21.03, allocations: 0.8179 MB / 4.809 GB, free: 54.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001677/21.03, allocations: 18.61 kB / 4.809 GB, free: 54.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006655/21.04, allocations: 207.4 kB / 4.81 GB, free: 54.37 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001136/21.04, allocations: 206.2 kB / 4.81 GB, free: 54.36 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008424/21.04, allocations: 125.8 kB / 4.81 GB, free: 54.36 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.002531/21.04, allocations: 0.9319 MB / 4.811 GB, free: 54.25 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01036/21.05, allocations: 2.109 MB / 4.813 GB, free: 54.11 MB / 0.8855 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.01383/21.07, allocations: 5.549 MB / 4.818 GB, free: 51.58 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01224/21.08, allocations: 3.931 MB / 4.822 GB, free: 51.52 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/21.08, allocations: 0 / 4.822 GB, free: 51.52 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.006168/21.08, allocations: 2.128 MB / 4.824 GB, free: 51.51 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01381/21.1, allocations: 1.228 MB / 4.825 GB, free: 51.47 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0319/21.13, allocations: 6.737 MB / 4.832 GB, free: 49.69 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007444/21.14, allocations: 2.705 MB / 4.835 GB, free: 48.75 MB / 0.8855 GB Notification: Performance of SimCode: time 2.144e-06/21.14, allocations: 1.031 kB / 4.835 GB, free: 48.75 MB / 0.8855 GB