Heavy quark production and properties of Quark–Gluon Plasma