This problem occurs because the netlist generated from the OOC flow will not match the ports defined in the top module.
Those port names will contain some square brackets with the sub_name of the signals defined in the Record type similar the following:
Record type definition:
The netlist names will be similar to the following:
A work-around is to modify the netlist name as follows: