System.err.println(exc.getLocalizedMessage());
assertTrue(!c2.getId().equals(c1.getId()));
}
// remove ListOfCompartments
ListOf<Compartment> listOfC = model.getListOfCompartments();
model.unsetListOfCompartments();
// add ListOfCompartments
model.setListOfCompartments(listOfC);
Compartment c3 = new Compartment(level, version);
c3.setId("c3");
model.addCompartment(c3);