Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.591/4.591, allocations: 464.6 MB / 476.8 MB, free: 2.18 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.935e-05/3.93e-05, allocations: 0 / 0.5732 GB, free: 5.617 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.254, allocations: 107.2 MB / 0.6778 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9277/1.182, allocations: 132.3 MB / 0.807 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/1.182, allocations: 86.52 kB / 0.8071 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009427/1.192, allocations: 2.361 MB / 0.8094 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/1.192, allocations: 3.938 kB / 0.8094 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.267e-06/1.192, allocations: 3.812 kB / 0.8094 GB, free: 11.64 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.000529/1.192, allocations: 437.8 kB / 0.8098 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/1.192, allocations: 7.688 kB / 0.8098 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.726e-05/1.192, allocations: 43.31 kB / 0.8099 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/1.192, allocations: 14.48 kB / 0.8099 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.28e-05/1.193, allocations: 178.7 kB / 0.8101 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/1.193, allocations: 7.188 kB / 0.8101 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/1.193, allocations: 7.047 kB / 0.8101 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003364/1.193, allocations: 175.2 kB / 0.8103 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/1.193, allocations: 0 / 0.8103 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/1.193, allocations: 6.906 kB / 0.8103 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/1.193, allocations: 0 / 0.8103 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/1.193, allocations: 73.52 kB / 0.8103 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002262/1.193, allocations: 232.7 kB / 0.8106 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/1.194, allocations: 139 kB / 0.8107 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/1.194, allocations: 116.3 kB / 0.8108 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/1.194, allocations: 3.938 kB / 0.8108 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003297/1.194, allocations: 201.6 kB / 0.811 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=39): time 2.455e-06/1.194, allocations: 0 / 0.811 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39): time 0.0007511/1.195, allocations: 451 kB / 0.8114 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.965e-05/1.195, allocations: 92.88 kB / 0.8115 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.551e-05/1.195, allocations: 106.4 kB / 0.8116 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.115e-05/1.195, allocations: 59.98 kB / 0.8117 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.855e-05/1.195, allocations: 80.92 kB / 0.8117 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/1.195, allocations: 102.6 kB / 0.8118 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.659e-05/1.195, allocations: 7.688 kB / 0.8119 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.548e-05/1.195, allocations: 340.4 kB / 0.8122 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/1.196, allocations: 165 kB / 0.8123 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003283/1.196, allocations: 231.4 kB / 0.8126 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000371/1.196, allocations: 208.8 kB / 0.8128 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/1.196, allocations: 3.953 kB / 0.8128 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008583/1.197, allocations: 489.4 kB / 0.8132 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/1.197, allocations: 4.922 kB / 0.8132 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/1.197, allocations: 1.688 kB / 0.8132 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/1.197, allocations: 3.844 kB / 0.8132 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/1.198, allocations: 18.17 kB / 0.8133 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/1.198, allocations: 7.781 kB / 0.8133 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/1.198, allocations: 41.59 kB / 0.8133 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/1.198, allocations: 11.09 kB / 0.8133 GB, free: 9.805 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 77 ($PRE.occ.hold_time,occ.hold_time,$PRE.occ.mu,occ.mu,$PRE.occ.occ,occ.occ,$PRE.occ.state[1],occ.state[1],$PRE.occ.state[2],occ.state[2],$PRE.occ.state[3],occ.state[3],$PRE.occ.state[4],occ.state[4],$PRE.occ.state[5],occ.state[5],$PRE.occ.state[6],occ.state[6],$PRE.occ.state[7],occ.state[7],$PRE.occ.state[8],occ.state[8],$PRE.occ.state[9],occ.state[9],$PRE.occ.state[10],occ.state[10],$PRE.occ.state[11],occ.state[11],$PRE.occ.state[12],occ.state[12],$PRE.occ.state[13],occ.state[13],$PRE.occ.state[14],occ.state[14],$PRE.occ.state[15],occ.state[15],$PRE.occ.state[16],occ.state[16],$PRE.occ.state[17],occ.state[17],$PRE.occ.state[18],occ.state[18],$PRE.occ.state[19],occ.state[19],$PRE.occ.state[20],occ.state[20],$PRE.occ.state[21],occ.state[21],$PRE.occ.state[22],occ.state[22],$PRE.occ.state[23],occ.state[23],$PRE.occ.state[24],occ.state[24],$PRE.occ.state[25],occ.state[25],$PRE.occ.state[26],occ.state[26],$PRE.occ.state[27],occ.state[27],$PRE.occ.state[28],occ.state[28],$PRE.occ.state[29],occ.state[29],$PRE.occ.state[30],occ.state[30],$PRE.occ.state[31],occ.state[31],$PRE.occ.state[32],occ.state[32],$PRE.occ.state[33],occ.state[33],$PRE.occ.r,occ.r,$whenCondition1,$PRE.occ.tNext,occ.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * Array equations: 1 * 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.0002168/1.198, allocations: 173.6 kB / 0.8135 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/1.198, allocations: 11.7 kB / 0.8135 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.71e-05/1.198, allocations: 12.28 kB / 0.8135 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/1.198, allocations: 0 / 0.8135 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.198, allocations: 3.969 kB / 0.8135 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/1.198, allocations: 0 / 0.8135 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/1.198, allocations: 209.5 kB / 0.8137 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/1.198, allocations: 7.938 kB / 0.8137 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.737e-06/1.198, allocations: 3.953 kB / 0.8137 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/1.198, allocations: 0.875 kB / 0.8137 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/1.198, allocations: 10.27 kB / 0.8137 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/1.198, allocations: 3.938 kB / 0.8137 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.198, allocations: 0 / 0.8137 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007052/1.199, allocations: 482.2 kB / 0.8142 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/1.199, allocations: 88.83 kB / 0.8143 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/1.199, allocations: 43.59 kB / 0.8143 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.404e-05/1.199, allocations: 11.19 kB / 0.8143 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/1.2, allocations: 3.703 kB / 0.8143 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/1.2, allocations: 11.69 kB / 0.8143 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.383e-05/1.2, allocations: 78.23 kB / 0.8144 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/1.2, allocations: 0 / 0.8144 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004724/1.2, allocations: 59.14 kB / 0.8145 GB, free: 9.176 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 39 ($whenCondition1,occ.occ,occ.mu,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 35 (occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33],occ.occ,occ.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 1 * 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.001762/1.202, allocations: 1.143 MB / 0.8156 GB, free: 24.53 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006355/1.203, allocations: 351.8 kB / 0.8159 GB, free: 24.51 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/1.203, allocations: 0 / 0.8159 GB, free: 24.51 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/1.203, allocations: 125.2 kB / 0.816 GB, free: 24.51 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/1.203, allocations: 14.5 kB / 0.8161 GB, free: 24.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007655/1.204, allocations: 294 kB / 0.8163 GB, free: 24.38 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/1.204, allocations: 0.7241 MB / 0.817 GB, free: 23.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.225e-05/1.204, allocations: 18.02 kB / 0.8171 GB, free: 23.68 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.833e-05/1.204, allocations: 40.19 kB / 0.8171 GB, free: 23.67 MB / 0.6511 GB Notification: Performance of SimCode: time 1.202e-06/1.204, allocations: 4 kB / 0.8171 GB, free: 23.67 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02729/1.232, allocations: 3.463 MB / 0.8205 GB, free: 23.28 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002646/1.232, allocations: 217.3 kB / 0.8207 GB, free: 23.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.457/3.689, allocations: 3.938 kB / 0.8207 GB, free: 23.05 MB / 0.6511 GB