Hello Marek and Miguel,
The latest SigmaStudio version 3.11.1 gives the same error when compiling the "bad" project. To work around this, try replacing the circuit inside the fixed_pulse_width hierarchy board with the one shown below:
This circuit performs the same function, yet it manages to avoid the error.
Best regards,
Bob