Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.427/4.427, allocations: 464.6 MB / 476.8 MB, free: 2.102 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.219e-05/4.226e-05, allocations: 9.188 kB / 0.5732 GB, free: 5.633 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2505, allocations: 107.1 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.329/1.579, allocations: 370.2 MB / 1.039 GB, free: 15.63 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/1.58, allocations: 69.22 kB / 1.039 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.04243/1.622, allocations: 11.63 MB / 1.051 GB, free: 6.562 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.913e-06/1.622, allocations: 0 / 1.051 GB, free: 6.562 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.125e-06/1.622, allocations: 0 / 1.051 GB, free: 6.562 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004188/1.623, allocations: 342.2 kB / 1.051 GB, free: 6.188 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/1.623, allocations: 8.031 kB / 1.051 GB, free: 6.18 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.335e-05/1.623, allocations: 34.5 kB / 1.051 GB, free: 6.137 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/1.623, allocations: 4 kB / 1.051 GB, free: 6.133 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/1.623, allocations: 170.1 kB / 1.051 GB, free: 5.93 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.67e-05/1.623, allocations: 25.7 kB / 1.051 GB, free: 5.898 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/1.623, allocations: 4 kB / 1.051 GB, free: 5.895 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/1.623, allocations: 41.67 kB / 1.051 GB, free: 5.848 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/1.623, allocations: 0 / 1.051 GB, free: 5.848 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/1.623, allocations: 7.312 kB / 1.051 GB, free: 5.844 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/1.623, allocations: 0 / 1.051 GB, free: 5.844 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.022e-05/1.623, allocations: 11.98 kB / 1.051 GB, free: 5.832 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/1.624, allocations: 333.1 kB / 1.052 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.292e-05/1.624, allocations: 22.02 kB / 1.052 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.169e-05/1.624, allocations: 4.859 kB / 1.052 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/1.624, allocations: 89.17 kB / 1.052 GB, free: 5.305 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/1.624, allocations: 30.56 kB / 1.052 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.963e-06/1.624, allocations: 0 / 1.052 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001501/1.624, allocations: 33.69 kB / 1.052 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/1.624, allocations: 51.41 kB / 1.052 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/1.624, allocations: 104.3 kB / 1.052 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/1.625, allocations: 25.7 kB / 1.052 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.795e-05/1.625, allocations: 87.17 kB / 1.052 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.141e-05/1.625, allocations: 7.844 kB / 1.052 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-06/1.625, allocations: 3.938 kB / 1.052 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001407/1.625, allocations: 318.8 kB / 1.052 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/1.625, allocations: 3.438 kB / 1.052 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.428e-05/1.625, allocations: 13.72 kB / 1.052 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.77e-05/1.625, allocations: 4 kB / 1.052 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.625, allocations: 4 kB / 1.052 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001129/1.625, allocations: 49.12 kB / 1.052 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/1.625, allocations: 4 kB / 1.053 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/1.625, allocations: 288 / 1.053 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/1.625, allocations: 0 / 1.053 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.588e-05/1.625, allocations: 15.92 kB / 1.053 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/1.625, allocations: 0 / 1.053 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.387e-05/1.625, allocations: 3.938 kB / 1.053 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/1.625, allocations: 3.953 kB / 1.053 GB, free: 4.504 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.495e-05/1.625, allocations: 113 kB / 1.053 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/1.625, allocations: 3.984 kB / 1.053 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/1.626, allocations: 128.2 kB / 1.053 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.402e-05/1.626, allocations: 180.2 kB / 1.053 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.486e-05/1.626, allocations: 176.3 kB / 1.053 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.012e-05/1.626, allocations: 184.4 kB / 1.053 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/1.626, allocations: 412.3 kB / 1.054 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.896e-05/1.626, allocations: 105 kB / 1.054 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.464e-05/1.626, allocations: 101 kB / 1.054 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.514e-05/1.626, allocations: 184.2 kB / 1.054 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-05/1.627, allocations: 184 kB / 1.054 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001056/1.627, allocations: 184.8 kB / 1.054 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001014/1.627, allocations: 180.2 kB / 1.055 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/1.627, allocations: 307.2 kB / 1.055 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/1.627, allocations: 183.7 kB / 1.055 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/1.627, allocations: 184.3 kB / 1.055 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003055/1.628, allocations: 105 kB / 1.055 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.984e-05/1.628, allocations: 184.2 kB / 1.055 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.111e-05/1.628, allocations: 101 kB / 1.056 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.346e-05/1.628, allocations: 82.59 kB / 1.056 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.01e-07/1.628, allocations: 0 / 1.056 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003607/1.628, allocations: 15.98 kB / 1.056 GB, free: 1.078 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0005801/1.629, allocations: 0.8513 MB / 1.057 GB, free: 208 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.014e-05/1.629, allocations: 7.984 kB / 1.057 GB, free: 200 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.629, allocations: 0 / 1.057 GB, free: 200 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.605e-06/1.629, allocations: 0 / 1.057 GB, free: 200 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/1.629, allocations: 0.5296 MB / 1.057 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003913/1.63, allocations: 171.2 kB / 1.057 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/1.63, allocations: 0.6809 MB / 1.058 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.575e-05/1.63, allocations: 3.938 kB / 1.058 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.815e-05/1.63, allocations: 14.81 kB / 1.058 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of SimCode: time 9.52e-07/1.63, allocations: 0 / 1.058 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/1.65, allocations: 1.588 MB / 1.059 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002968/1.65, allocations: 163.5 kB / 1.06 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.399/4.049, allocations: 3.938 kB / 1.06 GB, free: 12.99 MB / 0.8542 GB