[:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Warning: Requested package Modelica of version 3.2.2, but this package was already loaded with version 3.2.1. You might experience problems if these versions are incompatible. Notification: Performance of loadModel(Buildings): time 2.816/2.816, allocations: 320.9 MB / 327.9 MB, free: 5.59 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3855/3.202, allocations: 75.72 MB / 403.6 MB, free: 0.582 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/3.37, allocations: 73.4 MB / 477 MB, free: 7.043 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4913/3.861, allocations: 101.4 MB / 0.5649 GB, free: 2.809 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000387/3.862, allocations: 72.45 kB / 0.565 GB, free: 2.77 MB / 442.7 MB 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.08692/3.949, allocations: 18.75 MB / 0.5833 GB, free: 3.652 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/3.949, allocations: 8 kB / 0.5833 GB, free: 3.645 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/3.949, allocations: 31.62 kB / 0.5833 GB, free: 3.613 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004337/3.949, allocations: 243.9 kB / 0.5836 GB, free: 3.348 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/3.949, allocations: 4 kB / 0.5836 GB, free: 3.344 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.499e-05/3.949, allocations: 19.61 kB / 0.5836 GB, free: 3.328 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006093/3.95, allocations: 318.2 kB / 0.5839 GB, free: 3.07 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007965/3.951, allocations: 449.4 kB / 0.5843 GB, free: 2.684 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/3.951, allocations: 0 / 0.5843 GB, free: 2.684 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.605e-05/3.951, allocations: 7.984 kB / 0.5843 GB, free: 2.676 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/3.951, allocations: 4 kB / 0.5843 GB, free: 2.672 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009121/3.952, allocations: 0.5094 MB / 0.5848 GB, free: 2.184 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/3.954, allocations: 1.02 MB / 0.5858 GB, free: 1.289 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00119/3.955, allocations: 0.6672 MB / 0.5865 GB, free: 0.7227 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.626e-05/3.955, allocations: 11.98 kB / 0.5865 GB, free: 0.7109 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008376/3.956, allocations: 457.8 kB / 0.5869 GB, free: 320 kB / 458.7 MB Notification: Performance of pre-optimization done (n=37): time 3.196e-06/3.956, allocations: 0 / 0.5869 GB, free: 320 kB / 458.7 MB Notification: Performance of matching and sorting (n=37): time 0.001702/3.958, allocations: 0.7642 MB / 0.5877 GB, free: 15.66 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.85e-05/3.958, allocations: 139.2 kB / 0.5878 GB, free: 15.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003291/3.958, allocations: 221.3 kB / 0.588 GB, free: 15.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.072e-05/3.958, allocations: 28.02 kB / 0.588 GB, free: 15.27 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/3.958, allocations: 100.3 kB / 0.5881 GB, free: 15.18 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/3.958, allocations: 74 kB / 0.5882 GB, free: 15.12 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-05/3.958, allocations: 3.938 kB / 0.5882 GB, free: 15.11 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/3.958, allocations: 346.2 kB / 0.5885 GB, free: 14.78 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006384/3.959, allocations: 325.5 kB / 0.5888 GB, free: 14.52 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006748/3.96, allocations: 414 kB / 0.5892 GB, free: 14.15 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006812/3.96, allocations: 353.9 kB / 0.5896 GB, free: 13.86 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/3.96, allocations: 3.906 kB / 0.5896 GB, free: 13.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00158/3.962, allocations: 0.8046 MB / 0.5904 GB, free: 13.17 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/3.962, allocations: 4 kB / 0.5904 GB, free: 13.17 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/3.962, allocations: 7.984 kB / 0.5904 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/3.962, allocations: 4 kB / 0.5904 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/3.962, allocations: 47.08 kB / 0.5904 GB, free: 13.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/3.962, allocations: 4 kB / 0.5904 GB, free: 13.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004318/3.963, allocations: 15.84 kB / 0.5904 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004207/3.963, allocations: 210.8 kB / 0.5906 GB, free: 12.89 MB / 474.7 MB 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.0001814/3.964, allocations: 128.5 kB / 0.5908 GB, free: 12.77 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.901e-05/3.964, allocations: 35.61 kB / 0.5908 GB, free: 12.73 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/3.964, allocations: 33.03 kB / 0.5908 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/3.964, allocations: 4 kB / 0.5908 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/3.964, allocations: 3.984 kB / 0.5908 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/3.964, allocations: 0 / 0.5908 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003002/3.967, allocations: 1.635 MB / 0.5924 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/3.967, allocations: 3.938 kB / 0.5924 GB, free: 11.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.086e-05/3.967, allocations: 23.22 kB / 0.5925 GB, free: 11.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.158e-05/3.967, allocations: 4 kB / 0.5925 GB, free: 11.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-05/3.967, allocations: 19.84 kB / 0.5925 GB, free: 11.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.852e-06/3.967, allocations: 7.938 kB / 0.5925 GB, free: 11.18 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/3.967, allocations: 3.906 kB / 0.5925 GB, free: 11.17 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001615/3.969, allocations: 1.116 MB / 0.5936 GB, free: 10.14 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001724/3.97, allocations: 1.497 MB / 0.595 GB, free: 8.734 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.448e-05/3.971, allocations: 96.83 kB / 0.5951 GB, free: 8.621 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-05/3.971, allocations: 7.438 kB / 0.5951 GB, free: 8.617 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004641/3.971, allocations: 7.984 kB / 0.5952 GB, free: 8.609 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/3.971, allocations: 53.77 kB / 0.5952 GB, free: 8.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004303/3.972, allocations: 219 kB / 0.5954 GB, free: 8.359 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0002348/3.972, allocations: 160.3 kB / 0.5956 GB, free: 8.223 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001665/3.974, allocations: 56 kB / 0.5956 GB, free: 8.168 MB / 474.7 MB 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.0002355/3.974, allocations: 128.5 kB / 0.5957 GB, free: 8.039 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001475/3.975, allocations: 0.7337 MB / 0.5965 GB, free: 7.426 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/3.975, allocations: 0 / 0.5965 GB, free: 7.426 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000794/3.976, allocations: 404.9 kB / 0.5968 GB, free: 7.094 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002708/3.979, allocations: 291.8 kB / 0.5971 GB, free: 6.848 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/3.981, allocations: 0.8654 MB / 0.598 GB, free: 6.062 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006196/3.982, allocations: 0.8293 MB / 0.5988 GB, free: 5.215 MB / 474.7 MB Notification: Performance of SimCode: time 1.162e-06/3.982, allocations: 0 / 0.5988 GB, free: 5.215 MB / 474.7 MB