Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.269/4.269, allocations: 432.8 MB / 444.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.747e-05/3.754e-05, allocations: 5.375 kB / 0.5338 GB, free: 12.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.228, allocations: 98.73 MB / 0.6302 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.67/6.898, allocations: 2.171 GB / 2.801 GB, free: 142.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/6.899, allocations: 90.38 kB / 2.801 GB, free: 142.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1298/7.028, allocations: 40.44 MB / 2.841 GB, free: 108.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.714e-06/7.029, allocations: 0 / 2.841 GB, free: 108.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.405e-05/7.029, allocations: 4 kB / 2.841 GB, free: 108.8 MB / 0.823 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.0006575/7.029, allocations: 448 kB / 2.841 GB, free: 108.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/7.029, allocations: 12.03 kB / 2.841 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.903e-05/7.029, allocations: 40.75 kB / 2.841 GB, free: 108.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003245/7.03, allocations: 31.88 kB / 2.841 GB, free: 108.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/7.03, allocations: 206.8 kB / 2.841 GB, free: 108.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/7.03, allocations: 7.562 kB / 2.841 GB, free: 108.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/7.03, allocations: 15.12 kB / 2.841 GB, free: 108 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/7.03, allocations: 105.9 kB / 2.841 GB, free: 108 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/7.03, allocations: 0 / 2.841 GB, free: 108 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/7.03, allocations: 7 kB / 2.841 GB, free: 108 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/7.03, allocations: 4 kB / 2.841 GB, free: 108 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/7.031, allocations: 65.88 kB / 2.841 GB, free: 107.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008196/7.031, allocations: 466 kB / 2.842 GB, free: 107.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/7.032, allocations: 71 kB / 2.842 GB, free: 107.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.415e-05/7.032, allocations: 26.92 kB / 2.842 GB, free: 107.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/7.032, allocations: 4 kB / 2.842 GB, free: 107.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/7.032, allocations: 37.56 kB / 2.842 GB, free: 107.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 2.044e-06/7.032, allocations: 4 kB / 2.842 GB, free: 107.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0002645/7.032, allocations: 87.23 kB / 2.842 GB, free: 107.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/7.032, allocations: 54.84 kB / 2.842 GB, free: 107.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/7.032, allocations: 157.1 kB / 2.842 GB, free: 107.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/7.032, allocations: 32.7 kB / 2.842 GB, free: 107 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.986e-05/7.032, allocations: 119.4 kB / 2.842 GB, free: 106.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/7.032, allocations: 22.89 kB / 2.842 GB, free: 106.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-06/7.032, allocations: 0 / 2.842 GB, free: 106.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.354e-05/7.032, allocations: 325.3 kB / 2.843 GB, free: 106.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.589e-05/7.033, allocations: 21.62 kB / 2.843 GB, free: 106.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.211e-05/7.033, allocations: 18.5 kB / 2.843 GB, free: 106.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.317e-05/7.033, allocations: 21 kB / 2.843 GB, free: 106.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/7.033, allocations: 0 / 2.843 GB, free: 106.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000206/7.033, allocations: 95.83 kB / 2.843 GB, free: 106.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/7.033, allocations: 4 kB / 2.843 GB, free: 106.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/7.033, allocations: 0 / 2.843 GB, free: 106.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/7.033, allocations: 4 kB / 2.843 GB, free: 106.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/7.033, allocations: 31.88 kB / 2.843 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/7.033, allocations: 0 / 2.843 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/7.033, allocations: 19.83 kB / 2.843 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/7.033, allocations: 2.562 kB / 2.843 GB, free: 106.4 MB / 0.823 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.958e-05/7.034, allocations: 105 kB / 2.843 GB, free: 106.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-05/7.034, allocations: 11.22 kB / 2.843 GB, free: 106.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002613/7.034, allocations: 106.4 kB / 2.843 GB, free: 106.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/7.034, allocations: 4 kB / 2.843 GB, free: 106.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/7.034, allocations: 3.953 kB / 2.843 GB, free: 106.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/7.034, allocations: 0 / 2.843 GB, free: 106.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/7.034, allocations: 218.5 kB / 2.843 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/7.034, allocations: 0 / 2.843 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/7.034, allocations: 19.98 kB / 2.843 GB, free: 105.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/7.034, allocations: 0 / 2.843 GB, free: 105.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/7.034, allocations: 0 / 2.843 GB, free: 105.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/7.034, allocations: 0 / 2.843 GB, free: 105.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/7.034, allocations: 400 / 2.843 GB, free: 105.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/7.035, allocations: 199.2 kB / 2.844 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.845e-05/7.035, allocations: 96.84 kB / 2.844 GB, free: 105.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/7.035, allocations: 3.688 kB / 2.844 GB, free: 105.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/7.035, allocations: 11.98 kB / 2.844 GB, free: 105.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/7.035, allocations: 0 / 2.844 GB, free: 105.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/7.035, allocations: 11.94 kB / 2.844 GB, free: 105.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001308/7.035, allocations: 144.3 kB / 2.844 GB, free: 105.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 4e-07/7.035, allocations: 0 / 2.844 GB, free: 105.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004522/7.036, allocations: 55.25 kB / 2.844 GB, free: 105.5 MB / 0.823 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.001114/7.037, allocations: 1.184 MB / 2.845 GB, free: 104.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002663/7.037, allocations: 51.62 kB / 2.845 GB, free: 104.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/7.037, allocations: 0 / 2.845 GB, free: 104.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.123e-05/7.037, allocations: 32.92 kB / 2.845 GB, free: 104.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/7.038, allocations: 27.48 kB / 2.845 GB, free: 104.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007102/7.038, allocations: 197.4 kB / 2.845 GB, free: 104 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/7.039, allocations: 0.7276 MB / 2.846 GB, free: 103.2 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001198/7.039, allocations: 8.875 kB / 2.846 GB, free: 103.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.074e-05/7.039, allocations: 33 kB / 2.846 GB, free: 103.2 MB / 0.823 GB Notification: Performance of SimCode: time 1.032e-06/7.039, allocations: 4 kB / 2.846 GB, free: 103.2 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05178/7.091, allocations: 13.58 MB / 2.859 GB, free: 89.7 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002667/7.091, allocations: 175.2 kB / 2.86 GB, free: 89.47 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.865/9.956, allocations: 0 / 2.86 GB, free: 89.47 MB / 0.823 GB