The issue is line 13 of the xschem netlist. The ReRAM device has been given a resistance of zero, which netgen interprets as a "fake" device that is being used to separate nets. So netgen is removing it. Try giving the device a non-zero value and it should work.