Linux Mint 18 - GenerateProjectFiles.sh stops abruptly

Hi,

Today I was trying to install Unreal Engine 4.19.1 on Linux Mint 18 and I’ve faced following problem:
GenerateProjectFiles.sh stops abruptly on UnrealBuildTool.exe, which makes further installation impossible.
No error nor warning is printed.
Setup.sh was run properly.
The problem didn’t occur in past when I was installing version 4.17.
I presume it may be a Mono issue (However I’ve tried both version 3.8 and 4.2.1)
Here’s the console:

ja@ja-ThinkStation-C20 ~ $ '/home/ja/Programy/U4/UnrealEngine-release/Setup.sh'
Github build
Checking / downloading the latest archives
Checking dependencies (excluding Win32, Win64, Mac, Android)...
Updating dependencies: 100% (28613/28613), 4762.1/4762.1 MiB | 6.57 MiB/s, done
Result: 0
Fixing inconsistent case in filenames.
Content/Editor/Slate/Icons/ExploreLayerContents.png -> ExploreLayerContents.PNG
Content/Editor/Slate/Old/Docking/ContentBorder.png -> ContentBorder.PNG
Content/Editor/Slate/Old/TableView/SplitterGrip.png -> SplitterGrip.PNG
Content/Editor/Slate/Old/Border.png -> Border.PNG
Content/Editor/Slate/Old/FilledBorder.png -> FilledBorder.PNG
Content/Editor/Slate/Old/DebugBorder.png -> DebugBorder.PNG
Content/Editor/Slate/Old/ComboArrow.png -> ComboArrow.PNG
Content/Editor/Slate/Old/Graph/Arrow.png -> Arrow.PNG
Content/Editor/Slate/Old/Graph/GraphBackground.png -> GraphBackground.PNG
Content/Editor/Slate/Old/Graph/GraphBackground_Slate.png -> GraphBackground_Slate.PNG
Content/Editor/Slate/Old/Graph/map.png -> map.PNG
Content/Editor/Slate/Old/Graph/NodeBackground.png -> NodeBackground.PNG
Content/Editor/Slate/Old/Graph/NodeShadowSelected.png -> NodeShadowSelected.PNG
Content/Editor/Slate/Old/Graph/GraphBackground_Stone.png -> GraphBackground_Stone.PNG
Content/Editor/Slate/Old/AnimEditor/NotifyTrackBackground.png -> NotifyTrackBackground.PNG
Content/Editor/Slate/Common/WorkingFrame_Marquee_Vert.png -> WorkingFrame_Marquee_Vert.PNG
Content/Editor/Slate/Common/VerticalPipe.png -> VerticalPipe.PNG
Content/Editor/Slate/Common/HeaderSplitterGrip.png -> HeaderSplitterGrip.PNG
Content/Editor/Slate/Common/SearchGlass.png -> SearchGlass.PNG
Content/Editor/Slate/Common/WorkingBar_Marquee.png -> WorkingBar_Marquee.PNG
Content/Editor/Slate/Common/WorkingFrame_Marquee.png -> WorkingFrame_Marquee.PNG
Content/Editor/Slate/Common/X.png -> X.PNG
Content/Editor/Slate/Common/Spinbox.png -> Spinbox.PNG
Content/Editor/Slate/Common/ProgressBar_Marquee.png -> ProgressBar_Marquee.PNG
Content/Editor/Slate/Common/RoundedSelection_16x.png -> RoundedSelection_16x.PNG
Content/Editor/Slate/Common/TextBoxLabelBorder.png -> TextBoxLabelBorder.PNG
Content/Editor/Slate/Graph/Icons/Hammer.png -> Hammer.PNG
Content/Editor/Slate/Graph/Pin_connected.png -> Pin_connected.PNG
Content/Editor/Slate/Graph/GraphPanel_SolidBackground.png -> GraphPanel_SolidBackground.PNG
Content/Editor/Slate/Graph/Pin_disconnected.png -> Pin_disconnected.PNG
Content/Slate/Old/Border.png -> Border.PNG
Content/Slate/Common/DebugBorder.png -> DebugBorder.PNG
Content/Slate/Common/HeaderSplitterGrip.png -> HeaderSplitterGrip.PNG
Content/Slate/Common/SearchGlass.png -> SearchGlass.PNG
Content/Slate/Common/X.png -> X.PNG
Content/Slate/Common/Spinbox.png -> Spinbox.PNG
Content/Slate/Common/ProgressBar_Marquee.png -> ProgressBar_Marquee.PNG
Content/Slate/Common/RoundedSelection_16x.png -> RoundedSelection_16x.PNG
Content/Slate/Common/TextBoxLabelBorder.png -> TextBoxLabelBorder.PNG
Documentation/Source/Shared/Icons/Source/Images/ExploreLayerContents.png -> ExploreLayerContents.PNG
Documentation/Source/Shared/Icons/Images/ExploreLayerContents.png -> ExploreLayerContents.PNG

Building ThirdParty libraries

If you don't see SUCCESS message in the end, then building did not finish properly.
In that case, take a look into /home/ja/Programy/U4/UnrealEngine-release/Engine/Build/BatchFiles/Linux/BuildThirdParty.log for details.

No third party libs needed to be built locally

********** SUCCESS ****************
Installing UE4 project types associations
Attempting to set up UE4 pretty printers for gdb (existing UE4Printers.py, if any, will be overwritten)...
updated UE4Printers.py
found necessary entries in ~/.gdbinit file, not changing it.
Setup successful.
ja@ja-ThinkStation-C20 ~ $ '/home/ja/Programy/U4/UnrealEngine-release/GenerateProjectFiles.sh'

Setting up Unreal Engine 4 project files...

+ xbuild Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj /verbosity:quiet /nologo /p:TargetFrameworkVersion=v4.5 /p:Configuration=Development
+ mono Binaries/DotNET/UnrealBuildTool.exe -projectfiles
Generating data for project indexing... 100%
Generating data for project indexing... 100%
Writing project files... 100%
Generating data for project indexing... 100%
Generating data for project indexing... 100%
Generating data for project indexing... 100%
Generating data for project indexing... 100%
Writing project files... 100%
+ set +x

I’ll be grateful for any tips.