Compliance chamber containing a gas or liquid other than blood to compensate volume variations of a blood chamber