The issue is that if you have two subcircuits that are being matched as primitive devices, the pin names need to match. The schematic side is showing "1", "2", "3" for the pins, which means that it did not see a subcircuit definition for it (which is normal with primitive devices). You probably will need a black-box (empty) entry for the subcircuit in the schematic netlist that has the named pins ("in", "out", and "gnd").