Running command: "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.222/3.222, allocations: 343.8 MB / 355.9 MB, free: 9.383 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.379e-05/4.37e-05, allocations: 7.984 kB / 436.6 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1798, allocations: 77.72 MB / 0.5023 GB, free: 4.508 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.393/1.573, allocations: 343.1 MB / 0.8374 GB, free: 182.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/1.573, allocations: 73.09 kB / 0.8374 GB, free: 182.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03552/1.609, allocations: 11.5 MB / 0.8487 GB, free: 174 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.593e-06/1.609, allocations: 0 / 0.8487 GB, free: 174 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.066e-06/1.609, allocations: 0 / 0.8487 GB, free: 174 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003035/1.609, allocations: 334.5 kB / 0.849 GB, free: 173.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/1.609, allocations: 8.031 kB / 0.849 GB, free: 173.6 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.333e-05/1.609, allocations: 41.48 kB / 0.849 GB, free: 173.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/1.609, allocations: 3.953 kB / 0.849 GB, free: 173.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.473e-05/1.609, allocations: 163 kB / 0.8492 GB, free: 173.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.861e-05/1.609, allocations: 29.7 kB / 0.8492 GB, free: 173.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/1.609, allocations: 3.984 kB / 0.8492 GB, free: 173.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/1.61, allocations: 36.89 kB / 0.8493 GB, free: 173.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/1.61, allocations: 4 kB / 0.8493 GB, free: 173.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/1.61, allocations: 0 / 0.8493 GB, free: 173.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/1.61, allocations: 3.984 kB / 0.8493 GB, free: 173.2 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.321e-05/1.61, allocations: 19.45 kB / 0.8493 GB, free: 173.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003987/1.61, allocations: 328.8 kB / 0.8496 GB, free: 172.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 3.762e-05/1.61, allocations: 14.58 kB / 0.8496 GB, free: 172.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.701e-05/1.61, allocations: 4.859 kB / 0.8496 GB, free: 172.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.733e-05/1.61, allocations: 89.17 kB / 0.8497 GB, free: 172.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/1.61, allocations: 34.5 kB / 0.8497 GB, free: 172.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/1.61, allocations: 0 / 0.8497 GB, free: 172.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1): time 0.0001368/1.61, allocations: 45.08 kB / 0.8498 GB, free: 172.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/1.61, allocations: 51.41 kB / 0.8498 GB, free: 172.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.87e-05/1.611, allocations: 96.91 kB / 0.8499 GB, free: 172.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/1.611, allocations: 25.7 kB / 0.85 GB, free: 172.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.113e-05/1.611, allocations: 87.36 kB / 0.85 GB, free: 172.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.655e-06/1.611, allocations: 3.906 kB / 0.85 GB, free: 172.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/1.611, allocations: 0 / 0.85 GB, free: 172.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 5.611e-05/1.611, allocations: 318.8 kB / 0.8503 GB, free: 172 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/1.611, allocations: 3.438 kB / 0.8503 GB, free: 172 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.408e-05/1.611, allocations: 13.72 kB / 0.8504 GB, free: 172 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.844e-05/1.611, allocations: 8 kB / 0.8504 GB, free: 172 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.611, allocations: 0 / 0.8504 GB, free: 172 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.911e-05/1.611, allocations: 48.75 kB / 0.8504 GB, free: 171.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/1.611, allocations: 12.72 kB / 0.8504 GB, free: 171.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/1.611, allocations: 0 / 0.8504 GB, free: 171.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/1.611, allocations: 0 / 0.8504 GB, free: 171.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.45e-05/1.611, allocations: 11.94 kB / 0.8504 GB, free: 171.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/1.611, allocations: 4 kB / 0.8504 GB, free: 171.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.863e-05/1.611, allocations: 0 / 0.8504 GB, free: 171.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/1.611, allocations: 0 / 0.8504 GB, free: 171.9 MB / 0.6511 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 5.3e-05/1.611, allocations: 109 kB / 0.8505 GB, free: 171.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/1.611, allocations: 7 kB / 0.8506 GB, free: 171.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/1.611, allocations: 124.8 kB / 0.8507 GB, free: 171.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-05/1.611, allocations: 176.3 kB / 0.8508 GB, free: 171.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-05/1.611, allocations: 180.2 kB / 0.851 GB, free: 171.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.463e-05/1.612, allocations: 187.6 kB / 0.8512 GB, free: 171.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/1.612, allocations: 409.2 kB / 0.8516 GB, free: 170.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-05/1.612, allocations: 101 kB / 0.8517 GB, free: 170.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.001e-05/1.612, allocations: 107.6 kB / 0.8518 GB, free: 170.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-05/1.612, allocations: 183.8 kB / 0.852 GB, free: 170.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.451e-05/1.612, allocations: 180.5 kB / 0.8521 GB, free: 170.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.054e-05/1.612, allocations: 184.2 kB / 0.8523 GB, free: 169.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.087e-05/1.612, allocations: 176.3 kB / 0.8525 GB, free: 169.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.666e-05/1.612, allocations: 311.5 kB / 0.8528 GB, free: 169.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.938e-05/1.612, allocations: 190 kB / 0.8529 GB, free: 169.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.985e-05/1.612, allocations: 180.3 kB / 0.8531 GB, free: 169 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/1.612, allocations: 112.9 kB / 0.8532 GB, free: 168.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/1.612, allocations: 176.3 kB / 0.8534 GB, free: 168.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/1.612, allocations: 101 kB / 0.8535 GB, free: 168.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.979e-05/1.612, allocations: 82.41 kB / 0.8536 GB, free: 168.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.612, allocations: 0 / 0.8536 GB, free: 168.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003435/1.613, allocations: 15.95 kB / 0.8536 GB, free: 168.5 MB / 0.6511 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.0003826/1.613, allocations: 0.8538 MB / 0.8544 GB, free: 167.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.774e-05/1.613, allocations: 4 kB / 0.8544 GB, free: 167.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.613, allocations: 0 / 0.8544 GB, free: 167.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.597e-06/1.613, allocations: 3.938 kB / 0.8544 GB, free: 167.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/1.614, allocations: 0.534 MB / 0.855 GB, free: 167.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00034/1.614, allocations: 161.2 kB / 0.8551 GB, free: 166.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/1.614, allocations: 0.6731 MB / 0.8558 GB, free: 166.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.145e-05/1.614, allocations: 7.984 kB / 0.8558 GB, free: 166.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/1.614, allocations: 15.38 kB / 0.8558 GB, free: 166.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.002e-06/1.614, allocations: 0 / 0.8558 GB, free: 166.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02471/1.639, allocations: 1.569 MB / 0.8573 GB, free: 164.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/1.639, allocations: 174.8 kB / 0.8575 GB, free: 164.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.24/3.879, allocations: 3.938 kB / 0.8575 GB, free: 164.4 MB / 0.6511 GB