It used to be a compile-term error, but now that we have ADOL-C support the missing gradient is not a problem anymore. [[Imported from SVN: r9516]]