Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_5_0_1_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.58/4.58, allocations: 404.2 MB / 411.3 MB, free: 396 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.405e-05/3.423e-05, allocations: 0 / 0.4945 GB, free: 1.324 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8206/0.8207, allocations: 92.69 MB / 0.585 GB, free: 2.395 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.225/2.046, allocations: 353.9 MB / 0.9306 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/2.046, allocations: 76.2 kB / 0.9307 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.0409/2.087, allocations: 11.17 MB / 0.9416 GB, free: 1.594 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.064e-06/2.087, allocations: 0 / 0.9416 GB, free: 1.594 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.067e-06/2.087, allocations: 0 / 0.9416 GB, free: 1.594 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.0003314/2.088, allocations: 325.4 kB / 0.9419 GB, free: 1.234 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/2.088, allocations: 8.031 kB / 0.9419 GB, free: 1.227 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.03e-05/2.088, allocations: 7.953 kB / 0.9419 GB, free: 1.219 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/2.088, allocations: 159.1 kB / 0.9421 GB, free: 1.023 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.991e-05/2.088, allocations: 29.69 kB / 0.9421 GB, free: 0.9883 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/2.088, allocations: 11.94 kB / 0.9421 GB, free: 0.9766 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.434e-05/2.088, allocations: 14.61 kB / 0.9421 GB, free: 0.9648 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.36e-05/2.088, allocations: 40.81 kB / 0.9421 GB, free: 0.9219 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/2.088, allocations: 0 / 0.9421 GB, free: 0.9219 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/2.088, allocations: 3.953 kB / 0.9422 GB, free: 0.918 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/2.088, allocations: 4 kB / 0.9422 GB, free: 0.9141 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004821/2.089, allocations: 312.2 kB / 0.9425 GB, free: 0.5586 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 4.011e-05/2.089, allocations: 19.09 kB / 0.9425 GB, free: 0.5312 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.139e-05/2.089, allocations: 8.922 kB / 0.9425 GB, free: 0.5195 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.012e-05/2.089, allocations: 81.11 kB / 0.9426 GB, free: 432 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/2.089, allocations: 34.12 kB / 0.9426 GB, free: 392 kB / 0.6511 GB Notification: Performance of pre-optimization done (n=1): time 2.475e-06/2.089, allocations: 0 / 0.9426 GB, free: 392 kB / 0.6511 GB Notification: Performance of matching and sorting (n=1): time 0.000211/2.089, allocations: 49.48 kB / 0.9426 GB, free: 336 kB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/2.089, allocations: 51.41 kB / 0.9427 GB, free: 272 kB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.034e-05/2.089, allocations: 93.03 kB / 0.9428 GB, free: 172 kB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/2.089, allocations: 25.7 kB / 0.9428 GB, free: 140 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.395e-05/2.089, allocations: 82.77 kB / 0.9429 GB, free: 56 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.564e-06/2.089, allocations: 7.906 kB / 0.9429 GB, free: 48 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/2.089, allocations: 0 / 0.9429 GB, free: 48 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001728/2.09, allocations: 317.8 kB / 0.9432 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.759e-05/2.09, allocations: 0 / 0.9432 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.272e-05/2.09, allocations: 13.72 kB / 0.9432 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.456e-05/2.09, allocations: 15.98 kB / 0.9432 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/2.09, allocations: 0 / 0.9432 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001781/2.09, allocations: 48.88 kB / 0.9433 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/2.09, allocations: 4 kB / 0.9433 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/2.09, allocations: 4 kB / 0.9433 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/2.09, allocations: 4 kB / 0.9433 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.968e-05/2.09, allocations: 4 kB / 0.9433 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/2.09, allocations: 3.953 kB / 0.9433 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.611e-05/2.09, allocations: 4.062 kB / 0.9433 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/2.09, allocations: 7.938 kB / 0.9433 GB, free: 15.61 MB / 0.6667 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 9.451e-05/2.09, allocations: 101 kB / 0.9434 GB, free: 15.51 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00013/2.091, allocations: 44.44 kB / 0.9434 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/2.091, allocations: 3.906 kB / 0.9434 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/2.091, allocations: 123.1 kB / 0.9436 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.468e-05/2.091, allocations: 188.2 kB / 0.9437 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.452e-05/2.091, allocations: 184.2 kB / 0.9439 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-05/2.091, allocations: 179.3 kB / 0.9441 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/2.091, allocations: 377.8 kB / 0.9444 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-05/2.092, allocations: 108.9 kB / 0.9445 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.682e-05/2.092, allocations: 105 kB / 0.9446 GB, free: 14.13 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.864e-05/2.092, allocations: 184 kB / 0.9448 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.633e-05/2.092, allocations: 180.2 kB / 0.945 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-05/2.092, allocations: 180.2 kB / 0.9452 GB, free: 13.58 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.604e-05/2.092, allocations: 184.2 kB / 0.9453 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/2.092, allocations: 306.7 kB / 0.9456 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/2.092, allocations: 182.1 kB / 0.9458 GB, free: 12.87 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/2.092, allocations: 180.2 kB / 0.946 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/2.093, allocations: 105 kB / 0.9461 GB, free: 12.58 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.214e-05/2.093, allocations: 180.2 kB / 0.9463 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-05/2.093, allocations: 111.9 kB / 0.9464 GB, free: 12.28 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 8.236e-05/2.093, allocations: 87.55 kB / 0.9464 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.51e-07/2.093, allocations: 0 / 0.9464 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004473/2.093, allocations: 19.94 kB / 0.9465 GB, free: 12.18 MB / 0.6667 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.0007193/2.094, allocations: 0.839 MB / 0.9473 GB, free: 11.31 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 9.72e-05/2.094, allocations: 7.938 kB / 0.9473 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/2.094, allocations: 0 / 0.9473 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 6.843e-06/2.094, allocations: 4 kB / 0.9473 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005/2.095, allocations: 0.5217 MB / 0.9478 GB, free: 10.78 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004832/2.095, allocations: 160.9 kB / 0.948 GB, free: 10.58 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/2.096, allocations: 0.6768 MB / 0.9486 GB, free: 9.879 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 8.937e-05/2.096, allocations: 19.88 kB / 0.9486 GB, free: 9.859 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/2.096, allocations: 11.44 kB / 0.9486 GB, free: 9.848 MB / 0.6667 GB Notification: Performance of SimCode: time 9.82e-07/2.096, allocations: 0 / 0.9486 GB, free: 9.848 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0382/2.134, allocations: 1.075 MB / 0.9497 GB, free: 8.785 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000372/2.134, allocations: 154.6 kB / 0.9498 GB, free: 8.59 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.704/4.839, allocations: 0 / 0.9498 GB, free: 8.59 MB / 0.6667 GB