Modeling of non-isothermalvapor membrane separation with thermodynamic models and generalized mass transfer equations