Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.654/4.654, allocations: 404.1 MB / 411.3 MB, free: 408 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.159e-05/3.169e-05, allocations: 4 kB / 0.4945 GB, free: 1.297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6912/0.6913, allocations: 92.68 MB / 0.585 GB, free: 2.289 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.292/1.983, allocations: 384.5 MB / 0.9605 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003772/1.983, allocations: 97.06 kB / 0.9606 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 16.61/18.59, allocations: 2.561 GB / 3.522 GB, free: 35.08 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.855e-06/18.59, allocations: 1.312 kB / 3.522 GB, free: 35.08 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001377/18.59, allocations: 174 kB / 3.522 GB, free: 35.04 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: 1057 * Number of variables: 1057 Notification: Performance of Generate backend data structure: time 0.02405/18.61, allocations: 5.907 MB / 3.528 GB, free: 31.98 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/18.61, allocations: 7.625 kB / 3.528 GB, free: 31.98 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005799/18.62, allocations: 0.7735 MB / 3.529 GB, free: 31.62 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.233/18.85, allocations: 57.1 MB / 3.584 GB, free: 3.703 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003448/18.85, allocations: 132 kB / 3.584 GB, free: 3.574 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001897/18.86, allocations: 263.8 kB / 3.585 GB, free: 3.316 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01202/18.87, allocations: 2.563 MB / 3.587 GB, free: 0.7461 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01842/18.89, allocations: 3.734 MB / 3.591 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000304/18.89, allocations: 19.83 kB / 3.591 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001508/18.89, allocations: 12 kB / 3.591 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002694/18.89, allocations: 123.9 kB / 3.591 GB, free: 12.53 MB / 0.9011 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.05413/18.94, allocations: 23.97 MB / 3.614 GB, free: 2.816 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008312/18.95, allocations: 2.704 MB / 3.617 GB, free: 28 kB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.038/19.99, allocations: 1.174 MB / 3.618 GB, free: 61.56 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00444/19.99, allocations: 3.614 MB / 3.622 GB, free: 57.53 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.977e-05/19.99, allocations: 61.17 kB / 3.622 GB, free: 57.49 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=244): time 8.075e-06/19.99, allocations: 1.375 kB / 3.622 GB, free: 57.49 MB / 0.9167 GB Notification: Performance of matching and sorting (n=254): time 0.08164/20.08, allocations: 9.915 MB / 3.631 GB, free: 55.13 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.03e-05/20.08, allocations: 133.2 kB / 3.632 GB, free: 55 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01077/20.09, allocations: 3.112 MB / 3.635 GB, free: 54.71 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0008946/20.09, allocations: 30.83 kB / 3.635 GB, free: 54.68 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.004457/20.09, allocations: 2.773 MB / 3.637 GB, free: 54.05 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001891/20.09, allocations: 0.8461 MB / 3.638 GB, free: 53.61 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000349/20.09, allocations: 1.344 kB / 3.638 GB, free: 53.61 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002783/20.09, allocations: 414.5 kB / 3.639 GB, free: 53.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003081/20.1, allocations: 0.8332 MB / 3.639 GB, free: 53.29 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004796/20.1, allocations: 1.798 MB / 3.641 GB, free: 52.14 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009111/20.11, allocations: 1.45 MB / 3.643 GB, free: 52.1 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.433e-05/20.11, allocations: 5.75 kB / 3.643 GB, free: 52.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=362) (initialization): time 0.0412/20.15, allocations: 4.484 MB / 3.647 GB, free: 51.67 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002733/20.16, allocations: 10.52 MB / 3.657 GB, free: 40.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001385/20.16, allocations: 19.34 kB / 3.657 GB, free: 40.71 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00223/20.16, allocations: 0.5048 MB / 3.658 GB, free: 40.67 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005422/20.16, allocations: 0.6059 MB / 3.658 GB, free: 40.67 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004646/20.17, allocations: 2.922 MB / 3.661 GB, free: 38.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01486/20.18, allocations: 416.5 kB / 3.662 GB, free: 38.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001552/20.19, allocations: 151 kB / 3.662 GB, free: 38.57 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/20.19, allocations: 6.969 kB / 3.662 GB, free: 38.57 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02376/20.21, allocations: 2.845 MB / 3.664 GB, free: 38.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001185/20.21, allocations: 21.52 kB / 3.665 GB, free: 38.43 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002791/20.21, allocations: 348.5 kB / 3.665 GB, free: 38.39 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008382/20.22, allocations: 0.6065 MB / 3.665 GB, free: 38.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0223/20.24, allocations: 7.339 MB / 3.673 GB, free: 33 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01455/20.26, allocations: 361.5 kB / 3.673 GB, free: 32.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001336/20.26, allocations: 142.2 kB / 3.673 GB, free: 32.98 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (320): * Single equations (assignments): 316 * 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: 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 9,1 12,1 9,1 12} Notification: Performance of prepare postOptimizeDAE: time 0.002596/20.26, allocations: 186.4 kB / 3.673 GB, free: 32.88 MB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05785/20.32, allocations: 3.807 MB / 3.677 GB, free: 32.41 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00348/20.32, allocations: 0.4916 MB / 3.677 GB, free: 32.16 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04303/20.37, allocations: 5.209 MB / 3.683 GB, free: 31.79 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001871/20.37, allocations: 48.59 kB / 3.683 GB, free: 31.79 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.767e-05/20.37, allocations: 0 / 3.683 GB, free: 31.79 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03478/20.4, allocations: 4.001 MB / 3.686 GB, free: 31.5 MB / 0.9167 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.05932/20.46, allocations: 10.11 MB / 3.696 GB, free: 29.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.349e-05/20.46, allocations: 7.625 kB / 3.696 GB, free: 29.62 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00367/20.46, allocations: 362.1 kB / 3.697 GB, free: 29.62 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003249/20.47, allocations: 0.7587 MB / 3.697 GB, free: 29.51 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007245/20.47, allocations: 51.81 kB / 3.698 GB, free: 29.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04018/20.51, allocations: 14.21 MB / 3.711 GB, free: 18.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.505e-05/20.51, allocations: 8.812 kB / 3.711 GB, free: 18.95 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03968/20.55, allocations: 7.124 MB / 3.718 GB, free: 17.12 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005192/20.55, allocations: 0.9303 MB / 3.719 GB, free: 16.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002633/20.56, allocations: 17.41 kB / 3.719 GB, free: 16.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01014/20.57, allocations: 453.8 kB / 3.72 GB, free: 16.73 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001328/20.57, allocations: 220.1 kB / 3.72 GB, free: 16.72 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008205/20.57, allocations: 123.1 kB / 3.72 GB, free: 16.72 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.007984/20.58, allocations: 2.306 MB / 3.722 GB, free: 16.54 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.112e-06/20.58, allocations: 0 / 3.722 GB, free: 16.54 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.02741/20.6, allocations: 3.058 MB / 3.725 GB, free: 16.54 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (244): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 14 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 14 {1 3,1 3,1 7,1 3,1 3,1 3,1 9,1 3,1 3,1 7,1 3,1 3,1 3,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.05712/20.66, allocations: 12.09 MB / 3.737 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01497/20.68, allocations: 4.652 MB / 3.742 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.637e-05/20.68, allocations: 4.906 kB / 3.742 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.006541/20.68, allocations: 2.049 MB / 3.744 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02903/20.71, allocations: 2.644 MB / 3.746 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03718/20.75, allocations: 8.716 MB / 3.755 GB, free: 8.719 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006486/20.76, allocations: 3.051 MB / 3.758 GB, free: 7.914 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.01635/20.77, allocations: 1.491 MB / 3.759 GB, free: 7.707 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007067/20.78, allocations: 2.529 MB / 3.762 GB, free: 7.703 MB / 0.9167 GB Notification: Performance of SimCode: time 1.563e-06/20.78, allocations: 0.6875 kB / 3.762 GB, free: 7.703 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5205/21.3, allocations: 171.9 MB / 3.93 GB, free: 0.9648 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003919/21.3, allocations: 174 kB / 3.93 GB, free: 0.7734 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 14.13/35.43, allocations: 0 / 3.93 GB, free: 0.7734 MB / 0.948 GB