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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01547/0.01547, allocations: 107.7 kB / 15.05 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001964/0.001964, allocations: 183.5 kB / 15.94 MB, free: 5.941 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.12/2.12, allocations: 194.5 MB / 211.3 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.415/2.415, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005061/0.000506, allocations: 12 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7036/0.7041, allocations: 98.72 MB / 0.6834 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 15.45/16.16, allocations: 4.655 GB / 5.338 GB, free: 212.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003429/16.16, allocations: 87.19 kB / 5.338 GB, free: 212.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1972/16.35, allocations: 45.14 MB / 5.382 GB, free: 175 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.535e-06/16.35, allocations: 0 / 5.382 GB, free: 175 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.207e-06/16.35, allocations: 4 kB / 5.382 GB, free: 175 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.000421/16.36, allocations: 343.1 kB / 5.383 GB, free: 174.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/16.36, allocations: 8.031 kB / 5.383 GB, free: 174.6 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.79e-05/16.36, allocations: 34.55 kB / 5.383 GB, free: 174.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003807/16.36, allocations: 19.42 kB / 5.383 GB, free: 174.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/16.36, allocations: 174.9 kB / 5.383 GB, free: 174.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-05/16.36, allocations: 29.7 kB / 5.383 GB, free: 174.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/16.36, allocations: 3.953 kB / 5.383 GB, free: 174.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/16.36, allocations: 53.41 kB / 5.383 GB, free: 174.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/16.36, allocations: 0 / 5.383 GB, free: 174.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/16.36, allocations: 0 / 5.383 GB, free: 174.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/16.36, allocations: 0 / 5.383 GB, free: 174.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/16.36, allocations: 19.48 kB / 5.383 GB, free: 174.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005659/16.36, allocations: 264.3 kB / 5.383 GB, free: 173.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.413e-05/16.36, allocations: 14.58 kB / 5.383 GB, free: 173.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/16.36, allocations: 4.062 kB / 5.383 GB, free: 173.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/16.36, allocations: 30.56 kB / 5.383 GB, free: 173.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 2.425e-06/16.36, allocations: 0 / 5.383 GB, free: 173.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.000198/16.36, allocations: 45.23 kB / 5.383 GB, free: 173.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/16.36, allocations: 51.41 kB / 5.383 GB, free: 173.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.687e-05/16.36, allocations: 100.1 kB / 5.384 GB, free: 173.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/16.36, allocations: 25.7 kB / 5.384 GB, free: 173.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.345e-05/16.36, allocations: 84.05 kB / 5.384 GB, free: 173.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.203e-05/16.36, allocations: 7.906 kB / 5.384 GB, free: 173.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/16.36, allocations: 3.812 kB / 5.384 GB, free: 173.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.895e-05/16.36, allocations: 315.2 kB / 5.384 GB, free: 173.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.288e-05/16.36, allocations: 8.125 kB / 5.384 GB, free: 173.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.811e-05/16.36, allocations: 22.14 kB / 5.384 GB, free: 173.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.992e-05/16.36, allocations: 11.94 kB / 5.384 GB, free: 173.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/16.36, allocations: 3.938 kB / 5.384 GB, free: 173.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001604/16.36, allocations: 49.52 kB / 5.384 GB, free: 173.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/16.36, allocations: 4.094 kB / 5.384 GB, free: 173.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/16.36, allocations: 8 kB / 5.384 GB, free: 173.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/16.36, allocations: 3.984 kB / 5.384 GB, free: 173.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/16.36, allocations: 7.938 kB / 5.384 GB, free: 173.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/16.36, allocations: 4 kB / 5.384 GB, free: 173.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.352e-05/16.36, allocations: 3.688 kB / 5.384 GB, free: 173.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/16.36, allocations: 7.938 kB / 5.384 GB, free: 173 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 () * Number of clocked 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 9.31e-05/16.36, allocations: 113.7 kB / 5.384 GB, free: 172.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.985e-05/16.36, allocations: 0 / 5.384 GB, free: 172.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.855e-05/16.36, allocations: 11.12 kB / 5.384 GB, free: 172.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/16.36, allocations: 0 / 5.384 GB, free: 172.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/16.36, allocations: 0 / 5.384 GB, free: 172.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/16.36, allocations: 3.984 kB / 5.384 GB, free: 172.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003594/16.36, allocations: 350.2 kB / 5.385 GB, free: 172.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/16.36, allocations: 0 / 5.385 GB, free: 172.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/16.36, allocations: 0 / 5.385 GB, free: 172.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/16.36, allocations: 4 kB / 5.385 GB, free: 172.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/16.36, allocations: 0 / 5.385 GB, free: 172.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/16.36, allocations: 4.031 kB / 5.385 GB, free: 172.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/16.36, allocations: 0 / 5.385 GB, free: 172.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/16.36, allocations: 72.8 kB / 5.385 GB, free: 172.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.379e-05/16.36, allocations: 77.11 kB / 5.385 GB, free: 172.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/16.36, allocations: 0 / 5.385 GB, free: 172.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/16.36, allocations: 0 / 5.385 GB, free: 172.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/16.36, allocations: 4 kB / 5.385 GB, free: 172.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/16.36, allocations: 4.031 kB / 5.385 GB, free: 172.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.649e-05/16.36, allocations: 87.53 kB / 5.385 GB, free: 172.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.31e-07/16.36, allocations: 0 / 5.385 GB, free: 172.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006847/16.36, allocations: 42.61 kB / 5.385 GB, free: 172.2 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 () * Number of clocked 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.001395/16.36, allocations: 1.061 MB / 5.386 GB, free: 171.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001525/16.36, allocations: 19.73 kB / 5.386 GB, free: 171.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/16.36, allocations: 0 / 5.386 GB, free: 171.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.898e-05/16.36, allocations: 7.938 kB / 5.386 GB, free: 171.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/16.36, allocations: 12.19 kB / 5.386 GB, free: 171.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006048/16.36, allocations: 146 kB / 5.386 GB, free: 170.9 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/16.36, allocations: 0.677 MB / 5.387 GB, free: 170.2 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001667/16.36, allocations: 11.97 kB / 5.387 GB, free: 170.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/16.36, allocations: 11.44 kB / 5.387 GB, free: 170.2 MB / 0.823 GB Notification: Performance of SimCode: time 1.473e-06/16.36, allocations: 0 / 5.387 GB, free: 170.2 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09517/16.46, allocations: 10.5 MB / 5.397 GB, free: 159.8 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000252/16.46, allocations: 221.5 kB / 5.397 GB, free: 159.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.275/19.73, allocations: 0 / 5.397 GB, free: 159.6 MB / 0.823 GB