This code:
XXDouble c [%NUMBER_CONSTANTS% + 1];
XXDouble P [%NUMBER_PARAMETERS% + 1];
XXDouble V [%NUMBER_VARIABLES% + 1];
XXDouble s [%NUMBER_STATES% + 1];
XXDouble R [%NUMBER_STATES% + 1];
XXMatrix M [%NUMBER_MATRICES% + 1]; /* In the initialization this will be mapped on other arrays. */
XXDouble U [%NUMBER_UNNAMED% + 1];
Will be replaced by (example values):
XXDouble c [0 + 1];
XXDouble P [10 + 1];
XXDouble V [34 + 1];
XXDouble s [8 + 1];
XXDouble R [8 + 1];
XXMatrix M [2 + 1]; /* In the initialization this will be mapped on other arrays. */
XXDouble U [6 + 1];