Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.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.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.007/4.007, allocations: 433.2 MB / 440.7 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.98e-05/2.991e-05, allocations: 6.75 kB / 0.5325 GB, free: 12.69 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2223, allocations: 98.73 MB / 0.6289 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.079/1.301, allocations: 344.8 MB / 0.9656 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/1.301, allocations: 85.73 kB / 0.9657 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04404/1.346, allocations: 12.07 MB / 0.9775 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.603e-06/1.346, allocations: 0 / 0.9775 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.127e-05/1.346, allocations: 0 / 0.9775 GB, free: 13.95 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006199/1.346, allocations: 376.2 kB / 0.9778 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/1.346, allocations: 16.03 kB / 0.9779 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/1.346, allocations: 11.86 kB / 0.9779 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/1.347, allocations: 174.9 kB / 0.978 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/1.347, allocations: 0 / 0.978 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/1.347, allocations: 4 kB / 0.978 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001958/1.347, allocations: 54.48 kB / 0.9781 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/1.347, allocations: 68.59 kB / 0.9782 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/1.347, allocations: 0 / 0.9782 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/1.347, allocations: 0 / 0.9782 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/1.347, allocations: 11.56 kB / 0.9782 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005764/1.348, allocations: 293.8 kB / 0.9784 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/1.348, allocations: 75.12 kB / 0.9785 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.664e-05/1.348, allocations: 35.53 kB / 0.9786 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001157/1.349, allocations: 0.7649 MB / 0.9793 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/1.349, allocations: 34.56 kB / 0.9793 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 2.906e-06/1.349, allocations: 0 / 0.9793 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.000568/1.35, allocations: 114.1 kB / 0.9794 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/1.35, allocations: 51.41 kB / 0.9795 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/1.35, allocations: 108.5 kB / 0.9796 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/1.35, allocations: 25.7 kB / 0.9796 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.79e-05/1.35, allocations: 95.19 kB / 0.9797 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/1.35, allocations: 26.94 kB / 0.9797 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.068e-06/1.35, allocations: 0 / 0.9797 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001186/1.35, allocations: 322.3 kB / 0.98 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.205e-05/1.35, allocations: 27.34 kB / 0.9801 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.452e-05/1.35, allocations: 30.77 kB / 0.9801 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003239/1.351, allocations: 46.47 kB / 0.9801 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.351, allocations: 0 / 0.9801 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004695/1.351, allocations: 119.5 kB / 0.9803 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/1.351, allocations: 8 kB / 0.9803 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/1.351, allocations: 0 / 0.9803 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/1.351, allocations: 4.266 kB / 0.9803 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/1.352, allocations: 19.98 kB / 0.9803 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/1.352, allocations: 0 / 0.9803 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/1.352, allocations: 15.92 kB / 0.9803 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/1.352, allocations: 8.031 kB / 0.9803 GB, free: 10.94 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 8.431e-05/1.352, allocations: 101.7 kB / 0.9804 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004496/1.352, allocations: 115.6 kB / 0.9805 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/1.352, allocations: 7.906 kB / 0.9805 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005451/1.353, allocations: 119.4 kB / 0.9806 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/1.353, allocations: 8 kB / 0.9806 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/1.353, allocations: 0 / 0.9806 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/1.353, allocations: 3.984 kB / 0.9806 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/1.353, allocations: 161.1 kB / 0.9808 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.353, allocations: 0 / 0.9808 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/1.353, allocations: 23.94 kB / 0.9808 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/1.353, allocations: 0 / 0.9808 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/1.354, allocations: 0 / 0.9808 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/1.354, allocations: 4 kB / 0.9808 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/1.354, allocations: 0 / 0.9808 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004948/1.354, allocations: 219.6 kB / 0.981 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.807e-05/1.354, allocations: 81.2 kB / 0.9811 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/1.354, allocations: 7.953 kB / 0.9811 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/1.354, allocations: 11.92 kB / 0.9811 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/1.354, allocations: 7.984 kB / 0.9811 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/1.354, allocations: 4 kB / 0.9811 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.316e-05/1.354, allocations: 91.16 kB / 0.9812 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.71e-07/1.355, allocations: 0 / 0.9812 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000359/1.355, allocations: 27.25 kB / 0.9813 GB, free: 9.961 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0009419/1.356, allocations: 0.772 MB / 0.982 GB, free: 9.184 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000205/1.356, allocations: 50.38 kB / 0.9821 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.356, allocations: 4.062 kB / 0.9821 GB, free: 9.148 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.768e-05/1.356, allocations: 38.42 kB / 0.9821 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/1.356, allocations: 13.7 kB / 0.9821 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005844/1.357, allocations: 139.8 kB / 0.9822 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/1.357, allocations: 0.6885 MB / 0.9829 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001186/1.357, allocations: 12.17 kB / 0.9829 GB, free: 8.219 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.031e-05/1.358, allocations: 18.25 kB / 0.9829 GB, free: 8.207 MB / 0.7292 GB Notification: Performance of SimCode: time 8.72e-07/1.358, allocations: 0 / 0.9829 GB, free: 8.207 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03671/1.394, allocations: 1.826 MB / 0.9847 GB, free: 6.398 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003239/1.395, allocations: 155.1 kB / 0.9849 GB, free: 6.211 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.337/3.732, allocations: 4 kB / 0.9849 GB, free: 6.207 MB / 0.7292 GB