Static and total temperature are no for equal at any condition than static and total pressure are. They are both simply functions of Mach. If you want a closed-form solution assuming a real gas, then I'm sorry, I don't think any exist. Run a CFD using real gas propreties...which you typically can't either, unless you hardwire it yourself.
Sure suuuuree, under your assumption that for incompressible flow, Mach = 0, they are the same. How same are they actually? I don't know, plug and chug. You'll have orders of magnitude less error assuming ideal gas than assuming imcompressible.