Running command: "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_DualFanDualDuct_Controls_Examples_PreHeatCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.613/4.613, allocations: 460.4 MB / 472.6 MB, free: 5.391 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.51e-05/3.515e-05, allocations: 4 kB / 0.5682 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.304, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8963/1.2, allocations: 139.2 MB / 0.8078 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/1.201, allocations: 91.69 kB / 0.8079 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03446/1.235, allocations: 8.75 MB / 0.8165 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.214e-06/1.235, allocations: 0 / 0.8165 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.89e-05/1.235, allocations: 11.81 kB / 0.8165 GB, free: 11.86 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.001906/1.237, allocations: 0.7404 MB / 0.8172 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/1.237, allocations: 7.531 kB / 0.8172 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001457/1.237, allocations: 92.25 kB / 0.8173 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/1.238, allocations: 62.06 kB / 0.8174 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007684/1.238, allocations: 413.2 kB / 0.8178 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.667e-05/1.238, allocations: 44.97 kB / 0.8178 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/1.239, allocations: 50.83 kB / 0.8178 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/1.24, allocations: 0.4999 MB / 0.8183 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/1.24, allocations: 0 / 0.8183 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.158e-05/1.24, allocations: 21.22 kB / 0.8184 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/1.24, allocations: 15.53 kB / 0.8184 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008773/1.241, allocations: 330.2 kB / 0.8187 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003246/1.244, allocations: 1.9 MB / 0.8205 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009048/1.245, allocations: 294.5 kB / 0.8208 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/1.245, allocations: 132.8 kB / 0.8209 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.484e-05/1.245, allocations: 3.875 kB / 0.821 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004461/1.246, allocations: 187.7 kB / 0.8211 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=34): time 4.068e-06/1.246, allocations: 0 / 0.8211 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=34): time 0.0008098/1.247, allocations: 297.2 kB / 0.8214 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/1.247, allocations: 110.7 kB / 0.8215 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005559/1.247, allocations: 367.7 kB / 0.8219 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.65e-05/1.247, allocations: 40.36 kB / 0.8219 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/1.248, allocations: 246.5 kB / 0.8221 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.895e-05/1.248, allocations: 99.84 kB / 0.8222 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/1.248, allocations: 6.562 kB / 0.8222 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.431e-05/1.248, allocations: 351.8 kB / 0.8226 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003481/1.248, allocations: 126.8 kB / 0.8227 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004072/1.249, allocations: 239.3 kB / 0.8229 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003536/1.249, allocations: 151.6 kB / 0.8231 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.249, allocations: 4 kB / 0.8231 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009974/1.25, allocations: 451.8 kB / 0.8235 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.999e-05/1.25, allocations: 36.83 kB / 0.8235 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.25, allocations: 3.844 kB / 0.8235 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/1.25, allocations: 3.969 kB / 0.8236 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006201/1.251, allocations: 93.84 kB / 0.8236 GB, free: 8.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/1.251, allocations: 11.64 kB / 0.8237 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007053/1.252, allocations: 81.2 kB / 0.8237 GB, free: 8.305 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.336e-05/1.252, allocations: 23.11 kB / 0.8238 GB, free: 8.301 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.0001827/1.252, allocations: 149.2 kB / 0.8239 GB, free: 8.18 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.968e-05/1.252, allocations: 38.75 kB / 0.8239 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/1.253, allocations: 335.6 kB / 0.8243 GB, free: 24.07 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/1.253, allocations: 7.906 kB / 0.8243 GB, free: 24.07 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.253, allocations: 0 / 0.8243 GB, free: 24.07 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/1.253, allocations: 7.891 kB / 0.8243 GB, free: 24.06 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/1.255, allocations: 0.9135 MB / 0.8252 GB, free: 23.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/1.255, allocations: 0 / 0.8252 GB, free: 23.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005238/1.256, allocations: 65.67 kB / 0.8252 GB, free: 23.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.226e-06/1.256, allocations: 0 / 0.8252 GB, free: 23.57 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.858e-05/1.256, allocations: 11.11 kB / 0.8252 GB, free: 23.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/1.256, allocations: 7.828 kB / 0.8252 GB, free: 23.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.256, allocations: 0 / 0.8252 GB, free: 23.57 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/1.257, allocations: 0.5593 MB / 0.8258 GB, free: 23.36 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002462/1.257, allocations: 160.8 kB / 0.8259 GB, free: 23.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.359e-05/1.257, allocations: 7.094 kB / 0.8259 GB, free: 23.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006436/1.258, allocations: 62.41 kB / 0.826 GB, free: 23.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/1.258, allocations: 41.91 kB / 0.826 GB, free: 23.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/1.258, allocations: 15.23 kB / 0.8261 GB, free: 23.18 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004109/1.259, allocations: 260.2 kB / 0.8263 GB, free: 23.08 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.71e-07/1.259, allocations: 0 / 0.8263 GB, free: 23.08 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000633/1.259, allocations: 96.83 kB / 0.8264 GB, free: 23.07 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.00163/1.261, allocations: 1.211 MB / 0.8276 GB, free: 22.24 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008827/1.262, allocations: 363.7 kB / 0.8279 GB, free: 22.16 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/1.262, allocations: 0.8125 kB / 0.8279 GB, free: 22.16 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003734/1.262, allocations: 145.9 kB / 0.8281 GB, free: 22.15 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009073/1.263, allocations: 80.72 kB / 0.8281 GB, free: 22.12 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/1.266, allocations: 0.6213 MB / 0.8288 GB, free: 21.81 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006345/1.266, allocations: 0.8388 MB / 0.8296 GB, free: 21.04 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004811/1.267, allocations: 50.27 kB / 0.8296 GB, free: 21.02 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004613/1.267, allocations: 159.4 kB / 0.8298 GB, free: 21 MB / 0.6511 GB Notification: Performance of SimCode: time 1.152e-06/1.267, allocations: 3.938 kB / 0.8298 GB, free: 21 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0902/1.358, allocations: 8.871 MB / 0.8384 GB, free: 16.74 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002325/1.358, allocations: 172 kB / 0.8386 GB, free: 16.51 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.573/3.931, allocations: 0 / 0.8386 GB, free: 16.51 MB / 0.6511 GB