The number of type definitions is too great.
Break down the SQL statements into several modules or reduce the number of type definitions. The maximum number is 500.