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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Buildings): time 3.968/3.968, allocations: 404 MB / 410.9 MB, free: 4.949 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2426/4.211, allocations: 94.99 MB / 0.4941 GB, free: 7.375 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5058/4.717, allocations: 92.68 MB / 0.5846 GB, free: 3.453 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2375/4.954, allocations: 120 MB / 0.7018 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003414/4.955, allocations: 71.95 kB / 0.7018 GB, free: 13.66 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.02144/4.976, allocations: 3.504 MB / 0.7053 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/4.976, allocations: 8 kB / 0.7053 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/4.976, allocations: 35.8 kB / 0.7053 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/4.978, allocations: 278.7 kB / 0.7056 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.636e-05/4.978, allocations: 11.98 kB / 0.7056 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/4.978, allocations: 27.98 kB / 0.7056 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003407/4.978, allocations: 75.97 kB / 0.7057 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006125/4.979, allocations: 239.3 kB / 0.7059 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/4.979, allocations: 3.938 kB / 0.7059 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.654e-05/4.979, allocations: 3.938 kB / 0.7059 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/4.979, allocations: 4 kB / 0.7059 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007336/4.98, allocations: 348.4 kB / 0.7063 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005395/4.98, allocations: 210.8 kB / 0.7065 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003125/4.981, allocations: 119.5 kB / 0.7066 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/4.981, allocations: 8 kB / 0.7066 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006051/4.981, allocations: 241.4 kB / 0.7068 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=24): time 3.557e-06/4.981, allocations: 0 / 0.7068 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=24): time 0.0009951/4.982, allocations: 281.2 kB / 0.7071 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.874e-05/4.982, allocations: 140.6 kB / 0.7072 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/4.983, allocations: 137 kB / 0.7073 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001127/4.983, allocations: 41.7 kB / 0.7074 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.773e-05/4.983, allocations: 96.5 kB / 0.7075 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/4.983, allocations: 63.19 kB / 0.7075 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.473e-05/4.983, allocations: 8 kB / 0.7075 GB, free: 7.535 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001624/4.983, allocations: 334.7 kB / 0.7079 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005366/4.984, allocations: 164 kB / 0.708 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005983/4.984, allocations: 199.1 kB / 0.7082 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006703/4.985, allocations: 147.6 kB / 0.7083 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/4.985, allocations: 0 / 0.7083 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001508/4.987, allocations: 425.2 kB / 0.7088 GB, free: 6.27 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/4.987, allocations: 11.91 kB / 0.7088 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/4.987, allocations: 4 kB / 0.7088 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/4.987, allocations: 0 / 0.7088 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/4.987, allocations: 19.94 kB / 0.7088 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/4.987, allocations: 3.984 kB / 0.7088 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008414/4.988, allocations: 83.7 kB / 0.7089 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.824e-05/4.988, allocations: 16 kB / 0.7089 GB, free: 6.133 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.0002615/4.988, allocations: 139 kB / 0.709 GB, free: 5.992 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.537e-05/4.988, allocations: 19.81 kB / 0.709 GB, free: 5.973 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.074e-05/4.988, allocations: 20.48 kB / 0.7091 GB, free: 5.953 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/4.988, allocations: 4 kB / 0.7091 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/4.988, allocations: 3.906 kB / 0.7091 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/4.988, allocations: 0 / 0.7091 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004389/4.989, allocations: 230 kB / 0.7093 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/4.989, allocations: 0 / 0.7093 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/4.989, allocations: 15.98 kB / 0.7093 GB, free: 5.668 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/4.989, allocations: 0 / 0.7093 GB, free: 5.668 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.178e-05/4.989, allocations: 11.98 kB / 0.7093 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.948e-06/4.989, allocations: 8 kB / 0.7093 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/4.989, allocations: 7.922 kB / 0.7093 GB, free: 5.641 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008831/4.99, allocations: 356.7 kB / 0.7097 GB, free: 5.246 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009783/4.991, allocations: 0.7233 MB / 0.7104 GB, free: 4.473 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.772e-05/4.991, allocations: 96.92 kB / 0.7105 GB, free: 4.359 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/4.991, allocations: 19.92 kB / 0.7105 GB, free: 4.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003555/4.992, allocations: 15.89 kB / 0.7105 GB, free: 4.324 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.696e-05/4.992, allocations: 19.97 kB / 0.7105 GB, free: 4.305 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.145e-05/4.992, allocations: 23.97 kB / 0.7105 GB, free: 4.281 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0001321/4.992, allocations: 113.5 kB / 0.7107 GB, free: 4.172 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0016/4.994, allocations: 75.92 kB / 0.7107 GB, free: 4.098 MB / 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.000359/4.994, allocations: 158.8 kB / 0.7109 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001277/4.995, allocations: 458.5 kB / 0.7113 GB, free: 3.477 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/4.995, allocations: 0 / 0.7113 GB, free: 3.477 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004704/4.996, allocations: 143.9 kB / 0.7114 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/4.996, allocations: 16.23 kB / 0.7115 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/4.997, allocations: 302.8 kB / 0.7118 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004767/4.998, allocations: 0.7396 MB / 0.7125 GB, free: 2.219 MB / 0.5886 GB Notification: Performance of SimCode: time 1.413e-06/4.998, allocations: 0 / 0.7125 GB, free: 2.219 MB / 0.5886 GB