Existence of a weak solution to a nonlinear fluid-structure interaction problem with heat exchange