Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.286/4.286, allocations: 460.4 MB / 472.6 MB, free: 5.391 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.542e-05/3.538e-05, allocations: 4 kB / 0.5682 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2436, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.177/7.421, allocations: 2.204 GB / 2.876 GB, free: 260.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/7.421, allocations: 87.52 kB / 2.876 GB, free: 260.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.3/12.72, allocations: 1.006 GB / 3.882 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.505e-06/12.72, allocations: 0 / 3.882 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003147/12.72, allocations: 52.64 kB / 3.882 GB, free: 129.3 MB / 0.8855 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.00704/12.73, allocations: 2.076 MB / 3.884 GB, free: 128.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/12.73, allocations: 10.38 kB / 3.884 GB, free: 128.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00052/12.73, allocations: 177.7 kB / 3.885 GB, free: 128.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006059/12.74, allocations: 0.6136 MB / 3.885 GB, free: 128.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005048/12.74, allocations: 1.438 MB / 3.887 GB, free: 128 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006577/12.74, allocations: 160.6 kB / 3.887 GB, free: 128 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004086/12.74, allocations: 123.8 kB / 3.887 GB, free: 128 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003438/12.75, allocations: 1.344 MB / 3.888 GB, free: 127.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.807e-05/12.75, allocations: 5.719 kB / 3.888 GB, free: 127.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002073/12.75, allocations: 52.06 kB / 3.888 GB, free: 127.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.709e-05/12.75, allocations: 37.89 kB / 3.888 GB, free: 127.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002975/12.75, allocations: 1.04 MB / 3.889 GB, free: 127.8 MB / 0.8855 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.01823/12.77, allocations: 5.878 MB / 3.895 GB, free: 125.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002036/12.77, allocations: 0.9652 MB / 3.896 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/12.77, allocations: 481.2 kB / 3.896 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008236/12.77, allocations: 316.2 kB / 3.897 GB, free: 125 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001241/12.77, allocations: 0.5397 MB / 3.897 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=87): time 4.077e-06/12.77, allocations: 0 / 3.897 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=95): time 0.01118/12.78, allocations: 3.028 MB / 3.9 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.534e-05/12.78, allocations: 192.4 kB / 3.9 GB, free: 124 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002459/12.79, allocations: 1.144 MB / 3.902 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003387/12.79, allocations: 50.66 kB / 3.902 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008126/12.79, allocations: 0.7285 MB / 3.902 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004599/12.79, allocations: 327.7 kB / 3.903 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.963e-05/12.79, allocations: 18.56 kB / 3.903 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.633e-05/12.79, allocations: 339 kB / 3.903 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009685/12.79, allocations: 380.3 kB / 3.903 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/12.79, allocations: 0.6101 MB / 3.904 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01877/12.81, allocations: 2.336 MB / 3.906 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.413e-06/12.81, allocations: 10.7 kB / 3.906 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005996/12.82, allocations: 1.601 MB / 3.908 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003404/12.82, allocations: 1.294 MB / 3.909 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/12.82, allocations: 3.781 kB / 3.909 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001612/12.82, allocations: 415 kB / 3.909 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/12.82, allocations: 172 kB / 3.91 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009713/12.83, allocations: 6.848 MB / 3.916 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002798/12.83, allocations: 146.9 kB / 3.916 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/12.83, allocations: 38.94 kB / 3.916 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/12.83, allocations: 4.188 kB / 3.916 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005268/12.84, allocations: 1.444 MB / 3.918 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/12.84, allocations: 3.594 kB / 3.918 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/12.84, allocations: 408 kB / 3.918 GB, free: 116.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/12.84, allocations: 171.3 kB / 3.918 GB, free: 116.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/12.85, allocations: 7.86 MB / 3.926 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002764/12.85, allocations: 141.5 kB / 3.926 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/12.85, allocations: 42.16 kB / 3.926 GB, free: 111.2 MB / 0.8855 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.0004221/12.85, allocations: 202.3 kB / 3.926 GB, free: 111 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000351/12.85, allocations: 175.3 kB / 3.927 GB, free: 111 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005326/12.86, allocations: 1.453 MB / 3.928 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/12.86, allocations: 15.72 kB / 3.928 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/12.86, allocations: 3.844 kB / 3.928 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004512/12.86, allocations: 1.3 MB / 3.929 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01052/12.87, allocations: 3.332 MB / 3.933 GB, free: 110 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/12.87, allocations: 3.844 kB / 3.933 GB, free: 110 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001871/12.88, allocations: 183.6 kB / 3.933 GB, free: 110 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001204/12.88, allocations: 209.1 kB / 3.933 GB, free: 110 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002845/12.88, allocations: 34 kB / 3.933 GB, free: 110 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003905/12.88, allocations: 2.459 MB / 3.935 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/12.88, allocations: 10.19 kB / 3.935 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006772/12.89, allocations: 2.406 MB / 3.938 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/12.89, allocations: 373.5 kB / 3.938 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003815/12.89, allocations: 29.66 kB / 3.938 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002602/12.89, allocations: 138.3 kB / 3.938 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002072/12.89, allocations: 71.83 kB / 3.938 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/12.89, allocations: 41.41 kB / 3.938 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001939/12.9, allocations: 0.9026 MB / 3.939 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.11e-07/12.9, allocations: 3.938 kB / 3.939 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00515/12.9, allocations: 0.9851 MB / 3.94 GB, free: 107.1 MB / 0.8855 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.01119/12.91, allocations: 6.28 MB / 3.946 GB, free: 104 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005852/12.92, allocations: 2.616 MB / 3.949 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/12.92, allocations: 0 / 3.949 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001524/12.92, allocations: 0.7014 MB / 3.95 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007094/12.93, allocations: 0.8665 MB / 3.95 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01581/12.94, allocations: 2.992 MB / 3.953 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001769/12.94, allocations: 1.4 MB / 3.955 GB, free: 101.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005431/12.95, allocations: 492.7 kB / 3.955 GB, free: 101.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00183/12.95, allocations: 0.6102 MB / 3.956 GB, free: 101.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.973e-06/12.95, allocations: 0 / 3.956 GB, free: 101.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2/13.15, allocations: 91.99 MB / 4.046 GB, free: 75.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002452/13.15, allocations: 232.6 kB / 4.046 GB, free: 75.59 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.644/19.8, allocations: 0 / 4.046 GB, free: 75.59 MB / 0.8855 GB