Failed
omsimulator.recompileFMU.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ recompileFMU.mos ... equation mismatch [time: 15] ==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/omsimulator/recompileFMU.mos_temp6203/log-recompileFMU.mos true "" true "" "" "Error: Error building simulator. Build log: cmd: cd \"simpleLoop.fmutmp/sources/\" && mkdir build_cmake_static && cd build_cmake_static && cmake -G \"MSYS Makefiles\" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=\"clang\" .. && cmake --build . --parallel --target install && cd .. && rm -rf build_cmake_static -- 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/recompileFMU.mos_temp6203/simpleLoop.fmutmp/sources/../binaries/win64 -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: -- Configuring done (4.2s) -- Generating done (0.0s) -- Build files have been written to: C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/recompileFMU.mos_temp6203/simpleLoop.fmutmp/sources/build_cmake_static [ 1%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/dger.c.obj [ 2%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/dgemm.c.obj [ 3%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/dgesv.c.obj [ 4%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/dgetrf.c.obj [ 5%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/dgetf2.c.obj [ 6%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/dgetrs.c.obj [ 7%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/dlamch.c.obj [ 8%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/dlaswp.c.obj [ 9%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/dogleg_.c.obj [ 10%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/dpmpar_.c.obj [ 11%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/dscal.c.obj [ 12%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/dswap.c.obj [ 13%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/dtrsm.c.obj [ 14%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/enorm_.c.obj [ 15%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/hybrj_.c.obj [ 16%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/i_nint.c.obj [ 18%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/idamax.c.obj [ 17%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/ieeeck.c.obj [ 19%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/ilaenv.c.obj [ 20%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/iparmq.c.obj [ 21%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/lsame.c.obj [ 22%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/pow_di.c.obj [ 23%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/qform_.c.obj [ 24%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/qrfac_.c.obj [ 25%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/r1mpyq_.c.obj [ 26%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/r1updt_.c.obj [ 27%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/s_copy.c.obj [ 28%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/s_cmp.c.obj [ 29%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/xerbla.c.obj [ 30%] Building C object CMakeFiles/simpleLoop.dir/gc/memory_pool.c.obj [ 31%] Building C object CMakeFiles/simpleLoop.dir/meta/meta_modelica_catch.c.obj [ 32%] Building C object CMakeFiles/simpleLoop.dir/math-support/pivot.c.obj [ 33%] Building C object CMakeFiles/simpleLoop.dir/gc/omc_gc.c.obj [ 34%] Building C object CMakeFiles/simpleLoop.dir/simulation/omc_simulation_util.c.obj [ 35%] Building C object CMakeFiles/simpleLoop.dir/simulation/jacobian_util.c.obj C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/recompileFMU.mos_temp6203/simpleLoop.fmutmp/sources/gc/memory_pool.c:148:47: warning: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned long long') [-Wformat] 148 | printf(\"%p, %ld, %ld, %p\\n\", chunk->memory, chunk->used, chunk->size, chunk->previous); | ~~~ ^~~~~~~~~~~ | %zu C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/recompileFMU.mos_temp6203/simpleLoop.fmutmp/sources/gc/memory_pool.c:148:60: warning: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned long long') [-Wformat] 148 | printf(\"%p, %ld, %ld, %p\\n\", chunk->memory, chunk->used, chunk->size, chunk->previous); | ~~~ ^~~~~~~~~~~ | %zu 2 warnings generated. [ 36%] Building C object CMakeFiles/simpleLoop.dir/simulation/options.c.obj [ 37%] Building C object CMakeFiles/simpleLoop.dir/simulation/simulation_info_json.c.obj [ 38%] Building C object CMakeFiles/simpleLoop.dir/simulation/simulation_omc_assert.c.obj [ 39%] Building C object CMakeFiles/simpleLoop.dir/simulation/solver/fmi_events.c.obj [ 40%] Building C object CMakeFiles/simpleLoop.dir/simulation/solver/delay.c.obj [ 41%] Building C object CMakeFiles/simpleLoop.dir/simulation/solver/initialization/initialization.c.obj [ 42%] Building C object CMakeFiles/simpleLoop.dir/simulation/solver/model_help.c.obj [ 43%] Building C object CMakeFiles/simpleLoop.dir/simulation/solver/nonlinearSolverHomotopy.c.obj [ 44%] Building C object CMakeFiles/simpleLoop.dir/simulation/solver/nonlinearSolverHybrd.c.obj [ 45%] Building C object CMakeFiles/simpleLoop.dir/simulation/solver/nonlinearSystem.c.obj C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/recompileFMU.mos_temp6203/simpleLoop.fmutmp/sources/simulation/solver/model_help.c:232:102: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] 232 | infoStreamPrint(stream, 0, \"%ld: %s = %ld (pre: %ld)\", i+1, mData->integerVarsData[i].info.name, data->localData[ringSegment]->integerVars[i], sInfo->integerVarsPre[i]); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %lld C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/recompileFMU.mos_temp6203/simpleLoop.fmutmp/sources/simulation/solver/model_help.c:232:148: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] 232 | infoStreamPrint(stream, 0, \"%ld: %s = %ld (pre: %ld)\", i+1, mData->integerVarsData[i].info.name, data->localData[ringSegment]->integerVars[i], sInfo->integerVarsPre[i]); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~ | %lld C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/recompileFMU.mos_temp6203/simpleLoop.fmutmp/sources/simulation/solver/model_help.c:345:34: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] 343 | infoStreamPrint(stream, 0, \"[%ld] parameter Integer %s(start=%ld, fixed=%s) = %ld\", i+1, | ~~~ | %lld 344 | mData->integerParameterData[i].info.name, 345 | mData->integerParameterData[i].attribute.start, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/recompileFMU.mos_temp6203/simpleLoop.fmutmp/sources/simulation/solver/model_help.c:347:34: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] 343 | infoStreamPrint(stream, 0, \"[%ld] parameter Integer %s(start=%ld, fixed=%s) = %ld\", i+1, | ~~~ | %lld 344 | mData->integerParameterData[i].info.name, 345 | mData->integerParameterData[i].attribute.start, 346 | mData->integerParameterData[i].attribute.fixed ? \"true\" : \"false\", 347 | data->simulationInfo->integerParameter[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/recompileFMU.mos_temp6203/simpleLoop.fmutmp/sources/simulation/solver/model_help.c:661:107: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] 661 | infoStreamPrint(LOG_STDOUT, 0, \"%d: %s = %li \", j+1, data->modelData->integerVarsData[j].info.name, sdata->integerVars[j]); | ~~~ ^~~~~~~~~~~~~~~~~~~~~ | %lli C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/recompileFMU.mos_temp6203/simpleLoop.fmutmp/sources/simulation/solver/model_help.c:730:101: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] 730 | debugStreamPrint(LOG_DEBUG, 0, \"set Integer var %s = %ld\", mData->integerVarsData[i].info.name, sData->integerVars[i]); | ~~~ ^~~~~~~~~~~~~~~~~~~~~ | %lld C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/recompileFMU.mos_temp6203/simpleLoop.fmutmp/sources/simulation/solver/model_help.c:771:102: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] 771 | debugStreamPrint(LOG_DEBUG, 0, \"Integer var %s(start=%ld)\", mData->integerVarsData[i].info.name, sData->integerVars[i]); | ~~~ ^~~~~~~~~~~~~~~~~~~~~ | %lld C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/recompileFMU.mos_temp6203/simpleLoop.fmutmp/sources/simulation/solver/model_help.c:815:106: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] 815 | debugStreamPrint(LOG_DEBUG, 0, \"set Integer var %s = %ld\", mData->integerParameterData[i].info.name, sInfo->integerParameter[i]); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ | %lld [ 46%] Building C object CMakeFiles/simpleLoop.dir/simulation/solver/nonlinearValuesList.c.obj [ 47%] Building C object CMakeFiles/simpleLoop.dir/simulation/solver/omc_math.c.obj 8 warnings generated. [ 48%] Building C object CMakeFiles/simpleLoop.dir/simulation/solver/spatialDistribution.c.obj C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/recompileFMU.mos_temp6203/simpleLoop.fmutmp/sources/simulation/solver/initialization/initialization.c:141:36: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] 139 | infoStreamPrint(LOG_SOTI, 0, \"[%ld] Integer %s(start=%ld) = %ld (pre: %ld)\", i+1, | ~~~ | %lld 140 | mData->integerVarsData[i].info.name, 141 | mData->integerVarsData[i].attribute.start, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/recompileFMU.mos_temp6203/simpleLoop.fmutmp/sources/simulation/solver/initialization/initialization.c:142:36: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] 139 | infoStreamPrint(LOG_SOTI, 0, \"[%ld] Integer %s(start=%ld) = %ld (pre: %ld)\", i+1, | ~~~ | %lld 140 | mData->integerVarsData[i].info.name, 141 | mData->integerVarsData[i].attribute.start, 142 | simData->localData[0]->integerVars[i], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/recompileFMU.mos_temp6203/simpleLoop.fmutmp/sources/simulation/solver/initialization/initialization.c:143:36: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] 139 | infoStreamPrint(LOG_SOTI, 0, \"[%ld] Integer %s(start=%ld) = %ld (pre: %ld)\", i+1, | ~~~ | %lld 140 | mData->integerVarsData[i].info.name, 141 | mData->integerVarsData[i].attribute.start, 142 | simData->localData[0]->integerVars[i], 143 | sInfo->integerVarsPre[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. [ 49%] Building C object CMakeFiles/simpleLoop.dir/simulation/solver/stateset.c.obj [ 50%] Building C object CMakeFiles/simpleLoop.dir/util/ModelicaUtilities.c.obj [ 51%] Building C object CMakeFiles/simpleLoop.dir/simulation/solver/synchronous.c.obj [ 52%] Building C object CMakeFiles/simpleLoop.dir/util/base_array.c.obj C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/recompileFMU.mos_temp6203/simpleLoop.fmutmp/sources/simulation/solver/nonlinearSystem.c:1203:92: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] 1203 | infoStreamPrint(LOG_NLS_EXTRAPOLATE, 1, \"Nonlinear system %ld dump LOG_NLS_EXTRAPOLATE\", nonlinsys->equationIndex); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~ | %lld C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/recompileFMU.mos_temp6203/simpleLoop.fmutmp/sources/simulation/solver/nonlinearSystem.c:1223:98: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] 1223 | infoStreamPrint(LOG_NLS, 1, \"############ Solve nonlinear system %ld at time %g ############\", nonlinsys->equationIndex, data->localData[0]->timeValue); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~ | %lld C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/recompileFMU.mos_temp6203/simpleLoop.fmutmp/sources/simulation/solver/stateset.c:49:74: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] 49 | infoStreamPrint(LOG_DSS, 0, \"Select %ld state%s from %ld candidates.\", set->nStates, set->nStates == 1 ? \"\" : \"s\", set->nCandidates); | ~~~ ^~~~~~~~~~~~ | %lld C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/recompileFMU.mos_temp6203/simpleLoop.fmutmp/sources/simulation/solver/stateset.c:49:118: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] 49 | infoStreamPrint(LOG_DSS, 0, \"Select %ld state%s from %ld candidates.\", set->nStates, set->nStates == 1 ? \"\" : \"s\", set->nCandidates); | ~~~ ^~~~~~~~~~~~~~~~ | %lld C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/recompileFMU.mos_temp6203/simpleLoop.fmutmp/sources/simulation/solver/stateset.c:395:206: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] 395 | warningStreamPrint(LOG_DSS, 1, \"jacobian %dx%d [id: %ld]\", data->simulationInfo->analyticJacobians[set->jacobianIndex].sizeRows, data->simulationInfo->analyticJacobians[set->jacobianIndex].sizeCols, set->jacobianIndex); | ~~~ ^~~~~~~~~~~~~~~~~~ | %lld 2 warnings generated. 3 warnings generated. [ 53%] Building C object CMakeFiles/simpleLoop.dir/util/boolean_array.c.obj [ 54%] Building C object CMakeFiles/simpleLoop.dir/util/context.c.obj [ 55%] Building C object CMakeFiles/simpleLoop.dir/util/division.c.obj [ 56%] Building C object CMakeFiles/simpleLoop.dir/util/doubleEndedList.c.obj [ 57%] Building C object CMakeFiles/simpleLoop.dir/util/index_spec.c.obj [ 58%] Building C object CMakeFiles/simpleLoop.dir/util/integer_array.c.obj [ 59%] Building C object CMakeFiles/simpleLoop.dir/util/generic_array.c.obj [ 60%] Building C object CMakeFiles/simpleLoop.dir/util/list.c.obj C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/recompileFMU.mos_temp6203/simpleLoop.fmutmp/sources/util/integer_array.c:228:33: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] 228 | printf(\"%ld\\t\", value); | ~~~ ^~~~~ | %lld C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/recompileFMU.mos_temp6203/simpleLoop.fmutmp/sources/util/integer_array.c:246:28: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] 246 | printf(\"%ld, \",*data); | ~~~ ^~~~~ | %lld C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/recompileFMU.mos_temp6203/simpleLoop.fmutmp/sources/util/integer_array.c:250:26: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] 250 | printf(\"%ld\",*data); | ~~~ ^~~~~ | %lld C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/recompileFMU.mos_temp6203/simpleLoop.fmutmp/sources/util/integer_array.c:259:36: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] 259 | printf(\"%ld, \",*data); | ~~~ ^~~~~ | %lld C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/recompileFMU.mos_temp6203/simpleLoop.fmutmp/sources/util/integer_array.c:263:34: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] 263 | printf(\"%ld\",*data); | ~~~ ^~~~~ | %lld [ 61%] Building C object CMakeFiles/simpleLoop.dir/util/modelica_string.c.obj [ 62%] Building C object CMakeFiles/simpleLoop.dir/util/modelica_string_lit.c.obj [ 63%] Building C object CMakeFiles/simpleLoop.dir/util/omc_error.c.obj 5 warnings generated. [ 64%] Building C object CMakeFiles/simpleLoop.dir/util/omc_file.c.obj [ 65%] Building C object CMakeFiles/simpleLoop.dir/util/omc_init.c.obj [ 66%] Building C object CMakeFiles/simpleLoop.dir/util/omc_mmap.c.obj [ 67%] Building C object CMakeFiles/simpleLoop.dir/util/omc_msvc.c.obj [ 68%] Building C object CMakeFiles/simpleLoop.dir/util/omc_numbers.c.obj Mingw-w64 runtime failure: VirtualProtect failed with code 0x5af[ 69%] Building C object CMakeFiles/simpleLoop.dir/util/parallel_helper.c.obj C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/recompileFMU.mos_temp6203/simpleLoop.fmutmp/sources/util/omc_file.c:316:80: warning: format specifies type 'int' but the argument has type 'DWORD' (aka 'unsigned long') [-Wformat] 316 | printf(\"GetFullPathName failed for %ls with error code %d\\n\", unicodePath, GetLastError()); | ~~ ^~~~~~~~~~~~~~ | %lu 1 warning generated. 0 [main] make 16663 dofork: child -1 - forked process 5287288 died unexpectedly, retry 0, exit code 0xC000012D, errno 11 0 [main] sh (5277288) child_copy: cygheap read copy failed, 0x0..0x800010CD8, done 0, windows pid 5277288, Win32 error 299 " 9 false 1 "" 1 "error: [oms_extractFMIKind] failed to extract \"modelDescription.xml\" from \"simpleLoop.fmu\" error: [oms_RunFile] oms_extractFMIKind failed info: 0 warnings info: 2 errors " '' Equation mismatch: diff says: --- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/omsimulator/recompileFMU.mos_temp6203/equations-expected"2024-06-13 15:26:55.187813800 +0200 +++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/omsimulator/recompileFMU.mos_temp6203/equations-got"2024-06-13 15:27:10.210903500 +0200 @@ -1,14 +1,230 @@ true "" true "" -"simpleLoop.fmu" "" -0 -true -0 +"Error: Error building simulator. Build log: cmd: cd \"simpleLoop.fmutmp/sources/\" && mkdir build_cmake_static && cd build_cmake_static && cmake -G \"MSYS Makefiles\" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=\"clang\" .. && cmake --build . --parallel --target install && cd .. && rm -rf build_cmake_static +-- 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/simpleLoop.fmutmp/sources/../binaries/win64 +-- CVODE: Not linked +-- Not using FMI2_FUNCTION_PREFIX +-- Installing dynamic dependencies from list: +-- Configuring done (4.2s) +-- Generating done (0.0s) +-- Build files have been written to: C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/simpleLoop.fmutmp/sources/build_cmake_static +[ 1%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/dger.c.obj +[ 2%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/dgemm.c.obj +[ 3%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/dgesv.c.obj +[ 4%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/dgetrf.c.obj +[ 5%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/dgetf2.c.obj +[ 6%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/dgetrs.c.obj +[ 7%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/dlamch.c.obj +[ 8%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/dlaswp.c.obj +[ 9%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/dogleg_.c.obj +[ 10%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/dpmpar_.c.obj +[ 11%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/dscal.c.obj +[ 12%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/dswap.c.obj +[ 13%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/dtrsm.c.obj +[ 14%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/enorm_.c.obj +[ 15%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/hybrj_.c.obj +[ 16%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/i_nint.c.obj +[ 18%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/idamax.c.obj +[ 17%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/ieeeck.c.obj +[ 19%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/ilaenv.c.obj +[ 20%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/iparmq.c.obj +[ 21%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/lsame.c.obj +[ 22%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/pow_di.c.obj +[ 23%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/qform_.c.obj +[ 24%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/qrfac_.c.obj +[ 25%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/r1mpyq_.c.obj +[ 26%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/r1updt_.c.obj +[ 27%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/s_copy.c.obj +[ 28%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/s_cmp.c.obj +[ 29%] Building C object CMakeFiles/simpleLoop.dir/external_solvers/xerbla.c.obj +[ 30%] Building C object CMakeFiles/simpleLoop.dir/gc/memory_pool.c.obj +[ 31%] Building C object CMakeFiles/simpleLoop.dir/meta/meta_modelica_catch.c.obj +[ 32%] Building C object CMakeFiles/simpleLoop.dir/math-support/pivot.c.obj +[ 33%] Building C object CMakeFiles/simpleLoop.dir/gc/omc_gc.c.obj +[ 34%] Building C object CMakeFiles/simpleLoop.dir/simulation/omc_simulation_util.c.obj +[ 35%] Building C object CMakeFiles/simpleLoop.dir/simulation/jacobian_util.c.obj +C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/simpleLoop.fmutmp/sources/gc/memory_pool.c:148:47: warning: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned long long') [-Wformat] +148 | printf(\"%p, %ld, %ld, %p\\n\", chunk->memory, chunk->used, chunk->size, chunk->previous); +| ~~~ ^~~~~~~~~~~ +| %zu +C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/simpleLoop.fmutmp/sources/gc/memory_pool.c:148:60: warning: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned long long') [-Wformat] +148 | printf(\"%p, %ld, %ld, %p\\n\", chunk->memory, chunk->used, chunk->size, chunk->previous); +| ~~~ ^~~~~~~~~~~ +| %zu +2 warnings generated. +[ 36%] Building C object CMakeFiles/simpleLoop.dir/simulation/options.c.obj +[ 37%] Building C object CMakeFiles/simpleLoop.dir/simulation/simulation_info_json.c.obj +[ 38%] Building C object CMakeFiles/simpleLoop.dir/simulation/simulation_omc_assert.c.obj +[ 39%] Building C object CMakeFiles/simpleLoop.dir/simulation/solver/fmi_events.c.obj +[ 40%] Building C object CMakeFiles/simpleLoop.dir/simulation/solver/delay.c.obj +[ 41%] Building C object CMakeFiles/simpleLoop.dir/simulation/solver/initialization/initialization.c.obj +[ 42%] Building C object CMakeFiles/simpleLoop.dir/simulation/solver/model_help.c.obj +[ 43%] Building C object CMakeFiles/simpleLoop.dir/simulation/solver/nonlinearSolverHomotopy.c.obj +[ 44%] Building C object CMakeFiles/simpleLoop.dir/simulation/solver/nonlinearSolverHybrd.c.obj +[ 45%] Building C object CMakeFiles/simpleLoop.dir/simulation/solver/nonlinearSystem.c.obj +C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/simpleLoop.fmutmp/sources/simulation/solver/model_help.c:232:102: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] +232 | infoStreamPrint(stream, 0, \"%ld: %s = %ld (pre: %ld)\", i+1, mData->integerVarsData[i].info.name, data->localData[ringSegment]->integerVars[i], sInfo->integerVarsPre[i]); +| ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +| %lld +C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/simpleLoop.fmutmp/sources/simulation/solver/model_help.c:232:148: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] +232 | infoStreamPrint(stream, 0, \"%ld: %s = %ld (pre: %ld)\", i+1, mData->integerVarsData[i].info.name, data->localData[ringSegment]->integerVars[i], sInfo->integerVarsPre[i]); +| ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~ +| %lld +C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/simpleLoop.fmutmp/sources/simulation/solver/model_help.c:345:34: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] +343 | infoStreamPrint(stream, 0, \"[%ld] parameter Integer %s(start=%ld, fixed=%s) = %ld\", i+1, +| ~~~ +| %lld +344 | mData->integerParameterData[i].info.name, +345 | mData->integerParameterData[i].attribute.start, +| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/simpleLoop.fmutmp/sources/simulation/solver/model_help.c:347:34: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] +343 | infoStreamPrint(stream, 0, \"[%ld] parameter Integer %s(start=%ld, fixed=%s) = %ld\", i+1, +| ~~~ +| %lld +344 | mData->integerParameterData[i].info.name, +345 | mData->integerParameterData[i].attribute.start, +346 | mData->integerParameterData[i].attribute.fixed ? \"true\" : \"false\", +347 | data->simulationInfo->integerParameter[i]); +| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/simpleLoop.fmutmp/sources/simulation/solver/model_help.c:661:107: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] +661 | infoStreamPrint(LOG_STDOUT, 0, \"%d: %s = %li \", j+1, data->modelData->integerVarsData[j].info.name, sdata->integerVars[j]); +| ~~~ ^~~~~~~~~~~~~~~~~~~~~ +| %lli +C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/simpleLoop.fmutmp/sources/simulation/solver/model_help.c:730:101: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] +730 | debugStreamPrint(LOG_DEBUG, 0, \"set Integer var %s = %ld\", mData->integerVarsData[i].info.name, sData->integerVars[i]); +| ~~~ ^~~~~~~~~~~~~~~~~~~~~ +| %lld +C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/simpleLoop.fmutmp/sources/simulation/solver/model_help.c:771:102: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] +771 | debugStreamPrint(LOG_DEBUG, 0, \"Integer var %s(start=%ld)\", mData->integerVarsData[i].info.name, sData->integerVars[i]); +| ~~~ ^~~~~~~~~~~~~~~~~~~~~ +| %lld +C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/simpleLoop.fmutmp/sources/simulation/solver/model_help.c:815:106: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] +815 | debugStreamPrint(LOG_DEBUG, 0, \"set Integer var %s = %ld\", mData->integerParameterData[i].info.name, sInfo->integerParameter[i]); +| ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ +| %lld +[ 46%] Building C object CMakeFiles/simpleLoop.dir/simulation/solver/nonlinearValuesList.c.obj +[ 47%] Building C object CMakeFiles/simpleLoop.dir/simulation/solver/omc_math.c.obj +8 warnings generated. +[ 48%] Building C object CMakeFiles/simpleLoop.dir/simulation/solver/spatialDistribution.c.obj +C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/simpleLoop.fmutmp/sources/simulation/solver/initialization/initialization.c:141:36: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] +139 | infoStreamPrint(LOG_SOTI, 0, \"[%ld] Integer %s(start=%ld) = %ld (pre: %ld)\", i+1, +| ~~~ +| %lld +140 | mData->integerVarsData[i].info.name, +141 | mData->integerVarsData[i].attribute.start, +| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/simpleLoop.fmutmp/sources/simulation/solver/initialization/initialization.c:142:36: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] +139 | infoStreamPrint(LOG_SOTI, 0, \"[%ld] Integer %s(start=%ld) = %ld (pre: %ld)\", i+1, +| ~~~ +| %lld +140 | mData->integerVarsData[i].info.name, +141 | mData->integerVarsData[i].attribute.start, +142 | simData->localData[0]->integerVars[i], +| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/simpleLoop.fmutmp/sources/simulation/solver/initialization/initialization.c:143:36: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] +139 | infoStreamPrint(LOG_SOTI, 0, \"[%ld] Integer %s(start=%ld) = %ld (pre: %ld)\", i+1, +| ~~~ +| %lld +140 | mData->integerVarsData[i].info.name, +141 | mData->integerVarsData[i].attribute.start, +142 | simData->localData[0]->integerVars[i], +143 | sInfo->integerVarsPre[i]); +| ^~~~~~~~~~~~~~~~~~~~~~~~ +3 warnings generated. +[ 49%] Building C object CMakeFiles/simpleLoop.dir/simulation/solver/stateset.c.obj +[ 50%] Building C object CMakeFiles/simpleLoop.dir/util/ModelicaUtilities.c.obj +[ 51%] Building C object CMakeFiles/simpleLoop.dir/simulation/solver/synchronous.c.obj +[ 52%] Building C object CMakeFiles/simpleLoop.dir/util/base_array.c.obj +C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/simpleLoop.fmutmp/sources/simulation/solver/nonlinearSystem.c:1203:92: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] +1203 | infoStreamPrint(LOG_NLS_EXTRAPOLATE, 1, \"Nonlinear system %ld dump LOG_NLS_EXTRAPOLATE\", nonlinsys->equationIndex); +| ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~ +| %lld +C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/simpleLoop.fmutmp/sources/simulation/solver/nonlinearSystem.c:1223:98: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] +1223 | infoStreamPrint(LOG_NLS, 1, \"############ Solve nonlinear system %ld at time %g ############\", nonlinsys->equationIndex, data->localData[0]->timeValue); +| ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~ +| %lld +C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/simpleLoop.fmutmp/sources/simulation/solver/stateset.c:49:74: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] +49 | infoStreamPrint(LOG_DSS, 0, \"Select %ld state%s from %ld candidates.\", set->nStates, set->nStates == 1 ? \"\" : \"s\", set->nCandidates); +| ~~~ ^~~~~~~~~~~~ +| %lld +C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/simpleLoop.fmutmp/sources/simulation/solver/stateset.c:49:118: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] +49 | infoStreamPrint(LOG_DSS, 0, \"Select %ld state%s from %ld candidates.\", set->nStates, set->nStates == 1 ? \"\" : \"s\", set->nCandidates); +| ~~~ ^~~~~~~~~~~~~~~~ +| %lld +C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/simpleLoop.fmutmp/sources/simulation/solver/stateset.c:395:206: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] +395 | warningStreamPrint(LOG_DSS, 1, \"jacobian %dx%d [id: %ld]\", data->simulationInfo->analyticJacobians[set->jacobianIndex].sizeRows, data->simulationInfo->analyticJacobians[set->jacobianIndex].sizeCols, set->jacobianIndex); +| ~~~ ^~~~~~~~~~~~~~~~~~ +| %lld +2 warnings generated. +3 warnings generated. +[ 53%] Building C object CMakeFiles/simpleLoop.dir/util/boolean_array.c.obj +[ 54%] Building C object CMakeFiles/simpleLoop.dir/util/context.c.obj +[ 55%] Building C object CMakeFiles/simpleLoop.dir/util/division.c.obj +[ 56%] Building C object CMakeFiles/simpleLoop.dir/util/doubleEndedList.c.obj +[ 57%] Building C object CMakeFiles/simpleLoop.dir/util/index_spec.c.obj +[ 58%] Building C object CMakeFiles/simpleLoop.dir/util/integer_array.c.obj +[ 59%] Building C object CMakeFiles/simpleLoop.dir/util/generic_array.c.obj +[ 60%] Building C object CMakeFiles/simpleLoop.dir/util/list.c.obj +C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/simpleLoop.fmutmp/sources/util/integer_array.c:228:33: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] +228 | printf(\"%ld\\t\", value); +| ~~~ ^~~~~ +| %lld +C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/simpleLoop.fmutmp/sources/util/integer_array.c:246:28: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] +246 | printf(\"%ld, \",*data); +| ~~~ ^~~~~ +| %lld +C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/simpleLoop.fmutmp/sources/util/integer_array.c:250:26: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] +250 | printf(\"%ld\",*data); +| ~~~ ^~~~~ +| %lld +C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/simpleLoop.fmutmp/sources/util/integer_array.c:259:36: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] +259 | printf(\"%ld, \",*data); +| ~~~ ^~~~~ +| %lld +C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/simpleLoop.fmutmp/sources/util/integer_array.c:263:34: warning: format specifies type 'long' but the argument has type 'modelica_integer' (aka 'long long') [-Wformat] +263 | printf(\"%ld\",*data); +| ~~~ ^~~~~ +| %lld +[ 61%] Building C object CMakeFiles/simpleLoop.dir/util/modelica_string.c.obj +[ 62%] Building C object CMakeFiles/simpleLoop.dir/util/modelica_string_lit.c.obj +[ 63%] Building C object CMakeFiles/simpleLoop.dir/util/omc_error.c.obj +5 warnings generated. +[ 64%] Building C object CMakeFiles/simpleLoop.dir/util/omc_file.c.obj +[ 65%] Building C object CMakeFiles/simpleLoop.dir/util/omc_init.c.obj +[ 66%] Building C object CMakeFiles/simpleLoop.dir/util/omc_mmap.c.obj +[ 67%] Building C object CMakeFiles/simpleLoop.dir/util/omc_msvc.c.obj +[ 68%] Building C object CMakeFiles/simpleLoop.dir/util/omc_numbers.c.obj +Mingw-w64 runtime failure: +VirtualProtect failed with code 0x5af[ 69%] Building C object CMakeFiles/simpleLoop.dir/util/parallel_helper.c.obj +C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/simpleLoop.fmutmp/sources/util/omc_file.c:316:80: warning: format specifies type 'int' but the argument has type 'DWORD' (aka 'unsigned long') [-Wformat] +316 | printf(\"GetFullPathName failed for %ls with error code %d\\n\", unicodePath, GetLastError()); +| ~~ ^~~~~~~~~~~~~~ +| %lu +1 warning generated. +0 [main] make 16663 dofork: child -1 - forked process 5287288 died unexpectedly, retry 0, exit code 0xC000012D, errno 11 +0 [main] sh (5277288) child_copy: cygheap read copy failed, 0x0..0x800010CD8, done 0, windows pid 5277288, Win32 error 299 +" +9 +false +1 "" -0 -"info: model doesn't contain any continuous state -info: Result file: model_res.mat (bufferSize=10) +1 +"error: [oms_extractFMIKind] failed to extract \"modelDescription.xml\" from \"simpleLoop.fmu\" +error: [oms_RunFile] oms_extractFMIKind failed +info: 0 warnings +info: 2 errors " '' Equation mismatch: omc-diff says: Failed 's' '"' Line 5: Text differs: expected: "simpleLoop.fmu" got: "" == 1 out of 1 tests failed [omsimulator/recompileFMU.mos_temp6203, time: 31]