SimTK_CMAES macros take diagnosticsLevel as input.