Running command: "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,fileNamePrefix="Buildings_5_0_1_Buildings_Examples_DualFanDualDuct_Controls_Examples_PreHeatCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.912/3.912, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.624e-05/3.642e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.598/0.5981, allocations: 92.69 MB / 0.5897 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2326/0.8307, allocations: 127.7 MB / 0.7144 GB, free: 14.49 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/0.8311, allocations: 87.94 kB / 0.7145 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.03696/0.8681, allocations: 8.687 MB / 0.7229 GB, free: 5.691 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8681, allocations: 0 / 0.7229 GB, free: 5.691 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.33e-05/0.8682, allocations: 8 kB / 0.723 GB, free: 5.684 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002119/0.8703, allocations: 0.747 MB / 0.7237 GB, free: 4.883 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.8704, allocations: 15.97 kB / 0.7237 GB, free: 4.867 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001933/0.8706, allocations: 78.53 kB / 0.7238 GB, free: 4.781 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.8708, allocations: 63.25 kB / 0.7238 GB, free: 4.719 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009166/0.8717, allocations: 416.5 kB / 0.7242 GB, free: 4.273 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.376e-05/0.8718, allocations: 40.94 kB / 0.7243 GB, free: 4.234 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.872, allocations: 55.98 kB / 0.7243 GB, free: 4.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.8734, allocations: 0.4912 MB / 0.7248 GB, free: 3.652 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.8734, allocations: 0 / 0.7248 GB, free: 3.652 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.287e-05/0.8735, allocations: 23.95 kB / 0.7248 GB, free: 3.629 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.8736, allocations: 16 kB / 0.7248 GB, free: 3.613 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.8746, allocations: 333.8 kB / 0.7252 GB, free: 3.285 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003821/0.8784, allocations: 1.884 MB / 0.727 GB, free: 1.324 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009798/0.8795, allocations: 287.2 kB / 0.7273 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/0.8799, allocations: 132.8 kB / 0.7274 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.73e-05/0.8799, allocations: 7.984 kB / 0.7274 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005511/0.8805, allocations: 193.1 kB / 0.7276 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=34): time 3.737e-06/0.8805, allocations: 0 / 0.7276 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34): time 0.0009184/0.8814, allocations: 287.1 kB / 0.7279 GB, free: 416 kB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.577e-05/0.8815, allocations: 118.8 kB / 0.728 GB, free: 272 kB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006721/0.8822, allocations: 354.7 kB / 0.7283 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.804e-05/0.8823, allocations: 45.69 kB / 0.7284 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.8826, allocations: 244.2 kB / 0.7286 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.8828, allocations: 94.78 kB / 0.7287 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.8828, allocations: 12 kB / 0.7287 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.883, allocations: 358.7 kB / 0.729 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000392/0.8834, allocations: 125.1 kB / 0.7292 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004924/0.8839, allocations: 237.7 kB / 0.7294 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004376/0.8844, allocations: 159.2 kB / 0.7295 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.8844, allocations: 0 / 0.7295 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001193/0.8856, allocations: 455.3 kB / 0.73 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000513/0.8861, allocations: 1.159 MB / 0.7311 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.8861, allocations: 7.938 kB / 0.7311 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-05/0.8862, allocations: 7.984 kB / 0.7311 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006676/0.8869, allocations: 79.89 kB / 0.7312 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.18e-05/0.8869, allocations: 11.89 kB / 0.7312 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007657/0.8877, allocations: 83.62 kB / 0.7313 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.019e-05/0.8878, allocations: 23.94 kB / 0.7313 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.8878, allocations: 4 kB / 0.7313 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00107/0.8889, allocations: 385.3 kB / 0.7317 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.8889, allocations: 4 kB / 0.7317 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.8889, allocations: 4 kB / 0.7317 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000567/0.8895, allocations: 80.2 kB / 0.7318 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.8895, allocations: 11.98 kB / 0.7318 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007181/0.8903, allocations: 63.66 kB / 0.7318 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.694e-05/0.8903, allocations: 27.92 kB / 0.7319 GB, free: 12.1 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.preHeatCoil.toOn.enableFire,$PRE.preHeatCoil.toOff.enableFire,preHeatCoil.stateGraphRoot.resume,preHeatCoil.stateGraphRoot.suspend,$whenCondition2,$whenCondition1,$PRE.TMix.T_start,TMix.T_start,$PRE.TMix.count,TMix.count,$PRE.preHeatCoil.preHeaOn.y,preHeatCoil.preHeaOn.y,$PRE.preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.localActive,$PRE.preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.newActive,$PRE.preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.active,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,$PRE.preHeatCoil.pumOn.localActive,preHeatCoil.pumOn.localActive,$PRE.preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.newActive,$PRE.preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.enableFire,preHeatCoil.toOff.fire,$PRE.preHeatCoil.toOff.t_start,preHeatCoil.toOff.t_start,preHeatCoil.preHeaCoiCon.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002286/0.8906, allocations: 152.8 kB / 0.732 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.8907, allocations: 43.44 kB / 0.732 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000971/0.8917, allocations: 337.7 kB / 0.7324 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.8917, allocations: 4 kB / 0.7324 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.8917, allocations: 0 / 0.7324 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.8917, allocations: 0 / 0.7324 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/0.8938, allocations: 0.9173 MB / 0.7333 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.8939, allocations: 0 / 0.7333 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005375/0.8944, allocations: 59.89 kB / 0.7333 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.8945, allocations: 0 / 0.7333 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.152e-05/0.8945, allocations: 8.031 kB / 0.7333 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.8945, allocations: 7.984 kB / 0.7333 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.8945, allocations: 0 / 0.7333 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.8959, allocations: 0.5634 MB / 0.7339 GB, free: 9.922 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002483/0.8962, allocations: 152.6 kB / 0.734 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.8963, allocations: 8 kB / 0.734 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006691/0.897, allocations: 59.98 kB / 0.7341 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/0.8972, allocations: 47.94 kB / 0.7341 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.497e-05/0.8972, allocations: 15.94 kB / 0.7342 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004747/0.8977, allocations: 269.2 kB / 0.7344 GB, free: 9.359 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.01e-07/0.8977, allocations: 0 / 0.7344 GB, free: 9.359 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000937/0.8987, allocations: 151.7 kB / 0.7346 GB, free: 9.211 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (preHeatCoil.preHeaCoiCon.I.y) * Number of discrete variables: 20 (preHeatCoil.toOff.enableFire,preHeatCoil.pumOn.localActive,preHeatCoil.pumOff.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,TMix.T_start,TMix.count,preHeatCoil.preHeaOn.y,preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.active,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.fire,preHeatCoil.toOff.t_start) * Number of discrete states: 4 (TMix.count,preHeatCoil.pumOff.newActive,preHeatCoil.pumOn.newActive,preHeatCoil.preHeaOn.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001771/0.9005, allocations: 1.215 MB / 0.7358 GB, free: 7.961 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001623/0.9021, allocations: 0.6138 MB / 0.7364 GB, free: 7.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.9022, allocations: 0 / 0.7364 GB, free: 7.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000464/0.9026, allocations: 149.4 kB / 0.7365 GB, free: 7.176 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007941/0.9034, allocations: 86.09 kB / 0.7366 GB, free: 7.094 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.9057, allocations: 0.6388 MB / 0.7372 GB, free: 6.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.9063, allocations: 0.8363 MB / 0.738 GB, free: 5.547 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006525/0.9069, allocations: 85.33 kB / 0.7381 GB, free: 5.465 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003777/0.9073, allocations: 151.4 kB / 0.7382 GB, free: 5.316 MB / 0.6198 GB Notification: Performance of SimCode: time 1.112e-06/0.9073, allocations: 0 / 0.7382 GB, free: 5.316 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04851/0.9559, allocations: 9.701 MB / 0.7477 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003535/0.9563, allocations: 176.2 kB / 0.7479 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.837/3.793, allocations: 0 / 0.7479 GB, free: 11.49 MB / 0.6355 GB