Hi Andrew,
I'm not sure what is going wrong. MiniZinc is extensively tested and used on MacOS (on command line) so although your problem sounds serious. It is not a fundamental with MiniZinc on the MacOS operating system.
Looking at the version number, your build does not seem to match the official MiniZinc build:
MiniZinc to FlatZinc converter, version 2.5.5, build 273041792
How are you using MiniZinc from the command line? Did you install the official MiniZinc bundle and have you then added the bundles binary to you executable PATH?
export PATH=/Applications/MiniZincIDE.app/Contents/Resources:$PATH
Or if you are using Homebrew, did you install the cask for the MiniZinc bundle using the following command?
brew install --cask minizincide
Note that using the "minizinc" formula in Homebrew uses a differently compiled version of the MiniZinc compiler.
Cheers,
Jip