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/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.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.246/4.246, allocations: 432.6 MB / 445.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.815e-05/4.825e-05, allocations: 7.141 kB / 0.5383 GB, free: 10.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2597, allocations: 98.73 MB / 0.6347 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.295/7.555, allocations: 2.167 GB / 2.802 GB, free: 135.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/7.555, allocations: 68.77 kB / 2.802 GB, free: 135.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1184/7.674, allocations: 36.53 MB / 2.838 GB, free: 104.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.552e-06/7.674, allocations: 0 / 2.838 GB, free: 104.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.033e-06/7.674, allocations: 4 kB / 2.838 GB, free: 104.9 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.0003352/7.674, allocations: 342.2 kB / 2.838 GB, free: 104.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/7.674, allocations: 11.97 kB / 2.838 GB, free: 104.5 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/7.674, allocations: 38.48 kB / 2.838 GB, free: 104.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003166/7.675, allocations: 23.97 kB / 2.838 GB, free: 104.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.143e-05/7.675, allocations: 163.1 kB / 2.838 GB, free: 104.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.762e-05/7.675, allocations: 29.7 kB / 2.839 GB, free: 104.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/7.675, allocations: 0 / 2.839 GB, free: 104.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/7.675, allocations: 49.19 kB / 2.839 GB, free: 104.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/7.675, allocations: 0 / 2.839 GB, free: 104.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/7.675, allocations: 3.953 kB / 2.839 GB, free: 104.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/7.675, allocations: 0 / 2.839 GB, free: 104.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.912e-05/7.675, allocations: 23.8 kB / 2.839 GB, free: 104.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/7.676, allocations: 252.2 kB / 2.839 GB, free: 103.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.724e-05/7.676, allocations: 26.52 kB / 2.839 GB, free: 103.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.695e-05/7.676, allocations: 12.88 kB / 2.839 GB, free: 103.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001667/7.676, allocations: 92.91 kB / 2.839 GB, free: 103.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/7.676, allocations: 34.56 kB / 2.839 GB, free: 103.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.773e-06/7.676, allocations: 0 / 2.839 GB, free: 103.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0002419/7.676, allocations: 53.53 kB / 2.839 GB, free: 103.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/7.676, allocations: 55.34 kB / 2.839 GB, free: 103.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.382e-05/7.676, allocations: 96.67 kB / 2.839 GB, free: 103.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/7.676, allocations: 25.7 kB / 2.839 GB, free: 103.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.967e-05/7.676, allocations: 84.05 kB / 2.839 GB, free: 103.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.049e-05/7.676, allocations: 11.88 kB / 2.839 GB, free: 103.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/7.676, allocations: 0 / 2.839 GB, free: 103.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.674e-05/7.676, allocations: 310.8 kB / 2.84 GB, free: 103 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.036e-05/7.676, allocations: 4 kB / 2.84 GB, free: 103 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.285e-05/7.676, allocations: 30.53 kB / 2.84 GB, free: 103 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.811e-05/7.676, allocations: 7.938 kB / 2.84 GB, free: 103 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/7.676, allocations: 4 kB / 2.84 GB, free: 103 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.972e-05/7.677, allocations: 57.16 kB / 2.84 GB, free: 102.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/7.677, allocations: 8.578 kB / 2.84 GB, free: 102.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/7.677, allocations: 4.094 kB / 2.84 GB, free: 102.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/7.677, allocations: 0 / 2.84 GB, free: 102.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.933e-05/7.677, allocations: 11.94 kB / 2.84 GB, free: 102.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/7.677, allocations: 0 / 2.84 GB, free: 102.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.21e-05/7.677, allocations: 0 / 2.84 GB, free: 102.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/7.677, allocations: 4 kB / 2.84 GB, free: 102.9 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.394e-05/7.677, allocations: 104.8 kB / 2.84 GB, free: 102.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/7.677, allocations: 7.984 kB / 2.84 GB, free: 102.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.391e-05/7.677, allocations: 7.359 kB / 2.84 GB, free: 102.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/7.677, allocations: 4 kB / 2.84 GB, free: 102.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/7.677, allocations: 0 / 2.84 GB, free: 102.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/7.677, allocations: 3.984 kB / 2.84 GB, free: 102.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/7.677, allocations: 367.4 kB / 2.84 GB, free: 102.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/7.677, allocations: 0 / 2.84 GB, free: 102.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.972e-05/7.677, allocations: 4 kB / 2.84 GB, free: 102.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/7.677, allocations: 4 kB / 2.84 GB, free: 102.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/7.677, allocations: 64 / 2.84 GB, free: 102.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/7.677, allocations: 4 kB / 2.84 GB, free: 102.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/7.677, allocations: 0 / 2.84 GB, free: 102.3 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.924e-05/7.678, allocations: 91.44 kB / 2.84 GB, free: 102.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.292e-05/7.678, allocations: 77.11 kB / 2.84 GB, free: 102.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/7.678, allocations: 3.75 kB / 2.84 GB, free: 102.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.125e-05/7.678, allocations: 8.031 kB / 2.84 GB, free: 102.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/7.678, allocations: 0 / 2.84 GB, free: 102.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/7.678, allocations: 4 kB / 2.84 GB, free: 102.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3e-05/7.678, allocations: 79.27 kB / 2.84 GB, free: 102 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.91e-07/7.678, allocations: 0 / 2.84 GB, free: 102 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003549/7.678, allocations: 38.5 kB / 2.84 GB, free: 102 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 () * 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.0009322/7.679, allocations: 1.146 MB / 2.842 GB, free: 100.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 8.798e-05/7.679, allocations: 12 kB / 2.842 GB, free: 100.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/7.679, allocations: 0 / 2.842 GB, free: 100.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.895e-05/7.679, allocations: 11.88 kB / 2.842 GB, free: 100.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/7.679, allocations: 8.062 kB / 2.842 GB, free: 100.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003194/7.68, allocations: 95.75 kB / 2.842 GB, free: 100.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/7.68, allocations: 0.6848 MB / 2.842 GB, free: 99.99 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 9.011e-05/7.68, allocations: 7.984 kB / 2.842 GB, free: 99.98 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/7.68, allocations: 11.44 kB / 2.842 GB, free: 99.97 MB / 0.823 GB Notification: Performance of SimCode: time 7.32e-07/7.68, allocations: 0 / 2.842 GB, free: 99.97 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03748/7.718, allocations: 11.87 MB / 2.854 GB, free: 88.15 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001456/7.718, allocations: 176.2 kB / 2.854 GB, free: 87.91 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.012/10.73, allocations: 0 / 2.854 GB, free: 87.91 MB / 0.823 GB