DOS is a function and not symbolic? Then you need:
DOS
@register_symbolic HeatCapacity(kB,Tel,μ,DOS::Function)