I dont think you can use var_names in pm.sample(...), it is not an API we currently support.
var_names
pm.sample(...)