[: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.408/3.408, allocations: 404 MB / 410.9 MB, free: 2.109 MB / 312.6 MB Notification: Performance of FrontEnd - loaded program: time 9.479e-06/9.703e-06, allocations: 4 kB / 0.4941 GB, free: 4.445 MB / 408.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4081, allocations: 92.76 MB / 0.5846 GB, free: 1.871 MB / 472.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.281/4.689, allocations: 2.198 GB / 2.783 GB, free: 41.08 MB / 0.7741 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/4.689, allocations: 107.5 kB / 2.783 GB, free: 41.03 MB / 0.7741 GB Notification: Performance of FrontEnd: time 0.4922/5.181, allocations: 57.08 MB / 2.839 GB, free: 265 MB / 0.7741 GB Notification: Performance of Transformations before backend: time 9.228e-05/5.181, allocations: 29 kB / 2.839 GB, free: 265 MB / 0.7741 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.003118/5.184, allocations: 1.473 MB / 2.84 GB, free: 264.1 MB / 0.7741 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/5.185, allocations: 15.53 kB / 2.84 GB, free: 264.1 MB / 0.7741 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00434/5.189, allocations: 433.4 kB / 2.841 GB, free: 264 MB / 0.7741 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/5.191, allocations: 0.7458 MB / 2.841 GB, free: 263.7 MB / 0.7741 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.149e-05/5.191, allocations: 33.75 kB / 2.841 GB, free: 263.7 MB / 0.7741 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002276/5.191, allocations: 65.34 kB / 2.841 GB, free: 263.7 MB / 0.7741 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002988/5.194, allocations: 1.371 MB / 2.843 GB, free: 263.7 MB / 0.7741 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/5.196, allocations: 1.129 MB / 2.844 GB, free: 263.5 MB / 0.7741 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.753e-05/5.197, allocations: 3.75 kB / 2.844 GB, free: 263.5 MB / 0.7741 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001462/5.197, allocations: 3.469 kB / 2.844 GB, free: 263.5 MB / 0.7741 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.298e-05/5.197, allocations: 56.23 kB / 2.844 GB, free: 263.5 MB / 0.7741 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007239/5.204, allocations: 3.986 MB / 2.848 GB, free: 262 MB / 0.7741 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/5.206, allocations: 0.9648 MB / 2.849 GB, free: 261.9 MB / 0.7741 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007485/5.207, allocations: 428.7 kB / 2.849 GB, free: 261.9 MB / 0.7741 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007356/5.207, allocations: 0.5553 MB / 2.85 GB, free: 261.3 MB / 0.7741 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009733/5.208, allocations: 0.551 MB / 2.85 GB, free: 261.3 MB / 0.7741 GB Notification: Performance of pre-optimization done (n=94): time 4.533e-06/5.208, allocations: 0 / 2.85 GB, free: 261.3 MB / 0.7741 GB Notification: Performance of matching and sorting (n=95): time 0.004159/5.213, allocations: 1.448 MB / 2.852 GB, free: 260.9 MB / 0.7741 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/5.213, allocations: 220.8 kB / 2.852 GB, free: 260.6 MB / 0.7741 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/5.214, allocations: 0.6966 MB / 2.853 GB, free: 260.5 MB / 0.7741 GB Notification: Performance of collectPreVariables (initialization): time 0.0001261/5.214, allocations: 28.33 kB / 2.853 GB, free: 260.5 MB / 0.7741 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/5.214, allocations: 396.3 kB / 2.853 GB, free: 260.2 MB / 0.7741 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002695/5.215, allocations: 309.1 kB / 2.853 GB, free: 260 MB / 0.7741 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-05/5.215, allocations: 0 / 2.853 GB, free: 260 MB / 0.7741 GB Notification: Performance of setup shared object (initialization): time 0.0001395/5.215, allocations: 403.2 kB / 2.854 GB, free: 259.7 MB / 0.7741 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007663/5.216, allocations: 353.5 kB / 2.854 GB, free: 259.7 MB / 0.7741 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008671/5.217, allocations: 0.5206 MB / 2.855 GB, free: 259.6 MB / 0.7741 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001844/5.218, allocations: 0.5231 MB / 2.855 GB, free: 259.5 MB / 0.7741 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.396e-06/5.218, allocations: 0 / 2.855 GB, free: 259.5 MB / 0.7741 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003895/5.222, allocations: 1.228 MB / 2.856 GB, free: 259.4 MB / 0.7741 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002388/5.223, allocations: 1.142 MB / 2.857 GB, free: 258.2 MB / 0.7741 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/5.223, allocations: 3.719 kB / 2.857 GB, free: 258.2 MB / 0.7741 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007393/5.223, allocations: 109.8 kB / 2.857 GB, free: 258.2 MB / 0.7741 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/5.225, allocations: 217.3 kB / 2.858 GB, free: 258.2 MB / 0.7741 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006957/5.226, allocations: 0.6525 MB / 2.858 GB, free: 257.7 MB / 0.7741 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/5.227, allocations: 83.25 kB / 2.858 GB, free: 257.7 MB / 0.7741 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/5.227, allocations: 44.09 kB / 2.858 GB, free: 257.7 MB / 0.7741 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/5.227, allocations: 3.938 kB / 2.858 GB, free: 257.7 MB / 0.7741 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002987/5.23, allocations: 0.9859 MB / 2.859 GB, free: 257.6 MB / 0.7741 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/5.23, allocations: 0 / 2.859 GB, free: 257.6 MB / 0.7741 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/5.23, allocations: 7.406 kB / 2.859 GB, free: 257.6 MB / 0.7741 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/5.231, allocations: 230.8 kB / 2.86 GB, free: 257.6 MB / 0.7741 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/5.232, allocations: 7.406 kB / 2.86 GB, free: 257.6 MB / 0.7741 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/5.233, allocations: 85.58 kB / 2.86 GB, free: 257.6 MB / 0.7741 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/5.233, allocations: 42.75 kB / 2.86 GB, free: 257.6 MB / 0.7741 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003278/5.233, allocations: 116 kB / 2.86 GB, free: 257.5 MB / 0.7741 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002937/5.234, allocations: 99.06 kB / 2.86 GB, free: 257.4 MB / 0.7741 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005142/5.239, allocations: 1.465 MB / 2.861 GB, free: 257.3 MB / 0.7741 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/5.239, allocations: 10.69 kB / 2.861 GB, free: 257.3 MB / 0.7741 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.042e-06/5.239, allocations: 6 kB / 2.861 GB, free: 257.3 MB / 0.7741 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/5.239, allocations: 6.844 kB / 2.861 GB, free: 257.3 MB / 0.7741 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006366/5.245, allocations: 2.562 MB / 2.864 GB, free: 256.8 MB / 0.7741 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/5.245, allocations: 4.031 kB / 2.864 GB, free: 256.8 MB / 0.7741 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/5.247, allocations: 198.2 kB / 2.864 GB, free: 256.8 MB / 0.7741 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001126/5.248, allocations: 189.4 kB / 2.864 GB, free: 256.8 MB / 0.7741 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001497/5.248, allocations: 21.47 kB / 2.864 GB, free: 256.8 MB / 0.7741 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002267/5.25, allocations: 1.676 MB / 2.866 GB, free: 255.6 MB / 0.7741 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.749e-06/5.25, allocations: 0 / 2.866 GB, free: 255.6 MB / 0.7741 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004174/5.254, allocations: 1.497 MB / 2.867 GB, free: 254.9 MB / 0.7741 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009195/5.255, allocations: 355 kB / 2.868 GB, free: 254.6 MB / 0.7741 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003399/5.256, allocations: 3.906 kB / 2.868 GB, free: 254.6 MB / 0.7741 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/5.257, allocations: 77.2 kB / 2.868 GB, free: 254.6 MB / 0.7741 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/5.257, allocations: 57.08 kB / 2.868 GB, free: 254.6 MB / 0.7741 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000145/5.258, allocations: 45.27 kB / 2.868 GB, free: 254.6 MB / 0.7741 GB Notification: Performance of sort global known variables: time 0.0009948/5.259, allocations: 0.5528 MB / 2.868 GB, free: 254.3 MB / 0.7741 GB Notification: Performance of remove unused functions: time 0.002425/5.261, allocations: 0.5256 MB / 2.869 GB, free: 254.3 MB / 0.7741 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001769/5.263, allocations: 0.7364 MB / 2.87 GB, free: 254 MB / 0.7741 GB Notification: Performance of simCode: created initialization part: time 0.003416/5.266, allocations: 1.609 MB / 2.871 GB, free: 253.3 MB / 0.7741 GB Notification: Performance of simCode: created event and clocks part: time 7.43e-06/5.266, allocations: 2.438 kB / 2.871 GB, free: 253.3 MB / 0.7741 GB Notification: Performance of simCode: created simulation system equations: time 0.001379/5.268, allocations: 0.6214 MB / 2.872 GB, free: 253.1 MB / 0.7741 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/5.269, allocations: 202.7 kB / 2.872 GB, free: 253 MB / 0.7741 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005016/5.274, allocations: 1.758 MB / 2.874 GB, free: 252.3 MB / 0.7741 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001541/5.276, allocations: 1.304 MB / 2.875 GB, free: 251.5 MB / 0.7741 GB Notification: Performance of SimCode: time 1.386e-06/5.276, allocations: 0 / 2.875 GB, free: 251.5 MB / 0.7741 GB Notification: Performance of Templates: time 0.05279/5.329, allocations: 23.38 MB / 2.898 GB, free: 240 MB / 0.7741 GB