Running command: "" <> buildModelFMU(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.276/3.276, allocations: 343.8 MB / 355.9 MB, free: 9.363 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.478e-05/4.484e-05, allocations: 8 kB / 436.6 MB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1841, allocations: 77.73 MB / 0.5023 GB, free: 4.48 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.864/7.048, allocations: 2.148 GB / 2.65 GB, free: 196.3 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/7.048, allocations: 76.38 kB / 2.65 GB, free: 196.3 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1272/7.176, allocations: 36.57 MB / 2.686 GB, free: 168.8 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.282e-06/7.176, allocations: 0 / 2.686 GB, free: 168.8 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.812e-06/7.176, allocations: 0 / 2.686 GB, free: 168.8 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003079/7.176, allocations: 346.5 kB / 2.686 GB, free: 168.4 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/7.176, allocations: 8.031 kB / 2.686 GB, free: 168.4 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.344e-05/7.176, allocations: 34.55 kB / 2.686 GB, free: 168.3 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003088/7.177, allocations: 19.98 kB / 2.686 GB, free: 168.3 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.16e-05/7.177, allocations: 163.1 kB / 2.686 GB, free: 168.1 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.559e-05/7.177, allocations: 29.7 kB / 2.686 GB, free: 168.1 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/7.177, allocations: 0 / 2.686 GB, free: 168.1 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/7.177, allocations: 49.62 kB / 2.686 GB, free: 168 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/7.177, allocations: 4 kB / 2.686 GB, free: 168 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/7.177, allocations: 7.938 kB / 2.686 GB, free: 168 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/7.177, allocations: 0 / 2.686 GB, free: 168 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.618e-05/7.177, allocations: 19.98 kB / 2.686 GB, free: 168 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/7.177, allocations: 252.9 kB / 2.687 GB, free: 167.7 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 5.186e-05/7.177, allocations: 30.58 kB / 2.687 GB, free: 167.7 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.274e-05/7.177, allocations: 8.812 kB / 2.687 GB, free: 167.6 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001702/7.178, allocations: 97.14 kB / 2.687 GB, free: 167.5 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/7.178, allocations: 38.5 kB / 2.687 GB, free: 167.5 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=2): time 1.703e-06/7.178, allocations: 0 / 2.687 GB, free: 167.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=2): time 0.0002399/7.178, allocations: 41.69 kB / 2.687 GB, free: 167.4 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/7.178, allocations: 55.44 kB / 2.687 GB, free: 167.4 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.132e-05/7.178, allocations: 101 kB / 2.687 GB, free: 167.3 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/7.178, allocations: 25.7 kB / 2.687 GB, free: 167.2 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 2.847e-05/7.178, allocations: 84.05 kB / 2.687 GB, free: 167.1 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.102e-05/7.178, allocations: 7.844 kB / 2.687 GB, free: 167.1 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/7.178, allocations: 3.938 kB / 2.687 GB, free: 167.1 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 5.652e-05/7.178, allocations: 318.8 kB / 2.687 GB, free: 166.8 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.942e-05/7.178, allocations: 0 / 2.687 GB, free: 166.8 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.91e-05/7.178, allocations: 30.56 kB / 2.687 GB, free: 166.8 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.14e-05/7.178, allocations: 11.94 kB / 2.687 GB, free: 166.8 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/7.178, allocations: 0 / 2.687 GB, free: 166.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.352e-05/7.178, allocations: 45.69 kB / 2.687 GB, free: 166.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/7.178, allocations: 10.61 kB / 2.687 GB, free: 166.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/7.178, allocations: 8.031 kB / 2.687 GB, free: 166.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/7.179, allocations: 4 kB / 2.688 GB, free: 166.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.708e-05/7.179, allocations: 7.938 kB / 2.688 GB, free: 166.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/7.179, allocations: 4 kB / 2.688 GB, free: 166.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.273e-05/7.179, allocations: 4 kB / 2.688 GB, free: 166.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/7.179, allocations: 0 / 2.688 GB, free: 166.7 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.153e-05/7.179, allocations: 105 kB / 2.688 GB, free: 166.6 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/7.179, allocations: 0 / 2.688 GB, free: 166.6 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/7.179, allocations: 15.06 kB / 2.688 GB, free: 166.6 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/7.179, allocations: 4 kB / 2.688 GB, free: 166.6 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/7.179, allocations: 4 kB / 2.688 GB, free: 166.6 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/7.179, allocations: 0 / 2.688 GB, free: 166.6 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/7.179, allocations: 359.5 kB / 2.688 GB, free: 166.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/7.179, allocations: 3.984 kB / 2.688 GB, free: 166.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.985e-05/7.179, allocations: 8 kB / 2.688 GB, free: 166.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/7.179, allocations: 0 / 2.688 GB, free: 166.1 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/7.179, allocations: 0 / 2.688 GB, free: 166.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/7.179, allocations: 4.062 kB / 2.688 GB, free: 166.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/7.179, allocations: 4 kB / 2.688 GB, free: 166.1 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.378e-05/7.179, allocations: 79.61 kB / 2.688 GB, free: 166 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 2.326e-05/7.179, allocations: 85.09 kB / 2.688 GB, free: 165.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/7.179, allocations: 4 kB / 2.688 GB, free: 165.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.291e-05/7.18, allocations: 4.031 kB / 2.688 GB, free: 165.9 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.392e-05/7.18, allocations: 4 kB / 2.688 GB, free: 165.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/7.18, allocations: 0 / 2.688 GB, free: 165.9 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 2.698e-05/7.18, allocations: 79.56 kB / 2.688 GB, free: 165.8 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.61e-07/7.18, allocations: 0 / 2.688 GB, free: 165.8 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003758/7.18, allocations: 39.98 kB / 2.688 GB, free: 165.8 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0009998/7.181, allocations: 1.155 MB / 2.689 GB, free: 164.6 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001181/7.181, allocations: 15.94 kB / 2.689 GB, free: 164.6 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/7.181, allocations: 0 / 2.689 GB, free: 164.6 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 2.276e-05/7.181, allocations: 4 kB / 2.689 GB, free: 164.6 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/7.181, allocations: 5.719 kB / 2.689 GB, free: 164.6 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/7.182, allocations: 108.1 kB / 2.69 GB, free: 164.4 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001611/7.182, allocations: 0.677 MB / 2.69 GB, free: 163.7 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001184/7.182, allocations: 7.984 kB / 2.69 GB, free: 163.7 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/7.182, allocations: 7.438 kB / 2.69 GB, free: 163.7 MB / 0.6667 GB Notification: Performance of SimCode: time 1.232e-06/7.182, allocations: 0 / 2.69 GB, free: 163.7 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08999/7.272, allocations: 11.92 MB / 2.702 GB, free: 151.8 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/7.273, allocations: 169.5 kB / 2.702 GB, free: 151.6 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.883/10.16, allocations: 0 / 2.702 GB, free: 151.6 MB / 0.6667 GB