code: def save_GLRM_mojo(model):
      # save model
      MOJONAME = pyunit_utils.getMojoName(model._id)
  
      print("Downloading Java prediction model code from H2O")
      tmpdir = os.path.join(pyunit_utils.locate("results"), MOJONAME)
      os.makedirs(tmpdir)
      model.download_mojo(path=tmpdir)  # save mojo
      return tmpdir
  
file_path: h2o-3/h2o-py/tests/testdir_javapredict/pyunit_pubdev_5826_glrm_predict_large.py
imports: import sys, os
  import h2o
  from tests import pyunit_utils
  from h2o.estimators.glrm import H2OGeneralizedLowRankEstimator
  from random import randint
  import re
label_desc: Use image node_id 3 for calling a global function with example usage: save_GLRM_mojo(model) and returns: tmpdir