[: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 2.536/2.536, allocations: 268.2 MB / 275.2 MB, free: 7.711 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1886/2.724, allocations: 63.84 MB / 339 MB, free: 8.078 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/3.07, allocations: 61.53 MB / 400.5 MB, free: 14.04 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.092/4.162, allocations: 426 MB / 0.8071 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/4.163, allocations: 87.45 kB / 0.8072 GB, free: 126.2 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1982 * Number of variables: 1982 Notification: Performance of Generate backend data structure: time 4.422/8.584, allocations: 0.8829 GB / 1.69 GB, free: 37.88 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/8.585, allocations: 12.12 kB / 1.69 GB, free: 37.88 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01/8.595, allocations: 1.071 MB / 1.691 GB, free: 37.39 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03319/8.628, allocations: 8.851 MB / 1.7 GB, free: 36.16 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006202/8.628, allocations: 250.8 kB / 1.7 GB, free: 36.16 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004144/8.633, allocations: 480.8 kB / 1.7 GB, free: 36.15 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03371/8.666, allocations: 9.599 MB / 1.71 GB, free: 32.64 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03839/8.705, allocations: 10.1 MB / 1.72 GB, free: 24.1 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000301/8.705, allocations: 7.875 kB / 1.72 GB, free: 24.09 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002548/8.708, allocations: 12 kB / 1.72 GB, free: 24.08 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002215/8.708, allocations: 192 kB / 1.72 GB, free: 23.89 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4049/9.113, allocations: 41.78 MB / 1.761 GB, free: 92.96 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01207/9.125, allocations: 4.894 MB / 1.765 GB, free: 92.93 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01696/9.142, allocations: 5.426 MB / 1.771 GB, free: 92.87 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002636/9.145, allocations: 0.8392 MB / 1.772 GB, free: 92.11 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01611/9.161, allocations: 4.219 MB / 1.776 GB, free: 91.87 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=539): time 1.943e-05/9.161, allocations: 0 / 1.776 GB, free: 91.87 MB / 0.5573 GB Notification: Performance of matching and sorting (n=599): time 0.09418/9.255, allocations: 21.44 MB / 1.797 GB, free: 90.58 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/9.255, allocations: 249.9 kB / 1.797 GB, free: 90.35 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.014/9.269, allocations: 4.952 MB / 1.802 GB, free: 90.04 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.002161/9.272, allocations: 29.27 kB / 1.802 GB, free: 90.01 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.008605/9.28, allocations: 2.753 MB / 1.804 GB, free: 88.79 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.006957/9.287, allocations: 2.006 MB / 1.806 GB, free: 87.46 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009184/9.288, allocations: 0 / 1.806 GB, free: 87.46 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0006125/9.289, allocations: 0.5817 MB / 1.807 GB, free: 87.14 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009931/9.299, allocations: 3.783 MB / 1.811 GB, free: 87.13 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.011/9.31, allocations: 5.368 MB / 1.816 GB, free: 85.39 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01815/9.328, allocations: 5.946 MB / 1.822 GB, free: 85.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.444e-05/9.328, allocations: 12.75 kB / 1.822 GB, free: 85.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=871) (initialization): time 0.0357/9.364, allocations: 10.98 MB / 1.832 GB, free: 84.79 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00481/9.369, allocations: 21.41 MB / 1.853 GB, free: 62.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002501/9.369, allocations: 48.31 kB / 1.853 GB, free: 62.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001851/9.369, allocations: 84.09 kB / 1.853 GB, free: 62.07 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01493/9.384, allocations: 1.633 MB / 1.855 GB, free: 62.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001718/9.384, allocations: 109.6 kB / 1.855 GB, free: 62.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01205/9.397, allocations: 414.3 kB / 1.856 GB, free: 62.03 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002174/9.399, allocations: 294.3 kB / 1.856 GB, free: 62.03 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/9.399, allocations: 4.656 kB / 1.856 GB, free: 62.03 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0317/9.431, allocations: 10.26 MB / 1.866 GB, free: 61.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001936/9.431, allocations: 48.19 kB / 1.866 GB, free: 61.87 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001177/9.431, allocations: 82.72 kB / 1.866 GB, free: 61.87 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0146/9.445, allocations: 1.631 MB / 1.868 GB, free: 61.87 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001801/9.446, allocations: 111.7 kB / 1.868 GB, free: 61.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01161/9.457, allocations: 404.5 kB / 1.868 GB, free: 61.83 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002274/9.46, allocations: 291.2 kB / 1.868 GB, free: 61.83 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 206 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,$PRE.TWat.nextEvent,TWat.nextEvent,P.a,P.b,P.last,$PRE.P.nextEvent,P.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (863): * Single equations (assignments): 861 * Array equations: 0 * Algorithm blocks: 2 * 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.003456/9.463, allocations: 339.6 kB / 1.869 GB, free: 61.63 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002981/9.466, allocations: 0.6155 MB / 1.869 GB, free: 61.31 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03684/9.503, allocations: 10.05 MB / 1.879 GB, free: 61.01 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.208e-05/9.503, allocations: 56.03 kB / 1.879 GB, free: 61.01 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.955e-05/9.503, allocations: 4.875 kB / 1.879 GB, free: 61.01 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001664/9.503, allocations: 31.36 kB / 1.879 GB, free: 61.01 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07046/9.574, allocations: 19 MB / 1.898 GB, free: 60.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.63e-05/9.574, allocations: 0 / 1.898 GB, free: 60.29 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01485/9.589, allocations: 1.199 MB / 1.899 GB, free: 60.29 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001168/9.589, allocations: 24.47 kB / 1.899 GB, free: 60.29 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001774/9.591, allocations: 100.3 kB / 1.899 GB, free: 60.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.132e-05/9.591, allocations: 18.47 kB / 1.899 GB, free: 60.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/9.591, allocations: 0 / 1.899 GB, free: 60.29 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04653/9.637, allocations: 15.24 MB / 1.914 GB, free: 57.14 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.08284/9.72, allocations: 21.64 MB / 1.935 GB, free: 48.08 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01169/9.732, allocations: 1.778 MB / 1.937 GB, free: 46.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004797/9.737, allocations: 43.17 kB / 1.937 GB, free: 46.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01656/9.754, allocations: 353.2 kB / 1.937 GB, free: 46.25 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002353/9.756, allocations: 290 kB / 1.937 GB, free: 46.09 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002054/9.758, allocations: 224.6 kB / 1.938 GB, free: 45.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.01409/9.772, allocations: 3.767 MB / 1.941 GB, free: 42.67 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.03642/9.809, allocations: 3.842 MB / 1.945 GB, free: 38.88 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 45 (tanSim.vol[1].dynBal.medium.T,tanSim.vol[2].dynBal.medium.T,tanSim.vol[3].dynBal.medium.T,tanSim.vol[4].dynBal.medium.T,tanSim.vol[5].dynBal.medium.T,tanSim.vol[6].dynBal.medium.T,tanSim.vol[7].dynBal.medium.T,tanSim.vol[8].dynBal.medium.T,tanSim.vol[9].dynBal.medium.T,tanSim.vol[10].dynBal.medium.T,tanSim.hA_flow.h_out,tanSim.hVol_flow[1].h_out,tanSim.hVol_flow[2].h_out,tanSim.hVol_flow[3].h_out,tanSim.hVol_flow[4].h_out,tanSim.hVol_flow[5].h_out,tanSim.hVol_flow[6].h_out,tanSim.hVol_flow[7].h_out,tanSim.hVol_flow[8].h_out,tanSim.hVol_flow[9].h_out,tanSim.hB_flow.h_out,tanEnh.vol[1].dynBal.medium.T,tanEnh.vol[2].dynBal.medium.T,tanEnh.vol[3].dynBal.medium.T,tanEnh.vol[4].dynBal.medium.T,tanEnh.vol[5].dynBal.medium.T,tanEnh.vol[6].dynBal.medium.T,tanEnh.vol[7].dynBal.medium.T,tanEnh.vol[8].dynBal.medium.T,tanEnh.vol[9].dynBal.medium.T,tanEnh.vol[10].dynBal.medium.T,tanEnh.hA_flow.h_out,tanEnh.hVol_flow[1].h_out,tanEnh.hVol_flow[2].h_out,tanEnh.hVol_flow[3].h_out,tanEnh.hVol_flow[4].h_out,tanEnh.hVol_flow[5].h_out,tanEnh.hVol_flow[6].h_out,tanEnh.hVol_flow[7].h_out,tanEnh.hVol_flow[8].h_out,tanEnh.hVol_flow[9].h_out,tanEnh.hB_flow.h_out,HOut_flow.h_out,HOut_flow1.h_out,dH.y) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,TWat.nextEvent,P.a,P.b,P.last,P.nextEvent) * Number of discrete states: 10 (P.last,P.nextEvent,P.b,P.a,$whenCondition2,TWat.last,TWat.nextEvent,TWat.b,TWat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (595): * Single equations (assignments): 593 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.00688/9.816, allocations: 0.9477 MB / 1.946 GB, free: 38.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03943/9.855, allocations: 14.13 MB / 1.96 GB, free: 25.84 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.413e-05/9.855, allocations: 5.312 kB / 1.96 GB, free: 25.83 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0107/9.866, allocations: 4.263 MB / 1.964 GB, free: 22.04 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02834/9.894, allocations: 3.039 MB / 1.967 GB, free: 19.98 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08134/9.976, allocations: 19.24 MB / 1.986 GB, free: 4.473 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3258/10.3, allocations: 6.964 MB / 1.993 GB, free: 83.16 MB / 0.5573 GB Notification: Performance of SimCode: time 3.186e-06/10.3, allocations: 5.75 kB / 1.993 GB, free: 83.16 MB / 0.5573 GB