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 3.828/3.828, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.025e-05/6.036e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6388/0.6389, allocations: 92.68 MB / 0.5896 GB, free: 14.4 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.113/1.752, allocations: 344.1 MB / 0.9257 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/1.752, allocations: 67.14 kB / 0.9258 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04039/1.792, allocations: 12.29 MB / 0.9378 GB, free: 2.676 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.824e-06/1.792, allocations: 0 / 0.9378 GB, free: 2.676 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.141e-06/1.792, allocations: 0 / 0.9378 GB, free: 2.676 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.0003749/1.793, allocations: 341.9 kB / 0.9381 GB, free: 2.301 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/1.793, allocations: 8.031 kB / 0.9381 GB, free: 2.293 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.787e-05/1.793, allocations: 34.06 kB / 0.9381 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/1.793, allocations: 7.953 kB / 0.9381 GB, free: 2.246 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.792e-05/1.793, allocations: 171 kB / 0.9383 GB, free: 2.039 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/1.793, allocations: 4 kB / 0.9383 GB, free: 2.035 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/1.793, allocations: 11.47 kB / 0.9383 GB, free: 2.027 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/1.793, allocations: 52.8 kB / 0.9384 GB, free: 1.977 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.793, allocations: 0 / 0.9384 GB, free: 1.977 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/1.793, allocations: 3.938 kB / 0.9384 GB, free: 1.973 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/1.793, allocations: 3.953 kB / 0.9384 GB, free: 1.969 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.432e-05/1.794, allocations: 15.98 kB / 0.9384 GB, free: 1.953 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/1.794, allocations: 160.9 kB / 0.9385 GB, free: 1.754 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/1.794, allocations: 57.81 kB / 0.9386 GB, free: 1.695 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.879e-05/1.794, allocations: 16.61 kB / 0.9386 GB, free: 1.68 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008145/1.795, allocations: 0.6133 MB / 0.9392 GB, free: 0.9727 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/1.795, allocations: 38.38 kB / 0.9392 GB, free: 0.9297 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=5): time 1.773e-06/1.795, allocations: 0 / 0.9392 GB, free: 0.9297 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.000614/1.795, allocations: 291.6 kB / 0.9395 GB, free: 0.6094 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/1.795, allocations: 51.41 kB / 0.9396 GB, free: 0.5469 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.08e-05/1.795, allocations: 96.97 kB / 0.9397 GB, free: 456 kB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/1.795, allocations: 29.27 kB / 0.9397 GB, free: 424 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.042e-05/1.796, allocations: 88.05 kB / 0.9398 GB, free: 332 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/1.796, allocations: 27.2 kB / 0.9398 GB, free: 308 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.503e-06/1.796, allocations: 7.5 kB / 0.9398 GB, free: 304 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001049/1.796, allocations: 310.8 kB / 0.9401 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.833e-05/1.796, allocations: 15.06 kB / 0.9401 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.166e-05/1.796, allocations: 55.97 kB / 0.9402 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.783e-05/1.796, allocations: 23.48 kB / 0.9402 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.796, allocations: 0 / 0.9402 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002108/1.796, allocations: 96.47 kB / 0.9403 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/1.796, allocations: 8 kB / 0.9403 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.796, allocations: 0 / 0.9403 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/1.796, allocations: 4 kB / 0.9403 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/1.796, allocations: 20.36 kB / 0.9403 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/1.796, allocations: 8.062 kB / 0.9403 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.269e-05/1.797, allocations: 8 kB / 0.9403 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/1.797, allocations: 7.938 kB / 0.9403 GB, free: 15.75 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 9.935e-05/1.797, allocations: 108.4 kB / 0.9404 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/1.797, allocations: 11.77 kB / 0.9405 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.885e-05/1.797, allocations: 7.469 kB / 0.9405 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/1.797, allocations: 0 / 0.9405 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/1.797, allocations: 0 / 0.9405 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/1.797, allocations: 7.984 kB / 0.9405 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004038/1.797, allocations: 172.9 kB / 0.9406 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.797, allocations: 3.984 kB / 0.9406 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/1.797, allocations: 19.44 kB / 0.9407 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/1.797, allocations: 0 / 0.9407 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/1.797, allocations: 3.953 kB / 0.9407 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/1.797, allocations: 0 / 0.9407 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.797, allocations: 4 kB / 0.9407 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/1.798, allocations: 170.1 kB / 0.9408 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 8.121e-05/1.798, allocations: 85.11 kB / 0.9409 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/1.798, allocations: 0 / 0.9409 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/1.798, allocations: 15.48 kB / 0.9409 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.196e-05/1.798, allocations: 0 / 0.9409 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/1.798, allocations: 4 kB / 0.9409 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 4.822e-05/1.798, allocations: 75.66 kB / 0.941 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.386e-06/1.798, allocations: 0 / 0.941 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003818/1.799, allocations: 23.56 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.0006777/1.799, allocations: 0.7417 MB / 0.9417 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001547/1.799, allocations: 39.12 kB / 0.9418 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.799, allocations: 0 / 0.9418 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 3.903e-05/1.8, allocations: 12 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.0002307/1.8, allocations: 11.39 kB / 0.9418 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009778/1.801, allocations: 313.7 kB / 0.9421 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/1.801, allocations: 0.6848 MB / 0.9428 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 9.293e-05/1.801, allocations: 8 kB / 0.9428 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.685e-05/1.801, allocations: 15.06 kB / 0.9428 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of SimCode: time 1.513e-06/1.801, allocations: 0 / 0.9428 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05302/1.854, 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.0003546/1.855, allocations: 151.1 kB / 0.9447 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/4.247, allocations: 4 kB / 0.9447 GB, free: 11.13 MB / 0.6667 GB