Skip to content

Fix broken test FMUs#6

Merged
robbr48 merged 22 commits into
mainfrom
fix_test_fmus
Aug 15, 2022
Merged

Fix broken test FMUs#6
robbr48 merged 22 commits into
mainfrom
fix_test_fmus

Conversation

@robbr48
Copy link
Copy Markdown
Owner

@robbr48 robbr48 commented May 31, 2022

  • Update to latest FMI3 specification (should be final by now)
  • Add all missing required functions to test FMUs
  • Disable experimental code in TLM FMU

@robbr48 robbr48 self-assigned this May 31, 2022
@robbr48 robbr48 merged commit 121a01e into main Aug 15, 2022
@robbr48 robbr48 deleted the fix_test_fmus branch August 15, 2022 07:08
slitvinov added a commit to slitvinov/fmi4c that referenced this pull request May 2, 2026
Without this, test FMUs are written to binaries/linux64 (FMI 1/2) or
binaries/x86_64-linux (FMI 3) on macOS, while the patched fmi4c
reader correctly looks under binaries/darwin64 / aarch64-darwin.

With this commit and the reader fix applied, all 6 ctest cases pass
on macOS 26.4.1 arm64 (Apple M5):

  Test #1: fmi1cs ........... Passed    1.05 sec
  Test robbr48#2: fmi1me ........... Passed    0.36 sec
  Test robbr48#3: fmi2cs ........... Passed    0.44 sec
  Test robbr48#4: fmi2me ........... Passed    0.46 sec
  Test robbr48#5: fmi3cs ........... Passed    0.42 sec
  Test robbr48#6: fmi3me ........... Passed    0.33 sec

  100% tests passed, 0 tests failed out of 6
robbr48 pushed a commit that referenced this pull request May 20, 2026
Without this, test FMUs are written to binaries/linux64 (FMI 1/2) or
binaries/x86_64-linux (FMI 3) on macOS, while the patched fmi4c
reader correctly looks under binaries/darwin64 / aarch64-darwin.

With this commit and the reader fix applied, all 6 ctest cases pass
on macOS 26.4.1 arm64 (Apple M5):

  Test #1: fmi1cs ........... Passed    1.05 sec
  Test #2: fmi1me ........... Passed    0.36 sec
  Test #3: fmi2cs ........... Passed    0.44 sec
  Test #4: fmi2me ........... Passed    0.46 sec
  Test #5: fmi3cs ........... Passed    0.42 sec
  Test #6: fmi3me ........... Passed    0.33 sec

  100% tests passed, 0 tests failed out of 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants