I have a main, top-level model which contains multiple model references to the same model.
Inside the referenced model there are signals marked as test points and have the storage class 'ExportedGlobal'. This is done in order to generate an A2L file during code generation.
The duplicate model referencing is not just for testing purposes, the multiple instances of model reference will be in the final build, with the test points included.
When I attempt to run the model in this configuration, I receive the following error message during model update:
'Configuration Parameters > Model Referencing > Total number of instances allowed per top model' is set to 'Multiple' for model 'RefModel'. Block 'RefModel/Gain' of this model has an output signal with a global storage class. This is not allowed in a model configured to be referenced multiple times. Consider setting the configuration parameter 'Total number of instances allowed per top model' to 'One' or changing the signal's storage class.
Best Answer