add error message to dataType.c when calloc failed