Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.244/3.244, allocations: 343.8 MB / 355.9 MB, free: 9.355 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.262e-05/4.272e-05, allocations: 8 kB / 436.7 MB, free: 2.344 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1758, allocations: 77.72 MB / 0.5023 GB, free: 4.461 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.482/1.658, allocations: 372.6 MB / 0.8662 GB, free: 153.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/1.658, allocations: 96.25 kB / 0.8663 GB, free: 153.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.806/3.464, allocations: 418 MB / 1.274 GB, free: 25.57 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.224e-06/3.464, allocations: 0 / 1.274 GB, free: 25.57 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001342/3.464, allocations: 32 kB / 1.275 GB, free: 25.54 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003295/3.467, allocations: 1.247 MB / 1.276 GB, free: 24.25 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/3.468, allocations: 8.031 kB / 1.276 GB, free: 24.24 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002476/3.468, allocations: 118.4 kB / 1.276 GB, free: 24.12 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006399/3.468, allocations: 142.4 kB / 1.276 GB, free: 23.98 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03749/3.506, allocations: 12.18 MB / 1.288 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.745e-05/3.506, allocations: 62 kB / 1.288 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/3.506, allocations: 72 kB / 1.288 GB, free: 11.49 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/3.508, allocations: 0.7087 MB / 1.289 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/3.508, allocations: 3.938 kB / 1.289 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.983e-05/3.508, allocations: 35.98 kB / 1.289 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.662e-05/3.508, allocations: 19.95 kB / 1.289 GB, free: 10.69 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/3.509, allocations: 486.5 kB / 1.289 GB, free: 10.21 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005732/3.515, allocations: 3.528 MB / 1.293 GB, free: 6.465 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007097/3.516, allocations: 333 kB / 1.293 GB, free: 6.109 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003298/3.516, allocations: 156.8 kB / 1.293 GB, free: 5.953 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005298/3.517, allocations: 0.6609 MB / 1.294 GB, free: 5.145 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/3.517, allocations: 42.5 kB / 1.294 GB, free: 5.094 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=31): time 3.938e-06/3.517, allocations: 0 / 1.294 GB, free: 5.094 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31): time 0.001043/3.518, allocations: 361 kB / 1.294 GB, free: 4.734 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/3.518, allocations: 63.33 kB / 1.294 GB, free: 4.66 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/3.52, allocations: 0.8037 MB / 1.295 GB, free: 3.836 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.287e-05/3.52, allocations: 33.7 kB / 1.295 GB, free: 3.797 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004449/3.52, allocations: 0.5034 MB / 1.296 GB, free: 3.289 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/3.52, allocations: 114.4 kB / 1.296 GB, free: 3.176 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/3.52, allocations: 16 kB / 1.296 GB, free: 3.16 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.485e-05/3.52, allocations: 322 kB / 1.296 GB, free: 2.84 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003198/3.521, allocations: 121.1 kB / 1.296 GB, free: 2.719 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004488/3.521, allocations: 343.9 kB / 1.296 GB, free: 2.289 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004073/3.522, allocations: 195.6 kB / 1.297 GB, free: 2.098 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/3.522, allocations: 0 / 1.297 GB, free: 2.098 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001316/3.523, allocations: 0.5159 MB / 1.297 GB, free: 1.574 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/3.523, allocations: 8 kB / 1.297 GB, free: 1.566 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/3.523, allocations: 4 kB / 1.297 GB, free: 1.562 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.281e-05/3.523, allocations: 8 kB / 1.297 GB, free: 1.555 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00077/3.524, allocations: 123.8 kB / 1.297 GB, free: 1.434 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.895e-05/3.524, allocations: 11.92 kB / 1.297 GB, free: 1.422 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/3.525, allocations: 111.5 kB / 1.297 GB, free: 1.312 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.597e-05/3.525, allocations: 27.98 kB / 1.297 GB, free: 1.285 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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 0.0001454/3.526, allocations: 140.8 kB / 1.298 GB, free: 1.141 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/3.526, allocations: 98.83 kB / 1.298 GB, free: 1.043 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/3.527, allocations: 443.7 kB / 1.298 GB, free: 0.5977 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/3.527, allocations: 4 kB / 1.298 GB, free: 0.5938 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/3.527, allocations: 4 kB / 1.298 GB, free: 0.5898 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006623/3.528, allocations: 417.2 kB / 1.298 GB, free: 156 kB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4946/4.022, allocations: 1.36 MB / 1.3 GB, free: 120.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/4.022, allocations: 1.344 kB / 1.3 GB, free: 120.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007098/4.023, allocations: 84.27 kB / 1.3 GB, free: 120.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.299e-05/4.023, allocations: 3.312 kB / 1.3 GB, free: 120.1 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.023e-05/4.023, allocations: 7.891 kB / 1.3 GB, free: 120.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.368e-06/4.023, allocations: 4.578 kB / 1.3 GB, free: 120.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/4.023, allocations: 6.594 kB / 1.3 GB, free: 120.1 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/4.025, allocations: 0.776 MB / 1.301 GB, free: 119.9 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006839/4.026, allocations: 244.5 kB / 1.301 GB, free: 119.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/4.026, allocations: 8.5 kB / 1.301 GB, free: 119.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/4.027, allocations: 58.2 kB / 1.301 GB, free: 119.8 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/4.027, allocations: 25.38 kB / 1.301 GB, free: 119.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.131e-05/4.027, allocations: 17.09 kB / 1.301 GB, free: 119.8 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001623/4.029, allocations: 0.6391 MB / 1.302 GB, free: 119.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.31e-07/4.029, allocations: 0 / 1.302 GB, free: 119.6 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001968/4.031, allocations: 373.3 kB / 1.302 GB, free: 119.6 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.003256/4.034, allocations: 2.123 MB / 1.304 GB, free: 118.4 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001128/4.035, allocations: 340.9 kB / 1.304 GB, free: 118.4 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/4.035, allocations: 0 / 1.304 GB, free: 118.4 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004559/4.036, allocations: 172.1 kB / 1.304 GB, free: 118.4 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005652/4.041, allocations: 0.6143 MB / 1.305 GB, free: 118.4 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004859/4.046, allocations: 1.445 MB / 1.307 GB, free: 118 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008245/4.047, allocations: 1.059 MB / 1.308 GB, free: 117.3 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001524/4.049, allocations: 197 kB / 1.308 GB, free: 117.3 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007246/4.049, allocations: 380.7 kB / 1.308 GB, free: 117.3 MB / 0.6667 GB Notification: Performance of SimCode: time 1.322e-06/4.049, allocations: 0 / 1.308 GB, free: 117.3 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1028/4.152, allocations: 32.54 MB / 1.34 GB, free: 116.4 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003049/4.153, allocations: 216.9 kB / 1.34 GB, free: 116.2 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.954/8.107, allocations: 0 / 1.34 GB, free: 116.2 MB / 0.6667 GB