Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.403/4.403, allocations: 404.2 MB / 411.3 MB, free: 392 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.541e-05/2.552e-05, allocations: 3.984 kB / 0.4945 GB, free: 1.305 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6658/0.6658, allocations: 92.68 MB / 0.585 GB, free: 2.305 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2322/0.8981, allocations: 120.1 MB / 0.7023 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.8985, allocations: 79.88 kB / 0.7024 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01857/0.9171, allocations: 3.266 MB / 0.7056 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9171, allocations: 0 / 0.7056 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.347e-06/0.9171, allocations: 4 kB / 0.7056 GB, free: 6.703 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001402/0.9185, allocations: 0.5304 MB / 0.7061 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.9186, allocations: 8.031 kB / 0.7061 GB, free: 6.109 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.9188, allocations: 39.78 kB / 0.7061 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000962/0.9197, allocations: 266.8 kB / 0.7064 GB, free: 5.77 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.169e-05/0.9198, allocations: 8 kB / 0.7064 GB, free: 5.762 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.9199, allocations: 23.98 kB / 0.7064 GB, free: 5.738 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002974/0.9202, allocations: 83.92 kB / 0.7065 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005628/0.9208, allocations: 232.9 kB / 0.7067 GB, free: 5.41 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.9208, allocations: 4 kB / 0.7067 GB, free: 5.406 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.373e-05/0.9209, allocations: 3.984 kB / 0.7067 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.9209, allocations: 4 kB / 0.7067 GB, free: 5.398 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005782/0.9215, allocations: 348.4 kB / 0.7071 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004658/0.922, allocations: 214.4 kB / 0.7073 GB, free: 4.766 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.9223, allocations: 115.8 kB / 0.7074 GB, free: 4.641 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.9223, allocations: 4 kB / 0.7074 GB, free: 4.637 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006018/0.9229, allocations: 252.2 kB / 0.7076 GB, free: 4.367 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=24): time 3.387e-06/0.923, allocations: 0 / 0.7076 GB, free: 4.367 MB / 0.5886 GB Notification: Performance of matching and sorting (n=24): time 0.001141/0.9241, allocations: 393.1 kB / 0.708 GB, free: 3.977 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.894e-05/0.9242, allocations: 144.5 kB / 0.7081 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.9244, allocations: 134.7 kB / 0.7083 GB, free: 3.668 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.28e-05/0.9245, allocations: 45.69 kB / 0.7083 GB, free: 3.617 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.9246, allocations: 100.6 kB / 0.7084 GB, free: 3.516 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 9.753e-05/0.9247, allocations: 59.25 kB / 0.7085 GB, free: 3.457 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.053e-05/0.9248, allocations: 8 kB / 0.7085 GB, free: 3.449 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.9249, allocations: 330.8 kB / 0.7088 GB, free: 3.117 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004541/0.9254, allocations: 151.9 kB / 0.7089 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004929/0.9259, allocations: 203.1 kB / 0.7091 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000592/0.9265, allocations: 146 kB / 0.7093 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.9265, allocations: 0 / 0.7093 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001885/0.9284, allocations: 0.6248 MB / 0.7099 GB, free: 1.988 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.9285, allocations: 75.39 kB / 0.71 GB, free: 1.902 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.9286, allocations: 8.047 kB / 0.71 GB, free: 1.895 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.9286, allocations: 7.984 kB / 0.71 GB, free: 1.887 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.9288, allocations: 19.94 kB / 0.71 GB, free: 1.867 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.9288, allocations: 4 kB / 0.71 GB, free: 1.863 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007299/0.9296, allocations: 87.62 kB / 0.7101 GB, free: 1.777 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-05/0.9297, allocations: 20 kB / 0.7101 GB, free: 1.758 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition3,$whenCondition4,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.nexStaInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStoInd,$PRE.occSchWee.iPerSta,occSchWee.iPerSta,$PRE.occSchWee.iPerSto,occSchWee.iPerSto,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0002358/0.9299, allocations: 135.4 kB / 0.7102 GB, free: 1.621 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009794/0.9309, allocations: 385.1 kB / 0.7106 GB, free: 1.238 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.718e-05/0.931, allocations: 23.8 kB / 0.7106 GB, free: 1.215 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.832e-05/0.9311, allocations: 12.62 kB / 0.7106 GB, free: 1.207 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.9311, allocations: 0 / 0.7106 GB, free: 1.207 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.9311, allocations: 4 kB / 0.7106 GB, free: 1.203 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.9311, allocations: 4.062 kB / 0.7106 GB, free: 1.199 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.9314, allocations: 234 kB / 0.7109 GB, free: 0.9336 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.9315, allocations: 3.953 kB / 0.7109 GB, free: 0.9297 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.9316, allocations: 11.98 kB / 0.7109 GB, free: 0.918 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/0.9316, allocations: 4 kB / 0.7109 GB, free: 0.9141 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.451e-05/0.9317, allocations: 7.984 kB / 0.7109 GB, free: 0.9062 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.9317, allocations: 7.922 kB / 0.7109 GB, free: 0.8984 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.9317, allocations: 4 kB / 0.7109 GB, free: 0.8945 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.9327, allocations: 457.6 kB / 0.7113 GB, free: 412 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.514e-05/0.9328, allocations: 92.86 kB / 0.7114 GB, free: 300 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.9329, allocations: 15.98 kB / 0.7114 GB, free: 284 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002963/0.9332, allocations: 27.97 kB / 0.7115 GB, free: 256 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.956e-05/0.9333, allocations: 23.92 kB / 0.7115 GB, free: 232 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.862e-05/0.9334, allocations: 19.98 kB / 0.7115 GB, free: 212 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001057/0.9335, allocations: 111.2 kB / 0.7116 GB, free: 100 kB / 0.5886 GB Notification: Performance of sort global known variables: time 5.21e-07/0.9335, allocations: 0 / 0.7116 GB, free: 100 kB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005689/0.9341, allocations: 79.92 kB / 0.7117 GB, free: 20 kB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition4,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 14 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,occSchWee.occupied,occSchWee.tOcc,occSchWee.nexStaInd,occSchWee.iPerSta) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.001581/0.9357, allocations: 1.25 MB / 0.7129 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001313/0.937, allocations: 0.6393 MB / 0.7135 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.9371, allocations: 4 kB / 0.7135 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003519/0.9374, allocations: 137.2 kB / 0.7137 GB, free: 13.92 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.9377, allocations: 15.98 kB / 0.7137 GB, free: 13.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.9389, allocations: 349.9 kB / 0.714 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.9392, allocations: 0.7205 MB / 0.7147 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.246e-05/0.9393, allocations: 13.2 kB / 0.7147 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.9394, allocations: 39.42 kB / 0.7148 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of SimCode: time 9.21e-07/0.9394, allocations: 0 / 0.7148 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05013/0.9896, allocations: 4.256 MB / 0.7189 GB, free: 8.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003557/0.99, allocations: 150.1 kB / 0.7191 GB, free: 8.305 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.663/3.653, allocations: 3.938 kB / 0.7191 GB, free: 8.301 MB / 0.6042 GB