Incorporating Machine Learning for Thermal Engines Modeling in Industrial Waste Heat Recovery