Add function in gcamutil to perform ModelInterface queries