[: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.899/2.899, allocations: 320.9 MB / 327.9 MB, free: 5.582 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3234/3.222, allocations: 75.74 MB / 403.7 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/3.375, allocations: 73.39 MB / 477 MB, free: 7.027 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4004/3.776, allocations: 104.2 MB / 0.5676 GB, free: 96 kB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004295/3.776, allocations: 92.81 kB / 0.5677 GB, free: 40 kB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0723/3.848, allocations: 10.21 MB / 0.5776 GB, free: 7.207 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/3.848, allocations: 8 kB / 0.5777 GB, free: 7.199 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002729/3.849, allocations: 59.28 kB / 0.5777 GB, free: 7.141 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/3.851, allocations: 437.3 kB / 0.5781 GB, free: 6.719 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.917e-05/3.851, allocations: 18.48 kB / 0.5781 GB, free: 6.703 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/3.851, allocations: 20 kB / 0.5782 GB, free: 6.684 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001661/3.852, allocations: 417.3 kB / 0.5786 GB, free: 6.395 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/3.854, allocations: 0.5342 MB / 0.5791 GB, free: 5.938 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/3.854, allocations: 4 kB / 0.5791 GB, free: 5.934 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/3.855, allocations: 3.984 kB / 0.5791 GB, free: 5.93 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/3.855, allocations: 8 kB / 0.5791 GB, free: 5.922 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005571/3.86, allocations: 1.553 MB / 0.5806 GB, free: 4.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00219/3.862, allocations: 0.6366 MB / 0.5812 GB, free: 3.969 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009004/3.863, allocations: 273.9 kB / 0.5815 GB, free: 3.746 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.295e-05/3.863, allocations: 12.42 kB / 0.5815 GB, free: 3.734 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/3.864, allocations: 425.2 kB / 0.5819 GB, free: 3.379 MB / 458.7 MB Notification: Performance of pre-optimization done (n=51): time 2.995e-06/3.865, allocations: 3.938 kB / 0.5819 GB, free: 3.375 MB / 458.7 MB Notification: Performance of matching and sorting (n=51): time 0.001476/3.866, allocations: 0.5318 MB / 0.5824 GB, free: 2.941 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001772/3.866, allocations: 280.4 kB / 0.5827 GB, free: 2.609 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005393/3.867, allocations: 324.6 kB / 0.583 GB, free: 2.348 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.473e-05/3.867, allocations: 41.69 kB / 0.5831 GB, free: 2.301 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/3.867, allocations: 159.9 kB / 0.5832 GB, free: 2.156 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/3.867, allocations: 121.8 kB / 0.5833 GB, free: 2.055 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/3.867, allocations: 0 / 0.5833 GB, free: 2.055 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/3.867, allocations: 357.9 kB / 0.5837 GB, free: 1.715 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005266/3.868, allocations: 202.9 kB / 0.5839 GB, free: 1.57 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007051/3.869, allocations: 390 kB / 0.5842 GB, free: 1.195 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005749/3.869, allocations: 238.7 kB / 0.5845 GB, free: 1.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/3.869, allocations: 4 kB / 0.5845 GB, free: 1.016 MB / 458.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001423/3.871, allocations: 0.5656 MB / 0.585 GB, free: 0.5508 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/3.871, allocations: 6.031 kB / 0.585 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/3.871, allocations: 4 kB / 0.585 GB, free: 0.543 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.254e-05/3.871, allocations: 12 kB / 0.585 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007552/3.872, allocations: 103.5 kB / 0.5851 GB, free: 444 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.04e-05/3.872, allocations: 15.92 kB / 0.5851 GB, free: 428 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008287/3.872, allocations: 87.77 kB / 0.5852 GB, free: 340 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.749e-05/3.873, allocations: 27.5 kB / 0.5853 GB, free: 320 kB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.triAndRes[1].uniDel1.firstTrigger,triAndRes[1].uniDel1.firstTrigger,$PRE.triAndRes[1].sam.firstTrigger,triAndRes[1].sam.firstTrigger,$whenCondition9,triAndRes[1].sam.sampleTrigger,$whenCondition10,triAndRes[1].uniDel1.sampleTrigger,$PRE.triAndRes[1].firstTrigger,triAndRes[1].firstTrigger,$whenCondition7,triAndRes[1].sampleTrigger,$PRE.triAndRes[2].uniDel1.firstTrigger,triAndRes[2].uniDel1.firstTrigger,$PRE.triAndRes[2].sam.firstTrigger,triAndRes[2].sam.firstTrigger,$whenCondition5,triAndRes[2].sam.sampleTrigger,$whenCondition6,triAndRes[2].uniDel1.sampleTrigger,triAndRes[2].incY.y,triAndRes[2].sam.y,$PRE.triAndRes[2].uniDel1.y,triAndRes[2].uniDel1.y,$PRE.triAndRes[2].firstTrigger,triAndRes[2].firstTrigger,$whenCondition4,triAndRes[2].sampleTrigger,$PRE.triAndRes[3].uniDel1.firstTrigger,triAndRes[3].uniDel1.firstTrigger,$PRE.triAndRes[3].sam.firstTrigger,triAndRes[3].sam.firstTrigger,$whenCondition2,triAndRes[3].sam.sampleTrigger,$whenCondition3,triAndRes[3].uniDel1.sampleTrigger,triAndRes[3].incY.y,triAndRes[3].sam.y,$PRE.triAndRes[3].uniDel1.y,triAndRes[3].uniDel1.y,$PRE.triAndRes[3].firstTrigger,triAndRes[3].firstTrigger,$whenCondition1,triAndRes[3].sampleTrigger,$whenCondition8,$PRE.act1.T_start,act1.T_start,$PRE.act1.count,act1.count,triAndRes[1].incY.y,triAndRes[1].sam.y,$PRE.triAndRes[1].uniDel1.y,triAndRes[1].uniDel1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0002574/3.873, allocations: 167.9 kB / 0.5854 GB, free: 148 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/3.873, allocations: 43.53 kB / 0.5855 GB, free: 104 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/3.873, allocations: 47.45 kB / 0.5855 GB, free: 76 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/3.873, allocations: 8 kB / 0.5855 GB, free: 68 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/3.873, allocations: 3.984 kB / 0.5855 GB, free: 64 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/3.873, allocations: 4 kB / 0.5855 GB, free: 60 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003152/3.876, allocations: 1.587 MB / 0.5871 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/3.876, allocations: 0 / 0.5871 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006236/3.877, allocations: 87.17 kB / 0.5872 GB, free: 14.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/3.877, allocations: 4 kB / 0.5872 GB, free: 14.58 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.674e-05/3.877, allocations: 11.89 kB / 0.5872 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/3.877, allocations: 7.938 kB / 0.5872 GB, free: 14.56 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/3.877, allocations: 0 / 0.5872 GB, free: 14.56 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001522/3.879, allocations: 1.049 MB / 0.5882 GB, free: 13.57 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00166/3.88, allocations: 1.431 MB / 0.5896 GB, free: 12.21 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004044/3.881, allocations: 184.7 kB / 0.5898 GB, free: 12.03 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/3.881, allocations: 11.3 kB / 0.5898 GB, free: 12.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/3.882, allocations: 115.1 kB / 0.5899 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/3.882, allocations: 47.02 kB / 0.5899 GB, free: 11.87 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.296e-05/3.882, allocations: 19.38 kB / 0.59 GB, free: 11.86 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.000401/3.883, allocations: 251.7 kB / 0.5902 GB, free: 11.66 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001939/3.885, allocations: 95.84 kB / 0.5903 GB, free: 11.56 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 39 (triAndRes[3].sampleTrigger,$whenCondition1,triAndRes[3].firstTrigger,triAndRes[3].uniDel1.sampleTrigger,triAndRes[3].sam.sampleTrigger,$whenCondition3,$whenCondition2,triAndRes[3].incY.y,triAndRes[3].sam.firstTrigger,triAndRes[3].sam.y,triAndRes[3].uniDel1.firstTrigger,triAndRes[3].uniDel1.y,triAndRes[2].sampleTrigger,$whenCondition4,triAndRes[2].firstTrigger,triAndRes[2].uniDel1.sampleTrigger,triAndRes[2].sam.sampleTrigger,$whenCondition6,$whenCondition5,triAndRes[2].incY.y,triAndRes[2].sam.firstTrigger,triAndRes[2].sam.y,triAndRes[2].uniDel1.firstTrigger,triAndRes[2].uniDel1.y,triAndRes[1].sampleTrigger,$whenCondition7,triAndRes[1].firstTrigger,triAndRes[1].uniDel1.sampleTrigger,triAndRes[1].sam.sampleTrigger,$whenCondition10,$whenCondition9,$whenCondition8,act1.T_start,act1.count,triAndRes[1].incY.y,triAndRes[1].sam.firstTrigger,triAndRes[1].sam.y,triAndRes[1].uniDel1.firstTrigger,triAndRes[1].uniDel1.y) * Number of discrete states: 4 (act1.count,triAndRes[1].uniDel1.u,triAndRes[2].uniDel1.u,triAndRes[3].uniDel1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.0002765/3.885, allocations: 154 kB / 0.5904 GB, free: 11.41 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001354/3.887, allocations: 0.5437 MB / 0.591 GB, free: 10.98 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/3.887, allocations: 0 / 0.591 GB, free: 10.98 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007788/3.887, allocations: 298.4 kB / 0.5913 GB, free: 10.76 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009132/3.888, allocations: 67.45 kB / 0.5913 GB, free: 10.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/3.891, allocations: 0.7459 MB / 0.592 GB, free: 10.02 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/3.892, allocations: 0.956 MB / 0.593 GB, free: 9.066 MB / 474.7 MB Notification: Performance of SimCode: time 8.01e-07/3.892, allocations: 0 / 0.593 GB, free: 9.066 MB / 474.7 MB