debug output removed
exception because of model read access in getSubstituteInfo
Fix for issue #4 (Some headers disappear on incremental rebuild)