Removing libraries generated from incomplete models