Yes this is the 40 WDL limit. I had it too and once I reduced them to 38 it ran.

It also in the manual, under Publish "Typical errors are missing files, or exceeding the patch table memory by including more than 40 WDL files without using a resource."