I run your code on a fresh kernel and I get a numerical value for T. Make sure T is not defined before you run Solve