Comments (1)
I'm not sure what exactly the issue is, but I guess it has something to do with the long jump function used when throwing an assert in the C code of the FMU:
static void omc_assert_fmi(threadData_t *threadData, FILE_INFO info, const char *msg, ...)
{
va_list args;
va_start(args, msg);
omc_assert_fmi_common(threadData, fmi2Error, LOG_STATUSERROR, info, msg, args);
va_end(args);
MMC_THROW_INTERNAL(); // <---- EXCEPTION_ACCESS_VIOLATION
}
#define MMC_THROW_INTERNAL() {longjmp(*threadData->mmc_jumper,1);}
The issue happens on Windows and Linux, so I rule out some compatibility issues between the different C runtimes on Windows.
On Ubuntu the call stack looks like:
libc.so.6!__libc_siglongjmp(struct __jmp_buf_tag * env, int val) (longjmp.c:32)
Modelica_Fluid_Examples_PumpingSystem.so!omc_assert_fmi(threadData_t * threadData, FILE_INFO info, const char * msg) (\path\to\temp\FMU\sources\fmi-export\fmu2_model_interface.c.inc:228)
Modelica_Fluid_Examples_PumpingSystem.so!omc_Modelica_Media_Water_IF97__Utilities_BaseIF97_Basic_tsat(threadData_t * threadData, modelica_real _p) (\path\to\temp\FMU\sources\Modelica_Fluid_Examples_PumpingSystem_functions.c:13630)
[...]
from fmi.jl.
Related Issues (20)
- Simulation aborts unstable solution HOT 5
- Implement enumerations parsing HOT 1
- ME simulation for FMI3 [BETA]
- Input functions of the form (u,t) for CS FMUs HOT 7
- fmiReload and fmiLoad not thread-save HOT 9
- Warning: Using arrays or dicts to store parameters of different types can hurt performance.
- Ability to graphically visualize FMUs HOT 3
- Backport compat for SciMLBase@v2 for [email protected] HOT 5
- Solution CSV export for alias variables HOT 2
- FMI Compatibility Page for the Docs
- condition() called while not in continuous time mode HOT 1
- example inputs.ipynb doesn't run with v0.13.0 HOT 1
- DimensionMismatch for OpenModelica `Modelica.Blocks.Examples.RealNetwork1` 2.0.4 FMU
- Implement fmiGet! for fmi2Enum
- StackOverFlowError HOT 1
- simData.success not working properly? HOT 3
- Relax compat requirements HOT 4
- Extend Compatibility information
- Request for DiffEqCallbacks v3 compat with FMI v0.10.x HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fmi.jl.