ERROR: Could not build wheels for vllm, which is required to install pyproject.toml-based projects

(vllm) PS C:\Users\hub1\gen-ai-training-abshek\gen-ai-training\vllm-main> pip install -e .
Looking in indexes: http://art.nwie.net/artifactory/api/pypi/pypi/simple
Obtaining file:///C:/Users/hub1/gen-ai-training-abshek/gen-ai-training/vllm-main
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... done
Preparing editable metadata (pyproject.toml) ... done
Collecting ninja (from vllm==0.3.0)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/b6/2f/a3bc50fa63fc4fe9348e15b53dc8c87febfd4e0c660fcf250c4b19a3aa3b/ninja-<IP_ADDRESS>-py2.py3-none-win_amd64.whl (312 kB)
Requirement already satisfied: psutil in c:\users\hub1\gen-ai-training-abshek\gen-ai-training\vllm\lib\site-packages (from vllm==0.3.0) (5.9.8)
Collecting ray>=2.9 (from vllm==0.3.0)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/a2/77/2cd1967982ef518065f181f5273e2bdf84cdcda586941b307c7f17aaad16/ray-2.9.1-cp311-cp311-win_amd64.whl (25.6 MB)
Collecting sentencepiece (from vllm==0.3.0)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/cc/07/d6951e3b4079df819d76353302fc3e76835252e7e0b6366f96a03d87ea5f/sentencepiece-0.1.99-cp311-cp311-win_amd64.whl (977 kB)
Requirement already satisfied: numpy in c:\users\hub1\gen-ai-training-abshek\gen-ai-training\vllm\lib\site-packages (from vllm==0.3.0) (1.26.3)
Collecting torch==2.1.2 (from vllm==0.3.0)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/e4/ae/2ad8820045b6631965750435f28583e80905b8273d57cf026163b51323ee/torch-2.1.2-cp311-cp311-win_amd64.whl (192.3 MB)
Requirement already satisfied: transformers>=4.37.0 in c:\users\hub1\gen-ai-training-abshek\gen-ai-training\vllm\lib\site-packages (from vllm==0.3.0)
(4.37.2)
Collecting xformers==0.0.23.post1 (from vllm==0.3.0)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/db/3f/44472a4f59a735a1355061619a52c96973b8eaeda2eff4d0e71e782decd1/xformers-0.0.23.post1-cp311-cp311-win_amd64.whl (201.1 MB)
Collecting fastapi (from vllm==0.3.0)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/e3/cb/fa5122eec49e6bca91d3a332a3bc1dff3c12d093228e9e524cad3a7f1039/fastapi-0.109.1-py3-none-any.whl (92 kB)
Collecting uvicorn[standard] (from vllm==0.3.0)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/c7/f3/29caa83f5795b20ed3aca357c648f3ae995ff6ff08e38b22387017abbdc5/uvicorn-0.27.0.post1-py3-none-any.whl (60 kB)
Collecting pydantic>=2.0 (from vllm==0.3.0)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/e4/37/3ffe6e7daa1ea1b4bf5228807a92ccbae538cf57c0c50b93564c310c11a8/pydantic-2.6.0-py3-none-any.whl (394 kB)
Collecting aioprometheus[starlette] (from vllm==0.3.0)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/91/21/c9e882ea8a7189b7d71ffb709db24708113896e81a25e074a17f9874d8be/aioprometheus-23.12.0-py3-none-any.whl (31 kB)
Collecting pynvml==11.5.0 (from vllm==0.3.0)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/5b/9c/adb8070059caaa15d5a572b66bccd95900d8c1b9fa54d6ecea6ae97448d1/pynvml-11.5.0-py3-none-any.whl (53 kB)
Requirement already satisfied: filelock in c:\users\hub1\gen-ai-training-abshek\gen-ai-training\vllm\lib\site-packages (from torch==2.1.2->vllm==0.3.0) (3.9.0)
Requirement already satisfied: typing-extensions in c:\users\hub1\gen-ai-training-abshek\gen-ai-training\vllm\lib\site-packages (from torch==2.1.2->vllm==0.3.0) (4.8.0)
Requirement already satisfied: sympy in c:\users\hub1\gen-ai-training-abshek\gen-ai-training\vllm\lib\site-packages (from torch==2.1.2->vllm==0.3.0) (1.12)
Requirement already satisfied: networkx in c:\users\hub1\gen-ai-training-abshek\gen-ai-training\vllm\lib\site-packages (from torch==2.1.2->vllm==0.3.0) (3.2.1)
Requirement already satisfied: jinja2 in c:\users\hub1\gen-ai-training-abshek\gen-ai-training\vllm\lib\site-packages (from torch==2.1.2->vllm==0.3.0)
(3.1.2)
Requirement already satisfied: fsspec in c:\users\hub1\gen-ai-training-abshek\gen-ai-training\vllm\lib\site-packages (from torch==2.1.2->vllm==0.3.0)
(2023.12.2)
Collecting annotated-types>=0.4.0 (from pydantic>=2.0->vllm==0.3.0)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/28/78/d31230046e58c207284c6b2c4e8d96e6d3cb4e52354721b944d3e1ee4aa5/annotated_types-0.6.0-py3-none-any.whl (12 kB)
Collecting pydantic-core==2.16.1 (from pydantic>=2.0->vllm==0.3.0)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/b2/47/14bf2397a5daa0cc1b99306499a39525966b73aba4d31b17e373e229f07e/pydantic_core-2.16.1-cp311-none-win_amd64.whl (1.9 MB)
Collecting click>=7.0 (from ray>=2.9->vllm==0.3.0)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/00/2e/d53fa4befbf2cfa713304affc7ca780ce4fc1fd8710527771b58311a3229/click-8.1.7-py3-none-any.whl (97 kB)
Collecting jsonschema (from ray>=2.9->vllm==0.3.0)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/39/9d/b035d024c62c85f2e2d4806a59ca7b8520307f34e0932fbc8cc75fe7b2d9/jsonschema-4.21.1-py3-none-any.whl (85 kB)
Collecting msgpack<2.0.0,>=1.0.0 (from ray>=2.9->vllm==0.3.0)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/b4/3d/c8dd23050eefa3d9b9c5b8329ed3308c2f2f80f65825e9ea4b7fa621cdab/msgpack-1.0.7-cp311-cp311-win_amd64.whl (222 kB)
Requirement already satisfied: packaging in c:\users\hub1\gen-ai-training-abshek\gen-ai-training\vllm\lib\site-packages (from ray>=2.9->vllm==0.3.0) (23.2)
Collecting protobuf!=3.19.5,>=3.15.3 (from ray>=2.9->vllm==0.3.0)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/c1/00/c3ae19cabb36cfabc94ff0b102aac21b471c9f91a1357f8aafffb9efe8e0/protobuf-4.25.2-cp310-abi3-win_amd64.whl (413 kB)
Requirement already satisfied: pyyaml in c:\users\hub1\gen-ai-training-abshek\gen-ai-training\vllm\lib\site-packages (from ray>=2.9->vllm==0.3.0) (6.0.1)
Collecting aiosignal (from ray>=2.9->vllm==0.3.0)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/76/ac/a7305707cb852b7e16ff80eaf5692309bde30e2b1100a1fcacdc8f731d97/aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Collecting frozenlist (from ray>=2.9->vllm==0.3.0)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/b3/21/c5aaffac47fd305d69df46cfbf118768cdf049a92ee6b0b5cb029d449dcf/frozenlist-1.4.1-cp311-cp311-win_amd64.whl (50 kB)
Requirement already satisfied: requests in c:\users\hub1\gen-ai-training-abshek\gen-ai-training\vllm\lib\site-packages (from ray>=2.9->vllm==0.3.0) (2.28.1)
Requirement already satisfied: huggingface-hub<1.0,>=0.19.3 in c:\users\hub1\gen-ai-training-abshek\gen-ai-training\vllm\lib\site-packages (from transformers>=4.37.0->vllm==0.3.0) (0.20.3)
Requirement already satisfied: regex!=2019.12.17 in c:\users\hub1\gen-ai-training-abshek\gen-ai-training\vllm\lib\site-packages (from transformers>=4.37.0->vllm==0.3.0) (2023.12.25)
Requirement already satisfied: tokenizers<0.19,>=0.14 in c:\users\hub1\gen-ai-training-abshek\gen-ai-training\vllm\lib\site-packages (from transformers>=4.37.0->vllm==0.3.0) (0.15.1)
Requirement already satisfied: safetensors>=0.4.1 in c:\users\hub1\gen-ai-training-abshek\gen-ai-training\vllm\lib\site-packages (from transformers>=4.37.0->vllm==0.3.0) (0.4.2)
Requirement already satisfied: tqdm>=4.27 in c:\users\hub1\gen-ai-training-abshek\gen-ai-training\vllm\lib\site-packages (from transformers>=4.37.0->vllm==0.3.0) (4.66.1)
Collecting orjson (from aioprometheus[starlette]->vllm==0.3.0)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/41/c5/ac4a0f8a1ae80373f4dce810f861cb2bab4aded9ceccc510d73b966fb607/orjson-3.9.12-cp311-none-win_amd64.whl (134 kB)
Collecting quantile-python>=1.1 (from aioprometheus[starlette]->vllm==0.3.0)
Using cached quantile_python-1.1-py3-none-any.whl
Collecting starlette>=0.14.2 (from aioprometheus[starlette]->vllm==0.3.0)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/69/bf/b8f2c0e1dd2a314712994e25405e6b03ed0d27795305aa68a22da08ffb01/starlette-0.36.2-py3-none-any.whl (71 kB)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/03/13/c60c738da2fb69d60ee1dc5631e8d152352003cc0bc4ce39582bdd90e293/starlette-0.35.1-py3-none-any.whl (71 kB)
Collecting h11>=0.8 (from uvicorn[standard]->vllm==0.3.0)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/95/04/ff642e65ad6b90db43e668d70ffb6736436c7ce41fcc549f4e9472234127/h11-0.14.0-py3-none-any.whl (58 kB)
Requirement already satisfied: colorama>=0.4 in c:\users\hub1\gen-ai-training-abshek\gen-ai-training\vllm\lib\site-packages (from uvicorn[standard]->vllm==0.3.0) (0.4.6)
Collecting httptools>=0.5.0 (from uvicorn[standard]->vllm==0.3.0)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/14/e4/20d28dfe7f5b5603b6b04c33bb88662ad749de51f0c539a561f235f42666/httptools-0.6.1-cp311-cp311-win_amd64.whl (55 kB)
Collecting python-dotenv>=0.13 (from uvicorn[standard]->vllm==0.3.0)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/6a/3e/b68c118422ec867fa7ab88444e1274aa40681c606d59ac27de5a5588f082/python_dotenv-1.0.1-py3-none-any.whl (19 kB)
Collecting watchfiles>=0.13 (from uvicorn[standard]->vllm==0.3.0)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/f3/dc/2a8a447b783f5059c4bf7a6bad8fe59375a5a9ce872774763b25c21c2860/watchfiles-0.21.0-cp311-none-win_amd64.whl (280 kB)
Collecting websockets>=10.4 (from uvicorn[standard]->vllm==0.3.0)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/d1/40/6b169cd1957476374f51f4486a3e85003149e62a14e6b78a958c2222337a/websockets-12.0-cp311-cp311-win_amd64.whl (124 kB)
Collecting anyio<5,>=3.4.0 (from starlette>=0.14.2->aioprometheus[starlette]->vllm==0.3.0)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/bf/cd/d6d9bb1dadf73e7af02d18225cbd2c93f8552e13130484f1c8dcfece292b/anyio-4.2.0-py3-none-any.whl (85 kB)
Requirement already satisfied: MarkupSafe>=2.0 in c:\users\hub1\gen-ai-training-abshek\gen-ai-training\vllm\lib\site-packages (from jinja2->torch==2.1.2->vllm==0.3.0) (2.1.3)
Collecting attrs>=22.2.0 (from jsonschema->ray>=2.9->vllm==0.3.0)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/e0/44/827b2a91a5816512fcaf3cc4ebc465ccd5d598c45cefa6703fcf4a79018f/attrs-23.2.0-py3-none-any.whl (60 kB)
Collecting jsonschema-specifications>=2023.03.6 (from jsonschema->ray>=2.9->vllm==0.3.0)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/ee/07/44bd408781594c4d0a027666ef27fab1e441b109dc3b76b4f836f8fd04fe/jsonschema_specifications-2023.12.1-py3-none-any.whl (18 kB)
Collecting referencing>=0.28.4 (from jsonschema->ray>=2.9->vllm==0.3.0)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/90/10/1c92edb0a0a14b67ff825bc338e74bc49ab27d3f3bae3f9a02838cba546f/referencing-0.33.0-py3-none-any.whl (26 kB)
Collecting rpds-py>=0.7.1 (from jsonschema->ray>=2.9->vllm==0.3.0)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/a5/c8/294d93e3412add229583edb6d4016af18a60deecc3a96c33ffcb00ae363b/rpds_py-0.17.1-cp311-none-win_amd64.whl (205 kB)
Requirement already satisfied: charset-normalizer<3,>=2 in c:\users\hub1\gen-ai-training-abshek\gen-ai-training\vllm\lib\site-packages (from requests->ray>=2.9->vllm==0.3.0) (2.1.1)
Requirement already satisfied: idna<4,>=2.5 in c:\users\hub1\gen-ai-training-abshek\gen-ai-training\vllm\lib\site-packages (from requests->ray>=2.9->vllm==0.3.0) (3.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\hub1\gen-ai-training-abshek\gen-ai-training\vllm\lib\site-packages (from requests->ray>=2.9->vllm==0.3.0) (1.26.13)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\hub1\gen-ai-training-abshek\gen-ai-training\vllm\lib\site-packages (from requests->ray>=2.9->vllm==0.3.0) (2022.12.7)
Requirement already satisfied: mpmath>=0.19 in c:\users\hub1\gen-ai-training-abshek\gen-ai-training\vllm\lib\site-packages (from sympy->torch==2.1.2->vllm==0.3.0) (1.3.0)
Collecting sniffio>=1.1 (from anyio<5,>=3.4.0->starlette>=0.14.2->aioprometheus[starlette]->vllm==0.3.0)
Using cached http://art.nwie.net/artifactory/api/pypi/pypi/packages/packages/c3/a0/5dba8ed157b0136607c7f2151db695885606968d1fae123dc3391e0cfdbf/sniffio-1.3.0-py3-none-any.whl (10 kB)
Building wheels for collected packages: vllm
Building editable for vllm (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building editable for vllm (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [145 lines of output]
C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\torch\nn\modules\transformer.py:20: UserWarning: Failed to initialize NumPy: No module named 'numpy' (Triggered internally at ..\torch\csrc\utils\tensor_numpy.cpp:84.)
device: torch.device = torch.device(torch._C._get_default_device()),  # torch.device('cpu'),
No CUDA runtime is found, using CUDA_HOME='C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.1'
running editable_wheel
creating C:\Users\hub1\AppData\Local\Temp\pip-wheel-_znvpwgw.tmp-dbxwqjd8\vllm.egg-info
writing C:\Users\hub1\AppData\Local\Temp\pip-wheel-_znvpwgw.tmp-dbxwqjd8\vllm.egg-info\PKG-INFO
writing dependency_links to C:\Users\hub1\AppData\Local\Temp\pip-wheel-_znvpwgw.tmp-dbxwqjd8\vllm.egg-info\dependency_links.txt
writing requirements to C:\Users\hub1\AppData\Local\Temp\pip-wheel-_znvpwgw.tmp-dbxwqjd8\vllm.egg-info\requires.txt
writing top-level names to C:\Users\hub1\AppData\Local\Temp\pip-wheel-_znvpwgw.tmp-dbxwqjd8\vllm.egg-info\top_level.txt
writing manifest file 'C:\Users\hub1\AppData\Local\Temp\pip-wheel-_znvpwgw.tmp-dbxwqjd8\vllm.egg-info\SOURCES.txt'
reading manifest file 'C:\Users\hub1\AppData\Local\Temp\pip-wheel-_znvpwgw.tmp-dbxwqjd8\vllm.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'C:\Users\hub1\AppData\Local\Temp\pip-wheel-_znvpwgw.tmp-dbxwqjd8\vllm.egg-info\SOURCES.txt'
creating 'C:\Users\hub1\AppData\Local\Temp\pip-wheel-_znvpwgw.tmp-dbxwqjd8\vllm-0.3.0.dist-info'
C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\wheel\bdist_wheel.py:108: RuntimeWarning: Config variable 'Py_DEBUG' is unset, Python ABI tag may be incorrect
if get_flag("Py_DEBUG", hasattr(sys, "gettotalrefcount"), warn=(impl == "cp")):
creating C:\Users\hub1\AppData\Local\Temp\pip-wheel-_znvpwgw.tmp-dbxwqjd8\vllm-0.3.0.dist-info\WHEEL
running build_py
running build_ext
C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\torch\utils\cpp_extension.py:383: UserWarning: Error checking
compiler version for cl: [WinError 2] The system cannot find the file specified
warnings.warn(f'Error checking compiler version for {compiler}: {error}')
Traceback (most recent call last):
File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\setuptools\command\editable_wheel.py", line 156, in run
self._create_wheel_file(bdist_wheel)
File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\setuptools\command\editable_wheel.py", line 345, in _create_wheel_file
files, mapping = self._run_build_commands(dist_name, unpacked, lib, tmp)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\setuptools\command\editable_wheel.py", line 268, in _run_build_commands
self._run_build_subcommands()
File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\setuptools\command\editable_wheel.py", line 295, in _run_build_subcommands
self.run_command(name)
File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\setuptools\dist.py", line 963, in run_command
super().run_command(command)
File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\setuptools\command\build_ext.py", line 88, in run
_build_ext.run(self)
File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\setuptools_distutils\command\build_ext.py", line 345, in run
self.build_extensions()
File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\torch\utils\cpp_extension.py", line 525, in build_extensions
_check_cuda_version(compiler_name, compiler_version)
File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\torch\utils\cpp_extension.py", line 407, in _check_cuda_version
torch_cuda_version = packaging.version.parse(torch.version.cuda)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\pkg_resources_vendor\packaging\version.py", line 52,
in parse
return Version(version)
^^^^^^^^^^^^^^^^
File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\pkg_resources_vendor\packaging\version.py", line 196, in init
match = self._regex.search(version)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: expected string or bytes-like object, got 'NoneType'
C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\setuptools_distutils\dist.py:988: _DebuggingTips: Problem in
editable installation.
!!
          ********************************************************************************
          An error happened while installing `vllm` in editable mode.

          The following steps are recommended to help debug this problem:

          - Try to install the project normally, without using the editable mode.
            Does the error still persist?
            (If it does, try fixing the problem before attempting the editable mode).
          - If you are using binary extensions, make sure you have all OS-level
            dependencies installed (e.g. compilers, toolchains, binary libraries, ...).
          - Try the latest version of setuptools (maybe the error was already fixed).
          - If you (or your project dependencies) are using any setuptools extension
            or customization, make sure they support the editable mode.

          After following the steps above, if the problem still persists and
          you think this is related to how setuptools handles editable installations,
          please submit a reproducible example
          (see https://stackoverflow.com/help/minimal-reproducible-example) to:

              https://github.com/pypa/setuptools/issues

          See https://setuptools.pypa.io/en/latest/userguide/development_mode.html for details.
          ********************************************************************************

  !!
    cmd_obj.run()
  Traceback (most recent call last):
    File "C:\Users\hub1\gen-ai-training-abshek\gen-ai-training\vllm\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
      main()
    File "C:\Users\hub1\gen-ai-training-abshek\gen-ai-training\vllm\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\hub1\gen-ai-training-abshek\gen-ai-training\vllm\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 273, in build_editable
      return hook(wheel_directory, config_settings, metadata_directory)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\setuptools\build_meta.py", line 436, in build_editable          return self._build_with_temp_dir(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\setuptools\build_meta.py", line 389, in _build_with_temp_dir
      self.run_setup()
    File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
      exec(code, locals())
    File "<string>", line 406, in <module>
    File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\setuptools\__init__.py", line 103, in setup
      return distutils.core.setup(**attrs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
      return run_commands(dist)
             ^^^^^^^^^^^^^^^^^^
    File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
      dist.run_commands()
    File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 969, in run_commands
      self.run_command(cmd)
    File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\setuptools\dist.py", line 963, in run_command
      super().run_command(command)
    File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
      cmd_obj.run()
    File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\setuptools\command\editable_wheel.py", line 156, in run
      self._create_wheel_file(bdist_wheel)
    File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\setuptools\command\editable_wheel.py", line 345, in _create_wheel_file
      files, mapping = self._run_build_commands(dist_name, unpacked, lib, tmp)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\setuptools\command\editable_wheel.py", line 268, in _run_build_commands
      self._run_build_subcommands()
    File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\setuptools\command\editable_wheel.py", line 295, in _run_build_subcommands
      self.run_command(name)
    File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
      self.distribution.run_command(command)
    File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\setuptools\dist.py", line 963, in run_command
      super().run_command(command)
    File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
      cmd_obj.run()
    File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\setuptools\command\build_ext.py", line 88, in run
      _build_ext.run(self)
    File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 345, in run
      self.build_extensions()
    File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\torch\utils\cpp_extension.py", line 525, in build_extensions
      _check_cuda_version(compiler_name, compiler_version)
    File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\torch\utils\cpp_extension.py", line 407, in _check_cuda_version
      torch_cuda_version = packaging.version.parse(torch.version.cuda)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\pkg_resources\_vendor\packaging\version.py", line 52,

in parse
return Version(version)
^^^^^^^^^^^^^^^^
File "C:\Users\hub1\AppData\Local\Temp\pip-build-env-3da0b9t3\overlay\Lib\site-packages\pkg_resources_vendor\packaging\version.py", line 196, in init
match = self._regex.search(version)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: expected string or bytes-like object, got 'NoneType'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building editable for vllm
Failed to build vllm
ERROR: Could not build wheels for vllm, which is required to install pyproject.toml-based projects
Dear all, anyone have met such error? Thank you so much for your help!!!

I recommend formatting your error log using a code block for clarity. You can do this as follows:
[Your error log here]

Additionally, it would be helpful to know your GPU driver version and CUDA version. You can obtain this information by executing the commands nvidia-smi and nvcc -v. I suspect that the issue you are encountering may be related to CUDA version.

Same thing happening.
On a GC T4 instance.
Tesla T4 -  NVIDIA-SMI 535.86.10              Driver Version: 535.86.10    CUDA Version: 12.2
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Mon_Apr__3_17:16:06_PDT_2023
Cuda compilation tools, release 12.1, V12.1.105
Build cuda_12.1.r12.1/compiler.32688072_0
Linux instance-20240215-153545 5.10.0-27-cloud-amd64 #1 SMP Debian 5.10.205-2 (2023-12-31) x86_64 GNU/Linux
gcc version 10.2.1 20210110 (Debian 10.2.1-6)

same issue。


DBZ-6439 Filter tables only when user want to capture schema for incl…

…uded tables only
https://issues.redhat.com/browse/DBZ-6439

Applied to main (=2.3).


feat: add --no-delete option, resolves #224

The user feedback is displayed in the header, I tried to make so that it disappears automatically after some time, but it seems to only update after some other action like moving in the list
Please let me know if this is good enough or if some other approach is preferred

The ui code needs to be called inside ui.app.QueueUpdateDraw(func() { to handle concurrency properly. See https://github.com/rivo/tview/wiki/Concurrency#actions-in-goroutines for more details.
I will add few improvements/fixes to your PR.


chore: split website data build process to several steps

Description
That PR doesn't change anything in styling and similar things in our website. It only splits posts building process to several steps, each part like blog-posts, jobs etc now will be located in separate files, usually with another shapes to easier handle data in appropriate pages.
There is a lot of code, but it's because I had to change the way of getting some values - the keys in the objects have changed.

I don't remember why this PR at all anymore 😆

I think you wanted to refactor scripts, split the scripts/build-post-list.js for easier maintanance

are we closing it?
I suggest we do
I prefer doing it the way we do it not, that each new script gets it's own folder, rather refactor all like this
unless you have time to update the PR

@derberg Yeah, I will close. We should try make this approach that you wrote, but in another PR.


feat: add alerts and sns topic

Ticket
https://github.com/navapbc/template-infra/issues/328
Changes
Added monitoring module with list of most common alerts and sns topic for notifications.
Added module call from /app/service/ with default alert thresholds values
Every alert could be enabled/disabled by setting/unsetting alert threshold.
Context for reviewers
Based on the monitoring project requirements, I incorporated a monitoring module into our existing Terraform code. The goal is to enhance our infrastructure by adding basic ECS metrics alerts with configurable thresholds.
Testing
Test 1

Run command to deploy app and monitoring.
TF_CLI_ARGS_apply="-var=image_tag=8a1ebfde68391049d022f6c959557cafb179869e" make infra-update-app-service APP_NAME=app ENVIRONMENT=staging
Ensure all alerts have been created via AWS UI - passed

Test 2

Set alert threshold value that will trigger alert.
Manually add your email as subscriber to SNS topic created by this PR.
Approve notification by pressing the link sent to email from AWS SNS service.
Run command to apply terraform changes
Ensure alert is triggered via AWS UI. Ensure email is received notifying about triggered alert.  - passed
TF_CLI_ARGS_apply="-var=image_tag=8a1ebfde68391049d022f6c959557cafb179869e" make infra-update-app-service APP_NAME=app ENVIRONMENT=staging

Test 3

Uncomment threshold for any alert in /app/service/main.tf -> module "monitoring".
Run command to apply terraform changes

TF_CLI_ARGS_apply="-var=image_tag=8a1ebfde68391049d022f6c959557cafb179869e" make infra-update-app-service APP_NAME=app ENVIRONMENT=staging
Ensure corresponding alert is created.  - passed

@gingeririna service module doesn't have that output. the service module only has these outputs: https://github.com/navapbc/template-infra/blob/main/infra/modules/service/outputs.tf

I agree that using template for alerts and put all values in loop is a more compact way to create alerts and add new ones, however we do not loop one or two attributes, but almost all of them, which makes code barely readable. Especially, when some alerts require more than one dimension attribute.


scanner construction failed

While testing REx with https://github.com/OpenModelica/OpenModelica/blob/master/OMParser/modelica.g4 I'm getting :
rex -javascript open-modelica.g4.ebnf
grammar is strong-LL(3)
scanner construction failed

The steps to transform the antlr4 grammar:
ebnf-convert open-modelica.g4
/* converted on Wed Dec 18, 2024, 11:09 (UTC+01) by antlr_4-to-w3c v0.68-SNAPSHOT which is Copyright (c) 2011-2024 by Gunther Rademacher<EMAIL_ADDRESS>*/

stored_definition
         ::= #xFEFF? ( 'within' name? ';' )? ( 'final'? class_definition ';' )* EOF
class_definition
         ::= 'encapsulated'? class_prefixes class_specifier
class_prefixes
         ::= 'partial'? ( 'class' | 'model' | 'operator'? 'record' | 'block' | 'expandable'? 'connector' | 'type' | 'package' | ( 'pure' | 'impure' )? 'operator'? 'function' | 'operator' )
class_specifier
         ::= long_class_specifier
           | short_class_specifier
           | der_class_specifier
long_class_specifier
         ::= ( IDENT | 'extends' IDENT class_modification? ) string_comment composition 'end' IDENT
short_class_specifier
         ::= IDENT '=' ( base_prefix type_specifier array_subscripts? class_modification? | 'enumeration' '(' ( enum_list | ':' )? ')' ) comment
der_class_specifier
         ::= IDENT '=' 'der' '(' type_specifier ( ',' IDENT )+ ')' comment
base_prefix
         ::= ( 'input' | 'output' )?
enum_list
         ::= enumeration_literal ( ',' enumeration_literal )*
enumeration_literal
         ::= IDENT comment
composition
         ::= element_list ( ( 'public' | 'protected' ) element_list | equation_section | algorithm_section )* ( 'external' language_specification? external_function_call? annotation_comment? ';' )? ( annotation_comment ';' )?
language_specification
         ::= STRING
external_function_call
         ::= ( component_reference '=' )? IDENT '(' expression_list? ')'
element_list
         ::= ( element ';' )*
element  ::= import_clause
           | extends_clause
           | 'redeclare'? 'final'? 'inner'? 'outer'? ( class_definition | component_clause | 'replaceable' ( class_definition | component_clause ) ( constraining_clause comment )? )
import_clause
         ::= 'import' ( IDENT '=' name | name ( '.' ( '*' | '{' import_list '}' ) | '.*' )? ) comment
import_list
         ::= IDENT ( ',' IDENT )*
extends_clause
         ::= 'extends' type_specifier class_modification? annotation_comment?
constraining_clause
         ::= 'constrainedby' type_specifier class_modification?
component_clause
         ::= type_prefix type_specifier array_subscripts? component_list
type_prefix
         ::= ( 'flow' | 'stream' )? ( 'discrete' | 'parameter' | 'constant' )? ( 'input' | 'output' )?
component_list
         ::= component_declaration ( ',' component_declaration )*
component_declaration
         ::= declaration condition_attribute? comment
condition_attribute
         ::= 'if' expression
declaration
         ::= IDENT array_subscripts? modification?
modification
         ::= class_modification ( '=' expression )?
           | ( '=' | ':=' ) expression
class_modification
         ::= '(' argument_list? ')'
argument_list
         ::= argument ( ',' argument )*
argument ::= element_modification_or_replaceable
           | element_redeclaration
element_modification_or_replaceable
         ::= 'each'? 'final'? ( element_modification | element_replaceable )
element_modification
         ::= name modification? string_comment
element_redeclaration
         ::= 'redeclare' 'each'? 'final'? ( short_class_definition | component_clause1 | element_replaceable )
element_replaceable
         ::= 'replaceable' ( short_class_definition | component_clause1 ) constraining_clause?
component_clause1
         ::= type_prefix type_specifier component_declaration1
component_declaration1
         ::= declaration comment
short_class_definition
         ::= class_prefixes short_class_specifier
equation_section
         ::= 'initial'? 'equation' ( equation ';' )*
algorithm_section
         ::= 'initial'? 'algorithm' ( statement ';' )*
equation ::= ( simple_expression ( '=' expression )? | if_equation | for_equation | connect_clause | when_equation ) comment
statement
         ::= ( component_reference ( ':=' expression | function_call_args ) | '(' output_expression_list ')' ':=' component_reference function_call_args | 'break' | 'return' | if_statement | for_statement | while_statement | when_statement ) comment
if_equation
         ::= 'if' expression 'then' ( equation ';' )* ( 'elseif' expression 'then' ( equation ';' )* )* ( 'else' ( equation ';' )* )? 'end' 'if'
if_statement
         ::= 'if' expression 'then' ( statement ';' )* ( 'elseif' expression 'then' ( statement ';' )* )* ( 'else' ( statement ';' )* )? 'end' 'if'
for_equation
         ::= 'for' for_indices 'loop' ( equation ';' )* 'end' 'for'
for_statement
         ::= 'for' for_indices 'loop' ( statement ';' )* 'end' 'for'
for_indices
         ::= for_index ( ',' for_index )*
for_index
         ::= IDENT ( 'in' expression )?
while_statement
         ::= 'while' expression 'loop' ( statement ';' )* 'end' 'while'
when_equation
         ::= 'when' expression 'then' ( equation ';' )* ( 'elsewhen' expression 'then' ( equation ';' )* )* 'end' 'when'
when_statement
         ::= 'when' expression 'then' ( statement ';' )* ( 'elsewhen' expression 'then' ( statement ';' )* )* 'end' 'when'
connect_clause
         ::= 'connect' '(' component_reference ',' component_reference ')'
expression
         ::= simple_expression
           | 'if' expression 'then' expression ( 'elseif' expression 'then' expression )* 'else' expression
simple_expression
         ::= logical_expression ( ':' logical_expression ( ':' logical_expression )? )?
logical_expression
         ::= logical_term ( 'or' logical_term )*
logical_term
         ::= logical_factor ( 'and' logical_factor )*
logical_factor
         ::= 'not'? relation
relation ::= arithmetic_expression ( relational_operator arithmetic_expression )?
relational_operator
         ::= '<'
           | '<='
           | '>'
           | '>='
           | '=='
           | '<>'
arithmetic_expression
         ::= add_operator? term ( add_operator term )*
add_operator
         ::= '+'
           | '-'
           | '.+'
           | '.-'
term     ::= factor ( mul_operator factor )*
mul_operator
         ::= '*'
           | '/'
           | '.*'
           | './'
factor   ::= primary ( ( '^' | '.^' ) primary )?
primary  ::= UNSIGNED_NUMBER
           | STRING
           | 'false'
           | 'true'
           | ( 'der' | 'initial' | 'pure' ) function_call_args
           | component_reference function_call_args?
           | '(' output_expression_list ')'
           | '[' expression_list ( ';' expression_list )* ']'
           | '{' array_arguments '}'
           | 'end'
type_specifier
         ::= '.'? name
name     ::= IDENT ( '.' IDENT )*
component_reference
         ::= '.'? IDENT array_subscripts? ( '.' IDENT array_subscripts? )*
function_call_args
         ::= '(' function_arguments? ')'
function_arguments
         ::= expression ( ',' function_arguments_non_first | 'for' for_indices )?
           | function_partial_application ( ',' function_arguments_non_first )?
           | named_arguments
function_arguments_non_first
         ::= ( function_argument ',' )* ( function_argument | named_arguments )
array_arguments
         ::= expression ( ( ',' expression )* | 'for' for_indices )
named_arguments
         ::= named_argument ( ',' named_argument )*
named_argument
         ::= IDENT '=' function_argument
function_argument
         ::= function_partial_application
           | expression
function_partial_application
         ::= 'function' type_specifier '(' named_arguments? ')'
output_expression_list
         ::= expression? ( ',' expression? )*
expression_list
         ::= expression ( ',' expression )*
array_subscripts
         ::= '[' subscript ( ',' subscript )* ']'
subscript
         ::= ':'
           | expression
comment  ::= string_comment annotation_comment?
string_comment
         ::= ( STRING ( '+' STRING )* )?
annotation_comment
         ::= 'annotation' class_modification
_        ::= WS
           | LINE_COMMENT
           | ML_COMMENT
          /* ws: definition */

<?TOKENS?>

BOM      ::= #xEF #xBB #xBF
WS       ::= ( [ #x9] | NL )+
LINE_COMMENT
         ::= '//' [^#xD#xA]* ( NL | EOF )
ML_COMMENT?
         ::= '/*' .* '*/'
NL       ::= #xD #xA?
           | #xA
IDENT    ::= NONDIGIT ( DIGIT | NONDIGIT )*
           | Q_IDENT
NONDIGIT ::= [_a-zA-Z]
STRING   ::= '"' ( S_CHAR | S_ESCAPE )* '"'
S_CHAR   ::= NL
           | [^"#xD#xA]
DIGIT    ::= [0-9]
Q_IDENT  ::= "'" ( Q_CHAR | S_ESCAPE ) ( Q_CHAR | S_ESCAPE | '"' )* "'"
Q_CHAR   ::= NONDIGIT
           | DIGIT
           | '!'
           | '#'
           | '$'
           | '%'
           | '&'
           | '('
           | ')'
           | '*'
           | '+'
           | ','
           | '-'
           | '.'
           | '/'
           | ':'
           | ';'
           | '<'
           | '>'
           | '='
           | '?'
           | '@'
           | '['
           | ']'
           | '^'
           | '{'
           | '}'
           | '|'
           | '~'
           | ' '
S_ESCAPE ::= '\' ( "'" | '"' | '?' | '\' | 'a' | 'b' | 'f' | 'n' | 'r' | 't' | 'v' )
UNSIGNED_INTEGER
         ::= DIGIT+
EXPONENT ::= ( 'e' | 'E' ) ( '+' | '-' )? DIGIT+
UNSIGNED_NUMBER
         ::= DIGIT+ ( '.' DIGIT* )? EXPONENT?
EOF      ::= $

rex -javascript open-modelica.g4.ebnf
open-modelica.g4.ebnf: syntax error: line 4, column 14:
    3
    4
    ---------------^
    5

Edit to fix:
--- <unnamed>
+++ <unnamed>
@@ -1,7 +1,7 @@
 /* converted on Wed Dec 18, 2024, 11:11 (UTC+01) by antlr_4-to-w3c v0.68-SNAPSHOT which is Copyright (c) 2011-2024 by Gunther Rademacher<EMAIL_ADDRESS>*/

 stored_definition
-         ::= #xFEFF? ( 'within' name? ';' )? ( 'final'? class_definition ';' )* EOF
+         ::= BOM_SD? ( 'within' name? ';' )? ( 'final'? class_definition ';' )* EOF
 class_definition
          ::= 'encapsulated'? class_prefixes class_specifier
 class_prefixes
@@ -191,6 +193,7 @@

 <?TOKENS?>

+BOM_SD	::= #xFEFF
 BOM      ::= #xEF #xBB #xBF
 WS       ::= ( [ #x9] | NL )+
 LINE_COMMENT

Then:
rex -javascript open-modelica.g4.ebnf
strong-LL(3) conflict #1 in zeroOrMore operator of production function_arguments_non_first:
  conflicting lookahead token sequences:
    IDENT '(' IDENT
    '(' '(' IDENT
    '+' '(' IDENT
    '-' '(' IDENT
    '.+' '(' IDENT
    '.-' '(' IDENT
    '[' '(' IDENT
    'der' '(' IDENT
    'if' '(' IDENT
    'initial' '(' IDENT
    'not' '(' IDENT
    'pure' '(' IDENT
    '{' '(' IDENT
    IDENT '*' IDENT
    STRING '*' IDENT
    UNSIGNED_NUMBER '*' IDENT
    ... 3948 more
grammar fails to be strong-LL(3)

Edit to fix:
--- <unnamed>
+++ <unnamed>
@@ -158,7 +158,9 @@
            | function_partial_application ( ',' function_arguments_non_first )?
            | named_arguments
 function_arguments_non_first
-         ::= ( function_argument ',' )* ( function_argument | named_arguments )
+         ::= //( function_argument ',' )* ( function_argument | named_arguments )
+	 function_argument (',' function_argument)* named_arguments?
+	 | named_arguments
 array_arguments
          ::= expression ( ( ',' expression )* | 'for' for_indices )
 named_arguments

Then :
rex -javascript open-modelica.g4.ebnf
grammar is strong-LL(3)
scanner construction failed

When running under valgrind I'm getting this warnings:
myvalgrind rex -javascript open-modelica.g4.ebnf
==6391== Memcheck, a memory error detector
==6391== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al.
==6391== Using Valgrind-3.23.0 and LibVEX; rerun with -h for copyright info
==6391== Command: rex -javascript open-modelica.g4.ebnf
==6391==
grammar is strong-LL(3)
==6391== Mismatched new/delete size value: 4
==6391==    at 0x4C3754D: operator delete(void*, unsigned long) (vg_replace_malloc.c:1181)
==6391==    by 0x1C3C5A: LexerGeneratorImpl::dfaConstruction(GrammarCharClasses const&, DfaStates&) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x1C8922: LexerGeneratorImpl::run(int, char**) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x30B671: PrintREx::visitGrammar(Grammar*) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x2E8563: generateParser(int, char**) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x1251B1: main (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==  Address 0x750f400 is 0 bytes inside a block of size 237,568 alloc'd
==6391==    at 0x4C3AB6F: calloc (vg_replace_malloc.c:1675)
==6391==    by 0x130D43: TiledMap2D::fill(int, bool) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x131BE1: TiledMap2D::optimize() (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x1C7C63: LexerGeneratorImpl::dfaConstruction(GrammarCharClasses const&, DfaStates&) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x1C8922: LexerGeneratorImpl::run(int, char**) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x30B671: PrintREx::visitGrammar(Grammar*) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x2E8563: generateParser(int, char**) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x1251B1: main (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==
==6391== Mismatched free() / delete / delete []
==6391==    at 0x4C375B4: operator delete(void*, unsigned long) (vg_replace_malloc.c:1181)
==6391==    by 0x1C3C5A: LexerGeneratorImpl::dfaConstruction(GrammarCharClasses const&, DfaStates&) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x1C8922: LexerGeneratorImpl::run(int, char**) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x30B671: PrintREx::visitGrammar(Grammar*) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x2E8563: generateParser(int, char**) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x1251B1: main (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==  Address 0x750f400 is 0 bytes inside a block of size 237,568 alloc'd
==6391==    at 0x4C3AB6F: calloc (vg_replace_malloc.c:1675)
==6391==    by 0x130D43: TiledMap2D::fill(int, bool) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x131BE1: TiledMap2D::optimize() (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x1C7C63: LexerGeneratorImpl::dfaConstruction(GrammarCharClasses const&, DfaStates&) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x1C8922: LexerGeneratorImpl::run(int, char**) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x30B671: PrintREx::visitGrammar(Grammar*) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x2E8563: generateParser(int, char**) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x1251B1: main (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==
==6391== Mismatched free() / delete / delete []
==6391==    at 0x4C3653F: free (vg_replace_malloc.c:989)
==6391==    by 0x17884D: SymbolTable::~SymbolTable() (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x1C8229: LexerGeneratorImpl::run(int, char**) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x30B671: PrintREx::visitGrammar(Grammar*) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x2E8563: generateParser(int, char**) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x1251B1: main (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==  Address 0x6d2ee10 is 0 bytes inside a block of size 2 alloc'd
==6391==    at 0x4C33A0B: operator new(unsigned long) (vg_replace_malloc.c:487)
==6391==    by 0x1B2878: LexerGeneratorImpl::define(SymbolType, char const*) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x1B6570: RExParser::execute(int) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x1B8FAF: RExParser::parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x1C859E: LexerGeneratorImpl::run(int, char**) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x30B671: PrintREx::visitGrammar(Grammar*) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x2E8563: generateParser(int, char**) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x1251B1: main (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==
==6391== Mismatched free() / delete / delete []
==6391==    at 0x4C375B4: operator delete(void*, unsigned long) (vg_replace_malloc.c:1181)
==6391==    by 0x1C83DC: LexerGeneratorImpl::run(int, char**) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x30B671: PrintREx::visitGrammar(Grammar*) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x2E8563: generateParser(int, char**) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x1251B1: main (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==  Address 0x6d2bf90 is 0 bytes inside a block of size 24 alloc'd
==6391==    at 0x4C3329D: malloc (vg_replace_malloc.c:446)
==6391==    by 0x1B5C44: RExParser::execute(int) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x1B8FAF: RExParser::parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x1C859E: LexerGeneratorImpl::run(int, char**) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x30B671: PrintREx::visitGrammar(Grammar*) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x2E8563: generateParser(int, char**) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x1251B1: main (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==
scanner construction failed
==6391== Mismatched new/delete size value: 4
==6391==    at 0x4C3754D: operator delete(void*, unsigned long) (vg_replace_malloc.c:1181)
==6391==    by 0x2B2164: Grammar::~Grammar() (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x2B2728: Grammar::~Grammar() (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x2E871C: generateParser(int, char**) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x1251B1: main (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==  Address 0x6c36950 is 0 bytes inside a block of size 36,864 alloc'd
==6391==    at 0x4C3AB6F: calloc (vg_replace_malloc.c:1675)
==6391==    by 0x130D43: TiledMap2D::fill(int, bool) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x131BE1: TiledMap2D::optimize() (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x262433: PredictionBuilder::build() (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x1EFA95: LookaheadCompressor::visitGrammar(Grammar*) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x2E9A96: generateParser(int, char**) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x1251B1: main (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==
==6391== Mismatched free() / delete / delete []
==6391==    at 0x4C375B4: operator delete(void*, unsigned long) (vg_replace_malloc.c:1181)
==6391==    by 0x2B2164: Grammar::~Grammar() (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x2B2728: Grammar::~Grammar() (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x2E871C: generateParser(int, char**) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x1251B1: main (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==  Address 0x6c36950 is 0 bytes inside a block of size 36,864 alloc'd
==6391==    at 0x4C3AB6F: calloc (vg_replace_malloc.c:1675)
==6391==    by 0x130D43: TiledMap2D::fill(int, bool) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x131BE1: TiledMap2D::optimize() (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x262433: PredictionBuilder::build() (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x1EFA95: LookaheadCompressor::visitGrammar(Grammar*) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x2E9A96: generateParser(int, char**) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x1251B1: main (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==
==6391== Mismatched new/delete size value: 4
==6391==    at 0x4C3754D: operator delete(void*, unsigned long) (vg_replace_malloc.c:1181)
==6391==    by 0x2B2517: Grammar::~Grammar() (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x2B2728: Grammar::~Grammar() (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x2E871C: generateParser(int, char**) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x1251B1: main (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==  Address 0x6c85b80 is 0 bytes inside a block of size 28 alloc'd
==6391==    at 0x4C3329D: malloc (vg_replace_malloc.c:446)
==6391==    by 0x5586B3D: wcsdup (wcsdup.c:29)
==6391==    by 0x233298: Naming::getName(Grammar*, short, bool) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x358C0C: OrderedTokenSequenceVector::toString(Grammar*, wchar_t const*, wchar_t const*, unsigned long, unsigned long, bool, WcsSet*) const (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x30CBCE: PrintREx::visitGrammar(Grammar*) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x2E8563: generateParser(int, char**) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x1251B1: main (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==
==6391== Mismatched free() / delete / delete []
==6391==    at 0x4C375B4: operator delete(void*, unsigned long) (vg_replace_malloc.c:1181)
==6391==    by 0x2B2517: Grammar::~Grammar() (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x2B2728: Grammar::~Grammar() (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x2E871C: generateParser(int, char**) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x1251B1: main (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==  Address 0x6c85b80 is 0 bytes inside a block of size 28 alloc'd
==6391==    at 0x4C3329D: malloc (vg_replace_malloc.c:446)
==6391==    by 0x5586B3D: wcsdup (wcsdup.c:29)
==6391==    by 0x233298: Naming::getName(Grammar*, short, bool) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x358C0C: OrderedTokenSequenceVector::toString(Grammar*, wchar_t const*, wchar_t const*, unsigned long, unsigned long, bool, WcsSet*) const (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x30CBCE: PrintREx::visitGrammar(Grammar*) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x2E8563: generateParser(int, char**) (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==    by 0x1251B1: main (in /home/mingo/dev/c/A_grammars/rex-parser-generator/rex/build/bin/rex)
==6391==
==6391==
==6391== HEAP SUMMARY:
==6391==     in use at exit: 0 bytes in 0 blocks
==6391==   total heap usage: 178,921 allocs, 178,921 frees, 10,463,743 bytes allocated
==6391==
==6391== All heap blocks were freed -- no leaks are possible
==6391==
==6391== For lists of detected and suppressed errors, rerun with: -s
==6391== ERROR SUMMARY: 432 errors from 8 contexts (suppressed: 0 from 0)

It seems that not all command line options are shown in the usage/help like -rex is missing there.

-verbose also is not shown

rex -javascript -rex -verbose open-modelica.g4.ebnf
using whitespace production _
simple whitespace introducer: WS
simple whitespace introducer: LINE_COMMENT
simple whitespace introducer: ML_COMMENT
number of lookahead sets: 107
grammar is strong-LL(3)
total number of NFA states: 805
total number of DFA states: 719
number of non-final DFA states: 270
number of DFA states without transitions: 61
total number of transitions: 2134
number of transitions to same state: 11
number of transitions to final states: 1669
scanner construction failed
completed in 41 msec

But if we add -ll then:
rex -ll -javascript -verbose open-modelica.g4.ebnf
completed in 3 msec

No output and no verbose information either.

It seems that it's failing to detect the missing argument for -ll and silently doing nothing !

The member variable LexerGeneratorImpl::prn is initialized twice.
First here: https://github.com/GuntherRademacher/rex-parser-generator/blob/691c769b38acf3add960c1849021667beb38914c/rex/src/lexer/LexerGeneratorImpl.hpp#L160
Then again here: https://github.com/GuntherRademacher/rex-parser-generator/blob/691c769b38acf3add960c1849021667beb38914c/rex/src/lexer/LexerGeneratorImpl.hpp#L234

Thank you for reporting these issues! I am busy today, but I will have a closer look tomorrow, or in the next few days.
Besides what you have already pointed out, the "syntax error" and "scanner construction failed" messages look unusual to me: there is missing output containing more details of those errors. What compiler and environment have you been using?
The most likely reason for "scanner construction failed" is the detection of lexical ambiguities. REx wants tokens to be uniquely identifiable, at least for those that are expected in a given parser state. If this is not the case, lexer generation fails with that message, but only after listing the tokens that have common values (which is not shown in your log).

Executing with gdb I can see that the error is set here :
https://github.com/GuntherRademacher/rex-parser-generator/blob/691c769b38acf3add960c1849021667beb38914c/rex/src/lexer/LexerGeneratorImpl.cpp#L1341-L1342
but no output is shown.

I'm running Ubuntu-18.04 with g++-9.4.

When I replace :
https://github.com/GuntherRademacher/rex-parser-generator/blob/691c769b38acf3add960c1849021667beb38914c/rex/src/lexer/LexerGeneratorImpl.hpp#L234
by:
prn = stderr;

Then I get:
grammar is strong-LL(3)
-Warning- Nonterminal BOM not used
-Warning- Nonterminal UNSIGNED_INTEGER not used
--Error-- Lexical ambiguities for IDENT(5): "algorithm" "and" "annotation" "block" "break" "class" "connect" "connector" "constant" "constrainedby" "der" "discrete" "each" "else" "elseif" "elsewhen" "encapsulated" "end" "enumeration" "equation" "expandable" "extends" "external" "false" "final" "flow" "for" "function" "if" "import" "impure" "initial" "inner" "input" "loop" "model" "not" "operator" "or" "outer" "output" "package" "parameter" "partial" "protected" "public" "pure" "record" "redeclare" "replaceable" "return" "stream" "then" "true" "type" "when" "while"

scanner construction failed

Now after replace literal tokens like 'algorithm' by ALGORITHM ::= "algorithm" I'm getting this error message:
rex -javascript open-modelica.g4.ebnf
duplicate definition: END

Fixed grammar that shows fine on https://www.bottlecaps.de/rr/ui and I can't see any END/'end' double definition:
/* converted on Wed Dec 18, 2024, 11:11 (UTC+01) by antlr_4-to-w3c v0.68-SNAPSHOT which is Copyright (c) 2011-2024 by Gunther Rademacher<EMAIL_ADDRESS>*/

stored_definition
         ::= BOM_SD? ( WITHIN name? ';' )? ( FINAL? class_definition ';' )* EOF
class_definition
         ::= ENCAPSULATED? class_prefixes class_specifier
class_prefixes
         ::= PARTIAL? ( CLASS | MODEL | OPERATOR? RECORD | BLOCK | EXPANDABLE? CONNECTOR | TYPE | PACKAGE | ( PURE | IMPURE )? OPERATOR? FUNCTION | OPERATOR )
class_specifier
         ::= long_class_specifier
           | short_class_specifier
           | der_class_specifier
long_class_specifier
         ::= ( IDENT | EXTENDS IDENT class_modification? ) string_comment composition END IDENT
short_class_specifier
         ::= IDENT '=' ( base_prefix type_specifier array_subscripts? class_modification? | ENUMERATION '(' ( enum_list | ':' )? ')' ) comment
der_class_specifier
         ::= IDENT '=' DER '(' type_specifier ( ',' IDENT )+ ')' comment
base_prefix
         ::= ( INPUT | OUTPUT )?
enum_list
         ::= enumeration_literal ( ',' enumeration_literal )*
enumeration_literal
         ::= IDENT comment
composition
         ::= element_list ( ( PUBLIC | 'protected' ) element_list | equation_section | algorithm_section )* ( EXTERNAL language_specification? external_function_call? annotation_comment? ';' )? ( annotation_comment ';' )?
language_specification
         ::= STRING
external_function_call
         ::= ( component_reference '=' )? IDENT '(' expression_list? ')'
element_list
         ::= ( element ';' )*
element  ::= import_clause
           | extends_clause
           | REDECLARE? FINAL? INNER? OUTER? ( class_definition | component_clause | REPLACEABLE ( class_definition | component_clause ) ( constraining_clause comment )? )
import_clause
         ::= IMPORT ( IDENT '=' name | name ( '.' ( '*' | '{' import_list '}' ) | '.*' )? ) comment
import_list
         ::= IDENT ( ',' IDENT )*
extends_clause
         ::= EXTENDS type_specifier class_modification? annotation_comment?
constraining_clause
         ::= CONSTRAINEDBY type_specifier class_modification?
component_clause
         ::= type_prefix type_specifier array_subscripts? component_list
type_prefix
         ::= ( FLOW | STREAM )? ( DISCRETE | PARAMETER | CONSTANT )? ( INPUT | OUTPUT )?
component_list
         ::= component_declaration ( ',' component_declaration )*
component_declaration
         ::= declaration condition_attribute? comment
condition_attribute
         ::= IF expression
declaration
         ::= IDENT array_subscripts? modification?
modification
         ::= class_modification ( '=' expression )?
           | ( '=' | ':=' ) expression
class_modification
         ::= '(' argument_list? ')'
argument_list
         ::= argument ( ',' argument )*
argument ::= element_modification_or_replaceable
           | element_redeclaration
element_modification_or_replaceable
         ::= EACH? FINAL? ( element_modification | element_replaceable )
element_modification
         ::= name modification? string_comment
element_redeclaration
         ::= REDECLARE EACH? FINAL? ( short_class_definition | component_clause1 | element_replaceable )
element_replaceable
         ::= REPLACEABLE ( short_class_definition | component_clause1 ) constraining_clause?
component_clause1
         ::= type_prefix type_specifier component_declaration1
component_declaration1
         ::= declaration comment
short_class_definition
         ::= class_prefixes short_class_specifier
equation_section
         ::= INITIAL? EQUATION ( equation ';' )*
algorithm_section
         ::= INITIAL? ALGORITHM ( statement ';' )*
equation ::= ( simple_expression ( '=' expression )? | if_equation | for_equation | connect_clause | when_equation ) comment
statement
         ::= ( component_reference ( ':=' expression | function_call_args ) | '(' output_expression_list ')' ':=' component_reference function_call_args | BREAK | RETURN | if_statement | for_statement | while_statement | when_statement ) comment
if_equation
         ::= IF expression THEN ( equation ';' )* ( ELSEIF expression THEN ( equation ';' )* )* ( ELSE ( equation ';' )* )? END IF
if_statement
         ::= IF expression THEN ( statement ';' )* ( ELSEIF expression THEN ( statement ';' )* )* ( ELSE ( statement ';' )* )? END IF
for_equation
         ::= FOR for_indices LOOP ( equation ';' )* END FOR
for_statement
         ::= FOR for_indices LOOP ( statement ';' )* END FOR
for_indices
         ::= for_index ( ',' for_index )*
for_index
         ::= IDENT ( 'in' expression )?
while_statement
         ::= WHILE expression LOOP ( statement ';' )* END WHILE
when_equation
         ::= WHEN expression THEN ( equation ';' )* ( ELSEWHEN expression THEN ( equation ';' )* )* END WHEN
when_statement
         ::= WHEN expression THEN ( statement ';' )* ( ELSEWHEN expression THEN ( statement ';' )* )* END WHEN
connect_clause
         ::= CONNECT '(' component_reference ',' component_reference ')'
expression
         ::= simple_expression
           | IF expression THEN expression ( ELSEIF expression THEN expression )* ELSE expression
simple_expression
         ::= logical_expression ( ':' logical_expression ( ':' logical_expression )? )?
logical_expression
         ::= logical_term ( OR logical_term )*
logical_term
         ::= logical_factor ( AND logical_factor )*
logical_factor
         ::= NOT? relation
relation ::= arithmetic_expression ( relational_operator arithmetic_expression )?
relational_operator
         ::= '<'
           | '<='
           | '>'
           | '>='
           | '=='
           | '<>'
arithmetic_expression
         ::= add_operator? term ( add_operator term )*
add_operator
         ::= '+'
           | '-'
           | '.+'
           | '.-'
term     ::= factor ( mul_operator factor )*
mul_operator
         ::= '*'
           | '/'
           | '.*'
           | './'
factor   ::= primary ( ( '^' | '.^' ) primary )?
primary  ::= UNSIGNED_NUMBER
           | STRING
           | FALSE
           | TRUE
           | ( DER | INITIAL | PURE ) function_call_args
           | component_reference function_call_args?
           | '(' output_expression_list ')'
           | '[' expression_list ( ';' expression_list )* ']'
           | '{' array_arguments '}'
           | END
type_specifier
         ::= '.'? name
name     ::= IDENT ( '.' IDENT )*
component_reference
         ::= '.'? IDENT array_subscripts? ( '.' IDENT array_subscripts? )*
function_call_args
         ::= '(' function_arguments? ')'
function_arguments
         ::= expression ( ',' function_arguments_non_first | FOR for_indices )?
           | function_partial_application ( ',' function_arguments_non_first )?
           | named_arguments
function_arguments_non_first
         ::= //( function_argument ',' )* ( function_argument | named_arguments )
	 function_argument (',' function_argument)* named_arguments?
	 | named_arguments
array_arguments
         ::= expression ( ( ',' expression )* | FOR for_indices )
named_arguments
         ::= named_argument ( ',' named_argument )*
named_argument
         ::= IDENT '=' function_argument
function_argument
         ::= function_partial_application
           | expression
function_partial_application
         ::= FUNCTION type_specifier '(' named_arguments? ')'
output_expression_list
         ::= expression? ( ',' expression? )*
expression_list
         ::= expression ( ',' expression )*
array_subscripts
         ::= '[' subscript ( ',' subscript )* ']'
subscript
         ::= ':'
           | expression
comment  ::= string_comment annotation_comment?
string_comment
         ::= ( STRING ( '+' STRING )* )?
annotation_comment
         ::= ANNOTATION class_modification
_        ::= WS
           | LINE_COMMENT
           | ML_COMMENT
          /* ws: definition */

<?TOKENS?>

BOM_SD	::= #xFEFF
BOM      ::= #xEF #xBB #xBF
WS       ::= ( [ #x9] | NL )+
LINE_COMMENT
         ::= '//' [^#xD#xA]* ( NL | EOF )
ML_COMMENT?
         ::= '/*' .* '*/'
NL       ::= #xD #xA?
           | #xA

ALGORITHM ::= "algorithm"
AND ::= "and"
ANNOTATION ::= "annotation"
BLOCK ::= "block"
BREAK ::= "break"
CLASS ::= "class"
CONNECT ::= "connect"
CONNECTOR ::= "connector"
CONSTANT ::= "constant"
CONSTRAINEDBY ::= "constrainedby"
DER ::= "der"
DISCRETE ::= "discrete"
EACH ::= "each"
ELSE ::= "else"
ELSEIF ::= "elseif"
ELSEWHEN ::= "elsewhen"
ENCAPSULATED ::= "encapsulated"
END ::= "end"
ENUMERATION ::= "enumeration"
EQUATION ::= "equation"
EXPANDABLE ::= "expandable"
EXTENDS ::= "extends"
EXTERNAL ::= "external"
FALSE ::= "false"
FINAL ::= "final"
FLOW ::= "flow"
FOR ::= "for"
FUNCTION ::= "function"
IF ::= "if"
IMPORT ::= "import"
IMPURE ::= "impure"
INITIAL ::= "initial"
INNER ::= "inner"
INPUT ::= "input"
LOOP ::= "loop"
MODEL ::= "model"
NOT ::= "not"
OPERATOR ::= "operator"
OR ::= "or"
OUTER ::= "outer"
OUTPUT ::= "output"
PACKAGE ::= "package"
PARAMETER ::= "parameter"
PARTIAL ::= "partial"
PROTECTED ::= "protected"
PUBLIC ::= "public"
PURE ::= "pure"
RECORD ::= "record"
REDECLARE ::= "redeclare"
REPLACEABLE ::= "replaceable"
RETURN ::= "return"
STREAM ::= "stream"
THEN ::= "then"
TRUE ::= "true"
TYPE ::= "type"
WHEN ::= "when"
WHILE ::= "while"
WITHIN ::= "within"

IDENT    ::= NONDIGIT ( DIGIT | NONDIGIT )*
           | Q_IDENT
NONDIGIT ::= [_a-zA-Z]
STRING   ::= '"' ( S_CHAR | S_ESCAPE )* '"'
S_CHAR   ::= NL
           | [^"#xD#xA]
DIGIT    ::= [0-9]
Q_IDENT  ::= "'" ( Q_CHAR | S_ESCAPE ) ( Q_CHAR | S_ESCAPE | '"' )* "'"
Q_CHAR   ::= NONDIGIT
           | DIGIT
           | '!'
           | '#'
           | '$'
           | '%'
           | '&'
           | '('
           | ')'
           | '*'
           | '+'
           | ','
           | '-'
           | '.'
           | '/'
           | ':'
           | ';'
           | '<'
           | '>'
           | '='
           | '?'
           | '@'
           | '['
           | ']'
           | '^'
           | '{'
           | '}'
           | '|'
           | '~'
           | ' '
S_ESCAPE ::= '\' ( "'" | '"' | '?' | '\' | 'a' | 'b' | 'f' | 'n' | 'r' | 't' | 'v' )
UNSIGNED_INTEGER
         ::= DIGIT+
EXPONENT ::= ( 'e' | 'E' ) ( '+' | '-' )? DIGIT+
UNSIGNED_NUMBER
         ::= DIGIT+ ( '.' DIGIT* )? EXPONENT?
EOF      ::= $

If I replace END by xEND then I get again:
rex -javascript open-modelica.g4.ebnf
grammar is strong-LL(3)
-Warning- Nonterminal BOM not used
-Warning- Nonterminal UNSIGNED_INTEGER not used
--Error-- Lexical ambiguities for IDENT(64): ALGORITHM AND ANNOTATION BLOCK BREAK CLASS CONNECT CONNECTOR CONSTANT CONSTRAINEDBY DER DISCRETE EACH ELSE ELSEIF ELSEWHEN ENCAPSULATED xEND ENUMERATION EQUATION EXPANDABLE EXTENDS EXTERNAL FALSE FINAL FLOW FOR FUNCTION IF IMPORT IMPURE INITIAL INNER INPUT LOOP MODEL NOT OPERATOR OR OUTER OUTPUT PACKAGE PARAMETER PARTIAL PROTECTED PUBLIC PURE RECORD REDECLARE REPLACEABLE RETURN STREAM THEN TRUE TYPE WHEN WHILE

scanner construction failed

Would be nice if the error messages could be improved a bit to point to the offending line/column.
Fixed grammar:
/* converted on Wed Dec 18, 2024, 11:11 (UTC+01) by antlr_4-to-w3c v0.68-SNAPSHOT which is Copyright (c) 2011-2024 by Gunther Rademacher<EMAIL_ADDRESS>*/

stored_definition
         ::= BOM_SD? ( WITHIN name? ';' )? ( FINAL? class_definition ';' )* EOF
class_definition
         ::= ENCAPSULATED? class_prefixes class_specifier
class_prefixes
         ::= PARTIAL? ( CLASS | MODEL | OPERATOR? RECORD | BLOCK | EXPANDABLE? CONNECTOR | TYPE | PACKAGE | ( PURE | IMPURE )? OPERATOR? FUNCTION | OPERATOR )
class_specifier
         ::= long_class_specifier
           | short_class_specifier
           | der_class_specifier
long_class_specifier
         ::= ( IDENT | EXTENDS IDENT class_modification? ) string_comment composition xEND IDENT
short_class_specifier
         ::= IDENT '=' ( base_prefix type_specifier array_subscripts? class_modification? | ENUMERATION '(' ( enum_list | ':' )? ')' ) comment
der_class_specifier
         ::= IDENT '=' DER '(' type_specifier ( ',' IDENT )+ ')' comment
base_prefix
         ::= ( INPUT | OUTPUT )?
enum_list
         ::= enumeration_literal ( ',' enumeration_literal )*
enumeration_literal
         ::= IDENT comment
composition
         ::= element_list ( ( PUBLIC | PROTECTED ) element_list | equation_section | algorithm_section )* ( EXTERNAL language_specification? external_function_call? annotation_comment? ';' )? ( annotation_comment ';' )?
language_specification
         ::= STRING
external_function_call
         ::= ( component_reference '=' )? IDENT '(' expression_list? ')'
element_list
         ::= ( element ';' )*
element  ::= import_clause
           | extends_clause
           | REDECLARE? FINAL? INNER? OUTER? ( class_definition | component_clause | REPLACEABLE ( class_definition | component_clause ) ( constraining_clause comment )? )
import_clause
         ::= IMPORT ( IDENT '=' name | name ( '.' ( '*' | '{' import_list '}' ) | '.*' )? ) comment
import_list
         ::= IDENT ( ',' IDENT )*
extends_clause
         ::= EXTENDS type_specifier class_modification? annotation_comment?
constraining_clause
         ::= CONSTRAINEDBY type_specifier class_modification?
component_clause
         ::= type_prefix type_specifier array_subscripts? component_list
type_prefix
         ::= ( FLOW | STREAM )? ( DISCRETE | PARAMETER | CONSTANT )? ( INPUT | OUTPUT )?
component_list
         ::= component_declaration ( ',' component_declaration )*
component_declaration
         ::= declaration condition_attribute? comment
condition_attribute
         ::= IF expression
declaration
         ::= IDENT array_subscripts? modification?
modification
         ::= class_modification ( '=' expression )?
           | ( '=' | ':=' ) expression
class_modification
         ::= '(' argument_list? ')'
argument_list
         ::= argument ( ',' argument )*
argument ::= element_modification_or_replaceable
           | element_redeclaration
element_modification_or_replaceable
         ::= EACH? FINAL? ( element_modification | element_replaceable )
element_modification
         ::= name modification? string_comment
element_redeclaration
         ::= REDECLARE EACH? FINAL? ( short_class_definition | component_clause1 | element_replaceable )
element_replaceable
         ::= REPLACEABLE ( short_class_definition | component_clause1 ) constraining_clause?
component_clause1
         ::= type_prefix type_specifier component_declaration1
component_declaration1
         ::= declaration comment
short_class_definition
         ::= class_prefixes short_class_specifier
equation_section
         ::= INITIAL? EQUATION ( equation ';' )*
algorithm_section
         ::= INITIAL? ALGORITHM ( statement ';' )*
equation ::= ( simple_expression ( '=' expression )? | if_equation | for_equation | connect_clause | when_equation ) comment
statement
         ::= ( component_reference ( ':=' expression | function_call_args ) | '(' output_expression_list ')' ':=' component_reference function_call_args | BREAK | RETURN | if_statement | for_statement | while_statement | when_statement ) comment
if_equation
         ::= IF expression THEN ( equation ';' )* ( ELSEIF expression THEN ( equation ';' )* )* ( ELSE ( equation ';' )* )? xEND IF
if_statement
         ::= IF expression THEN ( statement ';' )* ( ELSEIF expression THEN ( statement ';' )* )* ( ELSE ( statement ';' )* )? xEND IF
for_equation
         ::= FOR for_indices LOOP ( equation ';' )* xEND FOR
for_statement
         ::= FOR for_indices LOOP ( statement ';' )* xEND FOR
for_indices
         ::= for_index ( ',' for_index )*
for_index
         ::= IDENT ( IN expression )?
while_statement
         ::= WHILE expression LOOP ( statement ';' )* xEND WHILE
when_equation
         ::= WHEN expression THEN ( equation ';' )* ( ELSEWHEN expression THEN ( equation ';' )* )* xEND WHEN
when_statement
         ::= WHEN expression THEN ( statement ';' )* ( ELSEWHEN expression THEN ( statement ';' )* )* xEND WHEN
connect_clause
         ::= CONNECT '(' component_reference ',' component_reference ')'
expression
         ::= simple_expression
           | IF expression THEN expression ( ELSEIF expression THEN expression )* ELSE expression
simple_expression
         ::= logical_expression ( ':' logical_expression ( ':' logical_expression )? )?
logical_expression
         ::= logical_term ( OR logical_term )*
logical_term
         ::= logical_factor ( AND logical_factor )*
logical_factor
         ::= NOT? relation
relation ::= arithmetic_expression ( relational_operator arithmetic_expression )?
relational_operator
         ::= '<'
           | '<='
           | '>'
           | '>='
           | '=='
           | '<>'
arithmetic_expression
         ::= add_operator? term ( add_operator term )*
add_operator
         ::= '+'
           | '-'
           | '.+'
           | '.-'
term     ::= factor ( mul_operator factor )*
mul_operator
         ::= '*'
           | '/'
           | '.*'
           | './'
factor   ::= primary ( ( '^' | '.^' ) primary )?
primary  ::= UNSIGNED_NUMBER
           | STRING
           | FALSE
           | TRUE
           | ( DER | INITIAL | PURE ) function_call_args
           | component_reference function_call_args?
           | '(' output_expression_list ')'
           | '[' expression_list ( ';' expression_list )* ']'
           | '{' array_arguments '}'
           | xEND
type_specifier
         ::= '.'? name
name     ::= IDENT ( '.' IDENT )*
component_reference
         ::= '.'? IDENT array_subscripts? ( '.' IDENT array_subscripts? )*
function_call_args
         ::= '(' function_arguments? ')'
function_arguments
         ::= expression ( ',' function_arguments_non_first | FOR for_indices )?
           | function_partial_application ( ',' function_arguments_non_first )?
           | named_arguments
function_arguments_non_first
         ::= //( function_argument ',' )* ( function_argument | named_arguments )
	 function_argument (',' function_argument)* named_arguments?
	 | named_arguments
array_arguments
         ::= expression ( ( ',' expression )* | FOR for_indices )
named_arguments
         ::= named_argument ( ',' named_argument )*
named_argument
         ::= IDENT '=' function_argument
function_argument
         ::= function_partial_application
           | expression
function_partial_application
         ::= FUNCTION type_specifier '(' named_arguments? ')'
output_expression_list
         ::= expression? ( ',' expression? )*
expression_list
         ::= expression ( ',' expression )*
array_subscripts
         ::= '[' subscript ( ',' subscript )* ']'
subscript
         ::= ':'
           | expression
comment  ::= string_comment annotation_comment?
string_comment
         ::= ( STRING ( '+' STRING )* )?
annotation_comment
         ::= ANNOTATION class_modification
_        ::= WS
           | LINE_COMMENT
           | ML_COMMENT
          /* ws: definition */

<?TOKENS?>

BOM_SD	::= #xFEFF
BOM      ::= #xEF #xBB #xBF
WS       ::= ( [ #x9] | NL )+
LINE_COMMENT
         ::= '//' [^#xD#xA]* ( NL | EOF )
ML_COMMENT?
         ::= '/*' .* '*/'
NL       ::= #xD #xA?
           | #xA

ALGORITHM ::= "algorithm"
AND ::= "and"
ANNOTATION ::= "annotation"
BLOCK ::= "block"
BREAK ::= "break"
CLASS ::= "class"
CONNECT ::= "connect"
CONNECTOR ::= "connector"
CONSTANT ::= "constant"
CONSTRAINEDBY ::= "constrainedby"
DER ::= "der"
DISCRETE ::= "discrete"
EACH ::= "each"
ELSE ::= "else"
ELSEIF ::= "elseif"
ELSEWHEN ::= "elsewhen"
ENCAPSULATED ::= "encapsulated"
xEND ::= "end"
ENUMERATION ::= "enumeration"
EQUATION ::= "equation"
EXPANDABLE ::= "expandable"
EXTENDS ::= "extends"
EXTERNAL ::= "external"
FALSE ::= "false"
FINAL ::= "final"
FLOW ::= "flow"
FOR ::= "for"
FUNCTION ::= "function"
IF ::= "if"
IMPORT ::= "import"
IMPURE ::= "impure"
INITIAL ::= "initial"
IN	::= "in"
INNER ::= "inner"
INPUT ::= "input"
LOOP ::= "loop"
MODEL ::= "model"
NOT ::= "not"
OPERATOR ::= "operator"
OR ::= "or"
OUTER ::= "outer"
OUTPUT ::= "output"
PACKAGE ::= "package"
PARAMETER ::= "parameter"
PARTIAL ::= "partial"
PROTECTED ::= "protected"
PUBLIC ::= "public"
PURE ::= "pure"
RECORD ::= "record"
REDECLARE ::= "redeclare"
REPLACEABLE ::= "replaceable"
RETURN ::= "return"
STREAM ::= "stream"
THEN ::= "then"
TRUE ::= "true"
TYPE ::= "type"
WHEN ::= "when"
WHILE ::= "while"
WITHIN ::= "within"

IDENT    ::= NONDIGIT ( DIGIT | NONDIGIT )*
           | Q_IDENT
NONDIGIT ::= [_a-zA-Z]
STRING   ::= '"' ( S_CHAR | S_ESCAPE )* '"'
S_CHAR   ::= NL
           | [^"#xD#xA]
DIGIT    ::= [0-9]
Q_IDENT  ::= "'" ( Q_CHAR | S_ESCAPE ) ( Q_CHAR | S_ESCAPE | '"' )* "'"
Q_CHAR   ::= NONDIGIT
           | DIGIT
           | '!'
           | '#'
           | '$'
           | '%'
           | '&'
           | '('
           | ')'
           | '*'
           | '+'
           | ','
           | '-'
           | '.'
           | '/'
           | ':'
           | ';'
           | '<'
           | '>'
           | '='
           | '?'
           | '@'
           | '['
           | ']'
           | '^'
           | '{'
           | '}'
           | '|'
           | '~'
           | ' '
S_ESCAPE ::= '\' ( "'" | '"' | '?' | '\' | 'a' | 'b' | 'f' | 'n' | 'r' | 't' | 'v' )
UNSIGNED_INTEGER
         ::= DIGIT+
EXPONENT ::= ( 'e' | 'E' ) ( '+' | '-' )? DIGIT+
UNSIGNED_NUMBER
         ::= DIGIT+ ( '.' DIGIT* )? EXPONENT?
EOF      ::= $

With the latest commits it's now showing the error messages with prn=stdout.
Looking through the Javascript grammar I found that I need to create a list of keywords and subtract then from IDENT.
Also the Javascript output was giving an error because I'm using a filename with two dots open-modelica.g4.ebnf probably a check need to be done to emit a warning/error or convert the extra dots to underscore.

With the current rex binary I can't get the EcmaScript-5.ebnf to work:
rex  -main -tree -javascript EcmaScript-5.ebnf
strong-LL(3) conflict #1 in 1st alternative of choice operator of production Statement:
  conflicting lookahead token sequence:
    'function' Identifier '('
strong-LL(3) conflict #1 in 2nd alternative of choice operator of production Statement:
  conflicting lookahead token sequences:
    '{' '}' '('
    '{' '}' '+'
    '{' '}' '++'
    '{' '}' '-'
    '{' '}' '--'
    '{' '}' ';'
    '{' '}' '['
...
strong-LL(3) conflict #8 in zeroOrMore operator of production ConditionalExpressionNoIn:
  conflicting lookahead token sequences:
    '?' '!' Identifier
    '?' '(' Identifier
    '?' '+' Identifier
    '?' '++' Identifier
    '?' '-' Identifier
    '?' '--' Identifier
    '?' '[' Identifier
    '?' 'delete' Identifier
    '?' 'function' Identifier
    '?' 'new' Identifier
    '?' 'typeof' Identifier
    '?' 'void' Identifier
    '?' '~' Identifier
    '?' '!' NullLiteral
    '?' '(' NullLiteral
    '?' '+' NullLiteral
    ... 641 more
grammar fails to be strong-LL(3)

With the current rex binary I can't get the EcmaScript-5.ebnf to work:
rex  -main -tree -javascript EcmaScript-5.ebnf

As stated here, you should use -ll 1 -backtrack -asi with that grammar.