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 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.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 loadModel(Buildings): time 4.166/4.166, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.454e-05/3.473e-05, allocations: 3.5 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2301, allocations: 98.73 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.093/1.323, allocations: 329.4 MB / 0.9564 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/1.323, allocations: 76.67 kB / 0.9565 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02782/1.351, allocations: 7.637 MB / 0.964 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.893e-06/1.351, allocations: 0 / 0.964 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.504e-06/1.351, allocations: 0 / 0.964 GB, free: 5.281 MB / 0.7136 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.0004023/1.352, allocations: 343.6 kB / 0.9643 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.597e-05/1.352, allocations: 8.031 kB / 0.9643 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.511e-05/1.352, allocations: 38.38 kB / 0.9643 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/1.352, allocations: 4 kB / 0.9643 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/1.352, allocations: 171 kB / 0.9645 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.697e-05/1.352, allocations: 25.7 kB / 0.9645 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/1.352, allocations: 8 kB / 0.9645 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/1.352, allocations: 41.5 kB / 0.9646 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/1.352, allocations: 3.938 kB / 0.9646 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/1.352, allocations: 0 / 0.9646 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/1.352, allocations: 0 / 0.9646 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.725e-05/1.352, allocations: 15.98 kB / 0.9646 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007512/1.353, allocations: 0.5971 MB / 0.9652 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.786e-05/1.353, allocations: 29.89 kB / 0.9652 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.909e-05/1.353, allocations: 4.859 kB / 0.9652 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003278/1.354, allocations: 355.8 kB / 0.9655 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/1.354, allocations: 38.55 kB / 0.9656 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.914e-06/1.354, allocations: 4 kB / 0.9656 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001453/1.354, allocations: 33.66 kB / 0.9656 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/1.354, allocations: 55.34 kB / 0.9657 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.459e-05/1.354, allocations: 96.61 kB / 0.9658 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/1.354, allocations: 25.7 kB / 0.9658 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.223e-05/1.354, allocations: 92.02 kB / 0.9659 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.298e-06/1.354, allocations: 11.94 kB / 0.9659 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/1.354, allocations: 0 / 0.9659 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001102/1.354, allocations: 314.2 kB / 0.9662 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.034e-05/1.354, allocations: 4 kB / 0.9662 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.084e-05/1.354, allocations: 13.72 kB / 0.9662 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.245e-05/1.354, allocations: 7.984 kB / 0.9662 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.354, allocations: 0 / 0.9662 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001021/1.355, allocations: 49.14 kB / 0.9662 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/1.355, allocations: 4.938 kB / 0.9663 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/1.355, allocations: 0 / 0.9663 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/1.355, allocations: 7.984 kB / 0.9663 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.634e-05/1.355, allocations: 4 kB / 0.9663 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/1.355, allocations: 3.953 kB / 0.9663 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.828e-05/1.355, allocations: 0 / 0.9663 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/1.355, allocations: 4 kB / 0.9663 GB, free: 2.566 MB / 0.7136 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 () * 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 7.317e-05/1.355, allocations: 105.9 kB / 0.9664 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/1.355, allocations: 8.062 kB / 0.9664 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/1.355, allocations: 124.8 kB / 0.9665 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-05/1.355, allocations: 183.7 kB / 0.9667 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.584e-05/1.355, allocations: 180.2 kB / 0.9668 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.685e-05/1.355, allocations: 180.2 kB / 0.967 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/1.356, allocations: 413 kB / 0.9674 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-05/1.356, allocations: 104.9 kB / 0.9675 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.557e-05/1.356, allocations: 101 kB / 0.9676 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.017e-05/1.356, allocations: 184.3 kB / 0.9678 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.559e-05/1.356, allocations: 184.3 kB / 0.968 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.57e-05/1.356, allocations: 176.3 kB / 0.9681 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.957e-05/1.356, allocations: 187.8 kB / 0.9683 GB, free: 368 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/1.356, allocations: 311.6 kB / 0.9686 GB, free: 32 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/1.356, allocations: 187.6 kB / 0.9688 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.344e-05/1.356, allocations: 176.3 kB / 0.969 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/1.357, allocations: 116.9 kB / 0.9691 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.594e-05/1.357, allocations: 180.2 kB / 0.9692 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.033e-05/1.357, allocations: 104.9 kB / 0.9693 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.777e-05/1.357, allocations: 83.16 kB / 0.9694 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.41e-07/1.357, allocations: 0 / 0.9694 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000372/1.357, allocations: 35.92 kB / 0.9694 GB, free: 15.12 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 () * 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.0006121/1.358, allocations: 0.874 MB / 0.9703 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.636e-05/1.358, allocations: 7.938 kB / 0.9703 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.358, allocations: 0 / 0.9703 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.365e-06/1.358, allocations: 0 / 0.9703 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/1.358, allocations: 0.526 MB / 0.9708 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004064/1.359, allocations: 174.4 kB / 0.971 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/1.359, allocations: 0.677 MB / 0.9717 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.528e-05/1.359, allocations: 4 kB / 0.9717 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/1.359, allocations: 15.38 kB / 0.9717 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of SimCode: time 1.813e-06/1.359, allocations: 0 / 0.9717 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02438/1.384, allocations: 1.816 MB / 0.9734 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002974/1.384, allocations: 213.1 kB / 0.9736 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.324/3.708, allocations: 0 / 0.9736 GB, free: 10.87 MB / 0.7292 GB