Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_5_0_1_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.006/4.006, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.246e-05/5.26e-05, allocations: 11.94 kB / 0.4991 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.658/0.6585, allocations: 92.67 MB / 0.5896 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.11/1.769, allocations: 344.1 MB / 0.9257 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/1.769, allocations: 71.2 kB / 0.9257 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04037/1.81, allocations: 12.28 MB / 0.9377 GB, free: 2.691 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.383e-06/1.81, allocations: 0 / 0.9377 GB, free: 2.691 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.892e-06/1.81, allocations: 0 / 0.9377 GB, free: 2.691 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.0003471/1.81, allocations: 344.4 kB / 0.9381 GB, free: 2.316 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/1.81, allocations: 8.031 kB / 0.9381 GB, free: 2.309 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.69e-05/1.81, allocations: 34.38 kB / 0.9381 GB, free: 2.27 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/1.81, allocations: 7.953 kB / 0.9381 GB, free: 2.262 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/1.81, allocations: 167 kB / 0.9383 GB, free: 2.059 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/1.81, allocations: 4 kB / 0.9383 GB, free: 2.055 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/1.811, allocations: 15.59 kB / 0.9383 GB, free: 2.043 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/1.811, allocations: 53.42 kB / 0.9383 GB, free: 1.988 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/1.811, allocations: 7.922 kB / 0.9383 GB, free: 1.98 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/1.811, allocations: 0 / 0.9383 GB, free: 1.98 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.036e-06/1.811, allocations: 7.953 kB / 0.9383 GB, free: 1.973 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.521e-05/1.811, allocations: 15.67 kB / 0.9384 GB, free: 1.961 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/1.811, allocations: 169.2 kB / 0.9385 GB, free: 1.754 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/1.811, allocations: 50.2 kB / 0.9386 GB, free: 1.703 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.844e-05/1.811, allocations: 12.86 kB / 0.9386 GB, free: 1.688 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008182/1.812, allocations: 0.6172 MB / 0.9392 GB, free: 0.9766 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/1.812, allocations: 38.44 kB / 0.9392 GB, free: 0.9336 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=5): time 1.903e-06/1.812, allocations: 0 / 0.9392 GB, free: 0.9336 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0005979/1.813, allocations: 296.7 kB / 0.9395 GB, free: 0.6094 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/1.813, allocations: 51.41 kB / 0.9396 GB, free: 0.5469 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.92e-05/1.813, allocations: 92.69 kB / 0.9396 GB, free: 464 kB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/1.813, allocations: 29.7 kB / 0.9397 GB, free: 428 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.146e-05/1.813, allocations: 84.05 kB / 0.9397 GB, free: 340 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/1.813, allocations: 27.33 kB / 0.9398 GB, free: 316 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-06/1.813, allocations: 3.688 kB / 0.9398 GB, free: 316 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.774e-05/1.813, allocations: 314.8 kB / 0.9401 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.751e-05/1.813, allocations: 11.88 kB / 0.9401 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.403e-05/1.813, allocations: 69 kB / 0.9402 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.148e-05/1.813, allocations: 15.69 kB / 0.9402 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.813, allocations: 4 kB / 0.9402 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002193/1.813, allocations: 96.53 kB / 0.9403 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/1.813, allocations: 4 kB / 0.9403 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/1.814, allocations: 7.984 kB / 0.9403 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/1.814, allocations: 0 / 0.9403 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/1.814, allocations: 16 kB / 0.9403 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/1.814, allocations: 7.938 kB / 0.9403 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.694e-05/1.814, allocations: 4.125 kB / 0.9403 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/1.814, allocations: 7.75 kB / 0.9403 GB, free: 15.76 MB / 0.6667 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 8.532e-05/1.814, allocations: 105 kB / 0.9404 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-05/1.814, allocations: 11.94 kB / 0.9404 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.846e-05/1.814, allocations: 11.47 kB / 0.9404 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/1.814, allocations: 288 / 0.9404 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.814, allocations: 0 / 0.9404 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/1.814, allocations: 0 / 0.9404 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/1.814, allocations: 177.6 kB / 0.9406 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.814, allocations: 3.938 kB / 0.9406 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/1.815, allocations: 23.94 kB / 0.9406 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/1.815, allocations: 0 / 0.9406 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/1.815, allocations: 11.62 kB / 0.9406 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/1.815, allocations: 0 / 0.9406 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.815, allocations: 80 / 0.9406 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/1.815, allocations: 167.1 kB / 0.9408 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/1.815, allocations: 88.77 kB / 0.9409 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/1.815, allocations: 4 kB / 0.9409 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/1.815, allocations: 7.953 kB / 0.9409 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/1.815, allocations: 4 kB / 0.9409 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/1.815, allocations: 7.75 kB / 0.9409 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 4.196e-05/1.815, allocations: 79.27 kB / 0.941 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.31e-07/1.815, allocations: 0 / 0.941 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003211/1.816, allocations: 19.69 kB / 0.941 GB, free: 14.99 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0005889/1.816, allocations: 0.7232 MB / 0.9417 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001506/1.816, allocations: 51.3 kB / 0.9418 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.816, allocations: 0 / 0.9418 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 3.981e-05/1.817, allocations: 19.69 kB / 0.9418 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/1.817, allocations: 11.94 kB / 0.9418 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000927/1.818, allocations: 302.7 kB / 0.9421 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/1.818, allocations: 0.6848 MB / 0.9427 GB, free: 13.15 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 9.224e-05/1.818, allocations: 15.97 kB / 0.9428 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.306e-05/1.818, allocations: 15.19 kB / 0.9428 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of SimCode: time 8.01e-07/1.818, allocations: 0 / 0.9428 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02058/1.839, allocations: 1.825 MB / 0.9446 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002768/1.839, allocations: 159.4 kB / 0.9447 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.34/4.179, allocations: 0 / 0.9447 GB, free: 11.13 MB / 0.6667 GB