Running command: "" <> buildModelFMU(Buildings.Controls.Sources.Examples.DayType,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_Sources_Examples_DayType",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.761/3.761, allocations: 403.3 MB / 415.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.058e-05/5.07e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6312/0.6313, allocations: 92.69 MB / 0.5896 GB, free: 14.35 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2657/0.897, allocations: 120.8 MB / 0.7076 GB, free: 5.422 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/0.8974, allocations: 67.97 kB / 0.7076 GB, free: 5.355 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.08659/0.984, allocations: 18.81 MB / 0.726 GB, free: 2.516 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.664e-06/0.984, allocations: 4 kB / 0.726 GB, free: 2.512 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.52e-05/0.9841, allocations: 11.94 kB / 0.726 GB, free: 2.5 MB / 0.6042 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.001268/0.9854, allocations: 0.592 MB / 0.7266 GB, free: 1.836 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.569e-05/0.9854, allocations: 8.031 kB / 0.7266 GB, free: 1.828 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.153e-05/0.9855, allocations: 58.44 kB / 0.7267 GB, free: 1.762 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.817e-05/0.9856, allocations: 27.62 kB / 0.7267 GB, free: 1.734 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004432/0.9861, allocations: 249.8 kB / 0.7269 GB, free: 1.453 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.854e-05/0.9861, allocations: 12.22 kB / 0.727 GB, free: 1.441 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.637e-05/0.9862, allocations: 20 kB / 0.727 GB, free: 1.422 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008835/0.9871, allocations: 450.5 kB / 0.7274 GB, free: 0.9648 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.9871, allocations: 4 kB / 0.7274 GB, free: 0.9609 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.9872, allocations: 8 kB / 0.7274 GB, free: 0.9531 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.9872, allocations: 7.953 kB / 0.7274 GB, free: 0.9453 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006391/0.9879, allocations: 315.8 kB / 0.7277 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009392/0.9888, allocations: 0.5509 MB / 0.7283 GB, free: 28 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001997/0.9908, allocations: 1.018 MB / 0.7293 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/0.9921, allocations: 0.6633 MB / 0.7299 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.41e-05/0.9922, allocations: 4 kB / 0.7299 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008972/0.9931, allocations: 466.3 kB / 0.7304 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=37): time 5.129e-06/0.9931, allocations: 0 / 0.7304 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37): time 0.001748/0.9949, allocations: 0.7879 MB / 0.7311 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.995, allocations: 140.5 kB / 0.7313 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003614/0.9954, allocations: 236.9 kB / 0.7315 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.962e-05/0.9955, allocations: 37.7 kB / 0.7315 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.9956, allocations: 124.9 kB / 0.7316 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.9957, allocations: 79.05 kB / 0.7317 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.9957, allocations: 8 kB / 0.7317 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.9959, allocations: 342.8 kB / 0.732 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006659/0.9966, allocations: 324.7 kB / 0.7324 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007424/0.9974, allocations: 413.6 kB / 0.7327 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007924/0.9982, allocations: 363.8 kB / 0.7331 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.9982, allocations: 0 / 0.7331 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00177/1, allocations: 0.8249 MB / 0.7339 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/1, allocations: 4 kB / 0.7339 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/1, allocations: 4 kB / 0.7339 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.697e-05/1, allocations: 4 kB / 0.7339 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/1, allocations: 43.84 kB / 0.734 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/1, allocations: 4 kB / 0.734 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004105/1.001, allocations: 23.88 kB / 0.734 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004404/1.001, allocations: 215.6 kB / 0.7342 GB, free: 9.777 MB / 0.6198 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.0003424/1.002, allocations: 152.4 kB / 0.7343 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/1.002, allocations: 31.62 kB / 0.7344 GB, free: 9.594 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/1.002, allocations: 37.95 kB / 0.7344 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/1.002, allocations: 4.281 kB / 0.7344 GB, free: 9.551 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/1.002, allocations: 4.062 kB / 0.7344 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/1.002, allocations: 4 kB / 0.7344 GB, free: 9.543 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003248/1.005, allocations: 1.696 MB / 0.7361 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/1.005, allocations: 0 / 0.7361 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.058e-05/1.005, allocations: 27.91 kB / 0.7361 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/1.005, allocations: 0 / 0.7361 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.894e-05/1.005, allocations: 23.92 kB / 0.7361 GB, free: 7.738 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.565e-06/1.005, allocations: 4 kB / 0.7361 GB, free: 7.734 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/1.006, allocations: 0 / 0.7361 GB, free: 7.734 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/1.007, allocations: 1.146 MB / 0.7372 GB, free: 6.551 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/1.007, allocations: 100.7 kB / 0.7373 GB, free: 6.434 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.984e-05/1.008, allocations: 19.98 kB / 0.7374 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000387/1.008, allocations: 4 kB / 0.7374 GB, free: 6.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/1.008, allocations: 47.94 kB / 0.7374 GB, free: 6.363 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004341/1.009, allocations: 227.7 kB / 0.7376 GB, free: 6.141 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002637/1.009, allocations: 165.4 kB / 0.7378 GB, free: 5.977 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.4e-07/1.009, allocations: 0 / 0.7378 GB, free: 5.977 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008091/1.01, allocations: 64 kB / 0.7378 GB, free: 5.914 MB / 0.6198 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.00239/1.012, allocations: 1.951 MB / 0.7397 GB, free: 3.926 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001618/1.014, allocations: 0.7144 MB / 0.7404 GB, free: 3.211 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/1.014, allocations: 0 / 0.7404 GB, free: 3.211 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008745/1.015, allocations: 409 kB / 0.7408 GB, free: 2.812 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002456/1.017, allocations: 319.5 kB / 0.7411 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/1.02, allocations: 0.9208 MB / 0.742 GB, free: 1.551 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004976/1.02, allocations: 0.7686 MB / 0.7428 GB, free: 0.7578 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005144/1.021, allocations: 94.91 kB / 0.7429 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/1.021, allocations: 119.3 kB / 0.743 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of SimCode: time 1.112e-06/1.021, allocations: 0 / 0.743 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04289/1.064, allocations: 10.37 MB / 0.7531 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002958/1.064, allocations: 145.3 kB / 0.7533 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.54/3.605, allocations: 4.062 kB / 0.7533 GB, free: 6.098 MB / 0.6355 GB