Modified setState_pTX. Now an assert will give an error message in case the function is used (which is not allowed).

git-svn-id: https://svn.modelica.org/projects/Modelica/trunk@6531 7ce873d0-865f-4ce7-a662-4bb36ea78beb