Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.289/4.289, allocations: 460.5 MB / 472.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.591e-05/4.605e-05, allocations: 4 kB / 0.5682 GB, free: 10.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2433, allocations: 106.2 MB / 0.6719 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.014/7.257, allocations: 2.175 GB / 2.846 GB, free: 220.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/7.257, allocations: 86.45 kB / 2.847 GB, free: 220.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1285/7.386, allocations: 40.52 MB / 2.886 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.292e-06/7.386, allocations: 4 kB / 2.886 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.179e-05/7.386, allocations: 0 / 2.886 GB, free: 186.9 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006253/7.387, allocations: 452.9 kB / 2.887 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/7.387, allocations: 8.031 kB / 2.887 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.086e-05/7.387, allocations: 42.23 kB / 2.887 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003148/7.387, allocations: 43.27 kB / 2.887 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/7.387, allocations: 202.8 kB / 2.887 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/7.387, allocations: 7.812 kB / 2.887 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/7.387, allocations: 11.69 kB / 2.887 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/7.388, allocations: 108.7 kB / 2.887 GB, free: 186 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/7.388, allocations: 0 / 2.887 GB, free: 186 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/7.388, allocations: 3.875 kB / 2.887 GB, free: 186 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/7.388, allocations: 4 kB / 2.887 GB, free: 186 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/7.388, allocations: 65.55 kB / 2.887 GB, free: 186 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007755/7.389, allocations: 462.7 kB / 2.887 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/7.389, allocations: 76.64 kB / 2.888 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.037e-05/7.389, allocations: 31.3 kB / 2.888 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/7.389, allocations: 0 / 2.888 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.513e-05/7.389, allocations: 38.59 kB / 2.888 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/7.389, allocations: 0 / 2.888 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0002515/7.389, allocations: 83.25 kB / 2.888 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/7.389, allocations: 51.41 kB / 2.888 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/7.389, allocations: 169.1 kB / 2.888 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/7.39, allocations: 29.58 kB / 2.888 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.087e-05/7.39, allocations: 114.9 kB / 2.888 GB, free: 185 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.892e-05/7.39, allocations: 31.66 kB / 2.888 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-06/7.39, allocations: 0 / 2.888 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.48e-05/7.39, allocations: 326.3 kB / 2.888 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/7.39, allocations: 19.56 kB / 2.888 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.733e-05/7.39, allocations: 19.5 kB / 2.888 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.903e-05/7.39, allocations: 23.44 kB / 2.888 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/7.39, allocations: 3.938 kB / 2.888 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001901/7.39, allocations: 87.47 kB / 2.888 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/7.39, allocations: 4 kB / 2.888 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/7.39, allocations: 3.984 kB / 2.889 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/7.39, allocations: 3.953 kB / 2.889 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/7.39, allocations: 19.98 kB / 2.889 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/7.39, allocations: 4 kB / 2.889 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/7.391, allocations: 19.41 kB / 2.889 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/7.391, allocations: 0 / 2.889 GB, free: 184.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 8 * 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.591e-05/7.391, allocations: 104.7 kB / 2.889 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.295e-05/7.391, allocations: 19.83 kB / 2.889 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/7.391, allocations: 100.4 kB / 2.889 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/7.391, allocations: 0 / 2.889 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/7.391, allocations: 3.953 kB / 2.889 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/7.391, allocations: 0 / 2.889 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/7.391, allocations: 225.8 kB / 2.889 GB, free: 184 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/7.391, allocations: 8 kB / 2.889 GB, free: 184 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/7.392, allocations: 19.92 kB / 2.889 GB, free: 184 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/7.392, allocations: 3.984 kB / 2.889 GB, free: 184 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/7.392, allocations: 4 kB / 2.889 GB, free: 184 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/7.392, allocations: 0 / 2.889 GB, free: 184 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/7.392, allocations: 0 / 2.889 GB, free: 184 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/7.392, allocations: 189 kB / 2.889 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/7.392, allocations: 92.36 kB / 2.889 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/7.392, allocations: 4 kB / 2.889 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/7.392, allocations: 11.98 kB / 2.889 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/7.392, allocations: 7.938 kB / 2.889 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/7.392, allocations: 0 / 2.889 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001217/7.392, allocations: 141.4 kB / 2.889 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.11e-07/7.392, allocations: 0 / 2.889 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004629/7.393, allocations: 48.88 kB / 2.889 GB, free: 183.5 MB / 0.8698 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 (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.001044/7.394, allocations: 1.199 MB / 2.891 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001856/7.394, allocations: 58.09 kB / 2.891 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/7.394, allocations: 0 / 2.891 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.567e-05/7.394, allocations: 26.75 kB / 2.891 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/7.395, allocations: 35.03 kB / 2.891 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006589/7.395, allocations: 203.1 kB / 2.891 GB, free: 182 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/7.395, allocations: 0.7082 MB / 2.892 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001156/7.396, allocations: 16.88 kB / 2.892 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.591e-05/7.396, allocations: 33.55 kB / 2.892 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of SimCode: time 7.01e-07/7.396, allocations: 0 / 2.892 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03672/7.432, allocations: 13.58 MB / 2.905 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002265/7.433, allocations: 180 kB / 2.905 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.859/10.29, allocations: 0 / 2.905 GB, free: 167.5 MB / 0.8698 GB