Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.997/3.997, allocations: 432.7 MB / 444.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.327e-05/4.342e-05, allocations: 5.25 kB / 0.5338 GB, free: 12.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2091, allocations: 98.73 MB / 0.6302 GB, free: 6.137 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.673/7.883, allocations: 2.495 GB / 3.125 GB, free: 117.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003503/7.883, allocations: 102.1 kB / 3.125 GB, free: 117.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 8.54/16.42, allocations: 1.618 GB / 4.743 GB, free: 78.84 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.114e-06/16.42, allocations: 0 / 4.743 GB, free: 78.84 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.00047/16.42, allocations: 73.91 kB / 4.743 GB, free: 78.83 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: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.01506/16.44, allocations: 2.857 MB / 4.746 GB, free: 77.36 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/16.44, allocations: 10.44 kB / 4.746 GB, free: 77.36 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009546/16.44, allocations: 262 kB / 4.747 GB, free: 77.31 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007868/16.45, allocations: 0.6688 MB / 4.747 GB, free: 77.16 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01047/16.46, allocations: 2.79 MB / 4.75 GB, free: 76.56 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001941/16.46, allocations: 148.7 kB / 4.75 GB, free: 76.55 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006301/16.46, allocations: 196.2 kB / 4.75 GB, free: 76.55 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006297/16.47, allocations: 2.144 MB / 4.752 GB, free: 76.24 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-05/16.47, allocations: 3.438 kB / 4.752 GB, free: 76.24 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003254/16.47, allocations: 77.75 kB / 4.752 GB, free: 76.18 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/16.47, allocations: 71.45 kB / 4.752 GB, free: 76.18 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005711/16.47, allocations: 1.827 MB / 4.754 GB, free: 75.48 MB / 0.8698 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.02108/16.49, allocations: 9.097 MB / 4.763 GB, free: 69.45 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002438/16.5, allocations: 0.9171 MB / 4.764 GB, free: 69.05 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/16.5, allocations: 0.5473 MB / 4.765 GB, free: 68.83 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005965/16.5, allocations: 2.304 MB / 4.767 GB, free: 67.19 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/16.5, allocations: 43.47 kB / 4.767 GB, free: 67.14 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002172/16.5, allocations: 178.9 kB / 4.767 GB, free: 67.05 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=99): time 6.292e-06/16.5, allocations: 0 / 4.767 GB, free: 67.05 MB / 0.8698 GB Notification: Performance of matching and sorting (n=101): time 0.009658/16.51, allocations: 2.777 MB / 4.77 GB, free: 65.61 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/16.51, allocations: 62.84 kB / 4.77 GB, free: 65.55 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004052/16.52, allocations: 1.79 MB / 4.772 GB, free: 64.75 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000351/16.52, allocations: 49.7 kB / 4.772 GB, free: 64.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001097/16.52, allocations: 1.197 MB / 4.773 GB, free: 63.61 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005247/16.52, allocations: 360.4 kB / 4.773 GB, free: 63.29 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/16.52, allocations: 28 kB / 4.773 GB, free: 63.26 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001164/16.52, allocations: 361.5 kB / 4.774 GB, free: 62.92 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/16.52, allocations: 448.4 kB / 4.774 GB, free: 62.51 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/16.52, allocations: 1.021 MB / 4.775 GB, free: 61.29 MB / 0.8698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (sin_2.p = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01625/16.54, allocations: 2.101 MB / 4.777 GB, free: 59.61 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.76e-05/16.54, allocations: 4 kB / 4.777 GB, free: 59.61 MB / 0.8698 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.004684/16.54, allocations: 1.686 MB / 4.779 GB, free: 58.06 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001316/16.55, allocations: 5.982 MB / 4.784 GB, free: 51.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-05/16.55, allocations: 12 kB / 4.784 GB, free: 51.53 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002568/16.55, allocations: 334.3 kB / 4.785 GB, free: 51.26 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002319/16.55, allocations: 290.9 kB / 4.785 GB, free: 51.01 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/16.55, allocations: 0.9722 MB / 4.786 GB, free: 50.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003972/16.56, allocations: 174.1 kB / 4.786 GB, free: 49.92 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003918/16.56, allocations: 79.69 kB / 4.786 GB, free: 49.85 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/16.56, allocations: 0 / 4.786 GB, free: 49.85 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003648/16.56, allocations: 1.441 MB / 4.788 GB, free: 48.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.747e-05/16.56, allocations: 16 kB / 4.788 GB, free: 48.53 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002323/16.56, allocations: 330.3 kB / 4.788 GB, free: 48.26 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002257/16.57, allocations: 283.9 kB / 4.788 GB, free: 48.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/16.57, allocations: 0.9794 MB / 4.789 GB, free: 47.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003664/16.57, allocations: 143.5 kB / 4.789 GB, free: 46.95 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003536/16.57, allocations: 75.83 kB / 4.789 GB, free: 46.88 MB / 0.8698 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 151 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 22} Notification: Performance of prepare postOptimizeDAE: time 0.0005092/16.57, allocations: 200.7 kB / 4.79 GB, free: 46.68 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006766/16.57, allocations: 236.7 kB / 4.79 GB, free: 46.45 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003736/16.58, allocations: 1.361 MB / 4.791 GB, free: 45.26 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/16.58, allocations: 19.89 kB / 4.791 GB, free: 45.24 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/16.58, allocations: 4 kB / 4.791 GB, free: 45.23 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002217/16.58, allocations: 0.9959 MB / 4.792 GB, free: 44.32 MB / 0.8698 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 postOpt removeSimpleEquations (simulation): time 0.009635/16.59, allocations: 3.659 MB / 4.796 GB, free: 41.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/16.59, allocations: 4 kB / 4.796 GB, free: 41.07 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001511/16.59, allocations: 172.4 kB / 4.796 GB, free: 40.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002296/16.59, allocations: 308.6 kB / 4.796 GB, free: 40.59 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002003/16.59, allocations: 31.98 kB / 4.796 GB, free: 40.56 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/16.59, allocations: 0.9247 MB / 4.797 GB, free: 39.62 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/16.59, allocations: 7.984 kB / 4.797 GB, free: 39.61 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004567/16.6, allocations: 2.429 MB / 4.8 GB, free: 36.96 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001779/16.6, allocations: 434 kB / 4.8 GB, free: 36.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007305/16.6, allocations: 23.98 kB / 4.8 GB, free: 36.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003022/16.6, allocations: 107.8 kB / 4.8 GB, free: 36.38 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002583/16.6, allocations: 76.58 kB / 4.8 GB, free: 36.31 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/16.6, allocations: 39.98 kB / 4.8 GB, free: 36.27 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003471/16.61, allocations: 1.38 MB / 4.802 GB, free: 34.88 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.32e-07/16.61, allocations: 0 / 4.802 GB, free: 34.88 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.007595/16.61, allocations: 1.402 MB / 4.803 GB, free: 33.47 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (fan.vol.dynBal.U,fan.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.01207/16.63, allocations: 8.037 MB / 4.811 GB, free: 25.02 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005886/16.63, allocations: 1.952 MB / 4.813 GB, free: 23.07 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/16.63, allocations: 0 / 4.813 GB, free: 23.07 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001632/16.63, allocations: 0.507 MB / 4.813 GB, free: 22.57 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01084/16.65, allocations: 1.307 MB / 4.814 GB, free: 21.31 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01547/16.66, allocations: 4.456 MB / 4.819 GB, free: 16.74 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001547/16.66, allocations: 1.73 MB / 4.82 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.005965/16.67, allocations: 0.7826 MB / 4.821 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001819/16.67, allocations: 0.9482 MB / 4.822 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of SimCode: time 1.583e-06/16.67, allocations: 0 / 4.822 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.065/17.74, allocations: 122.8 MB / 4.942 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000277/17.74, allocations: 253.9 kB / 4.942 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.419/26.15, allocations: 0 / 4.942 GB, free: 106.5 MB / 0.9011 GB