Hi Romain,
Your are correct that SystemModeler 4.0.1 treats "AssertionLevel.warning" as error. This has now been fixed and will be available in the next version of SystemModeler.