[: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.133/3.133, allocations: 403.9 MB / 410.9 MB, free: 2.121 MB / 312.6 MB Notification: Performance of FrontEnd - loaded program: time 7.706e-06/7.734e-06, allocations: 0 / 0.4941 GB, free: 4.457 MB / 408.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3834, allocations: 92.78 MB / 0.5847 GB, free: 1.84 MB / 472.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2029/0.5863, allocations: 122.6 MB / 0.7044 GB, free: 8.191 MB / 0.5866 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004514/0.5868, allocations: 91.94 kB / 0.7045 GB, free: 8.102 MB / 0.5866 GB Notification: Performance of FrontEnd: time 0.03047/0.6173, allocations: 6.905 MB / 0.7112 GB, free: 1.137 MB / 0.5866 GB Notification: Performance of Transformations before backend: time 2.722e-05/0.6174, allocations: 8 kB / 0.7112 GB, free: 1.129 MB / 0.5866 GB 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.002169/0.6196, allocations: 0.8596 MB / 0.7121 GB, free: 220 kB / 0.5866 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.6197, allocations: 20.03 kB / 0.7121 GB, free: 200 kB / 0.5866 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/0.6199, allocations: 55.34 kB / 0.7122 GB, free: 144 kB / 0.5866 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007196/0.6206, allocations: 370.9 kB / 0.7125 GB, free: 15.74 MB / 0.6022 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.721e-05/0.6206, allocations: 15.98 kB / 0.7125 GB, free: 15.72 MB / 0.6022 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.068e-05/0.6207, allocations: 28 kB / 0.7126 GB, free: 15.7 MB / 0.6022 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008892/0.6216, allocations: 417 kB / 0.713 GB, free: 15.29 MB / 0.6022 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.6227, allocations: 0.5279 MB / 0.7135 GB, free: 14.72 MB / 0.6022 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.6227, allocations: 7.922 kB / 0.7135 GB, free: 14.71 MB / 0.6022 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.086e-05/0.6228, allocations: 0 / 0.7135 GB, free: 14.71 MB / 0.6022 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.6228, allocations: 11.94 kB / 0.7135 GB, free: 14.7 MB / 0.6022 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003094/0.6259, allocations: 1.548 MB / 0.715 GB, free: 13.09 MB / 0.6022 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.6272, allocations: 0.6444 MB / 0.7156 GB, free: 12.39 MB / 0.6022 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005371/0.6278, allocations: 280.9 kB / 0.7159 GB, free: 12.1 MB / 0.6022 GB Notification: Performance of preOpt evalFunc (simulation): time 4.84e-05/0.6278, allocations: 11.97 kB / 0.7159 GB, free: 12.09 MB / 0.6022 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007299/0.6286, allocations: 425.3 kB / 0.7163 GB, free: 11.65 MB / 0.6022 GB Notification: Performance of pre-optimization done (n=51): time 3.055e-06/0.6286, allocations: 0 / 0.7163 GB, free: 11.65 MB / 0.6022 GB Notification: Performance of matching and sorting (n=51): time 0.001211/0.6298, allocations: 0.5445 MB / 0.7168 GB, free: 11.1 MB / 0.6022 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001561/0.63, allocations: 281 kB / 0.7171 GB, free: 10.76 MB / 0.6022 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004707/0.6305, allocations: 315.4 kB / 0.7174 GB, free: 10.45 MB / 0.6022 GB Notification: Performance of collectPreVariables (initialization): time 7.99e-05/0.6306, allocations: 41.69 kB / 0.7175 GB, free: 10.41 MB / 0.6022 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.6307, allocations: 156.8 kB / 0.7176 GB, free: 10.25 MB / 0.6022 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.6309, allocations: 118.6 kB / 0.7177 GB, free: 10.13 MB / 0.6022 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.6309, allocations: 448 / 0.7177 GB, free: 10.13 MB / 0.6022 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.6311, allocations: 358.7 kB / 0.7181 GB, free: 9.773 MB / 0.6022 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000416/0.6315, allocations: 209.2 kB / 0.7183 GB, free: 9.566 MB / 0.6022 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005608/0.6321, allocations: 394.8 kB / 0.7186 GB, free: 9.113 MB / 0.6022 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004706/0.6326, allocations: 251.7 kB / 0.7189 GB, free: 8.867 MB / 0.6022 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.832e-06/0.6326, allocations: 0 / 0.7189 GB, free: 8.867 MB / 0.6022 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001226/0.6338, allocations: 0.5712 MB / 0.7194 GB, free: 8.289 MB / 0.6022 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008347/0.6347, allocations: 1.839 MB / 0.7212 GB, free: 6.309 MB / 0.6022 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.6347, allocations: 4 kB / 0.7212 GB, free: 6.305 MB / 0.6022 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.6347, allocations: 8 kB / 0.7212 GB, free: 6.297 MB / 0.6022 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005751/0.6353, allocations: 103.8 kB / 0.7213 GB, free: 6.195 MB / 0.6022 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/0.6354, allocations: 11.94 kB / 0.7214 GB, free: 6.184 MB / 0.6022 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006473/0.636, allocations: 87.77 kB / 0.7214 GB, free: 6.098 MB / 0.6022 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.046e-05/0.6361, allocations: 27.89 kB / 0.7215 GB, free: 6.07 MB / 0.6022 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.6361, allocations: 4 kB / 0.7215 GB, free: 6.066 MB / 0.6022 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009779/0.6371, allocations: 467.5 kB / 0.7219 GB, free: 5.609 MB / 0.6022 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.6371, allocations: 4 kB / 0.7219 GB, free: 5.605 MB / 0.6022 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.6371, allocations: 8 kB / 0.7219 GB, free: 5.598 MB / 0.6022 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/0.6375, allocations: 76.27 kB / 0.722 GB, free: 5.523 MB / 0.6022 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.6376, allocations: 11.98 kB / 0.722 GB, free: 5.512 MB / 0.6022 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005167/0.6381, allocations: 59.8 kB / 0.7221 GB, free: 5.453 MB / 0.6022 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-05/0.6382, allocations: 27.94 kB / 0.7221 GB, free: 5.426 MB / 0.6022 GB 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.0002698/0.6384, allocations: 161 kB / 0.7222 GB, free: 5.262 MB / 0.6022 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.6386, allocations: 43.44 kB / 0.7223 GB, free: 5.219 MB / 0.6022 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001479/0.6387, allocations: 54.89 kB / 0.7223 GB, free: 5.156 MB / 0.6022 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.761e-06/0.6388, allocations: 4 kB / 0.7223 GB, free: 5.152 MB / 0.6022 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.56e-06/0.6388, allocations: 4 kB / 0.7223 GB, free: 5.148 MB / 0.6022 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.6388, allocations: 3.984 kB / 0.7223 GB, free: 5.145 MB / 0.6022 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002611/0.6414, allocations: 1.582 MB / 0.7239 GB, free: 3.516 MB / 0.6022 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.26e-06/0.6414, allocations: 7.938 kB / 0.7239 GB, free: 3.508 MB / 0.6022 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004557/0.6419, allocations: 79.86 kB / 0.724 GB, free: 3.43 MB / 0.6022 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.324e-05/0.6419, allocations: 4 kB / 0.724 GB, free: 3.426 MB / 0.6022 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.81e-05/0.642, allocations: 8 kB / 0.724 GB, free: 3.418 MB / 0.6022 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.064e-05/0.642, allocations: 11.92 kB / 0.724 GB, free: 3.406 MB / 0.6022 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.875e-06/0.642, allocations: 4 kB / 0.724 GB, free: 3.402 MB / 0.6022 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0013/0.6433, allocations: 1.06 MB / 0.725 GB, free: 2.289 MB / 0.6022 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.6435, allocations: 120.6 kB / 0.7252 GB, free: 2.152 MB / 0.6022 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.6436, allocations: 11.98 kB / 0.7252 GB, free: 2.141 MB / 0.6022 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.6447, allocations: 103.9 kB / 0.7253 GB, free: 2.039 MB / 0.6022 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.6449, allocations: 51.78 kB / 0.7253 GB, free: 1.988 MB / 0.6022 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-05/0.6449, allocations: 19.98 kB / 0.7253 GB, free: 1.969 MB / 0.6022 GB Notification: Performance of sort global known variables: time 0.0003434/0.6453, allocations: 247.1 kB / 0.7256 GB, free: 1.723 MB / 0.6022 GB Notification: Performance of remove unused functions: time 0.001287/0.6466, allocations: 167.5 kB / 0.7257 GB, free: 1.559 MB / 0.6022 GB 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.0002437/0.6468, allocations: 139 kB / 0.7259 GB, free: 1.414 MB / 0.6022 GB Notification: Performance of simCode: created initialization part: time 0.001647/0.6485, allocations: 0.8598 MB / 0.7267 GB, free: 0.543 MB / 0.6022 GB Notification: Performance of simCode: created event and clocks part: time 3.434e-06/0.6485, allocations: 0 / 0.7267 GB, free: 0.543 MB / 0.6022 GB Notification: Performance of simCode: created simulation system equations: time 0.000944/0.6495, allocations: 303.6 kB / 0.727 GB, free: 252 kB / 0.6022 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.6506, allocations: 63.3 kB / 0.7271 GB, free: 192 kB / 0.6022 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003358/0.654, allocations: 0.7684 MB / 0.7278 GB, free: 15.38 MB / 0.6178 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/0.6553, allocations: 0.9563 MB / 0.7287 GB, free: 14.39 MB / 0.6178 GB Notification: Performance of SimCode: time 1.337e-06/0.6553, allocations: 0 / 0.7287 GB, free: 14.39 MB / 0.6178 GB Notification: Performance of Templates: time 0.02992/0.6852, allocations: 7.652 MB / 0.7362 GB, free: 6.793 MB / 0.6178 GB