Hello Adrian,
you posted that you are targeting S32K144EVB but your GDB console shows NXP_KEx_S9KEAZ128M4 which is completely different part. This is the reason why flash programming fails - you target MCU and flash programming algorithm must match.
I'd recommend you:
1) create a new project and select the device you are targeting (S32K144).
2) open debug configuration dialog (Menu Run -> Debug Configuration)
3) select the appropriate configuration for your project (typically there are 3 variants for each build configuration - RAM_Debug, Debug, Release), Debug interface (assume you use OpenSDA) and click on "Debug" button
Are you able to run the debug session?
Stan