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.TemperatureDependentDensityDerivativeCheck.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.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.183/4.183, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.811e-05/3.835e-05, allocations: 3.984 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.229, allocations: 98.73 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.115/1.344, allocations: 337.8 MB / 0.9646 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003355/1.345, allocations: 78.95 kB / 0.9647 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03058/1.375, allocations: 8.043 MB / 0.9725 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.863e-06/1.375, allocations: 4 kB / 0.9725 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.262e-06/1.375, allocations: 0 / 0.9725 GB, free: 14.36 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004139/1.376, allocations: 352.2 kB / 0.9729 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/1.376, allocations: 12.03 kB / 0.9729 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.815e-05/1.376, allocations: 33.94 kB / 0.9729 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002676/1.376, allocations: 11.98 kB / 0.9729 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/1.376, allocations: 170.9 kB / 0.9731 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/1.376, allocations: 15.56 kB / 0.9731 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/1.377, allocations: 8 kB / 0.9731 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/1.377, allocations: 63.52 kB / 0.9732 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/1.377, allocations: 3.984 kB / 0.9732 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/1.377, allocations: 0 / 0.9732 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/1.377, allocations: 4 kB / 0.9732 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.4e-05/1.377, allocations: 11.38 kB / 0.9732 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000751/1.378, allocations: 473.8 kB / 0.9737 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/1.378, allocations: 67.17 kB / 0.9737 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.066e-05/1.378, allocations: 30.02 kB / 0.9737 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/1.378, allocations: 0 / 0.9737 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/1.378, allocations: 34.64 kB / 0.9738 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=5): time 1.763e-06/1.378, allocations: 4 kB / 0.9738 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0007151/1.379, allocations: 299.1 kB / 0.9741 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/1.379, allocations: 102.8 kB / 0.9742 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.082e-05/1.379, allocations: 96.92 kB / 0.9743 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/1.379, allocations: 29.33 kB / 0.9743 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.157e-05/1.379, allocations: 88.05 kB / 0.9744 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/1.379, allocations: 31.38 kB / 0.9744 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-06/1.379, allocations: 3.562 kB / 0.9744 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001154/1.379, allocations: 310.8 kB / 0.9747 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.005e-05/1.379, allocations: 16 kB / 0.9747 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.141e-05/1.379, allocations: 53.02 kB / 0.9748 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.134e-05/1.379, allocations: 20.11 kB / 0.9748 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.379, allocations: 4 kB / 0.9748 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001961/1.38, allocations: 96.89 kB / 0.9749 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/1.38, allocations: 4 kB / 0.9749 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/1.38, allocations: 0 / 0.9749 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/1.38, allocations: 4 kB / 0.9749 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/1.38, allocations: 26.94 kB / 0.9749 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/1.38, allocations: 11.88 kB / 0.9749 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.406e-05/1.38, allocations: 0 / 0.9749 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/1.38, allocations: 4 kB / 0.9749 GB, free: 11.66 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.949e-05/1.38, allocations: 112.5 kB / 0.975 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.306e-05/1.38, allocations: 4 kB / 0.975 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.815e-05/1.38, allocations: 15.3 kB / 0.9751 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/1.38, allocations: 0 / 0.9751 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/1.38, allocations: 7.953 kB / 0.9751 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/1.38, allocations: 0 / 0.9751 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004907/1.381, allocations: 169.4 kB / 0.9752 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.381, allocations: 0 / 0.9752 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/1.381, allocations: 23.88 kB / 0.9752 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/1.381, allocations: 4 kB / 0.9752 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/1.381, allocations: 0 / 0.9752 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/1.381, allocations: 7.984 kB / 0.9753 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.381, allocations: 0 / 0.9753 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003025/1.381, allocations: 352.3 kB / 0.9756 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.237e-05/1.381, allocations: 92.64 kB / 0.9757 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/1.381, allocations: 3.953 kB / 0.9757 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/1.382, allocations: 4 kB / 0.9757 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.133e-05/1.382, allocations: 3.938 kB / 0.9757 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/1.382, allocations: 11.36 kB / 0.9757 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.043e-05/1.382, allocations: 79.28 kB / 0.9758 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.11e-07/1.382, allocations: 0 / 0.9758 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004043/1.382, allocations: 15.88 kB / 0.9758 GB, free: 10.71 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0006528/1.383, allocations: 1.026 MB / 0.9768 GB, free: 9.668 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00014/1.383, allocations: 42.62 kB / 0.9768 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.383, allocations: 0 / 0.9768 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.589e-05/1.383, allocations: 19.94 kB / 0.9769 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/1.383, allocations: 5.562 kB / 0.9769 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/1.384, allocations: 334.3 kB / 0.9772 GB, free: 9.266 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/1.385, allocations: 0.6926 MB / 0.9779 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.843e-05/1.385, allocations: 7.781 kB / 0.9779 GB, free: 8.539 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.463e-05/1.385, allocations: 23.11 kB / 0.9779 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of SimCode: time 8.22e-07/1.385, allocations: 3.938 kB / 0.9779 GB, free: 8.516 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/1.405, allocations: 1.452 MB / 0.9793 GB, free: 7.164 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002717/1.405, allocations: 187.6 kB / 0.9795 GB, free: 6.945 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.278/3.684, allocations: 2.922 kB / 0.9795 GB, free: 6.945 MB / 0.7292 GB