Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_6_0_0_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",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.01116/0.01116, allocations: 107.4 kB / 15.05 MB, free: 5.93 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.001267/0.001267, allocations: 184.6 kB / 15.94 MB, free: 5.895 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.098/2.098, allocations: 194.6 MB / 211.2 MB, free: 11.05 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.419/2.419, allocations: 236.1 MB / 492.6 MB, free: 11.28 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004957/0.0004957, allocations: 12 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7485/0.749, allocations: 98.72 MB / 0.6834 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.441/8.19, allocations: 2.157 GB / 2.841 GB, free: 227 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/8.19, allocations: 74.53 kB / 2.841 GB, free: 227 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1153/8.306, allocations: 36.6 MB / 2.877 GB, free: 205.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.525e-06/8.306, allocations: 0 / 2.877 GB, free: 205.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.344e-06/8.306, allocations: 0 / 2.877 GB, free: 205.1 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.0003763/8.306, allocations: 343 kB / 2.877 GB, free: 204.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/8.306, allocations: 8.031 kB / 2.877 GB, free: 204.7 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.027e-05/8.306, allocations: 34.56 kB / 2.877 GB, free: 204.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003393/8.307, allocations: 27.91 kB / 2.877 GB, free: 204.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/8.307, allocations: 163.1 kB / 2.877 GB, free: 204.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.93e-05/8.307, allocations: 33.25 kB / 2.877 GB, free: 204.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/8.307, allocations: 0 / 2.877 GB, free: 204.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/8.307, allocations: 45.06 kB / 2.877 GB, free: 204.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/8.307, allocations: 0 / 2.877 GB, free: 204.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/8.307, allocations: 3.953 kB / 2.877 GB, free: 204.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/8.307, allocations: 7.938 kB / 2.877 GB, free: 204.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.909e-05/8.307, allocations: 19.48 kB / 2.877 GB, free: 204.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003566/8.308, allocations: 256.5 kB / 2.878 GB, free: 204 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.142e-05/8.308, allocations: 26.19 kB / 2.878 GB, free: 204 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001741/8.308, allocations: 101.1 kB / 2.878 GB, free: 203.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/8.308, allocations: 42.48 kB / 2.878 GB, free: 203.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 3.537e-06/8.308, allocations: 0 / 2.878 GB, free: 203.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0002742/8.308, allocations: 53.16 kB / 2.878 GB, free: 203.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/8.308, allocations: 55.41 kB / 2.878 GB, free: 203.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.193e-05/8.308, allocations: 92.5 kB / 2.878 GB, free: 203.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/8.308, allocations: 25.7 kB / 2.878 GB, free: 203.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.29e-05/8.308, allocations: 84.17 kB / 2.878 GB, free: 203.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.082e-05/8.308, allocations: 19.58 kB / 2.878 GB, free: 203.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/8.308, allocations: 0 / 2.878 GB, free: 203.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.33e-05/8.308, allocations: 314.8 kB / 2.878 GB, free: 203.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.969e-05/8.308, allocations: 0 / 2.878 GB, free: 203.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.215e-05/8.308, allocations: 30.06 kB / 2.878 GB, free: 203.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.163e-05/8.309, allocations: 7.938 kB / 2.878 GB, free: 203.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/8.309, allocations: 4 kB / 2.878 GB, free: 203.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.912e-05/8.309, allocations: 56.56 kB / 2.878 GB, free: 203.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/8.309, allocations: 9.359 kB / 2.878 GB, free: 203 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/8.309, allocations: 0 / 2.878 GB, free: 203 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/8.309, allocations: 4 kB / 2.878 GB, free: 203 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.957e-05/8.309, allocations: 4 kB / 2.878 GB, free: 203 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/8.309, allocations: 4 kB / 2.878 GB, free: 203 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.949e-05/8.309, allocations: 0 / 2.878 GB, free: 203 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/8.309, allocations: 0 / 2.878 GB, free: 203 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 6.284e-05/8.309, allocations: 113.9 kB / 2.879 GB, free: 202.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/8.309, allocations: 0 / 2.879 GB, free: 202.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/8.309, allocations: 14.44 kB / 2.879 GB, free: 202.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/8.309, allocations: 4 kB / 2.879 GB, free: 202.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/8.309, allocations: 0 / 2.879 GB, free: 202.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/8.309, allocations: 0 / 2.879 GB, free: 202.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002793/8.309, allocations: 358.3 kB / 2.879 GB, free: 202.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/8.309, allocations: 3.953 kB / 2.879 GB, free: 202.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-05/8.309, allocations: 11.92 kB / 2.879 GB, free: 202.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/8.309, allocations: 0 / 2.879 GB, free: 202.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/8.309, allocations: 0 / 2.879 GB, free: 202.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/8.309, allocations: 4 kB / 2.879 GB, free: 202.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/8.309, allocations: 3.938 kB / 2.879 GB, free: 202.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.966e-05/8.31, allocations: 86.52 kB / 2.879 GB, free: 202.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/8.31, allocations: 89.03 kB / 2.879 GB, free: 202.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/8.31, allocations: 0 / 2.879 GB, free: 202.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.396e-05/8.31, allocations: 0 / 2.879 GB, free: 202.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/8.31, allocations: 4 kB / 2.879 GB, free: 202.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.778e-06/8.31, allocations: 0 / 2.879 GB, free: 202.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.188e-05/8.31, allocations: 86.77 kB / 2.879 GB, free: 202.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.6e-07/8.31, allocations: 0 / 2.879 GB, free: 202.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003835/8.31, allocations: 37.28 kB / 2.879 GB, free: 202.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0009691/8.311, allocations: 1.138 MB / 2.88 GB, free: 201 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001132/8.311, allocations: 19.56 kB / 2.88 GB, free: 201 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/8.311, allocations: 4.062 kB / 2.88 GB, free: 201 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.76e-05/8.311, allocations: 4 kB / 2.88 GB, free: 201 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/8.312, allocations: 3.938 kB / 2.88 GB, free: 201 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004236/8.312, allocations: 159.5 kB / 2.88 GB, free: 200.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/8.312, allocations: 0.6849 MB / 2.881 GB, free: 200.1 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 9.385e-05/8.312, allocations: 7.984 kB / 2.881 GB, free: 200.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/8.312, allocations: 15.42 kB / 2.881 GB, free: 200 MB / 0.823 GB Notification: Performance of SimCode: time 1.132e-06/8.312, allocations: 0 / 2.881 GB, free: 200 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03228/8.345, allocations: 10.16 MB / 2.891 GB, free: 190 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002307/8.345, allocations: 196.7 kB / 2.891 GB, free: 189.7 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.069/11.41, allocations: 0 / 2.891 GB, free: 189.7 MB / 0.823 GB