Don't use gc() - getting segfault - 'memory not mapped' issues after running SIMEX...