I would experiment with separating the model compiler build and the CDT build.
Turn off the CDT build and just generate the code. (right-click Properties -> Builders) If there is no crash, then it would point to the CDT. Also, you can build from the MacOS command line.
Assuming you narrow the problem down to the CDT, you can begin changing some of the build parameters in CDT. For example, build a Release build rather than a Debug build.