Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_5_0_1_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.978/3.978, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.934e-05/3.952e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6227/0.6228, allocations: 92.67 MB / 0.5896 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.14/1.763, allocations: 333.5 MB / 0.9153 GB, free: 22.74 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/1.763, allocations: 80.31 kB / 0.9154 GB, free: 22.69 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02874/1.792, allocations: 7.998 MB / 0.9232 GB, free: 16.23 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.165e-06/1.792, allocations: 4 kB / 0.9232 GB, free: 16.22 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.814e-06/1.792, allocations: 4 kB / 0.9232 GB, free: 16.22 MB / 0.6511 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.0003419/1.793, allocations: 350 kB / 0.9235 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/1.793, allocations: 12.03 kB / 0.9235 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.571e-05/1.793, allocations: 34.31 kB / 0.9236 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002394/1.793, allocations: 19.88 kB / 0.9236 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.446e-05/1.793, allocations: 159.1 kB / 0.9237 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/1.793, allocations: 4 kB / 0.9237 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/1.793, allocations: 19.58 kB / 0.9237 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/1.793, allocations: 75.69 kB / 0.9238 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/1.793, allocations: 0 / 0.9238 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/1.793, allocations: 4 kB / 0.9238 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/1.793, allocations: 0 / 0.9238 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.059e-05/1.793, allocations: 23.56 kB / 0.9238 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006693/1.794, allocations: 457.4 kB / 0.9243 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/1.794, allocations: 71.03 kB / 0.9243 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.636e-05/1.794, allocations: 25.52 kB / 0.9244 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/1.794, allocations: 0 / 0.9244 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/1.794, allocations: 38.5 kB / 0.9244 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/1.794, allocations: 0 / 0.9244 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0006546/1.795, allocations: 299.6 kB / 0.9247 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/1.795, allocations: 106.8 kB / 0.9248 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.338e-05/1.795, allocations: 96.92 kB / 0.9249 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/1.795, allocations: 33.39 kB / 0.9249 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.588e-05/1.795, allocations: 88.03 kB / 0.925 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/1.795, allocations: 26.95 kB / 0.925 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-06/1.795, allocations: 3.312 kB / 0.925 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.344e-05/1.795, allocations: 310.8 kB / 0.9253 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.746e-05/1.795, allocations: 15.97 kB / 0.9253 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.997e-05/1.795, allocations: 51.66 kB / 0.9254 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.535e-05/1.796, allocations: 15.8 kB / 0.9254 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.796, allocations: 0 / 0.9254 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000178/1.796, allocations: 99.3 kB / 0.9255 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/1.796, allocations: 6.344 kB / 0.9255 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/1.796, allocations: 11.94 kB / 0.9255 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/1.796, allocations: 0 / 0.9255 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/1.796, allocations: 27.42 kB / 0.9255 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/1.796, allocations: 4 kB / 0.9256 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.823e-05/1.796, allocations: 0 / 0.9256 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/1.796, allocations: 7.938 kB / 0.9256 GB, free: 13.53 MB / 0.6511 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.02e-05/1.796, allocations: 116.5 kB / 0.9257 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.676e-05/1.796, allocations: 4 kB / 0.9257 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.122e-05/1.796, allocations: 10.56 kB / 0.9257 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/1.796, allocations: 7.953 kB / 0.9257 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.796, allocations: 0 / 0.9257 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-06/1.796, allocations: 3.984 kB / 0.9257 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004496/1.797, allocations: 169 kB / 0.9259 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/1.797, allocations: 3.938 kB / 0.9259 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/1.797, allocations: 16 kB / 0.9259 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/1.797, allocations: 4 kB / 0.9259 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/1.797, allocations: 11.44 kB / 0.9259 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/1.797, allocations: 0 / 0.9259 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/1.797, allocations: 3.953 kB / 0.9259 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/1.797, allocations: 354.7 kB / 0.9262 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.827e-05/1.797, allocations: 85.06 kB / 0.9263 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/1.797, allocations: 4.031 kB / 0.9263 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/1.798, allocations: 7.75 kB / 0.9263 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/1.798, allocations: 4 kB / 0.9263 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/1.798, allocations: 0 / 0.9263 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.117e-05/1.798, allocations: 86.58 kB / 0.9264 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/1.798, allocations: 0 / 0.9264 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000432/1.798, allocations: 12 kB / 0.9264 GB, free: 12.57 MB / 0.6511 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.0004713/1.799, allocations: 1.032 MB / 0.9274 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001465/1.799, allocations: 42.75 kB / 0.9275 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.799, allocations: 4 kB / 0.9275 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.687e-05/1.799, allocations: 15.94 kB / 0.9275 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/1.799, allocations: 8.344 kB / 0.9275 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009858/1.8, allocations: 331.4 kB / 0.9278 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/1.8, allocations: 0.6887 MB / 0.9285 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.101e-05/1.801, allocations: 7.984 kB / 0.9285 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.017e-05/1.801, allocations: 18.31 kB / 0.9285 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of SimCode: time 1.302e-06/1.801, allocations: 0 / 0.9285 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/1.823, allocations: 1.455 MB / 0.9299 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000274/1.823, allocations: 187.6 kB / 0.9301 GB, free: 8.801 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.244/4.067, allocations: 64 / 0.9301 GB, free: 8.801 MB / 0.6511 GB