Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_6_0_0_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",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.01718/0.01718, allocations: 106.2 kB / 15.05 MB, free: 5.934 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.002184/0.002183, allocations: 186.3 kB / 15.95 MB, free: 5.898 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.203/2.203, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.432/2.432, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006762/0.0006764, allocations: 12 kB / 0.587 GB, free: 2.113 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7318/0.7326, allocations: 98.72 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.127/1.86, allocations: 362.1 MB / 1.037 GB, free: 86.22 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/1.86, allocations: 67.97 kB / 1.037 GB, free: 86.19 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03539/1.896, allocations: 11.54 MB / 1.048 GB, free: 77.21 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.004e-06/1.896, allocations: 0 / 1.048 GB, free: 77.21 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.276e-06/1.896, allocations: 4 kB / 1.048 GB, free: 77.21 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003423/1.896, allocations: 331.4 kB / 1.049 GB, free: 76.84 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/1.896, allocations: 12.02 kB / 1.049 GB, free: 76.82 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.756e-05/1.896, allocations: 33.75 kB / 1.049 GB, free: 76.79 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/1.896, allocations: 11.89 kB / 1.049 GB, free: 76.77 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.269e-05/1.896, allocations: 167 kB / 1.049 GB, free: 76.57 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.162e-05/1.896, allocations: 25.7 kB / 1.049 GB, free: 76.54 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/1.896, allocations: 4 kB / 1.049 GB, free: 76.54 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/1.897, allocations: 52.55 kB / 1.049 GB, free: 76.48 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/1.897, allocations: 0 / 1.049 GB, free: 76.48 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/1.897, allocations: 0 / 1.049 GB, free: 76.48 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/1.897, allocations: 0 / 1.049 GB, free: 76.48 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.767e-05/1.897, allocations: 15.64 kB / 1.049 GB, free: 76.47 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/1.897, allocations: 329.3 kB / 1.049 GB, free: 76.09 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.275e-05/1.897, allocations: 14.58 kB / 1.049 GB, free: 76.06 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.122e-05/1.897, allocations: 93.09 kB / 1.049 GB, free: 75.95 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/1.897, allocations: 34.56 kB / 1.049 GB, free: 75.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.583e-06/1.897, allocations: 0 / 1.049 GB, free: 75.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.00016/1.897, allocations: 37.41 kB / 1.05 GB, free: 75.87 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/1.898, allocations: 55.34 kB / 1.05 GB, free: 75.8 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.49e-05/1.898, allocations: 96.97 kB / 1.05 GB, free: 75.7 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/1.898, allocations: 25.83 kB / 1.05 GB, free: 75.67 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.374e-05/1.898, allocations: 95.86 kB / 1.05 GB, free: 75.58 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.033e-06/1.898, allocations: 3.906 kB / 1.05 GB, free: 75.57 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-06/1.898, allocations: 0 / 1.05 GB, free: 75.57 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.79e-05/1.898, allocations: 310.8 kB / 1.05 GB, free: 75.26 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.952e-05/1.898, allocations: 4 kB / 1.05 GB, free: 75.26 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.863e-05/1.898, allocations: 25.33 kB / 1.05 GB, free: 75.23 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.735e-05/1.898, allocations: 8 kB / 1.05 GB, free: 75.22 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.898, allocations: 0 / 1.05 GB, free: 75.22 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.176e-05/1.898, allocations: 45.31 kB / 1.05 GB, free: 75.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/1.898, allocations: 4 kB / 1.05 GB, free: 75.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/1.898, allocations: 7.938 kB / 1.05 GB, free: 75.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/1.898, allocations: 0 / 1.05 GB, free: 75.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.363e-05/1.898, allocations: 4 kB / 1.05 GB, free: 75.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/1.898, allocations: 3.953 kB / 1.05 GB, free: 75.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.807e-05/1.898, allocations: 0 / 1.05 GB, free: 75.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/1.898, allocations: 4 kB / 1.05 GB, free: 75.15 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.536e-05/1.898, allocations: 117.5 kB / 1.05 GB, free: 75.03 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/1.898, allocations: 4 kB / 1.05 GB, free: 75.03 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/1.898, allocations: 114.6 kB / 1.05 GB, free: 74.91 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-05/1.899, allocations: 191.5 kB / 1.051 GB, free: 74.72 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.272e-05/1.899, allocations: 179.5 kB / 1.051 GB, free: 74.54 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.335e-05/1.899, allocations: 188.2 kB / 1.051 GB, free: 74.35 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/1.899, allocations: 408.8 kB / 1.051 GB, free: 73.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.13e-05/1.899, allocations: 105 kB / 1.051 GB, free: 73.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.107e-05/1.899, allocations: 108.9 kB / 1.052 GB, free: 73.67 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-05/1.899, allocations: 180.3 kB / 1.052 GB, free: 73.49 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.652e-05/1.899, allocations: 184.2 kB / 1.052 GB, free: 73.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.182e-05/1.899, allocations: 180.2 kB / 1.052 GB, free: 73.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.499e-05/1.899, allocations: 184 kB / 1.052 GB, free: 72.93 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.564e-05/1.899, allocations: 299.8 kB / 1.053 GB, free: 72.62 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.779e-05/1.899, allocations: 193.7 kB / 1.053 GB, free: 72.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.418e-05/1.899, allocations: 180.3 kB / 1.053 GB, free: 72.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/1.899, allocations: 108.9 kB / 1.053 GB, free: 72.11 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/1.9, allocations: 180.2 kB / 1.053 GB, free: 71.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/1.9, allocations: 101 kB / 1.053 GB, free: 71.82 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.839e-05/1.9, allocations: 83.03 kB / 1.053 GB, free: 71.74 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.7e-07/1.9, allocations: 0 / 1.053 GB, free: 71.74 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003311/1.9, allocations: 15.94 kB / 1.053 GB, free: 71.73 MB / 0.7292 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 (0): * Single equations (assignments): 0 * 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.0004115/1.9, allocations: 0.8515 MB / 1.054 GB, free: 70.85 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.5e-05/1.9, allocations: 11.56 kB / 1.054 GB, free: 70.84 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.901, allocations: 0 / 1.054 GB, free: 70.84 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.468e-06/1.901, allocations: 7.922 kB / 1.054 GB, free: 70.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/1.901, allocations: 0.5226 MB / 1.055 GB, free: 70.31 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/1.901, allocations: 221.3 kB / 1.055 GB, free: 70.05 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/1.901, allocations: 0.677 MB / 1.056 GB, free: 69.35 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7e-05/1.902, allocations: 4 kB / 1.056 GB, free: 69.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.598e-05/1.902, allocations: 15.44 kB / 1.056 GB, free: 69.33 MB / 0.7292 GB Notification: Performance of SimCode: time 1.463e-06/1.902, allocations: 0 / 1.056 GB, free: 69.33 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.024/1.926, allocations: 1.526 MB / 1.057 GB, free: 67.91 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003016/1.926, allocations: 200.1 kB / 1.057 GB, free: 67.66 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.447/4.373, allocations: 4 kB / 1.057 GB, free: 67.65 MB / 0.7292 GB