To fix this error, edit the file...
components/com_profiler/plugin/userplug_virtuemart/virtuemart.php
...add the following after line 77
DEFINE( '_VIRTUEMART_FILE_HTMLTOOLS' , $mosConfig_absolute_path . '/administrator/components/com_virtuemart/classes/htmlTools.class.php' );
... then add the following after line 328...
include_once( _VIRTUEMART_FILE_HTMLTOOLS );
This error should go away. But apparently there are other problems with this plugin. I need this functionality so I will probably fix some of these issues.