Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.275/4.275, allocations: 460.4 MB / 472.6 MB, free: 5.41 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.297e-05/3.301e-05, allocations: 4 kB / 0.5682 GB, free: 10.13 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2428, allocations: 106.2 MB / 0.6719 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.175/1.418, allocations: 359.2 MB / 1.023 GB, free: 3.688 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/1.418, allocations: 73.33 kB / 1.023 GB, free: 3.648 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 0.04733/1.465, allocations: 12.68 MB / 1.035 GB, free: 9.695 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.853e-06/1.465, allocations: 4 kB / 1.035 GB, free: 9.691 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.308e-06/1.465, allocations: 4 kB / 1.035 GB, free: 9.688 MB / 0.823 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.0004024/1.466, allocations: 342.2 kB / 1.035 GB, free: 9.312 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/1.466, allocations: 8.031 kB / 1.035 GB, free: 9.305 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.796e-05/1.466, allocations: 38.5 kB / 1.036 GB, free: 9.258 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/1.466, allocations: 7.953 kB / 1.036 GB, free: 9.25 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/1.466, allocations: 167 kB / 1.036 GB, free: 9.047 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/1.466, allocations: 2.875 kB / 1.036 GB, free: 9.047 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.075e-05/1.466, allocations: 11.75 kB / 1.036 GB, free: 9.039 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/1.466, allocations: 49.61 kB / 1.036 GB, free: 8.988 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/1.466, allocations: 4 kB / 1.036 GB, free: 8.984 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/1.466, allocations: 0 / 1.036 GB, free: 8.984 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/1.466, allocations: 0 / 1.036 GB, free: 8.984 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.166e-05/1.466, allocations: 23.88 kB / 1.036 GB, free: 8.965 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002178/1.467, allocations: 172.7 kB / 1.036 GB, free: 8.754 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/1.467, allocations: 45.7 kB / 1.036 GB, free: 8.707 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.528e-05/1.467, allocations: 21.08 kB / 1.036 GB, free: 8.684 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009871/1.468, allocations: 0.616 MB / 1.037 GB, free: 7.977 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/1.468, allocations: 34.52 kB / 1.037 GB, free: 7.934 MB / 0.823 GB Notification: Performance of pre-optimization done (n=5): time 5.75e-06/1.468, allocations: 3.984 kB / 1.037 GB, free: 7.93 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0007689/1.469, allocations: 292.1 kB / 1.037 GB, free: 7.609 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/1.469, allocations: 55.41 kB / 1.037 GB, free: 7.543 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.415e-05/1.469, allocations: 95.75 kB / 1.037 GB, free: 7.445 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/1.469, allocations: 28.77 kB / 1.037 GB, free: 7.414 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/1.469, allocations: 88.11 kB / 1.037 GB, free: 7.324 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/1.469, allocations: 30.92 kB / 1.037 GB, free: 7.297 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/1.469, allocations: 11.44 kB / 1.037 GB, free: 7.289 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.469, allocations: 314.8 kB / 1.037 GB, free: 6.973 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.942e-05/1.469, allocations: 15.19 kB / 1.038 GB, free: 6.961 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.67e-05/1.469, allocations: 51.89 kB / 1.038 GB, free: 6.898 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.996e-05/1.469, allocations: 11.94 kB / 1.038 GB, free: 6.891 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.47, allocations: 8 kB / 1.038 GB, free: 6.883 MB / 0.823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002049/1.47, allocations: 87.36 kB / 1.038 GB, free: 6.801 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/1.47, allocations: 7.953 kB / 1.038 GB, free: 6.793 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/1.47, allocations: 3.984 kB / 1.038 GB, free: 6.789 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/1.47, allocations: 4 kB / 1.038 GB, free: 6.785 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/1.47, allocations: 16 kB / 1.038 GB, free: 6.77 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/1.47, allocations: 4 kB / 1.038 GB, free: 6.766 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.695e-05/1.47, allocations: 3.875 kB / 1.038 GB, free: 6.766 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/1.47, allocations: 8.125 kB / 1.038 GB, free: 6.758 MB / 0.823 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.466e-05/1.47, allocations: 112.6 kB / 1.038 GB, free: 6.645 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/1.47, allocations: 7.891 kB / 1.038 GB, free: 6.637 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.92e-05/1.47, allocations: 15.11 kB / 1.038 GB, free: 6.625 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/1.47, allocations: 0 / 1.038 GB, free: 6.625 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/1.47, allocations: 0 / 1.038 GB, free: 6.625 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/1.47, allocations: 0 / 1.038 GB, free: 6.625 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003746/1.471, allocations: 169.6 kB / 1.038 GB, free: 6.414 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/1.471, allocations: 0 / 1.038 GB, free: 6.414 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/1.471, allocations: 19.81 kB / 1.038 GB, free: 6.398 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/1.471, allocations: 4 kB / 1.038 GB, free: 6.395 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/1.471, allocations: 3.984 kB / 1.038 GB, free: 6.391 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.495e-06/1.471, allocations: 3.953 kB / 1.038 GB, free: 6.387 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.471, allocations: 0 / 1.038 GB, free: 6.387 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/1.471, allocations: 173.4 kB / 1.038 GB, free: 6.211 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.025e-05/1.471, allocations: 85.05 kB / 1.038 GB, free: 6.109 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/1.471, allocations: 4.25 kB / 1.038 GB, free: 6.105 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/1.472, allocations: 11.94 kB / 1.038 GB, free: 6.098 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/1.472, allocations: 7.953 kB / 1.038 GB, free: 6.09 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/1.472, allocations: 0 / 1.038 GB, free: 6.09 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.884e-05/1.472, allocations: 87.62 kB / 1.038 GB, free: 6.004 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.21e-07/1.472, allocations: 0 / 1.038 GB, free: 6.004 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003485/1.472, allocations: 15.81 kB / 1.038 GB, free: 5.992 MB / 0.823 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.0006111/1.473, allocations: 0.7256 MB / 1.039 GB, free: 5.254 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000148/1.473, allocations: 42.25 kB / 1.039 GB, free: 5.219 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.473, allocations: 0 / 1.039 GB, free: 5.219 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.421e-05/1.473, allocations: 15.31 kB / 1.039 GB, free: 5.207 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/1.473, allocations: 11.88 kB / 1.039 GB, free: 5.195 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009626/1.474, allocations: 318 kB / 1.039 GB, free: 4.859 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/1.474, allocations: 0.6887 MB / 1.04 GB, free: 4.145 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 9.579e-05/1.474, allocations: 11.98 kB / 1.04 GB, free: 4.133 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/1.475, allocations: 14.31 kB / 1.04 GB, free: 4.121 MB / 0.823 GB Notification: Performance of SimCode: time 1.012e-06/1.475, allocations: 0 / 1.04 GB, free: 4.121 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01953/1.494, allocations: 1.802 MB / 1.042 GB, free: 2.383 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002727/1.494, allocations: 162.7 kB / 1.042 GB, free: 2.145 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.273/3.768, allocations: 0 / 1.042 GB, free: 2.145 MB / 0.823 GB