This error occurs when a system description is marked as optional.
Do not mark the system descriptions as optional.
In the above example, the system description is marked as optional. Hence the message error T0021: Cannot mark a system description as optional(!).
The code is corrected by removing the symbol !.