Approximate finite-dimensional ODE temperature model for microwave heating