Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_6_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.268/4.268, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.838e-05/3.864e-05, allocations: 3.094 kB / 0.5383 GB, free: 10.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2287, allocations: 98.73 MB / 0.6347 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 15.75/15.98, allocations: 4.66 GB / 5.295 GB, free: 110.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/15.98, allocations: 83.28 kB / 5.295 GB, free: 110.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1443/16.12, allocations: 45.05 MB / 5.339 GB, free: 73.37 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.354e-06/16.12, allocations: 4 kB / 5.339 GB, free: 73.37 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.944e-06/16.12, allocations: 4 kB / 5.339 GB, free: 73.36 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003223/16.12, allocations: 338.1 kB / 5.339 GB, free: 72.99 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/16.12, allocations: 8.031 kB / 5.339 GB, free: 72.98 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.643e-05/16.12, allocations: 30.56 kB / 5.339 GB, free: 72.95 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002506/16.12, allocations: 15.98 kB / 5.339 GB, free: 72.93 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.802e-05/16.12, allocations: 167 kB / 5.339 GB, free: 72.73 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.116e-05/16.12, allocations: 33.7 kB / 5.339 GB, free: 72.69 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/16.12, allocations: 3.953 kB / 5.339 GB, free: 72.68 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/16.12, allocations: 49.12 kB / 5.339 GB, free: 72.63 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/16.12, allocations: 0 / 5.339 GB, free: 72.63 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/16.12, allocations: 0 / 5.339 GB, free: 72.63 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/16.12, allocations: 0 / 5.339 GB, free: 72.63 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.141e-05/16.12, allocations: 23.73 kB / 5.339 GB, free: 72.61 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/16.12, allocations: 263.8 kB / 5.34 GB, free: 72.31 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.087e-05/16.12, allocations: 18.02 kB / 5.34 GB, free: 72.29 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.721e-05/16.12, allocations: 12.86 kB / 5.34 GB, free: 72.27 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/16.12, allocations: 0 / 5.34 GB, free: 72.27 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/16.12, allocations: 30.56 kB / 5.34 GB, free: 72.23 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 1.532e-06/16.12, allocations: 0 / 5.34 GB, free: 72.23 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001346/16.12, allocations: 37.55 kB / 5.34 GB, free: 72.19 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/16.12, allocations: 59.44 kB / 5.34 GB, free: 72.12 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.617e-05/16.12, allocations: 100.5 kB / 5.34 GB, free: 72.02 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/16.12, allocations: 25.7 kB / 5.34 GB, free: 71.99 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/16.12, allocations: 91.98 kB / 5.34 GB, free: 71.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.703e-06/16.12, allocations: 0 / 5.34 GB, free: 71.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-06/16.12, allocations: 0 / 5.34 GB, free: 71.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.62e-05/16.12, allocations: 314.8 kB / 5.34 GB, free: 71.58 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.159e-05/16.12, allocations: 7.438 kB / 5.34 GB, free: 71.58 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.206e-05/16.12, allocations: 26.56 kB / 5.34 GB, free: 71.54 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.41e-05/16.12, allocations: 8 kB / 5.34 GB, free: 71.54 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/16.12, allocations: 3.938 kB / 5.34 GB, free: 71.53 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.997e-05/16.12, allocations: 57.22 kB / 5.34 GB, free: 71.47 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/16.12, allocations: 4.625 kB / 5.34 GB, free: 71.47 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/16.12, allocations: 4.094 kB / 5.34 GB, free: 71.46 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/16.12, allocations: 4 kB / 5.34 GB, free: 71.46 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.088e-05/16.12, allocations: 7.75 kB / 5.34 GB, free: 71.46 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/16.12, allocations: 0 / 5.34 GB, free: 71.46 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.813e-05/16.12, allocations: 4 kB / 5.34 GB, free: 71.45 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/16.12, allocations: 0 / 5.34 GB, free: 71.45 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.613e-05/16.12, allocations: 112.9 kB / 5.341 GB, free: 71.34 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/16.12, allocations: 4 kB / 5.341 GB, free: 71.33 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.06e-05/16.12, allocations: 3.125 kB / 5.341 GB, free: 71.33 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/16.12, allocations: 4 kB / 5.341 GB, free: 71.33 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/16.12, allocations: 3.938 kB / 5.341 GB, free: 71.32 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/16.12, allocations: 0 / 5.341 GB, free: 71.32 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/16.12, allocations: 350.1 kB / 5.341 GB, free: 70.93 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/16.12, allocations: 0 / 5.341 GB, free: 70.93 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.201e-05/16.12, allocations: 4 kB / 5.341 GB, free: 70.93 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/16.12, allocations: 0 / 5.341 GB, free: 70.93 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/16.12, allocations: 3.984 kB / 5.341 GB, free: 70.92 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/16.12, allocations: 4 kB / 5.341 GB, free: 70.92 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/16.12, allocations: 4.031 kB / 5.341 GB, free: 70.91 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.848e-05/16.13, allocations: 61 kB / 5.341 GB, free: 70.84 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.563e-05/16.13, allocations: 77.11 kB / 5.341 GB, free: 70.74 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/16.13, allocations: 3.562 kB / 5.341 GB, free: 70.74 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.834e-05/16.13, allocations: 7.984 kB / 5.341 GB, free: 70.73 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.178e-05/16.13, allocations: 3.938 kB / 5.341 GB, free: 70.73 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/16.13, allocations: 3.969 kB / 5.341 GB, free: 70.73 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.752e-05/16.13, allocations: 83.28 kB / 5.341 GB, free: 70.64 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.81e-07/16.13, allocations: 0 / 5.341 GB, free: 70.64 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004238/16.13, allocations: 46.55 kB / 5.341 GB, free: 70.62 MB / 0.823 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 (1): * Single equations (assignments): 1 * 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.0009626/16.13, allocations: 1.059 MB / 5.342 GB, free: 69.55 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001044/16.13, allocations: 15.81 kB / 5.342 GB, free: 69.54 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/16.13, allocations: 4 kB / 5.342 GB, free: 69.53 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.328e-06/16.13, allocations: 0 / 5.342 GB, free: 69.53 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/16.13, allocations: 10.12 kB / 5.342 GB, free: 69.52 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003039/16.13, allocations: 87.45 kB / 5.342 GB, free: 69.41 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/16.13, allocations: 0.677 MB / 5.343 GB, free: 68.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 8.257e-05/16.13, allocations: 7.938 kB / 5.343 GB, free: 68.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/16.13, allocations: 11.42 kB / 5.343 GB, free: 68.68 MB / 0.823 GB Notification: Performance of SimCode: time 1.152e-06/16.13, allocations: 8 kB / 5.343 GB, free: 68.68 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03566/16.16, allocations: 12.28 MB / 5.355 GB, free: 56.48 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002496/16.16, allocations: 185.2 kB / 5.355 GB, free: 56.25 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.131/19.3, allocations: 0 / 5.355 GB, free: 56.25 MB / 0.823 GB