I think we can show that $P(n) = \exp((1+o(1))\sqrt{S(n)\ln(S(n))})$. Note that, by Landau's function, we get this immediately as an asymptotic upper bound, as $p_1 + \ldots + p_n$ is one specific partition of $S(n)$.
Let us evaluate the limit of
$$
\frac{S(n)\ln(S(n))}{n^2\ln(n)\ln(n)}.
$$
Using $S(n)\approx \frac{1}{2}n^2 \ln(n)$ (see other post here or here), we find
that this is asymptotically equivalent to
$$
\frac{0.5n^2\ln(n)(2\ln(n) + \ln(\ln(n)) - \ln(2))}{n^2\ln(n)\ln(n)}.
$$
This equals
$$
1 + \frac{\ln(\ln(n))}{n^2\ln(n)\ln(n)} - \frac{\ln(2)}{n^2\ln(n)\ln(n)},
$$
which goes to one as $n$ goes to infinity. So, using the continuity of the square root function and $x \mapsto 1/x$ (which both have the fixed point $1$), we find
$$
\lim_{n\to \infty} \frac{n\ln(n)}{\sqrt{S(n)\ln(S(n))}} = 1.
$$
Finally, with $P(n) \approx \exp(n\ln(n))$ this gives $P(n) = \exp((1+o(1))\sqrt{S(n)\ln(S(n))})$.
Disclaimer: I am not a number theorist and only put this together by comparing various formulae I found (I was also thinking about a problem where this kind of arithmatic came up). So, please correct me if anything is wrong, or some steps are not sufficiently well explained.
Remark: In various posts here on mathstackexchange and on mathoverflow, it seems to me quite difficult to untangle if the sum of the first $n$ prime numbers or the sum of all prime numbers $\le n$ is meant, which give two different functions.