[: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.333/3.333, allocations: 404 MB / 410.9 MB, free: 2.105 MB / 312.6 MB Notification: Performance of FrontEnd - loaded program: time 5.85e-06/5.888e-06, allocations: 0 / 0.494 GB, free: 4.461 MB / 408.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4458/0.4458, allocations: 92.76 MB / 0.5846 GB, free: 1.961 MB / 472.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1871/0.633, allocations: 120.1 MB / 0.7019 GB, free: 10.85 MB / 0.5866 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.6333, allocations: 79.95 kB / 0.7019 GB, free: 10.77 MB / 0.5866 GB Notification: Performance of FrontEnd: time 0.08121/0.7145, allocations: 18.14 MB / 0.7197 GB, free: 8.605 MB / 0.6022 GB Notification: Performance of Transformations before backend: time 1.751e-05/0.7146, allocations: 4 kB / 0.7197 GB, free: 8.602 MB / 0.6022 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.0009958/0.7156, allocations: 0.592 MB / 0.7202 GB, free: 7.938 MB / 0.6022 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.7156, allocations: 12.03 kB / 0.7203 GB, free: 7.926 MB / 0.6022 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.689e-05/0.7157, allocations: 35.62 kB / 0.7203 GB, free: 7.891 MB / 0.6022 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.7161, allocations: 249.7 kB / 0.7205 GB, free: 7.609 MB / 0.6022 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.7162, allocations: 7.984 kB / 0.7205 GB, free: 7.602 MB / 0.6022 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.171e-05/0.7162, allocations: 12 kB / 0.7205 GB, free: 7.59 MB / 0.6022 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004877/0.7167, allocations: 312.4 kB / 0.7208 GB, free: 7.285 MB / 0.6022 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006718/0.7174, allocations: 450.4 kB / 0.7213 GB, free: 6.828 MB / 0.6022 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.7174, allocations: 0 / 0.7213 GB, free: 6.828 MB / 0.6022 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/0.7175, allocations: 3.984 kB / 0.7213 GB, free: 6.824 MB / 0.6022 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.973e-06/0.7175, allocations: 4 kB / 0.7213 GB, free: 6.82 MB / 0.6022 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007471/0.7182, allocations: 0.5204 MB / 0.7218 GB, free: 6.254 MB / 0.6022 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.7197, allocations: 1.025 MB / 0.7228 GB, free: 5.191 MB / 0.6022 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008954/0.7206, allocations: 0.6502 MB / 0.7234 GB, free: 4.531 MB / 0.6022 GB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.7206, allocations: 4 kB / 0.7234 GB, free: 4.527 MB / 0.6022 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006973/0.7213, allocations: 474 kB / 0.7239 GB, free: 4.039 MB / 0.6022 GB Notification: Performance of pre-optimization done (n=37): time 2.657e-06/0.7213, allocations: 0 / 0.7239 GB, free: 4.039 MB / 0.6022 GB Notification: Performance of matching and sorting (n=37): time 0.001323/0.7227, allocations: 0.755 MB / 0.7246 GB, free: 3.277 MB / 0.6022 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.898e-05/0.7228, allocations: 136.5 kB / 0.7247 GB, free: 3.113 MB / 0.6022 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.7231, allocations: 224.1 kB / 0.725 GB, free: 2.883 MB / 0.6022 GB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.7231, allocations: 29.7 kB / 0.725 GB, free: 2.848 MB / 0.6022 GB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.7232, allocations: 96.91 kB / 0.7251 GB, free: 2.75 MB / 0.6022 GB Notification: Performance of collectInitialBindings (initialization): time 9.894e-05/0.7233, allocations: 82.98 kB / 0.7252 GB, free: 2.668 MB / 0.6022 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.058e-05/0.7233, allocations: 0 / 0.7252 GB, free: 2.668 MB / 0.6022 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.7235, allocations: 346.7 kB / 0.7255 GB, free: 2.32 MB / 0.6022 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000506/0.724, allocations: 324.7 kB / 0.7258 GB, free: 2.004 MB / 0.6022 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005365/0.7246, allocations: 413.6 kB / 0.7262 GB, free: 1.566 MB / 0.6022 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005509/0.7251, allocations: 356.5 kB / 0.7265 GB, free: 1.219 MB / 0.6022 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.7251, allocations: 0 / 0.7265 GB, free: 1.219 MB / 0.6022 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001297/0.7264, allocations: 0.8041 MB / 0.7273 GB, free: 420 kB / 0.6022 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.7265, allocations: 4 kB / 0.7273 GB, free: 416 kB / 0.6022 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.7265, allocations: 4 kB / 0.7273 GB, free: 412 kB / 0.6022 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.7265, allocations: 4 kB / 0.7273 GB, free: 408 kB / 0.6022 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.7267, allocations: 47.83 kB / 0.7274 GB, free: 360 kB / 0.6022 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.7268, allocations: 12 kB / 0.7274 GB, free: 348 kB / 0.6022 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003024/0.7271, allocations: 12.03 kB / 0.7274 GB, free: 336 kB / 0.6022 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00031/0.7274, allocations: 207.8 kB / 0.7276 GB, free: 128 kB / 0.6022 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.0002174/0.7276, allocations: 144.9 kB / 0.7277 GB, free: 15.97 MB / 0.6178 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.517e-05/0.7277, allocations: 27.62 kB / 0.7278 GB, free: 15.95 MB / 0.6178 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.7278, allocations: 29.91 kB / 0.7278 GB, free: 15.92 MB / 0.6178 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.7278, allocations: 15.92 kB / 0.7278 GB, free: 15.91 MB / 0.6178 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.112e-06/0.7279, allocations: 0 / 0.7278 GB, free: 15.91 MB / 0.6178 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.7279, allocations: 0 / 0.7278 GB, free: 15.91 MB / 0.6178 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/0.7302, allocations: 1.629 MB / 0.7294 GB, free: 14.23 MB / 0.6178 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.235e-06/0.7303, allocations: 4 kB / 0.7294 GB, free: 14.23 MB / 0.6178 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.816e-05/0.7303, allocations: 27.91 kB / 0.7294 GB, free: 14.2 MB / 0.6178 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.822e-06/0.7303, allocations: 8 kB / 0.7294 GB, free: 14.2 MB / 0.6178 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.411e-05/0.7304, allocations: 19.97 kB / 0.7295 GB, free: 14.18 MB / 0.6178 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.56e-06/0.7304, allocations: 8.062 kB / 0.7295 GB, free: 14.17 MB / 0.6178 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.7304, allocations: 0 / 0.7295 GB, free: 14.17 MB / 0.6178 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001293/0.7317, allocations: 1.114 MB / 0.7305 GB, free: 13.02 MB / 0.6178 GB Notification: Performance of postOpt removeConstants (simulation): time 7.367e-05/0.7318, allocations: 100.7 kB / 0.7306 GB, free: 12.9 MB / 0.6178 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.51e-05/0.7319, allocations: 11.98 kB / 0.7307 GB, free: 12.89 MB / 0.6178 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003659/0.7323, allocations: 4 kB / 0.7307 GB, free: 12.89 MB / 0.6178 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.7324, allocations: 47.94 kB / 0.7307 GB, free: 12.84 MB / 0.6178 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003106/0.7327, allocations: 223.6 kB / 0.7309 GB, free: 12.62 MB / 0.6178 GB Notification: Performance of sort global known variables: time 0.0001832/0.7329, allocations: 160.5 kB / 0.7311 GB, free: 12.46 MB / 0.6178 GB Notification: Performance of remove unused functions: time 0.0007075/0.7336, allocations: 55.98 kB / 0.7311 GB, free: 12.41 MB / 0.6178 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.0001957/0.7338, allocations: 134.1 kB / 0.7313 GB, free: 12.26 MB / 0.6178 GB Notification: Performance of simCode: created initialization part: time 0.001107/0.735, allocations: 0.726 MB / 0.732 GB, free: 11.54 MB / 0.6178 GB Notification: Performance of simCode: created event and clocks part: time 3.504e-06/0.735, allocations: 256 / 0.732 GB, free: 11.54 MB / 0.6178 GB Notification: Performance of simCode: created simulation system equations: time 0.0006214/0.7356, allocations: 403.7 kB / 0.7323 GB, free: 11.14 MB / 0.6178 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/0.7373, allocations: 291.3 kB / 0.7326 GB, free: 10.87 MB / 0.6178 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.7389, allocations: 0.8588 MB / 0.7335 GB, free: 9.973 MB / 0.6178 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006095/0.7396, allocations: 0.8305 MB / 0.7343 GB, free: 9.117 MB / 0.6178 GB Notification: Performance of SimCode: time 8.49e-07/0.7396, allocations: 0 / 0.7343 GB, free: 9.117 MB / 0.6178 GB Notification: Performance of Templates: time 0.01656/0.7562, allocations: 7.818 MB / 0.7419 GB, free: 1.395 MB / 0.6178 GB