Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.952/3.952, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.142e-05/4.152e-05, allocations: 9.812 kB / 0.4991 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6125/0.6125, allocations: 92.69 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.649/7.262, allocations: 2.178 GB / 2.767 GB, free: 83.83 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/7.262, allocations: 93.88 kB / 2.767 GB, free: 83.78 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.861/13.12, allocations: 1.003 GB / 3.77 GB, free: 112.5 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.637e-06/13.12, allocations: 0 / 3.77 GB, free: 112.5 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002456/13.12, allocations: 50.56 kB / 3.77 GB, free: 112.5 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.006737/13.13, allocations: 2.148 MB / 3.772 GB, free: 111.8 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/13.13, allocations: 16.28 kB / 3.772 GB, free: 111.8 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005035/13.13, allocations: 195.3 kB / 3.772 GB, free: 111.7 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005753/13.14, allocations: 0.6107 MB / 3.773 GB, free: 111.6 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005712/13.14, allocations: 1.577 MB / 3.775 GB, free: 111.3 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/13.14, allocations: 105.1 kB / 3.775 GB, free: 111.3 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003236/13.14, allocations: 133.5 kB / 3.775 GB, free: 111.3 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004339/13.15, allocations: 1.509 MB / 3.776 GB, free: 111 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.036e-05/13.15, allocations: 7.875 kB / 3.776 GB, free: 111 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002218/13.15, allocations: 54.72 kB / 3.776 GB, free: 111 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-05/13.15, allocations: 52.89 kB / 3.776 GB, free: 111 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003685/13.15, allocations: 1.148 MB / 3.778 GB, free: 111 MB / 0.7917 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.01296/13.16, allocations: 6.251 MB / 3.784 GB, free: 108.4 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/13.17, allocations: 0.9469 MB / 3.785 GB, free: 108.2 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009819/13.17, allocations: 471 kB / 3.785 GB, free: 108.2 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004662/13.17, allocations: 118 kB / 3.785 GB, free: 108.1 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001896/13.17, allocations: 0.6839 MB / 3.786 GB, free: 107.9 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=88): time 4.188e-06/13.17, allocations: 0 / 3.786 GB, free: 107.9 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96): time 0.01493/13.19, allocations: 4.422 MB / 3.79 GB, free: 106 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001817/13.19, allocations: 0.5257 MB / 3.791 GB, free: 105.4 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002835/13.19, allocations: 1.213 MB / 3.792 GB, free: 105.2 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0003713/13.19, allocations: 51.45 kB / 3.792 GB, free: 105.2 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009229/13.19, allocations: 0.7856 MB / 3.793 GB, free: 105 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005795/13.19, allocations: 332.3 kB / 3.793 GB, free: 104.8 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.808e-05/13.19, allocations: 19.44 kB / 3.793 GB, free: 104.8 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001014/13.19, allocations: 345.7 kB / 3.793 GB, free: 104.5 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009984/13.19, allocations: 394.5 kB / 3.794 GB, free: 104.5 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/13.19, allocations: 0.6927 MB / 3.794 GB, free: 104.2 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01263/13.21, allocations: 1.666 MB / 3.796 GB, free: 104 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.178e-06/13.21, allocations: 7.234 kB / 3.796 GB, free: 104 MB / 0.7917 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00703/13.21, allocations: 1.643 MB / 3.798 GB, free: 103.8 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004851/13.21, allocations: 1.85 MB / 3.799 GB, free: 101.9 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/13.21, allocations: 6.812 kB / 3.799 GB, free: 101.9 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001705/13.21, allocations: 376.1 kB / 3.8 GB, free: 101.8 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/13.22, allocations: 178.4 kB / 3.8 GB, free: 101.8 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009404/13.23, allocations: 6.72 MB / 3.806 GB, free: 97.39 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002946/13.23, allocations: 131.8 kB / 3.807 GB, free: 97.39 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002597/13.23, allocations: 44.78 kB / 3.807 GB, free: 97.39 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/13.23, allocations: 4.562 kB / 3.807 GB, free: 97.39 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004937/13.23, allocations: 1.5 MB / 3.808 GB, free: 97.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/13.23, allocations: 6.812 kB / 3.808 GB, free: 97.2 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/13.24, allocations: 362 kB / 3.808 GB, free: 97.17 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/13.24, allocations: 160.2 kB / 3.809 GB, free: 97.17 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/13.25, allocations: 7.655 MB / 3.816 GB, free: 91.84 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002556/13.25, allocations: 119.1 kB / 3.816 GB, free: 91.83 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000186/13.25, allocations: 50.05 kB / 3.816 GB, free: 91.83 MB / 0.7917 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: 20 * 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 (99): * Single equations (assignments): 94 * 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.0005501/13.25, allocations: 209.5 kB / 3.816 GB, free: 91.69 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005306/13.25, allocations: 179.9 kB / 3.817 GB, free: 91.61 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005452/13.26, allocations: 1.313 MB / 3.818 GB, free: 91.48 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.065e-05/13.26, allocations: 10.28 kB / 3.818 GB, free: 91.48 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/13.26, allocations: 6.594 kB / 3.818 GB, free: 91.48 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004786/13.26, allocations: 1.166 MB / 3.819 GB, free: 91.25 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01122/13.27, allocations: 3.637 MB / 3.823 GB, free: 90.22 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/13.27, allocations: 3.625 kB / 3.823 GB, free: 90.22 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/13.27, allocations: 177.7 kB / 3.823 GB, free: 90.22 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000627/13.28, allocations: 154.5 kB / 3.823 GB, free: 90.2 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001877/13.28, allocations: 31.69 kB / 3.823 GB, free: 90.2 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00652/13.28, allocations: 3.444 MB / 3.826 GB, free: 87.55 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/13.28, allocations: 7.5 kB / 3.826 GB, free: 87.55 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006911/13.29, allocations: 2.253 MB / 3.829 GB, free: 86.82 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001454/13.29, allocations: 367 kB / 3.829 GB, free: 86.64 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004932/13.29, allocations: 27.66 kB / 3.829 GB, free: 86.64 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002511/13.29, allocations: 122.7 kB / 3.829 GB, free: 86.64 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002647/13.29, allocations: 77.72 kB / 3.829 GB, free: 86.63 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/13.29, allocations: 40.56 kB / 3.829 GB, free: 86.63 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.00201/13.3, allocations: 0.9371 MB / 3.83 GB, free: 86.52 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6.01e-07/13.3, allocations: 0 / 3.83 GB, free: 86.52 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.005926/13.3, allocations: 1.022 MB / 3.831 GB, free: 86.5 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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.0114/13.31, allocations: 5.974 MB / 3.837 GB, free: 83.58 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.006064/13.32, allocations: 2.747 MB / 3.84 GB, free: 82.62 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/13.32, allocations: 3.781 kB / 3.84 GB, free: 82.62 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001575/13.32, allocations: 0.8124 MB / 3.84 GB, free: 82.33 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007429/13.33, allocations: 0.8809 MB / 3.841 GB, free: 82.3 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/13.34, allocations: 2.999 MB / 3.844 GB, free: 81.5 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/13.34, allocations: 1.437 MB / 3.846 GB, free: 80.77 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.003926/13.34, allocations: 0.5361 MB / 3.846 GB, free: 80.75 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001217/13.35, allocations: 0.6421 MB / 3.847 GB, free: 80.74 MB / 0.7917 GB Notification: Performance of SimCode: time 2.024e-06/13.35, allocations: 7.219 kB / 3.847 GB, free: 80.74 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2078/13.55, allocations: 93.68 MB / 3.938 GB, free: 70.02 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002523/13.55, allocations: 237.9 kB / 3.938 GB, free: 69.7 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.834/20.39, allocations: 4 kB / 3.938 GB, free: 69.7 MB / 0.7917 GB