In reply to hvgbl:
Which version of Questasim are you using? Your code compiles for me with Questasim 10.3b, but I have not run it.
Also, you shouldn’t `include “transaction.sv” inside your sequence code. Instead, you should have your code organized in packages. Read this article on how to organize your UVM code.