Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_6_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.01264/0.01264, allocations: 225 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.001168/0.001168, allocations: 179.7 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.842/3.842, allocations: 389.1 MB / 405.9 MB, free: 13.27 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.58/4.58, allocations: 472.3 MB / 0.9017 GB, free: 3.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005193/0.0005196, allocations: 8 kB / 1.008 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6989/0.6994, allocations: 98.71 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003796/0.7033, allocations: 2.521 MB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0004662/0.7038, allocations: 369.2 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.382e-05/0.7038, allocations: 6.281 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 8.652e-05/0.7039, allocations: 3.422 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.127e-05/0.704, allocations: 13.06 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005104/0.7045, allocations: 122 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.877e-05/0.7046, allocations: 51.38 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.099e-05/0.7047, allocations: 5.156 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.936e-05/0.7047, allocations: 13.11 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.7048, allocations: 9.719 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.7048, allocations: 3.984 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003237/0.7052, allocations: 88.89 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.372e-05/0.7052, allocations: 9.469 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/0.7052, allocations: 32.45 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.7054, allocations: 53.77 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.7055, allocations: 0 / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7055, allocations: 1.062 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.7055, allocations: 0 / 1.107 GB, free: 210.8 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.0003398/0.7058, allocations: 342.3 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.7059, allocations: 13 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.579e-05/0.7059, allocations: 32.09 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.706, allocations: 2.25 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.318e-05/0.7061, allocations: 160.3 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.54e-05/0.7061, allocations: 27.27 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.7062, allocations: 1.406 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.7063, allocations: 58.11 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.7063, allocations: 0 / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.7064, allocations: 5.453 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.7064, allocations: 0 / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.453e-05/0.7065, allocations: 15.14 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005831/0.707, allocations: 0.576 MB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.788e-05/0.7071, allocations: 20.55 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.782e-05/0.7071, allocations: 10.38 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002309/0.7074, allocations: 343.1 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.7074, allocations: 31.69 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 2.505e-06/0.7074, allocations: 3.188 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001561/0.7076, allocations: 42.52 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.7076, allocations: 55.72 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.494e-05/0.7077, allocations: 103.6 kB / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.7077, allocations: 26.77 kB / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.259e-05/0.7078, allocations: 83.97 kB / 1.109 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.793e-06/0.7078, allocations: 3.906 kB / 1.109 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/0.7078, allocations: 1.094 kB / 1.109 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.047e-05/0.7079, allocations: 318.3 kB / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.948e-05/0.7079, allocations: 3.531 kB / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.001e-05/0.7079, allocations: 18.39 kB / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.947e-05/0.708, allocations: 13.94 kB / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.708, allocations: 0 / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.501e-05/0.7081, allocations: 45.62 kB / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.7081, allocations: 7.062 kB / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.7081, allocations: 0 / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.7082, allocations: 1.25 kB / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.715e-05/0.7082, allocations: 11.44 kB / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.7083, allocations: 6.531 kB / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.81e-05/0.7083, allocations: 1.594 kB / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.7083, allocations: 5.375 kB / 1.11 GB, free: 208.3 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.497e-05/0.7084, allocations: 107.8 kB / 1.11 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.7084, allocations: 10.84 kB / 1.11 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.7086, allocations: 126.2 kB / 1.11 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-05/0.7086, allocations: 180.2 kB / 1.11 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.075e-05/0.7087, allocations: 181.3 kB / 1.11 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.424e-05/0.7087, allocations: 176.3 kB / 1.11 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.7089, allocations: 410.6 kB / 1.111 GB, free: 207 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.238e-05/0.7089, allocations: 101 kB / 1.111 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.44e-05/0.709, allocations: 113.7 kB / 1.111 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.418e-05/0.709, allocations: 176.3 kB / 1.111 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.733e-05/0.7091, allocations: 183.8 kB / 1.111 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.531e-05/0.7091, allocations: 182.1 kB / 1.111 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.618e-05/0.7092, allocations: 185.7 kB / 1.112 GB, free: 206.1 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.779e-05/0.7093, allocations: 304.5 kB / 1.112 GB, free: 205.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.81e-05/0.7093, allocations: 195.1 kB / 1.112 GB, free: 205.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.392e-05/0.7094, allocations: 176.3 kB / 1.112 GB, free: 205.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.7096, allocations: 108.6 kB / 1.112 GB, free: 205.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.7096, allocations: 182.2 kB / 1.113 GB, free: 205.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.7096, allocations: 102.2 kB / 1.113 GB, free: 205 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.358e-05/0.7097, allocations: 91.84 kB / 1.113 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.91e-07/0.7097, allocations: 0 / 1.113 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003736/0.7101, allocations: 28.72 kB / 1.113 GB, free: 204.9 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.0004424/0.7105, allocations: 0.8696 MB / 1.114 GB, free: 204.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.216e-05/0.7106, allocations: 10.91 kB / 1.114 GB, free: 204.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.7106, allocations: 1.5 kB / 1.114 GB, free: 204.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.926e-06/0.7107, allocations: 336 / 1.114 GB, free: 204.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.7111, allocations: 0.5306 MB / 1.114 GB, free: 203.6 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004338/0.7115, allocations: 231.7 kB / 1.114 GB, free: 203.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.7117, allocations: 0.6764 MB / 1.115 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.842e-05/0.7117, allocations: 9.766 kB / 1.115 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.7118, allocations: 8.875 kB / 1.115 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of SimCode: time 6.41e-07/0.7118, allocations: 4.062 kB / 1.115 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02311/0.7349, allocations: 1.844 MB / 1.117 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002379/0.7352, allocations: 253.9 kB / 1.117 GB, free: 202.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.347/3.082, allocations: 0 / 1.117 GB, free: 202.3 MB / 0.7292 GB