The TraceSinkMonitor is a blackbox module wrapping around /vsrc/TraceSinkMonitor.v. However, inside the file, it is using the final block construct, a SystemVerilog feature.
The file extension should be changed to .sv to inform the simulation/synthesis tool that this is a SystemVerilog module, not a Verilog one.