How exactly did you create this image?
Did you make use of the AnalyzeEnclosedSpaceVolumes property? If true, the analyzer will also look for bounding building elements and connected analytical grid cells for enclosed space volumes inside the building.
I believe many other properties may also affect the model calculation.
Have you looked at the gbXML output? Maybe that has less gaps?