When we read the contador.skp by SketchUp SDK, it crashes at SUModelRelease(SUModelRef*). SketchUp 2016 also crashes when it is closing the file. The file is of version 6.4.12, and after it is saved to SketchUp 2016 version, the crash is gone.
Now that SU2018 is finally released, the SU2018 version of the SDK have a new function SUModelFixErrors which allows you to trigger the Fix Model functionally from the C API as well.