Running command: "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,fileNamePrefix="Buildings_6_0_0_Buildings_Examples_DualFanDualDuct_Controls_Examples_PreHeatCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.047/4.047, allocations: 432.7 MB / 444.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.633e-05/3.645e-05, allocations: 8.297 kB / 0.5338 GB, free: 12.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2242, allocations: 98.73 MB / 0.6302 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2497/0.474, allocations: 132.1 MB / 0.7592 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003531/0.4744, allocations: 91.94 kB / 0.7593 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03777/0.5122, allocations: 8.696 MB / 0.7678 GB, free: 9.047 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5123, allocations: 0 / 0.7678 GB, free: 9.047 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.567e-05/0.5123, allocations: 19.98 kB / 0.7678 GB, free: 9.027 MB / 0.6511 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.002082/0.5144, allocations: 0.7272 MB / 0.7685 GB, free: 8.246 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.5145, allocations: 8.031 kB / 0.7685 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001569/0.5147, allocations: 86.52 kB / 0.7686 GB, free: 8.145 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.5148, allocations: 63.23 kB / 0.7686 GB, free: 8.082 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008974/0.5157, allocations: 420.5 kB / 0.769 GB, free: 7.629 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.675e-05/0.5158, allocations: 37 kB / 0.7691 GB, free: 7.594 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.516, allocations: 55.94 kB / 0.7691 GB, free: 7.539 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.5173, allocations: 0.4951 MB / 0.7696 GB, free: 7.008 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.5173, allocations: 0 / 0.7696 GB, free: 7.008 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.671e-05/0.5174, allocations: 27.98 kB / 0.7696 GB, free: 6.98 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.5174, allocations: 15.95 kB / 0.7696 GB, free: 6.965 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.5185, allocations: 329.9 kB / 0.77 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00371/0.5222, allocations: 1.899 MB / 0.7718 GB, free: 4.664 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009829/0.5232, allocations: 291.2 kB / 0.7721 GB, free: 4.371 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003662/0.5236, allocations: 124.9 kB / 0.7722 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.215e-05/0.5236, allocations: 7.984 kB / 0.7722 GB, free: 4.238 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005077/0.5242, allocations: 181.3 kB / 0.7724 GB, free: 4.047 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=34): time 3.407e-06/0.5242, allocations: 0 / 0.7724 GB, free: 4.047 MB / 0.6511 GB Notification: Performance of matching and sorting (n=34): time 0.0008631/0.5251, allocations: 302.8 kB / 0.7727 GB, free: 3.746 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.328e-05/0.5252, allocations: 110.8 kB / 0.7728 GB, free: 3.613 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006248/0.5258, allocations: 354.7 kB / 0.7731 GB, free: 3.266 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.255e-05/0.5259, allocations: 49.69 kB / 0.7732 GB, free: 3.211 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002624/0.5262, allocations: 244.3 kB / 0.7734 GB, free: 2.969 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.5263, allocations: 94.7 kB / 0.7735 GB, free: 2.875 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.5264, allocations: 12 kB / 0.7735 GB, free: 2.863 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002033/0.5266, allocations: 358.7 kB / 0.7738 GB, free: 2.504 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000378/0.527, allocations: 117.1 kB / 0.774 GB, free: 2.391 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005386/0.5275, allocations: 245.7 kB / 0.7742 GB, free: 2.105 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004081/0.528, allocations: 159.2 kB / 0.7743 GB, free: 1.945 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.528, allocations: 4 kB / 0.7744 GB, free: 1.941 MB / 0.6511 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001131/0.5291, allocations: 447.5 kB / 0.7748 GB, free: 1.492 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005875/0.5297, allocations: 1.163 MB / 0.7759 GB, free: 240 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.5298, allocations: 4 kB / 0.7759 GB, free: 236 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.34e-05/0.5298, allocations: 4 kB / 0.7759 GB, free: 232 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006687/0.5305, allocations: 87.81 kB / 0.776 GB, free: 144 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/0.5305, allocations: 8 kB / 0.776 GB, free: 136 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007155/0.5312, allocations: 83.58 kB / 0.7761 GB, free: 52 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.614e-05/0.5313, allocations: 20 kB / 0.7761 GB, free: 32 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.5313, allocations: 8 kB / 0.7761 GB, free: 24 kB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5575/1.089, allocations: 388.3 kB / 0.7765 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/1.089, allocations: 3.188 kB / 0.7765 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/1.089, allocations: 6.062 kB / 0.7765 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00063/1.09, allocations: 78.69 kB / 0.7766 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/1.09, allocations: 9.844 kB / 0.7766 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007632/1.09, allocations: 68.62 kB / 0.7766 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.931e-05/1.091, allocations: 21.53 kB / 0.7767 GB, free: 137.9 MB / 0.6511 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.0002153/1.091, allocations: 147 kB / 0.7768 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/1.091, allocations: 40.64 kB / 0.7768 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009813/1.092, allocations: 328.4 kB / 0.7772 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/1.092, allocations: 9.578 kB / 0.7772 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.092, allocations: 0 / 0.7772 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/1.092, allocations: 3.25 kB / 0.7772 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/1.094, allocations: 0.9129 MB / 0.7781 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.8e-06/1.094, allocations: 5.312 kB / 0.7781 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005564/1.095, allocations: 58.14 kB / 0.7781 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/1.095, allocations: 5.672 kB / 0.7781 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-05/1.095, allocations: 8.047 kB / 0.7781 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/1.095, allocations: 5.094 kB / 0.7781 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.095, allocations: 2.125 kB / 0.7781 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/1.096, allocations: 0.5672 MB / 0.7787 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/1.096, allocations: 151.8 kB / 0.7788 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/1.097, allocations: 14.91 kB / 0.7789 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006946/1.097, allocations: 54.66 kB / 0.7789 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002361/1.098, allocations: 52.09 kB / 0.779 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.227e-05/1.098, allocations: 9.062 kB / 0.779 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005898/1.098, allocations: 266 kB / 0.7792 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.098, allocations: 0 / 0.7792 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001175/1.099, allocations: 161.4 kB / 0.7794 GB, free: 137.1 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.001789/1.101, allocations: 1.196 MB / 0.7805 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001658/1.103, allocations: 0.6226 MB / 0.7812 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.103, allocations: 0 / 0.7812 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004509/1.103, allocations: 148.8 kB / 0.7813 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007862/1.104, allocations: 86.17 kB / 0.7814 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/1.107, allocations: 0.6298 MB / 0.782 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/1.108, allocations: 0.8375 MB / 0.7828 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006811/1.108, allocations: 82.25 kB / 0.7829 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003928/1.109, allocations: 155.7 kB / 0.783 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.192e-06/1.109, allocations: 0 / 0.783 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04231/1.151, allocations: 9.715 MB / 0.7925 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/1.151, allocations: 170.9 kB / 0.7927 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.764/3.916, allocations: 0 / 0.7927 GB, free: 134.3 MB / 0.6511 GB