Add warning output to gmm.