Running command: "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,fileNamePrefix="Buildings_latest_Buildings_Examples_DualFanDualDuct_Controls_Examples_PreHeatCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.423/4.423, allocations: 464.6 MB / 476.8 MB, free: 2.113 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.706e-05/3.728e-05, allocations: 4 kB / 0.5732 GB, free: 5.609 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2479, allocations: 107.1 MB / 0.6778 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9062/1.154, allocations: 139.5 MB / 0.8141 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003582/1.155, allocations: 91.36 kB / 0.8142 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03461/1.189, allocations: 8.712 MB / 0.8227 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.635e-06/1.189, allocations: 0 / 0.8227 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.032e-05/1.189, allocations: 12.56 kB / 0.8227 GB, free: 11.18 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001861/1.191, allocations: 0.7471 MB / 0.8234 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/1.191, allocations: 7.688 kB / 0.8235 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001539/1.191, allocations: 84.27 kB / 0.8235 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/1.192, allocations: 66.11 kB / 0.8236 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007907/1.192, allocations: 413.4 kB / 0.824 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.405e-05/1.192, allocations: 40.48 kB / 0.824 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/1.193, allocations: 55.12 kB / 0.8241 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/1.194, allocations: 0.4955 MB / 0.8246 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/1.194, allocations: 0 / 0.8246 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.102e-05/1.194, allocations: 20.38 kB / 0.8246 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/1.194, allocations: 15.52 kB / 0.8246 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008709/1.195, allocations: 339.6 kB / 0.8249 GB, free: 10 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003317/1.198, allocations: 1.899 MB / 0.8268 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008586/1.199, allocations: 283.6 kB / 0.827 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003047/1.199, allocations: 135.5 kB / 0.8272 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.588e-05/1.199, allocations: 3.906 kB / 0.8272 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004532/1.2, allocations: 186.4 kB / 0.8274 GB, free: 8.629 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=34): time 3.316e-06/1.2, allocations: 0 / 0.8274 GB, free: 8.629 MB / 0.6355 GB Notification: Performance of matching and sorting (n=34): time 0.0008507/1.201, allocations: 288.2 kB / 0.8276 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/1.201, allocations: 118.2 kB / 0.8277 GB, free: 8.426 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006028/1.201, allocations: 364.9 kB / 0.8281 GB, free: 8.281 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.096e-05/1.202, allocations: 41.92 kB / 0.8281 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000195/1.202, allocations: 243.8 kB / 0.8284 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/1.202, allocations: 96.48 kB / 0.8285 GB, free: 8.039 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/1.202, allocations: 11.28 kB / 0.8285 GB, free: 8.039 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001006/1.202, allocations: 364.5 kB / 0.8288 GB, free: 7.699 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/1.202, allocations: 121.2 kB / 0.8289 GB, free: 7.695 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004104/1.203, allocations: 239.4 kB / 0.8292 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/1.203, allocations: 155.5 kB / 0.8293 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/1.203, allocations: 7.781 kB / 0.8293 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001055/1.204, allocations: 448.8 kB / 0.8297 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.505e-05/1.204, allocations: 32.83 kB / 0.8298 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.204, allocations: 3.781 kB / 0.8298 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.234e-05/1.204, allocations: 8.031 kB / 0.8298 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006581/1.205, allocations: 88.5 kB / 0.8299 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/1.205, allocations: 3.844 kB / 0.8299 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007271/1.206, allocations: 85.77 kB / 0.83 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.369e-05/1.206, allocations: 15.22 kB / 0.83 GB, free: 7.277 MB / 0.6355 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.0001867/1.206, allocations: 158.3 kB / 0.8301 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.894e-05/1.206, allocations: 39 kB / 0.8302 GB, free: 7.129 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009049/1.207, allocations: 329.3 kB / 0.8305 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/1.207, allocations: 7.906 kB / 0.8305 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.207, allocations: 0 / 0.8305 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/1.207, allocations: 7.922 kB / 0.8305 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/1.209, allocations: 0.9162 MB / 0.8314 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/1.209, allocations: 0 / 0.8314 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005574/1.209, allocations: 62.11 kB / 0.8314 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/1.209, allocations: 0 / 0.8314 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.094e-05/1.21, allocations: 7.562 kB / 0.8314 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/1.21, allocations: 3.938 kB / 0.8315 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.21, allocations: 0 / 0.8315 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/1.211, allocations: 0.5708 MB / 0.832 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004769/1.211, allocations: 150.9 kB / 0.8322 GB, free: 22.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.311e-05/1.211, allocations: 10.78 kB / 0.8322 GB, free: 22.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006539/1.212, allocations: 58.38 kB / 0.8322 GB, free: 22.18 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/1.212, allocations: 49.73 kB / 0.8323 GB, free: 22.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.98e-05/1.212, allocations: 11.64 kB / 0.8323 GB, free: 22.15 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004257/1.213, allocations: 262.5 kB / 0.8325 GB, free: 22.05 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.213, allocations: 0 / 0.8325 GB, free: 22.05 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00065/1.213, allocations: 94.66 kB / 0.8326 GB, free: 22.04 MB / 0.6511 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.001608/1.215, allocations: 1.21 MB / 0.8338 GB, free: 21.22 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009036/1.216, allocations: 359.7 kB / 0.8341 GB, free: 21.14 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.216, allocations: 0.8125 kB / 0.8341 GB, free: 21.14 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003786/1.216, allocations: 151.6 kB / 0.8343 GB, free: 21.12 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008016/1.217, allocations: 91.03 kB / 0.8344 GB, free: 21.09 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/1.219, allocations: 0.6302 MB / 0.835 GB, free: 20.78 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004578/1.22, allocations: 0.836 MB / 0.8358 GB, free: 20.01 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003599/1.22, allocations: 54.09 kB / 0.8359 GB, free: 19.98 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003368/1.22, allocations: 159.5 kB / 0.836 GB, free: 19.96 MB / 0.6511 GB Notification: Performance of SimCode: time 1.472e-06/1.22, allocations: 0 / 0.836 GB, free: 19.96 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0456/1.266, allocations: 8.872 MB / 0.8447 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002957/1.266, allocations: 179.9 kB / 0.8448 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.619/3.886, allocations: 4 kB / 0.8449 GB, free: 14.84 MB / 0.6511 GB