  We compute the partition and correlation generating functions for the
Heisenberg intertwiner generalized vertex operator algebra on a genus $g$
Riemann surface in the Schottky uniformization. These are expressed in terms of
differential forms of the first, second and third kind, the prime form and the
period matrix and are computed by combinatorial methods using a generalization
of the MacMahon Master Theorem.
