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 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.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_6_0_0_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.192/4.192, allocations: 433.2 MB / 440.7 MB, free: 4.527 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.888e-05/2.898e-05, allocations: 5.938 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2252, allocations: 98.73 MB / 0.6289 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.12/7.345, allocations: 2.167 GB / 2.796 GB, free: 169.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/7.346, allocations: 70.34 kB / 2.796 GB, free: 169.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1224/7.468, allocations: 35.89 MB / 2.831 GB, free: 140.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.854e-06/7.468, allocations: 0 / 2.831 GB, free: 140.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.562e-06/7.468, allocations: 0 / 2.831 GB, free: 140.4 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.0003518/7.468, allocations: 342 kB / 2.831 GB, free: 140.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/7.468, allocations: 12.03 kB / 2.831 GB, free: 140 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003257/7.469, allocations: 19.98 kB / 2.831 GB, free: 140 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/7.469, allocations: 175 kB / 2.831 GB, free: 139.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.705e-05/7.469, allocations: 25.7 kB / 2.831 GB, free: 139.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/7.469, allocations: 0 / 2.831 GB, free: 139.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.845e-05/7.469, allocations: 19.48 kB / 2.831 GB, free: 139.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.944e-05/7.469, allocations: 53.27 kB / 2.831 GB, free: 139.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/7.469, allocations: 0 / 2.831 GB, free: 139.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/7.469, allocations: 3.938 kB / 2.831 GB, free: 139.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/7.469, allocations: 0 / 2.831 GB, free: 139.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/7.47, allocations: 322.2 kB / 2.832 GB, free: 139.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.541e-05/7.47, allocations: 30.33 kB / 2.832 GB, free: 139.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.702e-05/7.47, allocations: 4.859 kB / 2.832 GB, free: 139.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.682e-06/7.47, allocations: 3.953 kB / 2.832 GB, free: 139.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/7.47, allocations: 30.56 kB / 2.832 GB, free: 139.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 1.563e-06/7.47, allocations: 0 / 2.832 GB, free: 139.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.000228/7.47, allocations: 41.66 kB / 2.832 GB, free: 139.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.918e-05/7.47, allocations: 55.41 kB / 2.832 GB, free: 139.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.865e-05/7.47, allocations: 96.84 kB / 2.832 GB, free: 139.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/7.47, allocations: 25.7 kB / 2.832 GB, free: 139 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/7.47, allocations: 92.03 kB / 2.832 GB, free: 138.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.948e-06/7.47, allocations: 11.66 kB / 2.832 GB, free: 138.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/7.47, allocations: 3.938 kB / 2.832 GB, free: 138.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.65e-05/7.47, allocations: 310.8 kB / 2.832 GB, free: 138.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.815e-05/7.47, allocations: 4 kB / 2.832 GB, free: 138.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.864e-05/7.471, allocations: 26.52 kB / 2.832 GB, free: 138.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.808e-05/7.471, allocations: 11.92 kB / 2.832 GB, free: 138.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/7.471, allocations: 0 / 2.832 GB, free: 138.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.301e-05/7.471, allocations: 45.64 kB / 2.833 GB, free: 138.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/7.471, allocations: 7.984 kB / 2.833 GB, free: 138.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/7.471, allocations: 3.953 kB / 2.833 GB, free: 138.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/7.471, allocations: 0 / 2.833 GB, free: 138.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.14e-05/7.471, allocations: 12.09 kB / 2.833 GB, free: 138.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/7.471, allocations: 0 / 2.833 GB, free: 138.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.676e-05/7.471, allocations: 4 kB / 2.833 GB, free: 138.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-06/7.471, allocations: 3.625 kB / 2.833 GB, free: 138.5 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.568e-05/7.471, allocations: 101 kB / 2.833 GB, free: 138.4 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.241e-05/7.471, allocations: 37.64 kB / 2.833 GB, free: 138.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/7.471, allocations: 7.938 kB / 2.833 GB, free: 138.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.123e-05/7.471, allocations: 3.75 kB / 2.833 GB, free: 138.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/7.471, allocations: 0 / 2.833 GB, free: 138.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/7.471, allocations: 8.031 kB / 2.833 GB, free: 138.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/7.471, allocations: 0 / 2.833 GB, free: 138.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/7.471, allocations: 323 kB / 2.833 GB, free: 138 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/7.471, allocations: 0 / 2.833 GB, free: 138 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.004e-05/7.471, allocations: 4 kB / 2.833 GB, free: 137.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/7.471, allocations: 0 / 2.833 GB, free: 137.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/7.471, allocations: 0 / 2.833 GB, free: 137.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/7.471, allocations: 0 / 2.833 GB, free: 137.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/7.472, allocations: 32 / 2.833 GB, free: 137.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.319e-05/7.472, allocations: 72.5 kB / 2.833 GB, free: 137.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/7.472, allocations: 81.34 kB / 2.833 GB, free: 137.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/7.472, allocations: 4 kB / 2.833 GB, free: 137.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.106e-05/7.472, allocations: 4 kB / 2.833 GB, free: 137.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/7.472, allocations: 7.969 kB / 2.833 GB, free: 137.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-06/7.472, allocations: 0 / 2.833 GB, free: 137.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.2e-05/7.472, allocations: 83.31 kB / 2.833 GB, free: 137.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.11e-07/7.472, allocations: 0 / 2.833 GB, free: 137.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003501/7.472, allocations: 38.73 kB / 2.833 GB, free: 137.7 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.000981/7.473, allocations: 1.129 MB / 2.834 GB, free: 136.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 9.561e-05/7.473, allocations: 8 kB / 2.834 GB, free: 136.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/7.473, allocations: 4.125 kB / 2.834 GB, free: 136.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.408e-06/7.473, allocations: 4 kB / 2.834 GB, free: 136.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/7.474, allocations: 9 kB / 2.834 GB, free: 136.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003151/7.474, allocations: 82.09 kB / 2.835 GB, free: 136.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/7.474, allocations: 0.6846 MB / 2.835 GB, free: 135.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 8.717e-05/7.474, allocations: 7.969 kB / 2.835 GB, free: 135.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/7.474, allocations: 15.5 kB / 2.835 GB, free: 135.6 MB / 0.823 GB Notification: Performance of SimCode: time 7.11e-07/7.474, allocations: 3.938 kB / 2.835 GB, free: 135.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03822/7.512, allocations: 5.19 MB / 2.84 GB, free: 130.4 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002433/7.513, allocations: 146.2 kB / 2.84 GB, free: 130.3 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.824/10.34, allocations: 0 / 2.84 GB, free: 130.3 MB / 0.823 GB