Skip to content

Regression

omsimulator.Issue_FMU_update_vars.mos (from (result.xml))

Failing for the past 1 build (Since #3747 )
Took 13 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + Issue_FMU_update_vars                                                             ... equation mismatch [time: 8]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/omsimulator/Issue_FMU_update_vars.mos_temp3074/log-Issue_FMU_update_vars.mos
true
""
""
"Warning: The initial conditions are not fully specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\").
Error: Error building simulator. Build log: cmd: cd \"Issue_FMU_update_vars.fmutmp/sources/\" && mkdir build_cmake_dynamic && cd build_cmake_dynamic && cmake -G \"MSYS Makefiles\" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=\"clang\" -DCMAKE_CXX_COMPILER=\"clang++\" .. && cmake --build . --parallel  --target install && cd .. && rm -rf build_cmake_dynamic
-- The C compiler identification is Clang 17.0.6
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/OMDevUCRT/tools/msys/ucrt64/bin/clang.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- FMI2 include directory: C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c/fmi
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Building for FMI platform win64
-- Install directory: C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/Issue_FMU_update_vars.mos_temp3074/Issue_FMU_update_vars.fmutmp/sources/../binaries/win64
-- CVODE: Not linked
-- Not using FMI2_FUNCTION_PREFIX
-- Installing dynamic dependencies from list: 
-- Configuring done (5.2s)
-- Generating done (0.1s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER


-- Build files have been written to: C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/Issue_FMU_update_vars.mos_temp3074/Issue_FMU_update_vars.fmutmp/sources/build_cmake_dynamic
"
true
""
1
"error:   [addSubModel] file does not exist: \"Issue_FMU_update_vars.fmu\"
error:   [oms_RunFile] Issue_FMU_update_vars.lua:9: oms_addSubModel(model.root.fmuvar,Issue_FMU_update_vars.fmu) failed
info:    0 warnings
info:    2 errors
"
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/omsimulator/Issue_FMU_update_vars.mos_temp3074/equations-expected"2024-05-08 14:58:30.319674000 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/omsimulator/Issue_FMU_update_vars.mos_temp3074/equations-got"2024-05-08 14:58:38.095719700 +0200
@@ -1,23 +1,38 @@
 true
 ""
-"Issue_FMU_update_vars.fmu"
+""
 "Warning: The initial conditions are not fully specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\").
+Error: Error building simulator. Build log: cmd: cd \"Issue_FMU_update_vars.fmutmp/sources/\" && mkdir build_cmake_dynamic && cd build_cmake_dynamic && cmake -G \"MSYS Makefiles\" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=\"clang\" -DCMAKE_CXX_COMPILER=\"clang++\" .. && cmake --build . --parallel  --target install && cd .. && rm -rf build_cmake_dynamic
+-- The C compiler identification is Clang 17.0.6
+-- Detecting C compiler ABI info
+-- Detecting C compiler ABI info - done
+-- Check for working C compiler: C:/OMDevUCRT/tools/msys/ucrt64/bin/clang.exe - skipped
+-- Detecting C compile features
+-- Detecting C compile features - done
+-- FMI2 include directory: C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c/fmi
+-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
+-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
+-- Found Threads: TRUE  
+-- Building for FMI platform win64
+-- Install directory: C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/Issue_FMU_update_vars.fmutmp/sources/../binaries/win64
+-- CVODE: Not linked
+-- Not using FMI2_FUNCTION_PREFIX
+-- Installing dynamic dependencies from list: 
+-- Configuring done (5.2s)
+-- Generating done (0.1s)
+CMake Warning:
+Manually-specified variables were not used by the project:
+
+CMAKE_CXX_COMPILER
+
+
+-- Build files have been written to: C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/Issue_FMU_update_vars.fmutmp/sources/build_cmake_dynamic
 "
 true
 ""
-0
-"info:    Virgin settings
-info:      model.root.fmuvar.var     : -4.0
-info:      model.root.fmuvar.x       : -30.0
-info:    Instantiate settings
-info:      model.root.fmuvar.var     : -3.0
-info:      model.root.fmuvar.x       : -40.0
-info:    maximum step size for 'model.root': 0.001000
-info:    Result file: Issue_FMU_update_vars.mat (bufferSize=1)
-info:    Initialize settings
-info:      model.root.fmuvar.var     : -3.0
-info:      model.root.fmuvar.x       : -40.0
-info:    Final Statistics for 'model.root':
-NumSteps = 1001 NumRhsEvals  = 1002 NumLinSolvSetups = 51
-NumNonlinSolvIters = 1001 NumNonlinSolvConvFails = 0 NumErrTestFails = 0
+1
+"error: [addSubModel] file does not exist: \"Issue_FMU_update_vars.fmu\"
+error: [oms_RunFile] Issue_FMU_update_vars.lua:9: oms_addSubModel(model.root.fmuvar,Issue_FMU_update_vars.fmu) failed
+info: 0 warnings
+info: 2 errors
 "
'' 
Equation mismatch: omc-diff says: 
Failed 'I' '"'
Line 3: Text differs:
expected: "Issue_FMU_update_vars.fmu"
got:      ""

== 1 out of 1 tests failed [omsimulator/Issue_FMU_update_vars.mos_temp3074, time: 13]