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.01266/0.01266, allocations: 225.2 kB / 15.18 MB, free: 5.922 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.001211/0.001211, allocations: 176 kB / 16.06 MB, free: 5.828 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 3.988/3.988, allocations: 389 MB / 405.9 MB, free: 11.85 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.102/4.102, allocations: 472.3 MB / 0.9018 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006358/0.0006362, allocations: 9.469 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.172, allocations: 98.74 MB / 1.104 GB, free: 41.97 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004281/0.1763, allocations: 3.541 MB / 1.108 GB, free: 38.4 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001996/0.1766, allocations: 137.2 kB / 1.108 GB, free: 38.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.786e-05/0.1766, allocations: 0 / 1.108 GB, free: 38.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.373e-05/0.1767, allocations: 0 / 1.108 GB, free: 38.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.985e-05/0.1768, allocations: 10.23 kB / 1.108 GB, free: 38.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.1771, allocations: 63.72 kB / 1.108 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.982e-05/0.1772, allocations: 35.91 kB / 1.108 GB, free: 38.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.972e-05/0.1773, allocations: 0 / 1.108 GB, free: 38.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.911e-05/0.1773, allocations: 27.84 kB / 1.108 GB, free: 38.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.618e-05/0.1774, allocations: 9.531 kB / 1.108 GB, free: 38.13 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.1774, allocations: 0 / 1.108 GB, free: 38.13 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.1776, allocations: 31.89 kB / 1.108 GB, free: 38.1 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.02e-05/0.1776, allocations: 11.38 kB / 1.108 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.931e-05/0.1777, allocations: 25.7 kB / 1.108 GB, free: 38.06 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.708e-05/0.1778, allocations: 23.98 kB / 1.108 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1778, allocations: 4 kB / 1.108 GB, free: 38.03 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1778, allocations: 0 / 1.108 GB, free: 38.03 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.1778, allocations: 0 / 1.108 GB, free: 38.03 MB / 0.6042 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.0003162/0.1781, allocations: 335.5 kB / 1.108 GB, free: 37.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1782, allocations: 8.031 kB / 1.108 GB, free: 37.65 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.447e-05/0.1782, allocations: 35.31 kB / 1.108 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.1783, allocations: 0 / 1.108 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.863e-05/0.1784, allocations: 166.2 kB / 1.108 GB, free: 37.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.641e-05/0.1784, allocations: 33.7 kB / 1.108 GB, free: 37.37 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.1785, allocations: 7.938 kB / 1.108 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.1786, allocations: 37.69 kB / 1.109 GB, free: 37.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1786, allocations: 0 / 1.109 GB, free: 37.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.1786, allocations: 3.938 kB / 1.109 GB, free: 37.31 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.1787, allocations: 6.25 kB / 1.109 GB, free: 37.31 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.117e-05/0.1787, allocations: 15.98 kB / 1.109 GB, free: 37.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003883/0.1791, allocations: 337.3 kB / 1.109 GB, free: 36.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.679e-05/0.1792, allocations: 14.58 kB / 1.109 GB, free: 36.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.639e-05/0.1792, allocations: 8.922 kB / 1.109 GB, free: 36.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.437e-05/0.1793, allocations: 85.09 kB / 1.109 GB, free: 36.76 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.1793, allocations: 37.5 kB / 1.109 GB, free: 36.72 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.533e-06/0.1794, allocations: 0 / 1.109 GB, free: 36.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001409/0.1795, allocations: 37.7 kB / 1.109 GB, free: 36.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.1795, allocations: 51.41 kB / 1.109 GB, free: 36.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.406e-05/0.1796, allocations: 99.25 kB / 1.109 GB, free: 36.51 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.1796, allocations: 25.7 kB / 1.109 GB, free: 36.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.132e-05/0.1797, allocations: 91.3 kB / 1.109 GB, free: 36.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.148e-06/0.1797, allocations: 11.84 kB / 1.109 GB, free: 36.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.1797, allocations: 0 / 1.109 GB, free: 36.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.188e-05/0.1798, allocations: 314.8 kB / 1.11 GB, free: 36.06 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.1798, allocations: 7.984 kB / 1.11 GB, free: 36.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.526e-05/0.1798, allocations: 17.66 kB / 1.11 GB, free: 36.03 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.381e-05/0.1799, allocations: 4.562 kB / 1.11 GB, free: 36.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1799, allocations: 6.594 kB / 1.11 GB, free: 36.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.502e-05/0.18, allocations: 45.69 kB / 1.11 GB, free: 35.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.18, allocations: 4 kB / 1.11 GB, free: 35.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.18, allocations: 3.938 kB / 1.11 GB, free: 35.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.18, allocations: 0 / 1.11 GB, free: 35.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.598e-05/0.1801, allocations: 11.94 kB / 1.11 GB, free: 35.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1801, allocations: 2.875 kB / 1.11 GB, free: 35.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.579e-05/0.1801, allocations: 3.938 kB / 1.11 GB, free: 35.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.1802, allocations: 7.984 kB / 1.11 GB, free: 35.94 MB / 0.6042 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 5.75e-05/0.1802, allocations: 109.8 kB / 1.11 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.1803, allocations: 4 kB / 1.11 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.787e-05/0.1804, allocations: 114.5 kB / 1.11 GB, free: 35.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-05/0.1804, allocations: 184.2 kB / 1.11 GB, free: 35.51 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.193e-05/0.1805, allocations: 182.7 kB / 1.11 GB, free: 35.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-05/0.1805, allocations: 182.4 kB / 1.11 GB, free: 35.14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.1807, allocations: 409.2 kB / 1.111 GB, free: 34.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.08e-05/0.1807, allocations: 104.5 kB / 1.111 GB, free: 34.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.006e-05/0.1807, allocations: 104.9 kB / 1.111 GB, free: 34.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.325e-05/0.1808, allocations: 180.3 kB / 1.111 GB, free: 34.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-05/0.1808, allocations: 192.2 kB / 1.111 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.215e-05/0.1809, allocations: 180.2 kB / 1.112 GB, free: 33.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.079e-05/0.1809, allocations: 177 kB / 1.112 GB, free: 33.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.181, allocations: 311 kB / 1.112 GB, free: 33.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.1811, allocations: 194 kB / 1.112 GB, free: 33.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.865e-05/0.1812, allocations: 176.3 kB / 1.112 GB, free: 33.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.1813, allocations: 104.2 kB / 1.113 GB, free: 32.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.1814, allocations: 192.2 kB / 1.113 GB, free: 32.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.1814, allocations: 101 kB / 1.113 GB, free: 32.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.872e-05/0.1814, allocations: 79.28 kB / 1.113 GB, free: 32.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.7e-07/0.1815, allocations: 0 / 1.113 GB, free: 32.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003021/0.1818, allocations: 12 kB / 1.113 GB, free: 32.51 MB / 0.6042 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.0003146/0.1821, allocations: 0.8374 MB / 1.114 GB, free: 31.65 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.384e-05/0.1822, allocations: 4 kB / 1.114 GB, free: 31.65 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1822, allocations: 4 kB / 1.114 GB, free: 31.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.227e-06/0.1822, allocations: 7.938 kB / 1.114 GB, free: 31.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.1826, allocations: 0.5177 MB / 1.114 GB, free: 31.12 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/0.183, allocations: 225.5 kB / 1.114 GB, free: 30.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.1832, allocations: 0.677 MB / 1.115 GB, free: 30.16 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.613e-05/0.1832, allocations: 4.875 kB / 1.115 GB, free: 30.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.1833, allocations: 10.94 kB / 1.115 GB, free: 30.14 MB / 0.6042 GB Notification: Performance of SimCode: time 6.31e-07/0.1833, allocations: 0 / 1.115 GB, free: 30.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.2054, allocations: 1.178 MB / 1.116 GB, free: 29.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/0.2057, allocations: 196.8 kB / 1.116 GB, free: 28.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.319/2.525, allocations: 0 / 1.116 GB, free: 28.89 MB / 0.6042 GB