Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.211/3.211, allocations: 343.8 MB / 355.9 MB, free: 9.375 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.466e-05/4.473e-05, allocations: 15.98 kB / 436.6 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1688, allocations: 77.73 MB / 0.5023 GB, free: 4.484 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.653/6.822, allocations: 2.18 GB / 2.683 GB, free: 166.2 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/6.822, allocations: 88.45 kB / 2.683 GB, free: 166.2 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.532/12.35, allocations: 1.006 GB / 3.689 GB, free: 86.46 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.194e-06/12.35, allocations: 0 / 3.689 GB, free: 86.46 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002993/12.35, allocations: 56.41 kB / 3.689 GB, free: 86.45 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.00724/12.36, allocations: 2.073 MB / 3.691 GB, free: 85.49 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/12.36, allocations: 11.16 kB / 3.691 GB, free: 85.49 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006277/12.36, allocations: 177.7 kB / 3.691 GB, free: 85.45 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006249/12.37, allocations: 0.6179 MB / 3.692 GB, free: 85.34 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005683/12.37, allocations: 1.442 MB / 3.693 GB, free: 85.01 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007172/12.38, allocations: 167 kB / 3.694 GB, free: 85.01 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005539/12.38, allocations: 118.5 kB / 3.694 GB, free: 85.01 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004404/12.38, allocations: 1.353 MB / 3.695 GB, free: 84.81 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.404e-05/12.38, allocations: 4.719 kB / 3.695 GB, free: 84.81 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002415/12.38, allocations: 50.62 kB / 3.695 GB, free: 84.81 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-05/12.38, allocations: 39.23 kB / 3.695 GB, free: 84.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003714/12.38, allocations: 1.036 MB / 3.696 GB, free: 84.8 MB / 0.6823 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.01574/12.4, allocations: 5.883 MB / 3.702 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002323/12.4, allocations: 0.9536 MB / 3.703 GB, free: 82.26 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/12.4, allocations: 492 kB / 3.703 GB, free: 82.25 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008635/12.4, allocations: 313.3 kB / 3.704 GB, free: 81.97 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001501/12.41, allocations: 0.5327 MB / 3.704 GB, free: 81.88 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=87): time 6.593e-06/12.41, allocations: 0 / 3.704 GB, free: 81.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=95): time 0.0119/12.42, allocations: 3.032 MB / 3.707 GB, free: 81.17 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.21e-05/12.42, allocations: 198.9 kB / 3.707 GB, free: 80.95 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002629/12.42, allocations: 1.149 MB / 3.708 GB, free: 80.79 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003602/12.42, allocations: 48.61 kB / 3.708 GB, free: 80.76 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008254/12.42, allocations: 0.7245 MB / 3.709 GB, free: 80.53 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005118/12.42, allocations: 326.4 kB / 3.709 GB, free: 80.32 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.139e-05/12.42, allocations: 16.41 kB / 3.709 GB, free: 80.32 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.527e-05/12.42, allocations: 344.4 kB / 3.71 GB, free: 80.02 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009755/12.42, allocations: 388.2 kB / 3.71 GB, free: 80.02 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/12.43, allocations: 0.6051 MB / 3.711 GB, free: 79.79 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01937/12.44, allocations: 2.34 MB / 3.713 GB, free: 79.61 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/12.44, allocations: 3 kB / 3.713 GB, free: 79.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00644/12.45, allocations: 1.593 MB / 3.715 GB, free: 79.41 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003254/12.45, allocations: 1.301 MB / 3.716 GB, free: 78.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/12.45, allocations: 6.219 kB / 3.716 GB, free: 78.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001812/12.45, allocations: 421.5 kB / 3.716 GB, free: 78.01 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/12.46, allocations: 173 kB / 3.716 GB, free: 78.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/12.47, allocations: 6.843 MB / 3.723 GB, free: 73.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002915/12.47, allocations: 139.6 kB / 3.723 GB, free: 73.54 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002868/12.47, allocations: 45.48 kB / 3.723 GB, free: 73.54 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/12.47, allocations: 2.938 kB / 3.723 GB, free: 73.54 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005635/12.47, allocations: 1.448 MB / 3.725 GB, free: 73.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/12.47, allocations: 3.75 kB / 3.725 GB, free: 73.44 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001675/12.48, allocations: 416.2 kB / 3.725 GB, free: 73.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/12.48, allocations: 170.6 kB / 3.725 GB, free: 73.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01188/12.49, allocations: 7.85 MB / 3.733 GB, free: 68.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003057/12.49, allocations: 140.9 kB / 3.733 GB, free: 68.06 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003345/12.49, allocations: 41 kB / 3.733 GB, free: 68.06 MB / 0.6823 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 11,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005731/12.49, allocations: 198.6 kB / 3.733 GB, free: 67.92 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000603/12.49, allocations: 177.4 kB / 3.733 GB, free: 67.84 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005852/12.5, allocations: 1.454 MB / 3.735 GB, free: 67.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/12.5, allocations: 10.86 kB / 3.735 GB, free: 67.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/12.5, allocations: 3.125 kB / 3.735 GB, free: 67.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004895/12.51, allocations: 1.3 MB / 3.736 GB, free: 67.48 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/12.52, allocations: 3.332 MB / 3.739 GB, free: 66.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/12.52, allocations: 3.906 kB / 3.739 GB, free: 66.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001906/12.52, allocations: 188.3 kB / 3.74 GB, free: 66.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008011/12.52, allocations: 207.5 kB / 3.74 GB, free: 66.86 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002251/12.52, allocations: 34.22 kB / 3.74 GB, free: 66.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003876/12.52, allocations: 2.469 MB / 3.742 GB, free: 65.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/12.52, allocations: 3.969 kB / 3.742 GB, free: 65.07 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006923/12.53, allocations: 2.402 MB / 3.745 GB, free: 64.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/12.53, allocations: 363.1 kB / 3.745 GB, free: 64.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005414/12.53, allocations: 38 kB / 3.745 GB, free: 64.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002802/12.53, allocations: 141 kB / 3.745 GB, free: 64.11 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002859/12.53, allocations: 71.52 kB / 3.745 GB, free: 64.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001654/12.54, allocations: 43.84 kB / 3.745 GB, free: 64.11 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002068/12.54, allocations: 0.8959 MB / 3.746 GB, free: 63.99 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.92e-07/12.54, allocations: 0 / 3.746 GB, free: 63.99 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005984/12.54, allocations: 0.9931 MB / 3.747 GB, free: 63.96 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.X[2],heaDyn.vol.dynBal.medium.dT,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01248/12.56, allocations: 6.294 MB / 3.753 GB, free: 60.86 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006253/12.56, allocations: 2.628 MB / 3.756 GB, free: 59.96 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/12.56, allocations: 3.594 kB / 3.756 GB, free: 59.96 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001693/12.56, allocations: 0.6897 MB / 3.756 GB, free: 59.79 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007798/12.57, allocations: 0.8627 MB / 3.757 GB, free: 59.77 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/12.58, allocations: 2.988 MB / 3.76 GB, free: 58.94 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/12.58, allocations: 1.397 MB / 3.762 GB, free: 58.23 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004103/12.59, allocations: 0.4884 MB / 3.762 GB, free: 58.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001389/12.59, allocations: 0.6173 MB / 3.763 GB, free: 58.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.252e-06/12.59, allocations: 0 / 3.763 GB, free: 58.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2168/12.81, allocations: 92.18 MB / 3.853 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/12.81, allocations: 231.3 kB / 3.853 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.831/19.64, allocations: 0 / 3.853 GB, free: 5.082 MB / 0.6823 GB