Problems with Failing Modelica Models - idaholab/HYBRID GitHub Wiki

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):

pictures/troubleshooting/troubleshoot1.png

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

pictures/troubleshooting/troubleshoot2.png

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

pictures/troubleshooting/troubleshoot3.png

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

pictures/troubleshooting/troubleshoot4.png

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

pictures/troubleshooting/troubleshoot5.png

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