Skip to content

Problems with Failing Modelica Models

Konor Frick edited this page Jul 26, 2021 · 1 revision

Some passing Modelica tests, other are failing on initial install.

  1. Before running tests, user should ensure that the Dymola settings are appropriately setup for importing of dsfinal.txt files. To do this, Select File --> Options (below Exit):

  1. On the popup window, select the “Variables…” option in the bottom-left corner. (In Dymola 2020x this is called “Flags…”)

  1. The most straightforward thing to do is to select: “Reset All Variables” (“Reset All Flags” on 2020x)

  1. Based on some preliminary testing, the “Evaluate” option is the one that needs to be unchecked to avoid test failure.

Note: For FMI/FMU use, re-check option “EnableCodeExport”, under “Translation”

Problem installing the RAVEN sub-module

port 22: Connection refused

Problem

git submodule update --init --recursive

indicating the following or similar error

ssh: connect to host github.com port 22: Connection refused
fatal: The remote end hung up unexpectedly

Possible solution

change sub module path in .gitmodules to either of the two following:

url = [email protected]:idaholab/raven.git
url = https://github.com/idaholab/raven.git

Server does not allow request for unadvertised object

If

git submodule update

leads to the following error:

error: Server does not allow request for unadvertised object a4cc5bfddec05aeb04615d7c6fa68eb073a71477
Fetched in submodule path 'raven', but it did not contain a4cc5bfddec05aeb04615d7c6fa68eb073a71477. Direct fetching of that commit failed.

Possible solution

git submodule sync
git submodule update