improved sparse hessian using reverse 2 mode (reduced number of copies) in CLangCompileModelHelper;
sparse jacobian and hessian source code is only generated after reverse and forward methods in CLangCompileModelHelper;