Skip to content

Regression

openmodelica_linearization.simextfunction.mos (from (result.xml))

Failing for the past 1 build (Since #3775 )
Took 21 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + extfunctions linearization                                                        ... equation mismatch [time: 14]

==== Log C:\Users\OPENMO~1\AppData\Local\Temp/omc-rtest-OpenModelica/openmodelica/linearization/simextfunction.mos_temp8378/log-simextfunction.mos
true
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'extfunction', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-l=0 -l_datarec'",
    messages = "Failed to build model: extfunction"
end SimulationResult;
"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: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/LINEAR~1/SIMEXT~2.MOS'
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=extfunction -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o extfunction.o extfunction.c
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=extfunction -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o extfunction_functions.o extfunction_functions.c
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=extfunction -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o extfunction_records.o extfunction_records.c
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=extfunction -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o extfunction_01exo.o extfunction_01exo.c
Mingw-w64 runtime failure:
  VirtualProtect failed with code 0x5afmake: *** [<builtin>: extfunction_01exo.o] Error 127
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/LINEAR~1/SIMEXT~2.MOS'
RESULT: 2
"
false
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'linearized_model', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Simulation Failed. Model: linearized_model does not exist! Please load it first before simulation."
end SimulationResult;
""
""
true
"Error: Error opening file: linearized_model.log: No such file or directory.
"
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'extfunction', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-l=1 -l_datarec'",
    messages = "Failed to build model: extfunction"
end SimulationResult;
"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: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/LINEAR~1/SIMEXT~2.MOS'
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=extfunction -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o extfunction.o extfunction.c
LLVM ERROR: out of memory
Allocation failed
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.Program arguments: C:\\\\OMDevUCRT\\\\tools\\\\msys\\\\ucrt64\\\\bin\\\\clang.exe -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -IC:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c -IC:/dev/jenkins/ws/Windows/OM_Win/build/include/omc -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=extfunction -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o extfunction.o extfunction.c
1.C:/OMDevUCRT/tools/msys/ucrt64/include/winsock2.h:1160:3: current parser token 'WSAQUERYSET2A'
2.C:/OMDevUCRT/tools/msys/ucrt64/include/winsock2.h:1145:9: parsing struct/union body '_WSAQUERYSET2A'
Exception Code: 0xC000001D
 #0 0x00007ffbc2deb736 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1b736)
 #1 0x00007ffc031ce6d5 (C:\\WINDOWS\\System32\\ucrtbase.dll+0x7e6d5)
 #2 0x00007ffc031cf6e1 (C:\\WINDOWS\\System32\\ucrtbase.dll+0x7f6e1)
 #3 0x00007ffbc4da8d08 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1fd8d08)
 #4 0x00007ffbc2eb1b0f (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0xe1b0f)
 #5 0x00007ffbc43c1ae5 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x15f1ae5)
 #6 0x00007ffbd142fe6f (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x7bfe6f)
 #7 0x00007ffbd32f7dfe (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x2687dfe)
 #8 0x00007ffbd2a265ab (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1db65ab)
 #9 0x00007ffbd2a22349 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1db2349)
#10 0x00007ffbd14e1048 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x871048)
#11 0x00007ffbd2a4c143 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1ddc143)
#12 0x00007ffbd261767b (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x19a767b)
#13 0x00007ffbd2a80432 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e10432)
#14 0x00007ffbd2a72ebc (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e02ebc)
#15 0x00007ffbd2ab43a7 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e443a7)
#16 0x00007ffbd2a921ff (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e221ff)
#17 0x00007ffbd2a56e3c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1de6e3c)
#18 0x00007ffbd2aa2249 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e32249)
#19 0x00007ffbd2a608a8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1df08a8)
#20 0x00007ffbd3061d4e (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x23f1d4e)
#21 0x00007ffbd18fd078 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xc8d078)
#22 0x00007ffbd1a1f0c4 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xdaf0c4)
#23 0x00007ffbd264247c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x19d247c)
#24 0x00007ff76268f4a8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xf4a8)
#25 0x00007ff76268fada (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xfada)
#26 0x00007ffbd12eed4d (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x67ed4d)
#27 0x00007ffbc4c80154 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1eb0154)
#28 0x00007ffbd342b954 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27bb954)
#29 0x00007ffbd3468ab5 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f8ab5)
#30 0x00007ffbd346876f (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f876f)
#31 0x00007ffbd2b9729b (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1f2729b)
#32 0x00007ff76268c1b8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xc1b8)
#33 0x00007ff762694eb9 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x14eb9)
#34 0x00007ff7626812ee (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x12ee)
#35 0x00007ff762681406 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x1406)
#36 0x00007ffc0397257d (C:\\WINDOWS\\System32\\KERNEL32.DLL+0x1257d)
#37 0x00007ffc058caa48 (C:\\WINDOWS\\SYSTEM32\\ntdll.dll+0x5aa48)
clang: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 17.0.6
Target: x86_64-w64-windows-gnu
Thread model: posix
InstalledDir: C:/OMDevUCRT/tools/msys/ucrt64/bin
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: C:/Users/OPENMO~1/AppData/Local/Temp/extfunction-a212ff.c
clang: note: diagnostic msg: C:/Users/OPENMO~1/AppData/Local/Temp/extfunction-a212ff.sh
clang: note: diagnostic msg: 

********************
make: *** [<builtin>: extfunction.o] Error 1
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/LINEAR~1/SIMEXT~2.MOS'
RESULT: 2
"
false
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'linearized_model', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Simulation Failed. Model: linearized_model does not exist! Please load it first before simulation."
end SimulationResult;
""
""
true
"Error: Error opening file: linearized_model.log: No such file or directory.
"
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'extfunction', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to run the linearize command: extfunction"
end SimulationResult;
"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: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/LINEAR~1/SIMEXT~2.MOS'
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=extfunction -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o extfunction.o extfunction.c
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=extfunction -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o extfunction_functions.o extfunction_functions.c
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=extfunction -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o extfunction_records.o extfunction_records.c
      0 [main] make 57789 dofork: child -1 - CreateProcessW failed for 'C:\\OMDevUCRT\\tools\\msys\\usr\\bin\\make.exe', errno 11
make: *** [<builtin>: extfunction_records.o] Error 127
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/LINEAR~1/SIMEXT~2.MOS'
RESULT: 2
"
false
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'linearized_model', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Simulation Failed. Model: linearized_model does not exist! Please load it first before simulation."
end SimulationResult;
""
""
true
"Error: Error opening file: linearized_model.log: No such file or directory.
"
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'extfunction', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to run the linearize command: extfunction"
end SimulationResult;
"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: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/LINEAR~1/SIMEXT~2.MOS'
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=extfunction -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o extfunction.o extfunction.c
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=extfunction -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o extfunction_functions.o extfunction_functions.c
LLVM ERROR: out of memory
Allocation failed
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.Program arguments: C:\\\\OMDevUCRT\\\\tools\\\\msys\\\\ucrt64\\\\bin\\\\clang.exe -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -IC:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c -IC:/dev/jenkins/ws/Windows/OM_Win/build/include/omc -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=extfunction -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o extfunction_functions.o extfunction_functions.c
1.C:/OMDevUCRT/tools/msys/ucrt64/include/winnt.h:9594:7: current parser token 'EVENTSFORLOGFILE'
2.C:/OMDevUCRT/tools/msys/ucrt64/include/winnt.h:9589:13: parsing struct/union body '_EVENTSFORLOGFILE'
Exception Code: 0xC000001D
0x00007FFBC2DEB736, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll(0x00007FFBC2DD0000) + 0x1B736 byte(s)
0x00007FFC031CE6D5, C:\\WINDOWS\\System32\\ucrtbase.dll(0x00007FFC03150000) + 0x7E6D5 byte(s)
0x00007FFC031CF6E1, C:\\WINDOWS\\System32\\ucrtbase.dll(0x00007FFC03150000) + 0x7F6E1 byte(s)
0x00007FFBC4DA8D08, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll(0x00007FFBC2DD0000) + 0x1FD8D08 byte(s)
0x00007FFBC2EB1B0F, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll(0x00007FFBC2DD0000) + 0xE1B0F byte(s)
0x00007FFBC43C1AE5, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll(0x00007FFBC2DD0000) + 0x15F1AE5 byte(s)
0x00007FFBD142FE6F, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x7BFE6F byte(s)
0x00007FFBD32F7DFE, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x2687DFE byte(s)
0x00007FFBD2A265AB, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x1DB65AB byte(s)
0x00007FFBD2A22349, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x1DB2349 byte(s)
0x00007FFBD14E1048, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x871048 byte(s)
0x00007FFBD2A4C143, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x1DDC143 byte(s)
0x00007FFBD261767B, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x19A767B byte(s)
0x00007FFBD2A80432, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x1E10432 byte(s)
0x00007FFBD2A72EBC, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x1E02EBC byte(s)
0x00007FFBD2AB43A7, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x1E443A7 byte(s)
0x00007FFBD2A921FF, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x1E221FF byte(s)
0x00007FFBD2A56E3C, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x1DE6E3C byte(s)
0x00007FFBD2AA2249, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x1E32249 byte(s)
0x00007FFBD2A608A8, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x1DF08A8 byte(s)
0x00007FFBD3061D4E, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x23F1D4E byte(s)
0x00007FFBD18FD078, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0xC8D078 byte(s)
0x00007FFBD1A1F0C4, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0xDAF0C4 byte(s)
0x00007FFBD264247C, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x19D247C byte(s)
0x00007FF76268F4A8, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF762680000) + 0xF4A8 byte(s)
0x00007FF76268FADA, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF762680000) + 0xFADA byte(s)
0x00007FFBD12EED4D, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x67ED4D byte(s)
0x00007FFBC4C80154, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll(0x00007FFBC2DD0000) + 0x1EB0154 byte(s)
0x00007FFBD342B954, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x27BB954 byte(s)
0x00007FFBD3468AB5, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x27F8AB5 byte(s)
0x00007FFBD346876F, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x27F876F byte(s)
0x00007FFBD2B9729B, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x1F2729B byte(s)
0x00007FF76268C1B8, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF762680000) + 0xC1B8 byte(s)
0x00007FF762694EB9, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF762680000) + 0x14EB9 byte(s)
0x00007FF7626812EE, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF762680000) + 0x12EE byte(s)
0x00007FF762681406, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF762680000) + 0x1406 byte(s)
0x00007FFC0397257D, C:\\WINDOWS\\System32\\KERNEL32.DLL(0x00007FFC03960000) + 0x1257D byte(s)
0x00007FFC058CAA48, C:\\WINDOWS\\SYSTEM32\\ntdll.dll(0x00007FFC05870000) + 0x5AA48 byte(s)
clang: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 17.0.6
Target: x86_64-w64-windows-gnu
Thread model: posix
InstalledDir: C:/OMDevUCRT/tools/msys/ucrt64/bin
clang: error: unable to execute command: Couldn't execute program 'C:/OMDevUCRT/tools/msys/ucrt64/bin/clang.exe': Insufficient system resources exist to complete the requested service.  (0x5AA)
clang: note: diagnostic msg: Error generating preprocessed source(s).
make: *** [<builtin>: extfunction_functions.o] Error 1
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/LINEAR~1/SIMEXT~2.MOS'
RESULT: 2
"
false
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'linearized_model', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Simulation Failed. Model: linearized_model does not exist! Please load it first before simulation."
end SimulationResult;
""
""
'' 
Equation mismatch: diff says: 
--- "C:\\Users\\OPENMO~1\\AppData\\Local\\Temp/omc-rtest-OpenModelica/openmodelica/linearization/simextfunction.mos_temp8378/equations-expected"2024-05-29 13:11:54.665771200 +0200
+++ "C:\\Users\\OPENMO~1\\AppData\\Local\\Temp/omc-rtest-OpenModelica/openmodelica/linearization/simextfunction.mos_temp8378/equations-got"2024-05-29 13:12:08.146522600 +0200
@@ -1,197 +1,218 @@
 true
 true
 ""
 record SimulationResult
-resultFile = "extfunction_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'extfunction', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-l=0 -l_datarec'",
-messages = "LOG_STDOUT        | info    | Linearization will be performed at point of time: 0.000000
-LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-LOG_STDOUT        | info    | Linear model is created.
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'extfunction', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-l=0 -l_datarec'",
+messages = "Failed to build model: extfunction"
+end SimulationResult;
+"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: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/LINEAR~1/SIMEXT~2.MOS'
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=extfunction -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o extfunction.o extfunction.c
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=extfunction -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o extfunction_functions.o extfunction_functions.c
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=extfunction -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o extfunction_records.o extfunction_records.c
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=extfunction -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o extfunction_01exo.o extfunction_01exo.c
+Mingw-w64 runtime failure:
+VirtualProtect failed with code 0x5afmake: *** [<builtin>: extfunction_01exo.o] Error 127
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/LINEAR~1/SIMEXT~2.MOS'
+RESULT: 2
 "
+false
+""
+record SimulationResult
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'linearized_model', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Simulation Failed. Model: linearized_model does not exist! Please load it first before simulation."
 end SimulationResult;
-"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\").
-"
+""
+""
 true
-"model linearized_model \"extfunction\"
-parameter Integer n = 2 \"number of states\";
-parameter Integer m = 0 \"number of inputs\";
-parameter Integer p = 0 \"number of outputs\";
-parameter Integer nz = 2 \"data recovery variables\";
-parameter Real x0[2] = {1, -1};
-parameter Real u0[0] = zeros(0);
-parameter Real z0[2] = {0.5403023058681398, 0.5403023058681398};
-parameter Real A[n, n] = [0.5403023058681398, 0.8414709848078965; 0.8414709848078965, 0.5403023058681398];
-parameter Real B[n, m] = zeros(n, m);
-parameter Real C[p, n] = zeros(p, n);
-parameter Real D[p, m] = zeros(p, m);
-parameter Real Cz[nz, n] = [0, 0.8414709479039962; -0.8414710212080169, 0];
-parameter Real Dz[nz, m] = zeros(nz, m);
-Real x[n](start = x0);
-input Real u[m];
-output Real y[p];
-output Real z[nz];
-Real 'x_x' = x[1];
-Real 'x_y' = x[2];
-Real 'z_$cse1' = z[1];
-Real 'z_$cse2' = z[2];
-equation
-der(x) = A*x + B*u;
-y = C*x + D*u;
-z = Cz*x + Dz*u;
-end linearized_model;"
-record SimulationResult
-resultFile = "linearized_model_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'linearized_model', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
+"Error: Error opening file: linearized_model.log: No such file or directory.
 "
-end SimulationResult;
-"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\").
-"
-"LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
+record SimulationResult
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'extfunction', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-l=1 -l_datarec'",
+messages = "Failed to build model: extfunction"
+end SimulationResult;
+"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: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/LINEAR~1/SIMEXT~2.MOS'
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=extfunction -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o extfunction.o extfunction.c
+LLVM ERROR: out of memory
+Allocation failed
+PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
+Stack dump:
+0. Program arguments: C:\\\\OMDevUCRT\\\\tools\\\\msys\\\\ucrt64\\\\bin\\\\clang.exe -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -IC:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c -IC:/dev/jenkins/ws/Windows/OM_Win/build/include/omc -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=extfunction -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o extfunction.o extfunction.c
+1. C:/OMDevUCRT/tools/msys/ucrt64/include/winsock2.h:1160:3: current parser token 'WSAQUERYSET2A'
+2. C:/OMDevUCRT/tools/msys/ucrt64/include/winsock2.h:1145:9: parsing struct/union body '_WSAQUERYSET2A'
+Exception Code: 0xC000001D
+#0 0x00007ffbc2deb736 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1b736)
+#1 0x00007ffc031ce6d5 (C:\\WINDOWS\\System32\\ucrtbase.dll+0x7e6d5)
+#2 0x00007ffc031cf6e1 (C:\\WINDOWS\\System32\\ucrtbase.dll+0x7f6e1)
+#3 0x00007ffbc4da8d08 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1fd8d08)
+#4 0x00007ffbc2eb1b0f (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0xe1b0f)
+#5 0x00007ffbc43c1ae5 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x15f1ae5)
+#6 0x00007ffbd142fe6f (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x7bfe6f)
+#7 0x00007ffbd32f7dfe (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x2687dfe)
+#8 0x00007ffbd2a265ab (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1db65ab)
+#9 0x00007ffbd2a22349 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1db2349)
+#10 0x00007ffbd14e1048 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x871048)
+#11 0x00007ffbd2a4c143 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1ddc143)
+#12 0x00007ffbd261767b (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x19a767b)
+#13 0x00007ffbd2a80432 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e10432)
+#14 0x00007ffbd2a72ebc (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e02ebc)
+#15 0x00007ffbd2ab43a7 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e443a7)
+#16 0x00007ffbd2a921ff (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e221ff)
+#17 0x00007ffbd2a56e3c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1de6e3c)
+#18 0x00007ffbd2aa2249 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e32249)
+#19 0x00007ffbd2a608a8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1df08a8)
+#20 0x00007ffbd3061d4e (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x23f1d4e)
+#21 0x00007ffbd18fd078 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xc8d078)
+#22 0x00007ffbd1a1f0c4 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xdaf0c4)
+#23 0x00007ffbd264247c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x19d247c)
+#24 0x00007ff76268f4a8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xf4a8)
+#25 0x00007ff76268fada (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xfada)
+#26 0x00007ffbd12eed4d (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x67ed4d)
+#27 0x00007ffbc4c80154 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1eb0154)
+#28 0x00007ffbd342b954 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27bb954)
+#29 0x00007ffbd3468ab5 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f8ab5)
+#30 0x00007ffbd346876f (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f876f)
+#31 0x00007ffbd2b9729b (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1f2729b)
+#32 0x00007ff76268c1b8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xc1b8)
+#33 0x00007ff762694eb9 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x14eb9)
+#34 0x00007ff7626812ee (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x12ee)
+#35 0x00007ff762681406 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x1406)
+#36 0x00007ffc0397257d (C:\\WINDOWS\\System32\\KERNEL32.DLL+0x1257d)
+#37 0x00007ffc058caa48 (C:\\WINDOWS\\SYSTEM32\\ntdll.dll+0x5aa48)
+clang: error: clang frontend command failed due to signal (use -v to see invocation)
+clang version 17.0.6
+Target: x86_64-w64-windows-gnu
+Thread model: posix
+InstalledDir: C:/OMDevUCRT/tools/msys/ucrt64/bin
+clang: note: diagnostic msg: 
+********************
+
+PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
+Preprocessed source(s) and associated run script(s) are located at:
+clang: note: diagnostic msg: C:/Users/OPENMO~1/AppData/Local/Temp/extfunction-a212ff.c
+clang: note: diagnostic msg: C:/Users/OPENMO~1/AppData/Local/Temp/extfunction-a212ff.sh
+clang: note: diagnostic msg: 
+
+********************
+make: *** [<builtin>: extfunction.o] Error 1
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/LINEAR~1/SIMEXT~2.MOS'
+RESULT: 2
 "
-true
+false
 ""
 record SimulationResult
-resultFile = "extfunction_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'extfunction', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-l=1 -l_datarec'",
-messages = "LOG_STDOUT        | info    | Linearization will be performed at point of time: 1.000000
-LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-LOG_STDOUT        | info    | Linear model is created.
-"
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'linearized_model', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Simulation Failed. Model: linearized_model does not exist! Please load it first before simulation."
 end SimulationResult;
-"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\").
-"
+""
+""
 true
-"model linearized_model \"extfunction\"
-parameter Integer n = 2 \"number of states\";
-parameter Integer m = 0 \"number of inputs\";
-parameter Integer p = 0 \"number of outputs\";
-parameter Integer nz = 2 \"data recovery variables\";
-parameter Real x0[2] = {1.398992320427181, -1.398992320427181};
-parameter Real u0[0] = zeros(0);
-parameter Real z0[2] = {0.1709600740012847, 0.1709600740012847};
-parameter Real A[n, n] = [0.1709600742174606, 1.378396283075882; 1.378396310036173, 0.170960073974575];
-parameter Real B[n, m] = zeros(n, m);
-parameter Real C[p, n] = zeros(p, n);
-parameter Real D[p, m] = zeros(p, m);
-parameter Real Cz[nz, n] = [0, 0.9852779481952085; -0.9852779676260491, 0];
-parameter Real Dz[nz, m] = zeros(nz, m);
-Real x[n](start = x0);
-input Real u[m];
-output Real y[p];
-output Real z[nz];
-Real 'x_x' = x[1];
-Real 'x_y' = x[2];
-Real 'z_$cse1' = z[1];
-Real 'z_$cse2' = z[2];
-equation
-der(x) = A*x + B*u;
-y = C*x + D*u;
-z = Cz*x + Dz*u;
-end linearized_model;"
-record SimulationResult
-resultFile = "linearized_model_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'linearized_model', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
+"Error: Error opening file: linearized_model.log: No such file or directory.
 "
+record SimulationResult
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'extfunction', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to run the linearize command: extfunction"
 end SimulationResult;
 "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: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/LINEAR~1/SIMEXT~2.MOS'
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=extfunction -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o extfunction.o extfunction.c
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=extfunction -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o extfunction_functions.o extfunction_functions.c
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=extfunction -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o extfunction_records.o extfunction_records.c
+0 [main] make 57789 dofork: child -1 - CreateProcessW failed for 'C:\\OMDevUCRT\\tools\\msys\\usr\\bin\\make.exe', errno 11
+make: *** [<builtin>: extfunction_records.o] Error 127
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/LINEAR~1/SIMEXT~2.MOS'
+RESULT: 2
 "
-"LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
-true
+false
 ""
 record SimulationResult
-resultFile = "extfunction_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'extfunction', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "LOG_STDOUT        | info    | Linearization will be performed at point of time: 0.000000
-LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-LOG_STDOUT        | info    | Linear model is created.
-"
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'linearized_model', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Simulation Failed. Model: linearized_model does not exist! Please load it first before simulation."
 end SimulationResult;
-"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\").
-"
+""
+""
 true
-"model linearized_model \"extfunction\"
-parameter Integer n = 2 \"number of states\";
-parameter Integer m = 0 \"number of inputs\";
-parameter Integer p = 0 \"number of outputs\";
-parameter Real x0[n] = {1, -1};
-parameter Real u0[m] = zeros(0);
-parameter Real A[n, n] = [0.5403023058681398, 0.8414709848078965; 0.8414709848078965, 0.5403023058681398];
-parameter Real B[n, m] = zeros(n, m);
-parameter Real C[p, n] = zeros(p, n);
-parameter Real D[p, m] = zeros(p, m);
-Real x[n](start = x0);
-input Real u[m];
-output Real y[p];
-Real 'x_x' = x[1];
-Real 'x_y' = x[2];
-equation
-der(x) = A*x + B*u;
-y = C*x + D*u;
-end linearized_model;"
-record SimulationResult
-resultFile = "linearized_model_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'linearized_model', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
-end SimulationResult;
-"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 opening file: linearized_model.log: No such file or directory.
 "
-"LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
+record SimulationResult
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'extfunction', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to run the linearize command: extfunction"
+end SimulationResult;
+"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: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/LINEAR~1/SIMEXT~2.MOS'
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=extfunction -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o extfunction.o extfunction.c
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=extfunction -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o extfunction_functions.o extfunction_functions.c
+LLVM ERROR: out of memory
+Allocation failed
+PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
+Stack dump:
+0. Program arguments: C:\\\\OMDevUCRT\\\\tools\\\\msys\\\\ucrt64\\\\bin\\\\clang.exe -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -IC:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c -IC:/dev/jenkins/ws/Windows/OM_Win/build/include/omc -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=extfunction -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o extfunction_functions.o extfunction_functions.c
+1. C:/OMDevUCRT/tools/msys/ucrt64/include/winnt.h:9594:7: current parser token 'EVENTSFORLOGFILE'
+2. C:/OMDevUCRT/tools/msys/ucrt64/include/winnt.h:9589:13: parsing struct/union body '_EVENTSFORLOGFILE'
+Exception Code: 0xC000001D
+0x00007FFBC2DEB736, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll(0x00007FFBC2DD0000) + 0x1B736 byte(s)
+0x00007FFC031CE6D5, C:\\WINDOWS\\System32\\ucrtbase.dll(0x00007FFC03150000) + 0x7E6D5 byte(s)
+0x00007FFC031CF6E1, C:\\WINDOWS\\System32\\ucrtbase.dll(0x00007FFC03150000) + 0x7F6E1 byte(s)
+0x00007FFBC4DA8D08, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll(0x00007FFBC2DD0000) + 0x1FD8D08 byte(s)
+0x00007FFBC2EB1B0F, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll(0x00007FFBC2DD0000) + 0xE1B0F byte(s)
+0x00007FFBC43C1AE5, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll(0x00007FFBC2DD0000) + 0x15F1AE5 byte(s)
+0x00007FFBD142FE6F, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x7BFE6F byte(s)
+0x00007FFBD32F7DFE, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x2687DFE byte(s)
+0x00007FFBD2A265AB, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x1DB65AB byte(s)
+0x00007FFBD2A22349, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x1DB2349 byte(s)
+0x00007FFBD14E1048, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x871048 byte(s)
+0x00007FFBD2A4C143, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x1DDC143 byte(s)
+0x00007FFBD261767B, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x19A767B byte(s)
+0x00007FFBD2A80432, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x1E10432 byte(s)
+0x00007FFBD2A72EBC, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x1E02EBC byte(s)
+0x00007FFBD2AB43A7, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x1E443A7 byte(s)
+0x00007FFBD2A921FF, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x1E221FF byte(s)
+0x00007FFBD2A56E3C, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x1DE6E3C byte(s)
+0x00007FFBD2AA2249, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x1E32249 byte(s)
+0x00007FFBD2A608A8, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x1DF08A8 byte(s)
+0x00007FFBD3061D4E, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x23F1D4E byte(s)
+0x00007FFBD18FD078, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0xC8D078 byte(s)
+0x00007FFBD1A1F0C4, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0xDAF0C4 byte(s)
+0x00007FFBD264247C, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x19D247C byte(s)
+0x00007FF76268F4A8, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF762680000) + 0xF4A8 byte(s)
+0x00007FF76268FADA, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF762680000) + 0xFADA byte(s)
+0x00007FFBD12EED4D, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x67ED4D byte(s)
+0x00007FFBC4C80154, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll(0x00007FFBC2DD0000) + 0x1EB0154 byte(s)
+0x00007FFBD342B954, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x27BB954 byte(s)
+0x00007FFBD3468AB5, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x27F8AB5 byte(s)
+0x00007FFBD346876F, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x27F876F byte(s)
+0x00007FFBD2B9729B, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFBD0C70000) + 0x1F2729B byte(s)
+0x00007FF76268C1B8, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF762680000) + 0xC1B8 byte(s)
+0x00007FF762694EB9, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF762680000) + 0x14EB9 byte(s)
+0x00007FF7626812EE, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF762680000) + 0x12EE byte(s)
+0x00007FF762681406, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF762680000) + 0x1406 byte(s)
+0x00007FFC0397257D, C:\\WINDOWS\\System32\\KERNEL32.DLL(0x00007FFC03960000) + 0x1257D byte(s)
+0x00007FFC058CAA48, C:\\WINDOWS\\SYSTEM32\\ntdll.dll(0x00007FFC05870000) + 0x5AA48 byte(s)
+clang: error: clang frontend command failed due to signal (use -v to see invocation)
+clang version 17.0.6
+Target: x86_64-w64-windows-gnu
+Thread model: posix
+InstalledDir: C:/OMDevUCRT/tools/msys/ucrt64/bin
+clang: error: unable to execute command: Couldn't execute program 'C:/OMDevUCRT/tools/msys/ucrt64/bin/clang.exe': Insufficient system resources exist to complete the requested service.  (0x5AA)
+clang: note: diagnostic msg: Error generating preprocessed source(s).
+make: *** [<builtin>: extfunction_functions.o] Error 1
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/LINEAR~1/SIMEXT~2.MOS'
+RESULT: 2
 "
-true
+false
 ""
 record SimulationResult
-resultFile = "extfunction_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'extfunction', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "LOG_STDOUT        | info    | Linearization will be performed at point of time: 1.000000
-LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-LOG_STDOUT        | info    | Linear model is created.
-"
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'linearized_model', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Simulation Failed. Model: linearized_model does not exist! Please load it first before simulation."
 end SimulationResult;
-"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\").
-"
-true
-"model linearized_model \"extfunction\"
-parameter Integer n = 2 \"number of states\";
-parameter Integer m = 0 \"number of inputs\";
-parameter Integer p = 0 \"number of outputs\";
-parameter Real x0[n] = {1.398992320427181, -1.398992320427181};
-parameter Real u0[m] = zeros(0);
-parameter Real A[n, n] = [0.1709600742174606, 1.378396283075882; 1.378396310036173, 0.170960073974575];
-parameter Real B[n, m] = zeros(n, m);
-parameter Real C[p, n] = zeros(p, n);
-parameter Real D[p, m] = zeros(p, m);
-Real x[n](start = x0);
-input Real u[m];
-output Real y[p];
-Real 'x_x' = x[1];
-Real 'x_y' = x[2];
-equation
-der(x) = A*x + B*u;
-y = C*x + D*u;
-end linearized_model;"
-record SimulationResult
-resultFile = "linearized_model_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'linearized_model', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
-end SimulationResult;
-"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\").
-"
-"LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
+""
+""
'' 
Equation mismatch: omc-diff says: 
Failed 'e' '"'
Line 5: Text differs:
expected: resultFile = "extfunction_res.mat",
got:      resultFile = "",

== 1 out of 1 tests failed [openmodelica/linearization/simextfunction.mos_temp8378, time: 21]