There currently are a variety of options to travel by night train from Lillehammer (Norway) to Heimdal (Norway), taking between approximately 4 and 5 hours: Namely the 51 and the 405. These lines are operated by SJ Nord.
SJ Nord, part of the Swedish state railway group SJ, runs passenger train services in Norway.