Hello,
as it is mentioned in the quoted message, this is not an error, but only a warning and it means that your server configuration doesn't allow script to set the timeout for itself. You can just ignore it as far as sitemap is generated successfully. If it's not, you should increase the max_execution_time setting in php.ini and restart apache.