Error regarding factory.print()

In reply to cgales:

As I wrote, I use factory.print() typically in the end_of_elaboration_phase(), but I got error…