I found the following problem when compiling the gensub record module with EPICS base 3.15.2, but it also exists with the aSub record: the record field "NOT" is generated as "epicsUInt32 NOT" instead of "epicsUInt32 not" in aSubRecord.h.
typedef struct aSubRecord {
...
epicsUInt32 nos; /* Max. elements in S */
epicsUInt32 NOT; /* Max. elements in T */
epicsUInt32 nou; /* Max. elements in U */
...
} aSubRecord;