Running command: "" <> buildModelFMU(Buildings.Controls.Sources.Examples.DayType,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Sources_Examples_DayType",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.913/3.913, allocations: 432.7 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.017e-05/4.049e-05, allocations: 4.125 kB / 0.5338 GB, free: 12.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2102, allocations: 98.72 MB / 0.6302 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.23/0.4403, allocations: 125.1 MB / 0.7524 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/0.4406, allocations: 79.94 kB / 0.7524 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.09028/0.5309, allocations: 18.82 MB / 0.7708 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.402e-06/0.531, allocations: 0 / 0.7708 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.324e-05/0.531, allocations: 8 kB / 0.7708 GB, free: 5.926 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001263/0.5323, allocations: 0.5958 MB / 0.7714 GB, free: 5.258 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.5324, allocations: 8.031 kB / 0.7714 GB, free: 5.25 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.838e-05/0.5324, allocations: 50.55 kB / 0.7715 GB, free: 5.191 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.958e-05/0.5325, allocations: 31.58 kB / 0.7715 GB, free: 5.16 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004302/0.533, allocations: 249.7 kB / 0.7717 GB, free: 4.879 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.019e-05/0.533, allocations: 16.27 kB / 0.7718 GB, free: 4.863 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.954e-05/0.5331, allocations: 19.98 kB / 0.7718 GB, free: 4.844 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009214/0.534, allocations: 458.4 kB / 0.7722 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.5341, allocations: 0 / 0.7722 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/0.5341, allocations: 11.98 kB / 0.7722 GB, free: 4.367 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.5341, allocations: 4 kB / 0.7722 GB, free: 4.363 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000649/0.5348, allocations: 323.7 kB / 0.7725 GB, free: 4.047 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009472/0.5358, allocations: 0.547 MB / 0.7731 GB, free: 3.441 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/0.5378, allocations: 1.02 MB / 0.7741 GB, free: 2.387 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/0.5391, allocations: 0.6478 MB / 0.7747 GB, free: 1.727 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.119e-05/0.5391, allocations: 15.92 kB / 0.7747 GB, free: 1.711 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009169/0.5401, allocations: 466.7 kB / 0.7752 GB, free: 1.23 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=37): time 3.417e-06/0.5401, allocations: 0 / 0.7752 GB, free: 1.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37): time 0.001752/0.5419, allocations: 0.7859 MB / 0.7759 GB, free: 448 kB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.542, allocations: 140.5 kB / 0.7761 GB, free: 276 kB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004114/0.5424, allocations: 228.9 kB / 0.7763 GB, free: 36 kB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.5634/1.106, allocations: 33.22 kB / 0.7763 GB, free: 144.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/1.106, allocations: 121 kB / 0.7764 GB, free: 144.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/1.106, allocations: 73.19 kB / 0.7765 GB, free: 144.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/1.106, allocations: 7.75 kB / 0.7765 GB, free: 144.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001005/1.106, allocations: 347.5 kB / 0.7768 GB, free: 144.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007464/1.107, allocations: 324.1 kB / 0.7771 GB, free: 144.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008314/1.108, allocations: 416.5 kB / 0.7775 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007442/1.109, allocations: 361.7 kB / 0.7779 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/1.109, allocations: 1.25 kB / 0.7779 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001942/1.111, allocations: 0.8125 MB / 0.7787 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/1.111, allocations: 8.375 kB / 0.7787 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/1.111, allocations: 3.469 kB / 0.7787 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.306e-05/1.111, allocations: 5.156 kB / 0.7787 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/1.111, allocations: 44.3 kB / 0.7787 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-05/1.111, allocations: 8.359 kB / 0.7787 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004286/1.112, allocations: 24.56 kB / 0.7788 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005282/1.112, allocations: 211.8 kB / 0.779 GB, free: 144.1 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 45 ($PRE.dayTypMonThr.skipIDayIncrement,dayTypMonThr.skipIDayIncrement,$whenCondition4,dayTypMonThr.sampleTrigger,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],$PRE.dayTypMonThr.iDay,dayTypMonThr.iDay,$PRE.dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.skipIDayIncrement,$whenCondition3,dayTypTwoWeeks.sampleTrigger,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],$PRE.dayTypTwoWeeks.iDay,dayTypTwoWeeks.iDay,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,$whenCondition2,dayTypSat.sampleTrigger,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$PRE.dayTypMon.skipIDayIncrement,dayTypMon.skipIDayIncrement,$whenCondition1,dayTypMon.sampleTrigger,dayTypMon.y[1],dayTypMon.y[2],$PRE.dayTypMon.iDay,dayTypMon.iDay) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002085/1.112, allocations: 155.5 kB / 0.7791 GB, free: 144 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.477e-05/1.113, allocations: 33.33 kB / 0.7791 GB, free: 144 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/1.113, allocations: 37.62 kB / 0.7792 GB, free: 144 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/1.113, allocations: 3.938 kB / 0.7792 GB, free: 144 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/1.113, allocations: 1.609 kB / 0.7792 GB, free: 144 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/1.113, allocations: 3.516 kB / 0.7792 GB, free: 144 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002986/1.116, allocations: 1.703 MB / 0.7809 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/1.116, allocations: 1.125 kB / 0.7809 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.009e-05/1.116, allocations: 19.05 kB / 0.7809 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.351e-05/1.116, allocations: 2.312 kB / 0.7809 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.583e-05/1.116, allocations: 23.02 kB / 0.7809 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.106e-06/1.116, allocations: 2.016 kB / 0.7809 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.116, allocations: 5.234 kB / 0.7809 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/1.118, allocations: 1.144 MB / 0.782 GB, free: 143 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.148e-05/1.118, allocations: 103 kB / 0.7821 GB, free: 142.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.732e-05/1.118, allocations: 15.34 kB / 0.7821 GB, free: 142.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004121/1.118, allocations: 12.56 kB / 0.7821 GB, free: 142.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/1.119, allocations: 47.16 kB / 0.7822 GB, free: 142.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004648/1.119, allocations: 221.1 kB / 0.7824 GB, free: 142.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002526/1.119, allocations: 169.9 kB / 0.7826 GB, free: 142.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.31e-07/1.119, allocations: 5.438 kB / 0.7826 GB, free: 142.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007981/1.12, allocations: 66.02 kB / 0.7826 GB, free: 142.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 37 (dayTypMon.sampleTrigger,$whenCondition1,dayTypMon.y[1],dayTypMon.y[2],dayTypMon.iDay,dayTypMon.skipIDayIncrement,dayTypSat.sampleTrigger,$whenCondition2,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement,dayTypTwoWeeks.sampleTrigger,$whenCondition3,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],dayTypTwoWeeks.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypMonThr.sampleTrigger,$whenCondition4,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],dayTypMonThr.iDay,dayTypMonThr.skipIDayIncrement) * Number of discrete states: 8 (dayTypMonThr.skipIDayIncrement,dayTypMonThr.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.iDay,dayTypSat.skipIDayIncrement,dayTypSat.iDay,dayTypMon.skipIDayIncrement,dayTypMon.iDay) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00215/1.122, allocations: 1.947 MB / 0.7845 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001619/1.124, allocations: 0.7186 MB / 0.7852 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.124, allocations: 1.156 kB / 0.7852 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008595/1.125, allocations: 401.5 kB / 0.7856 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002733/1.128, allocations: 308.8 kB / 0.7859 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/1.13, allocations: 0.9325 MB / 0.7868 GB, free: 141.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/1.13, allocations: 0.7646 MB / 0.7876 GB, free: 140.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005516/1.131, allocations: 98.98 kB / 0.7877 GB, free: 140.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/1.131, allocations: 116.9 kB / 0.7878 GB, free: 140.7 MB / 0.6511 GB Notification: Performance of SimCode: time 1.433e-06/1.131, allocations: 0 / 0.7878 GB, free: 140.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04523/1.177, allocations: 10.39 MB / 0.7979 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/1.177, allocations: 153.3 kB / 0.7981 GB, free: 138 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.709/3.885, allocations: 3.938 kB / 0.7981 GB, free: 138 MB / 0.6511 GB