Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_5_0_1_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.482/4.482, allocations: 404.1 MB / 411.3 MB, free: 420 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.574e-05/2.57e-05, allocations: 0 / 0.4945 GB, free: 1.328 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6919/0.692, allocations: 92.68 MB / 0.585 GB, free: 2.328 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.207/1.899, allocations: 343.5 MB / 0.9204 GB, free: 20.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000357/1.899, allocations: 73.55 kB / 0.9205 GB, free: 20.16 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06207/1.961, allocations: 12.22 MB / 0.9324 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.044e-06/1.961, allocations: 4 kB / 0.9324 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.905e-06/1.961, allocations: 0 / 0.9324 GB, free: 10.73 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.0003526/1.962, allocations: 337.9 kB / 0.9328 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/1.962, allocations: 12.02 kB / 0.9328 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/1.962, allocations: 7.953 kB / 0.9328 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.494e-05/1.962, allocations: 167 kB / 0.9329 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/1.962, allocations: 4 kB / 0.9329 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.458e-05/1.962, allocations: 11.16 kB / 0.933 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001252/1.962, allocations: 19.98 kB / 0.933 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/1.962, allocations: 41.44 kB / 0.933 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/1.962, allocations: 4 kB / 0.933 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/1.962, allocations: 7.938 kB / 0.933 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/1.962, allocations: 0 / 0.933 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/1.963, allocations: 137.2 kB / 0.9332 GB, free: 9.887 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/1.963, allocations: 45.69 kB / 0.9332 GB, free: 9.836 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.635e-05/1.963, allocations: 16.23 kB / 0.9332 GB, free: 9.82 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009052/1.964, allocations: 0.6126 MB / 0.9338 GB, free: 9.113 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/1.964, allocations: 38.45 kB / 0.9338 GB, free: 9.066 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=5): time 2.355e-06/1.964, allocations: 0 / 0.9338 GB, free: 9.066 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0006527/1.964, allocations: 290.6 kB / 0.9341 GB, free: 8.742 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/1.964, allocations: 51.41 kB / 0.9342 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.913e-05/1.965, allocations: 92.31 kB / 0.9343 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/1.965, allocations: 25.7 kB / 0.9343 GB, free: 8.555 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.317e-05/1.965, allocations: 84.05 kB / 0.9344 GB, free: 8.469 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/1.965, allocations: 26.89 kB / 0.9344 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/1.965, allocations: 0 / 0.9344 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.362e-05/1.965, allocations: 318 kB / 0.9347 GB, free: 8.129 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.604e-05/1.965, allocations: 11.81 kB / 0.9347 GB, free: 8.121 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.379e-05/1.965, allocations: 59.64 kB / 0.9348 GB, free: 8.051 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.699e-05/1.965, allocations: 11.62 kB / 0.9348 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.965, allocations: 3.938 kB / 0.9348 GB, free: 8.039 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001924/1.965, allocations: 91.58 kB / 0.9349 GB, free: 7.949 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/1.965, allocations: 7.953 kB / 0.9349 GB, free: 7.941 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/1.965, allocations: 0 / 0.9349 GB, free: 7.941 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/1.965, allocations: 4 kB / 0.9349 GB, free: 7.938 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/1.965, allocations: 19.98 kB / 0.9349 GB, free: 7.918 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/1.965, allocations: 4 kB / 0.9349 GB, free: 7.914 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.542e-05/1.966, allocations: 0 / 0.9349 GB, free: 7.914 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/1.966, allocations: 4 kB / 0.9349 GB, free: 7.91 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 6.811e-05/1.966, allocations: 112.2 kB / 0.935 GB, free: 7.797 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001304/1.966, allocations: 57.62 kB / 0.9351 GB, free: 7.738 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/1.966, allocations: 3.953 kB / 0.9351 GB, free: 7.734 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.937e-05/1.966, allocations: 8.406 kB / 0.9351 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/1.966, allocations: 0 / 0.9351 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.966, allocations: 3.984 kB / 0.9351 GB, free: 7.727 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.966, allocations: 0 / 0.9351 GB, free: 7.727 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003842/1.966, allocations: 145.5 kB / 0.9352 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/1.966, allocations: 0 / 0.9352 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/1.967, allocations: 23.42 kB / 0.9352 GB, free: 7.531 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/1.967, allocations: 4 kB / 0.9352 GB, free: 7.527 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/1.967, allocations: 11.89 kB / 0.9353 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/1.967, allocations: 4 kB / 0.9353 GB, free: 7.512 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/1.967, allocations: 0 / 0.9353 GB, free: 7.512 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/1.967, allocations: 165.3 kB / 0.9354 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/1.967, allocations: 85.02 kB / 0.9355 GB, free: 7.242 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/1.967, allocations: 0 / 0.9355 GB, free: 7.242 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/1.967, allocations: 7.953 kB / 0.9355 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.207e-05/1.967, allocations: 7.984 kB / 0.9355 GB, free: 7.227 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/1.967, allocations: 4 kB / 0.9355 GB, free: 7.223 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 2.947e-05/1.967, allocations: 78.78 kB / 0.9356 GB, free: 7.148 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.01e-07/1.967, allocations: 0 / 0.9356 GB, free: 7.148 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000437/1.968, allocations: 16 kB / 0.9356 GB, free: 7.133 MB / 0.6511 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.0004712/1.968, allocations: 0.7225 MB / 0.9363 GB, free: 6.395 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001375/1.968, allocations: 42.34 kB / 0.9364 GB, free: 6.359 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.968, allocations: 4 kB / 0.9364 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.529e-05/1.968, allocations: 11.06 kB / 0.9364 GB, free: 6.348 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/1.969, allocations: 9.516 kB / 0.9364 GB, free: 6.34 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009914/1.97, allocations: 309.5 kB / 0.9367 GB, free: 6.004 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001553/1.97, allocations: 0.6885 MB / 0.9373 GB, free: 5.289 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001089/1.97, allocations: 8 kB / 0.9374 GB, free: 5.281 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.536e-05/1.97, allocations: 14.31 kB / 0.9374 GB, free: 5.27 MB / 0.6511 GB Notification: Performance of SimCode: time 1.143e-06/1.97, allocations: 0 / 0.9374 GB, free: 5.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04105/2.011, allocations: 1.283 MB / 0.9386 GB, free: 3.996 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003099/2.011, allocations: 141.7 kB / 0.9388 GB, free: 3.797 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.714/4.726, allocations: 0 / 0.9388 GB, free: 3.797 MB / 0.6511 GB