(function from pyomo.solvers.amplfunc_merge)
pyomo.solvers.amplfunc_merge
Merge AMPLFUNC and PYOMO_AMPLFUNC in an environment var dict