Device thermal analysis