Vehicle went on fire in or near the engine compartment - the entire front end was burned and car is a total loss. I was in the vehicle driving home with my children (a 5 min drive from their school) and we smelled what we assumed was a a fire pit or fireplace burning nearby; we got out of the vehicle, within 90 seconds there were flames coming out of the hood. Car was well maintained and received nearly all service at the RVC GMC dealership it was purchased from. Vehicle was also still under the warranty we purchased.