Adds sanity checks to malloc() calls in simclist.c

These changes add checks to guard against failures
to calls in malloc() in simclist.c