Running command: "" <> buildModelFMU(Buildings.Controls.Sources.Examples.DayType,fileNamePrefix="Buildings_latest_Buildings_Controls_Sources_Examples_DayType",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.174/4.174, allocations: 464.6 MB / 476.8 MB, free: 2.223 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.986e-05/4.995e-05, allocations: 4 kB / 0.5732 GB, free: 5.668 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.255, allocations: 107.2 MB / 0.6778 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9264/1.181, allocations: 132.4 MB / 0.8071 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/1.182, allocations: 73.22 kB / 0.8072 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0762/1.258, allocations: 18.83 MB / 0.8256 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.543e-06/1.258, allocations: 0 / 0.8256 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.997e-05/1.258, allocations: 3.844 kB / 0.8256 GB, free: 9.453 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001113/1.259, allocations: 0.5923 MB / 0.8262 GB, free: 8.867 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/1.259, allocations: 11.59 kB / 0.8262 GB, free: 8.867 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.016e-05/1.259, allocations: 45.89 kB / 0.8262 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.295e-05/1.259, allocations: 30.91 kB / 0.8262 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/1.26, allocations: 251.3 kB / 0.8265 GB, free: 8.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/1.26, allocations: 19.66 kB / 0.8265 GB, free: 8.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.785e-05/1.26, allocations: 15.34 kB / 0.8265 GB, free: 8.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007071/1.261, allocations: 449.8 kB / 0.8269 GB, free: 8.426 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/1.261, allocations: 3.938 kB / 0.8269 GB, free: 8.422 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/1.261, allocations: 3.688 kB / 0.827 GB, free: 8.422 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/1.261, allocations: 3.844 kB / 0.827 GB, free: 8.422 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004972/1.261, allocations: 313.9 kB / 0.8273 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007081/1.262, allocations: 0.5542 MB / 0.8278 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/1.263, allocations: 1.025 MB / 0.8288 GB, free: 7.832 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009603/1.264, allocations: 0.6588 MB / 0.8294 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.489e-05/1.265, allocations: 8.375 kB / 0.8294 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007285/1.265, allocations: 484.8 kB / 0.8299 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=37): time 3.086e-06/1.265, allocations: 0 / 0.8299 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37): time 0.001464/1.267, allocations: 0.7777 MB / 0.8307 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/1.267, allocations: 140.2 kB / 0.8308 GB, free: 7.203 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/1.267, allocations: 232.2 kB / 0.831 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/1.267, allocations: 38.39 kB / 0.8311 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.048e-05/1.267, allocations: 121.1 kB / 0.8312 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.821e-05/1.267, allocations: 76.94 kB / 0.8313 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/1.267, allocations: 6.375 kB / 0.8313 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.109e-05/1.268, allocations: 347 kB / 0.8316 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005228/1.268, allocations: 337.1 kB / 0.8319 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005604/1.269, allocations: 407.8 kB / 0.8323 GB, free: 6.398 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005987/1.269, allocations: 359.8 kB / 0.8326 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/1.269, allocations: 0 / 0.8326 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001399/1.271, allocations: 0.8145 MB / 0.8334 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/1.271, allocations: 7.953 kB / 0.8334 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/1.271, allocations: 8 kB / 0.8335 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/1.271, allocations: 3.812 kB / 0.8335 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/1.271, allocations: 38.44 kB / 0.8335 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/1.271, allocations: 7.875 kB / 0.8335 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003976/1.271, allocations: 30.67 kB / 0.8335 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003248/1.272, allocations: 214 kB / 0.8337 GB, free: 6.016 MB / 0.6355 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.0001752/1.272, allocations: 153.3 kB / 0.8339 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.183e-05/1.272, allocations: 30.91 kB / 0.8339 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/1.272, allocations: 38.08 kB / 0.8339 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/1.272, allocations: 7.844 kB / 0.834 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/1.272, allocations: 0 / 0.834 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/1.272, allocations: 4.125 kB / 0.834 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002447/1.275, allocations: 1.687 MB / 0.8356 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/1.275, allocations: 0 / 0.8356 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.672e-05/1.275, allocations: 26.72 kB / 0.8356 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/1.275, allocations: 3.75 kB / 0.8356 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.253e-05/1.275, allocations: 22.81 kB / 0.8357 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/1.275, allocations: 3.875 kB / 0.8357 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.275, allocations: 0 / 0.8357 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/1.276, allocations: 1.149 MB / 0.8368 GB, free: 20.53 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.195e-05/1.277, allocations: 96.36 kB / 0.8369 GB, free: 20.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.895e-05/1.277, allocations: 14.97 kB / 0.8369 GB, free: 20.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003827/1.277, allocations: 19.09 kB / 0.8369 GB, free: 20.41 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/1.277, allocations: 44.38 kB / 0.8369 GB, free: 20.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003245/1.277, allocations: 224.7 kB / 0.8372 GB, free: 20.28 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002236/1.278, allocations: 174.7 kB / 0.8373 GB, free: 20.19 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.81e-07/1.278, allocations: 0 / 0.8373 GB, free: 20.19 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007006/1.278, allocations: 59.56 kB / 0.8374 GB, free: 20.19 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.001992/1.28, allocations: 1.952 MB / 0.8393 GB, free: 18.88 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001257/1.282, allocations: 0.7139 MB / 0.84 GB, free: 18.78 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/1.282, allocations: 3.938 kB / 0.84 GB, free: 18.78 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007016/1.282, allocations: 400.2 kB / 0.8404 GB, free: 18.72 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/1.285, allocations: 319.2 kB / 0.8407 GB, free: 18.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/1.287, allocations: 0.9162 MB / 0.8416 GB, free: 18.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000451/1.287, allocations: 0.766 MB / 0.8423 GB, free: 17.57 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004589/1.288, allocations: 104.7 kB / 0.8424 GB, free: 17.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/1.288, allocations: 119.8 kB / 0.8425 GB, free: 17.49 MB / 0.6511 GB Notification: Performance of SimCode: time 1.112e-06/1.288, allocations: 0 / 0.8425 GB, free: 17.49 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03762/1.326, allocations: 10.37 MB / 0.8527 GB, free: 7.402 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002933/1.326, allocations: 163.3 kB / 0.8528 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.638/3.964, allocations: 0 / 0.8528 GB, free: 7.168 MB / 0.6511 GB