Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FMU Check Error for SympySlave.fmu #162

Open
igorsfsiqueira opened this issue Oct 25, 2022 · 0 comments
Open

FMU Check Error for SympySlave.fmu #162

igorsfsiqueira opened this issue Oct 25, 2022 · 0 comments

Comments

@igorsfsiqueira
Copy link

Hello All,

I am trying to do a FMU Check in my fmu files, most part of them are returning the errors:

[VERBOSE][FMICAPI] Calling fmi2GetModelTypesPlatform
[VERBOSE][FMUCHK] allocateMemory( 1, 192) called. Returning pointer: 0x196ce40
[VERBOSE][FMUCHK] allocateMemory( 1, 160) called. Returning pointer: 0x196cf10

I tried the same with SympySlave.fmu and the result is listed bellow. Any idea of what could be happen?

I saw an issue (already closed), which the point was related the PATH in Python, although the error was totally different.


[VERBOSE][FMUCHK] Setting log level to [DEBUG]
[VERBOSE][FMUCHK] This binary is build without debug log messages.
Reconfigure with FMUCHK_ENABLE_LOG_LEVEL_DEBUG=ON and rebuild to enable debug level logging
[INFO][FMUCHK] FMI compliance checker 2.0.4 [FMILibrary: 2.0.3] build date: Nov 6 2017
[INFO][FMUCHK] Called with following options:
[INFO][FMUCHK] fmuCheck.win64 -e log.txt -o result.csv -c ; -s 2 -h 1e-3 -l 6 -t . SympySlave.fmu
[INFO][FMUCHK] Will process FMU SympySlave.fmu
[VERBOSE][FMILIB] Allocating FMIL context
[VERBOSE][FMILIB] Detecting FMI standard version
[VERBOSE][FMIZIP] Unpacking FMU into D:\Igor_files\FMUChecker-2.0.4-win64\fmucktmpa08144
[VERBOSE][FMIXML] Parsing XML to detect FMI standard version
[VERBOSE][FMIXML] XML specifies FMI 2.0
[INFO][FMILIB] XML specifies FMI standard version 2.0
[VERBOSE][FMILIB] Parsing model description XML
[VERBOSE][FMI2XML] Parsing XML element fmiModelDescription
[VERBOSE][FMI2XML] Parsing XML element CoSimulation
[VERBOSE][FMI2XML] Parsing XML element LogCategories
[VERBOSE][FMI2XML] Parsing XML element ModelVariables
[VERBOSE][FMI2XML] Building alias index
[VERBOSE][FMI2XML] Parsing XML element ModelStructure
[VERBOSE][FMI2XML] Parsing XML element Outputs
[VERBOSE][FMILIB] Parsing finished successfully
[INFO][FMUCHK] Model name: SympySlave
[INFO][FMUCHK] Model GUID: da4eecce-5349-11ed-bdf2-40b0765f86f8
[INFO][FMUCHK] Model version:
[INFO][FMUCHK] FMU kind: CoSimulation
[INFO][FMUCHK] The FMU contains:
0 constants
2 parameters
0 discrete variables
2 continuous variables
1 inputs
1 outputs
0 local variables
0 independent variables
0 calculated parameters
4 real variables
0 integer variables
0 enumeration variables
0 boolean variables
0 string variables

[INFO][FMUCHK] No input data provided. In case of simulation initial values from FMU will be used.
[INFO][FMUCHK] Printing output file header
[INFO][FMUCHK] Model identifier for CoSimulation: SympySlave
[INFO][FMILIB] Loading 'win64' binary with 'default' platform types
[VERBOSE][FMICAPI] Loaded FMU binary from D:\Igor_files\FMUChecker-2.0.4-win64\fmucktmpa08144\binaries\win64\SympySlave.dll
[VERBOSE][FMICAPI] Loading functions for the co-simulation interface
[VERBOSE][FMILIB] Successfully loaded all the interface functions
[INFO][FMUCHK] Version returned from CS FMU: 2.0
[VERBOSE][FMICAPI] Calling fmi2GetModelTypesPlatform
[VERBOSE][FMUCHK] allocateMemory( 1, 192) called. Returning pointer: 0x17dcd80
[VERBOSE][FMUCHK] allocateMemory( 1, 160) called. Returning pointer: 0x17dce50

[VERBOSE][FMICAPI] Calling fmi2SetupExperiment
[VERBOSE][FMICAPI] Calling fmi2EnterInitializationMode
[VERBOSE][FMICAPI] Calling fmi2ExitInitializationMode
[INFO][FMUCHK] Initialized FMU for simulation starting at time 0
[VERBOSE][FMUCHK] Writing simulation output for start time
[VERBOSE][FMUCHK] Simulation step from time: 0 until: 0.001
[ERROR][FMUCHK] FMU logger callback does not propagate component environment to the application
[FMU][FMU status:Fatal] Fatal py exception encountered: [doStep] PyObject_CallMethod
"'NoneType' object is not callable"

[FATAL][FMUCHK] Simulation loop terminated at time 0.001 since FMU returned status: Fatal
[ERROR][FMUCHK] fmiTerminateSlave returned status: Fatal

[VERBOSE][FMILIB] Releasing allocated library resources
[VERBOSE][FMILIB] Releasing FMU CAPI interface
[VERBOSE][FMICAPI] Successfully unloaded FMU binary
[VERBOSE][JMPRT] Removing D:\Igor_files\FMUChecker-2.0.4-win64\fmucktmpa08144
[ERROR][FMUCHK] Memory leak: freeMemory was not called for 2 block(s) allocated by allocateMemory
FMU check summary:
FMU reported:
1 warning(s) and error(s)
Checker reported:
0 Warning(s)
4 Error(s)
1 Fatal error(s) occurred during processing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant