Bug Summary

File:OMCompiler/Compiler/boot/build/OpenTURNS.c
Warning:line 1375, column 11
Value stored to '_header' is never read

Annotated Source Code

[?] Use j/k keys for keyboard navigation

1#ifdef OMC_BASE_FILE
2 #define OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c" OMC_BASE_FILE
3#else
4 #define OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c" "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
5#endif
6#include "omc_simulation_settings.h"
7#include "OpenTURNS.h"
8#define _OMC_LIT0_data"running: " "running: "
9static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT0,9,_OMC_LIT0_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT0
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "running: "
}
;
10#define _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT0)((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3))
11#define _OMC_LIT1_data" to logFile: " " to logFile: "
12static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT1,13,_OMC_LIT1_data)struct { mmc_uint_t header; const char data[(13)+1]; } _OMC_LIT_STRUCT1
= { ((((mmc_uint_t)13)<<(3))+((1<<(3+3))+5)), " to logFile: "
}
;
13#define _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT1)((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3))
14#define _OMC_LIT2_data"\n" "\n"
15static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT2,1,_OMC_LIT2_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT2
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "\n"
}
;
16#define _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT2)((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3))
17#define _OMC_LIT3_data"\n failed!\nCheck the log file!\n" "\n failed!\nCheck the log file!\n"
18static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT3,30,_OMC_LIT3_data)struct { mmc_uint_t header; const char data[(30)+1]; } _OMC_LIT_STRUCT3
= { ((((mmc_uint_t)30)<<(3))+((1<<(3+3))+5)), "\n failed!\nCheck the log file!\n"
}
;
19#define _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT3)((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3))
20#define _OMC_LIT4_data"invoke.cmd" "invoke.cmd"
21static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT4,10,_OMC_LIT4_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT4
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), "invoke.cmd"
}
;
22#define _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT4)((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3))
23#define _OMC_LIT5_data"<%pythonScriptOpenModelica%>" "<%pythonScriptOpenModelica%>"
24static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT5,28,_OMC_LIT5_data)struct { mmc_uint_t header; const char data[(28)+1]; } _OMC_LIT_STRUCT5
= { ((((mmc_uint_t)28)<<(3))+((1<<(3+3))+5)), "<%pythonScriptOpenModelica%>"
}
;
25#define _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT5)((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3))
26#define _OMC_LIT6_data".bat" ".bat"
27static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT6,4,_OMC_LIT6_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT6
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), ".bat"
}
;
28#define _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT6)((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3))
29#define _OMC_LIT7_data".log" ".log"
30static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT7,4,_OMC_LIT7_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT7
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), ".log"
}
;
31#define _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT7)((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))
32#define _OMC_LIT8_data"/" "/"
33static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT8,1,_OMC_LIT8_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT8
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "/"
}
;
34#define _OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT8)((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3))
35#define _OMC_LIT9_data"share/omc/scripts/OpenTurns/" "share/omc/scripts/OpenTurns/"
36static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT9,28,_OMC_LIT9_data)struct { mmc_uint_t header; const char data[(28)+1]; } _OMC_LIT_STRUCT9
= { ((((mmc_uint_t)28)<<(3))+((1<<(3+3))+5)), "share/omc/scripts/OpenTurns/"
}
;
37#define _OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT9)((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3))
38#define _OMC_LIT10_data"# input descriptions currently not used, set above" "# input descriptions currently not used, set above"
39static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT10,50,_OMC_LIT10_data)struct { mmc_uint_t header; const char data[(50)+1]; } _OMC_LIT_STRUCT10
= { ((((mmc_uint_t)50)<<(3))+((1<<(3+3))+5)), "# input descriptions currently not used, set above"
}
;
40#define _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT10)((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3))
41#define _OMC_LIT11_data".add(Distribution(" ".add(Distribution("
42static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT11,18,_OMC_LIT11_data)struct { mmc_uint_t header; const char data[(18)+1]; } _OMC_LIT_STRUCT11
= { ((((mmc_uint_t)18)<<(3))+((1<<(3+3))+5)), ".add(Distribution("
}
;
43#define _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT11)((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3))
44#define _OMC_LIT12_data",\"" ",\""
45static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT12,2,_OMC_LIT12_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT12
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), ",\""
}
;
46#define _OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT12)((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3))
47#define _OMC_LIT13_data"\"))" "\"))"
48static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT13,3,_OMC_LIT13_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT13
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "\"))"
}
;
49#define _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT13)((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3))
50#define _OMC_LIT14_data"\"" "\""
51static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT14,1,_OMC_LIT14_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT14
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "\""
}
;
52#define _OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT14)((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3))
53#define _OMC_LIT15_data"collectionMarginals" "collectionMarginals"
54static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT15,19,_OMC_LIT15_data)struct { mmc_uint_t header; const char data[(19)+1]; } _OMC_LIT_STRUCT15
= { ((((mmc_uint_t)19)<<(3))+((1<<(3+3))+5)), "collectionMarginals"
}
;
55#define _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT15)((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3))
56#define _OMC_LIT16_data"# Initialization of the distribution collection:\n" "# Initialization of the distribution collection:\n"
57static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT16,49,_OMC_LIT16_data)struct { mmc_uint_t header; const char data[(49)+1]; } _OMC_LIT_STRUCT16
= { ((((mmc_uint_t)49)<<(3))+((1<<(3+3))+5)), "# Initialization of the distribution collection:\n"
}
;
58#define _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT16)((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3))
59#define _OMC_LIT17_data" = DistributionCollection()\n" " = DistributionCollection()\n"
60static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT17,28,_OMC_LIT17_data)struct { mmc_uint_t header; const char data[(28)+1]; } _OMC_LIT_STRUCT17
= { ((((mmc_uint_t)28)<<(3))+((1<<(3+3))+5)), " = DistributionCollection()\n"
}
;
61#define _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT17)((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))
62#define _OMC_LIT18_data"RS[" "RS["
63static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT18,3,_OMC_LIT18_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT18
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "RS["
}
;
64#define _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT18)((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3))
65#define _OMC_LIT19_data"," ","
66static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT19,1,_OMC_LIT19_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT19
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), ","
}
;
67#define _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT19)((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3))
68#define _OMC_LIT20_data"] = " "] = "
69static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT20,4,_OMC_LIT20_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT20
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "] = "
}
;
70#define _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT20)((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3))
71#define _OMC_LIT21_data"correlation" "correlation"
72static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT21,11,_OMC_LIT21_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT21
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "correlation"
}
;
73#define _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT21)((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3))
74#define _OMC_LIT22_data"RS = CorrelationMatrix(" "RS = CorrelationMatrix("
75static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT22,23,_OMC_LIT22_data)struct { mmc_uint_t header; const char data[(23)+1]; } _OMC_LIT_STRUCT22
= { ((((mmc_uint_t)23)<<(3))+((1<<(3+3))+5)), "RS = CorrelationMatrix("
}
;
76#define _OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT22)((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3))
77#define _OMC_LIT23_data")\n" ")\n"
78static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT23,2,_OMC_LIT23_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT23
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), ")\n"
}
;
79#define _OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT23)((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3))
80#define _OMC_LIT24_data"OpenTURNS.generateCorrelationMatrix failed because it could not find any correlation statement in algorithm." "OpenTURNS.generateCorrelationMatrix failed because it could not find any correlation statement in algorithm."
81static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT24,108,_OMC_LIT24_data)struct { mmc_uint_t header; const char data[(108)+1]; } _OMC_LIT_STRUCT24
= { ((((mmc_uint_t)108)<<(3))+((1<<(3+3))+5)), "OpenTURNS.generateCorrelationMatrix failed because it could not find any correlation statement in algorithm."
}
;
82#define _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT24)((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3))
83#define _OMC_LIT25_data"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo" "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
84static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT25,94,_OMC_LIT25_data)struct { mmc_uint_t header; const char data[(94)+1]; } _OMC_LIT_STRUCT25
= { ((((mmc_uint_t)94)<<(3))+((1<<(3+3))+5)), "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
}
;
85#define _OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT25)((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3))
86static const MMC_DEFREALLIT(_OMC_LIT_STRUCT26_6,1580577680.0)struct mmc_real_lit _OMC_LIT_STRUCT26_6 = {0,(((8/8) <<
10) + 9),1580577680.0}
;
87#define _OMC_LIT26_6((void*)((char*)(&(_OMC_LIT_STRUCT26_6).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT26_6)((void*)((char*)(&(_OMC_LIT_STRUCT26_6).header) + 3))
88static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT26,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT26
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(472))((void*)(((((mmc_uint_t) (472)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(9))((void*)(((((mmc_uint_t) (9)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(472))((void*)(((((mmc_uint_t) (472)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(157))((void*)(((((mmc_uint_t) (157)) << 1)+0))),_OMC_LIT26_6((void*)((char*)(&(_OMC_LIT_STRUCT26_6).header) + 3))}};
89#define _OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT26)((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3))
90#define _OMC_LIT27_data"OpenTURNS.generateCorrelationMatrix failed ..." "OpenTURNS.generateCorrelationMatrix failed ..."
91static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT27,46,_OMC_LIT27_data)struct { mmc_uint_t header; const char data[(46)+1]; } _OMC_LIT_STRUCT27
= { ((((mmc_uint_t)46)<<(3))+((1<<(3+3))+5)), "OpenTURNS.generateCorrelationMatrix failed ..."
}
;
92#define _OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT27)((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3))
93static const MMC_DEFREALLIT(_OMC_LIT_STRUCT28_6,1580577680.0)struct mmc_real_lit _OMC_LIT_STRUCT28_6 = {0,(((8/8) <<
10) + 9),1580577680.0}
;
94#define _OMC_LIT28_6((void*)((char*)(&(_OMC_LIT_STRUCT28_6).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT28_6)((void*)((char*)(&(_OMC_LIT_STRUCT28_6).header) + 3))
95static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT28,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT28
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(478))((void*)(((((mmc_uint_t) (478)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(9))((void*)(((((mmc_uint_t) (9)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(478))((void*)(((((mmc_uint_t) (478)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(95))((void*)(((((mmc_uint_t) (95)) << 1)+0))),_OMC_LIT28_6((void*)((char*)(&(_OMC_LIT_STRUCT28_6).header) + 3))}};
96#define _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT28)((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3))
97#define _OMC_LIT29_data"distribution" "distribution"
98static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT29,12,_OMC_LIT29_data)struct { mmc_uint_t header; const char data[(12)+1]; } _OMC_LIT_STRUCT29
= { ((((mmc_uint_t)12)<<(3))+((1<<(3+3))+5)), "distribution"
}
;
99#define _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT29)((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3))
100#define _OMC_LIT30_data" = " " = "
101static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT30,3,_OMC_LIT30_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT30
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), " = "
}
;
102#define _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT30)((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))
103#define _OMC_LIT31_data"(" "("
104static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT31,1,_OMC_LIT31_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT31
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "("
}
;
105#define _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT31)((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3))
106#define _OMC_LIT32_data", " ", "
107static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT32,2,_OMC_LIT32_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT32
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), ", "
}
;
108#define _OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT32)((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3))
109#define _OMC_LIT33_data"LogNormal.MUSIGMA)" "LogNormal.MUSIGMA)"
110static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT33,18,_OMC_LIT33_data)struct { mmc_uint_t header; const char data[(18)+1]; } _OMC_LIT_STRUCT33
= { ((((mmc_uint_t)18)<<(3))+((1<<(3+3))+5)), "LogNormal.MUSIGMA)"
}
;
111#define _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT33)((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3))
112#define _OMC_LIT34_data")" ")"
113static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT34,1,_OMC_LIT34_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT34
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), ")"
}
;
114#define _OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT34)((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3))
115#define _OMC_LIT35_data"LogNormal" "LogNormal"
116static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT35,9,_OMC_LIT35_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT35
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "LogNormal"
}
;
117#define _OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT35)((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3))
118#define _OMC_LIT36_data"OpenTURNS.generateDistributions: No variable in the DAE has the distribution attribute! Check your model ..." "OpenTURNS.generateDistributions: No variable in the DAE has the distribution attribute! Check your model ..."
119static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT36,108,_OMC_LIT36_data)struct { mmc_uint_t header; const char data[(108)+1]; } _OMC_LIT_STRUCT36
= { ((((mmc_uint_t)108)<<(3))+((1<<(3+3))+5)), "OpenTURNS.generateDistributions: No variable in the DAE has the distribution attribute! Check your model ..."
}
;
120#define _OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT36)((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3))
121#define _OMC_LIT37_data"" ""
122static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT37,0,_OMC_LIT37_data)struct { mmc_uint_t header; const char data[(0)+1]; } _OMC_LIT_STRUCT37
= { ((((mmc_uint_t)0)<<(3))+((1<<(3+3))+5)), "" }
;
123#define _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT37)((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3))
124static const MMC_DEFREALLIT(_OMC_LIT_STRUCT38,0.0)struct mmc_real_lit _OMC_LIT_STRUCT38 = {0,(((8/8) << 10
) + 9),0.0}
;
125#define _OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT38)((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3))
126static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT39,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT39
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3))}};
127#define _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT39)((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3))
128#define _OMC_LIT40_data"# " "# "
129static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT40,2,_OMC_LIT40_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT40
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "# "
}
;
130#define _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT40)((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3))
131#define _OMC_LIT41_data" distributions from Modelica model" " distributions from Modelica model"
132static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT41,34,_OMC_LIT41_data)struct { mmc_uint_t header; const char data[(34)+1]; } _OMC_LIT_STRUCT41
= { ((((mmc_uint_t)34)<<(3))+((1<<(3+3))+5)), " distributions from Modelica model"
}
;
133#define _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT41)((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3))
134#define _OMC_LIT42_data"." "."
135static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT42,1,_OMC_LIT42_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT42
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "."
}
;
136#define _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT42)((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3))
137#define _OMC_LIT43_data"template" "template"
138static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT43,8,_OMC_LIT43_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT43
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "template"
}
;
139#define _OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT43)((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3))
140#define _OMC_LIT44_data"<%distributions%>" "<%distributions%>"
141static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT44,17,_OMC_LIT44_data)struct { mmc_uint_t header; const char data[(17)+1]; } _OMC_LIT_STRUCT44
= { ((((mmc_uint_t)17)<<(3))+((1<<(3+3))+5)), "<%distributions%>"
}
;
142#define _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT44)((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3))
143#define _OMC_LIT45_data"<%correlationMatrix%>" "<%correlationMatrix%>"
144static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT45,21,_OMC_LIT45_data)struct { mmc_uint_t header; const char data[(21)+1]; } _OMC_LIT_STRUCT45
= { ((((mmc_uint_t)21)<<(3))+((1<<(3+3))+5)), "<%correlationMatrix%>"
}
;
145#define _OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT45)((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3))
146#define _OMC_LIT46_data"<%collectionDistributions%>" "<%collectionDistributions%>"
147static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT46,27,_OMC_LIT46_data)struct { mmc_uint_t header; const char data[(27)+1]; } _OMC_LIT_STRUCT46
= { ((((mmc_uint_t)27)<<(3))+((1<<(3+3))+5)), "<%collectionDistributions%>"
}
;
148#define _OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT46)((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3))
149#define _OMC_LIT47_data"<%inputDescriptions%>" "<%inputDescriptions%>"
150static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT47,21,_OMC_LIT47_data)struct { mmc_uint_t header; const char data[(21)+1]; } _OMC_LIT_STRUCT47
= { ((((mmc_uint_t)21)<<(3))+((1<<(3+3))+5)), "<%inputDescriptions%>"
}
;
151#define _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT47)((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3))
152#define _OMC_LIT48_data"<%wrapperName%>" "<%wrapperName%>"
153static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT48,15,_OMC_LIT48_data)struct { mmc_uint_t header; const char data[(15)+1]; } _OMC_LIT_STRUCT48
= { ((((mmc_uint_t)15)<<(3))+((1<<(3+3))+5)), "<%wrapperName%>"
}
;
154#define _OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT48)((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3))
155#define _OMC_LIT49_data"_wrapper" "_wrapper"
156static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT49,8,_OMC_LIT49_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT49
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "_wrapper"
}
;
157#define _OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT49)((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3))
158#define _OMC_LIT50_data" <variable id=\"" " <variable id=\""
159static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT50,18,_OMC_LIT50_data)struct { mmc_uint_t header; const char data[(18)+1]; } _OMC_LIT_STRUCT50
= { ((((mmc_uint_t)18)<<(3))+((1<<(3+3))+5)), " <variable id=\""
}
;
160#define _OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT50)((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3))
161#define _OMC_LIT51_data"\" type=\"out\" />" "\" type=\"out\" />"
162static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT51,15,_OMC_LIT51_data)struct { mmc_uint_t header; const char data[(15)+1]; } _OMC_LIT_STRUCT51
= { ((((mmc_uint_t)15)<<(3))+((1<<(3+3))+5)), "\" type=\"out\" />"
}
;
163#define _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT51)((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3))
164#define _OMC_LIT52_data"\" type=\"in\" />" "\" type=\"in\" />"
165static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT52,14,_OMC_LIT52_data)struct { mmc_uint_t header; const char data[(14)+1]; } _OMC_LIT_STRUCT52
= { ((((mmc_uint_t)14)<<(3))+((1<<(3+3))+5)), "\" type=\"in\" />"
}
;
166#define _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT52)((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3))
167#define _OMC_LIT53_data" <path>" " <path>"
168static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT53,7,_OMC_LIT53_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT53
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), " <path>"
}
;
169#define _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT53)((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3))
170#define _OMC_LIT54_data".so" ".so"
171static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT54,3,_OMC_LIT54_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT54
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), ".so"
}
;
172#define _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT54)((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3))
173#define _OMC_LIT55_data"</path>" "</path>"
174static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT55,7,_OMC_LIT55_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT55
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "</path>"
}
;
175#define _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT55)((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3))
176#define _OMC_LIT56_data" <function provided=\"yes\">" " <function provided=\"yes\">"
177static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT56,28,_OMC_LIT56_data)struct { mmc_uint_t header; const char data[(28)+1]; } _OMC_LIT_STRUCT56
= { ((((mmc_uint_t)28)<<(3))+((1<<(3+3))+5)), " <function provided=\"yes\">"
}
;
178#define _OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT56)((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3))
179#define _OMC_LIT57_data"</function>" "</function>"
180static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT57,11,_OMC_LIT57_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT57
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "</function>"
}
;
181#define _OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT57)((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3))
182#define _OMC_LIT58_data"<library>" "<library>"
183static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT58,9,_OMC_LIT58_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT58
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "<library>"
}
;
184#define _OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT58)((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3))
185#define _OMC_LIT59_data" <!-- The path of the shared object -->" " <!-- The path of the shared object -->"
186static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT59,39,_OMC_LIT59_data)struct { mmc_uint_t header; const char data[(39)+1]; } _OMC_LIT_STRUCT59
= { ((((mmc_uint_t)39)<<(3))+((1<<(3+3))+5)), " <!-- The path of the shared object -->"
}
;
187#define _OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT59)((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3))
188#define _OMC_LIT60_data" <!-- This section describes all exchanges data between the wrapper and the platform -->" " <!-- This section describes all exchanges data between the wrapper and the platform -->"
189static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT60,88,_OMC_LIT60_data)struct { mmc_uint_t header; const char data[(88)+1]; } _OMC_LIT_STRUCT60
= { ((((mmc_uint_t)88)<<(3))+((1<<(3+3))+5)), " <!-- This section describes all exchanges data between the wrapper and the platform -->"
}
;
190#define _OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT60)((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3))
191#define _OMC_LIT61_data" <description>" " <description>"
192static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT61,14,_OMC_LIT61_data)struct { mmc_uint_t header; const char data[(14)+1]; } _OMC_LIT_STRUCT61
= { ((((mmc_uint_t)14)<<(3))+((1<<(3+3))+5)), " <description>"
}
;
193#define _OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT61)((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3))
194#define _OMC_LIT62_data" <!-- Those variables are substituted in the files above -->" " <!-- Those variables are substituted in the files above -->"
195static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT62,62,_OMC_LIT62_data)struct { mmc_uint_t header; const char data[(62)+1]; } _OMC_LIT_STRUCT62
= { ((((mmc_uint_t)62)<<(3))+((1<<(3+3))+5)), " <!-- Those variables are substituted in the files above -->"
}
;
196#define _OMC_LIT62((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT62)((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3))
197#define _OMC_LIT63_data" <!-- The order of variables is the order of the arguments of the function -->" " <!-- The order of variables is the order of the arguments of the function -->"
198static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT63,80,_OMC_LIT63_data)struct { mmc_uint_t header; const char data[(80)+1]; } _OMC_LIT_STRUCT63
= { ((((mmc_uint_t)80)<<(3))+((1<<(3+3))+5)), " <!-- The order of variables is the order of the arguments of the function -->"
}
;
199#define _OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT63)((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3))
200#define _OMC_LIT64_data" <variable-list>" " <variable-list>"
201static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT64,18,_OMC_LIT64_data)struct { mmc_uint_t header; const char data[(18)+1]; } _OMC_LIT_STRUCT64
= { ((((mmc_uint_t)18)<<(3))+((1<<(3+3))+5)), " <variable-list>"
}
;
202#define _OMC_LIT64((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT64)((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3))
203#define _OMC_LIT65_data" </variable-list>" " </variable-list>"
204static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT65,19,_OMC_LIT65_data)struct { mmc_uint_t header; const char data[(19)+1]; } _OMC_LIT_STRUCT65
= { ((((mmc_uint_t)19)<<(3))+((1<<(3+3))+5)), " </variable-list>"
}
;
205#define _OMC_LIT65((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT65)((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3))
206#define _OMC_LIT66_data" <!-- The function that we try to execute through the wrapper -->" " <!-- The function that we try to execute through the wrapper -->"
207static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT66,68,_OMC_LIT66_data)struct { mmc_uint_t header; const char data[(68)+1]; } _OMC_LIT_STRUCT66
= { ((((mmc_uint_t)68)<<(3))+((1<<(3+3))+5)), " <!-- The function that we try to execute through the wrapper -->"
}
;
208#define _OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT66)((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3))
209#define _OMC_LIT67_data" <!-- the gradient is defined -->" " <!-- the gradient is defined -->"
210static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT67,37,_OMC_LIT67_data)struct { mmc_uint_t header; const char data[(37)+1]; } _OMC_LIT_STRUCT67
= { ((((mmc_uint_t)37)<<(3))+((1<<(3+3))+5)), " <!-- the gradient is defined -->"
}
;
211#define _OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT67)((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3))
212#define _OMC_LIT68_data" <gradient provided=\"no\"></gradient>" " <gradient provided=\"no\"></gradient>"
213static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT68,38,_OMC_LIT68_data)struct { mmc_uint_t header; const char data[(38)+1]; } _OMC_LIT_STRUCT68
= { ((((mmc_uint_t)38)<<(3))+((1<<(3+3))+5)), " <gradient provided=\"no\"></gradient>"
}
;
214#define _OMC_LIT68((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT68)((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3))
215#define _OMC_LIT69_data" <!-- the hessian is defined -->" " <!-- the hessian is defined -->"
216static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT69,37,_OMC_LIT69_data)struct { mmc_uint_t header; const char data[(37)+1]; } _OMC_LIT_STRUCT69
= { ((((mmc_uint_t)37)<<(3))+((1<<(3+3))+5)), " <!-- the hessian is defined -->"
}
;
217#define _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT69)((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3))
218#define _OMC_LIT70_data" <hessian provided=\"no\"></hessian>" " <hessian provided=\"no\"></hessian>"
219static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT70,36,_OMC_LIT70_data)struct { mmc_uint_t header; const char data[(36)+1]; } _OMC_LIT_STRUCT70
= { ((((mmc_uint_t)36)<<(3))+((1<<(3+3))+5)), " <hessian provided=\"no\"></hessian>"
}
;
220#define _OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT70)((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3))
221#define _OMC_LIT71_data" </description>" " </description>"
222static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT71,15,_OMC_LIT71_data)struct { mmc_uint_t header; const char data[(15)+1]; } _OMC_LIT_STRUCT71
= { ((((mmc_uint_t)15)<<(3))+((1<<(3+3))+5)), " </description>"
}
;
223#define _OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT71)((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3))
224#define _OMC_LIT72_data"</library>" "</library>"
225static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT72,10,_OMC_LIT72_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT72
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), "</library>"
}
;
226#define _OMC_LIT72((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT72)((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3))
227#define _OMC_LIT73_data"<external-code>\n <!-- Those data are external to the platform (input files, etc.)-->\n <data></data>\n\n <wrap-mode type=\"static-link\" >\n <in-data-transfer mode=\"arguments\" />\n <out-data-transfer mode=\"arguments\" />\n </wrap-mode>\n\n <command># no command</command>\n</external-code>" "<external-code>\n <!-- Those data are external to the platform (input files, etc.)-->\n <data></data>\n\n <wrap-mode type=\"static-link\" >\n <in-data-transfer mode=\"arguments\" />\n <out-data-transfer mode=\"arguments\" />\n </wrap-mode>\n\n <command># no command</command>\n</external-code>"
228static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT73,288,_OMC_LIT73_data)struct { mmc_uint_t header; const char data[(288)+1]; } _OMC_LIT_STRUCT73
= { ((((mmc_uint_t)288)<<(3))+((1<<(3+3))+5)), "<external-code>\n <!-- Those data are external to the platform (input files, etc.)-->\n <data></data>\n\n <wrap-mode type=\"static-link\" >\n <in-data-transfer mode=\"arguments\" />\n <out-data-transfer mode=\"arguments\" />\n </wrap-mode>\n\n <command># no command</command>\n</external-code>"
}
;
229#define _OMC_LIT73((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT73)((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3))
230#define _OMC_LIT74_data"<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n<!--\n" "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n<!--\n"
231static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT74,49,_OMC_LIT74_data)struct { mmc_uint_t header; const char data[(49)+1]; } _OMC_LIT_STRUCT74
= { ((((mmc_uint_t)49)<<(3))+((1<<(3+3))+5)), "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n<!--\n"
}
;
232#define _OMC_LIT74((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT74)((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3))
233#define _OMC_LIT75_data".xml\n-->\n" ".xml\n-->\n"
234static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT75,9,_OMC_LIT75_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT75
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), ".xml\n-->\n"
}
;
235#define _OMC_LIT75((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT75)((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3))
236#define _OMC_LIT76_data"<!DOCTYPE wrapper SYSTEM \"wrapper.dtd\">\n" "<!DOCTYPE wrapper SYSTEM \"wrapper.dtd\">\n"
237static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT76,40,_OMC_LIT76_data)struct { mmc_uint_t header; const char data[(40)+1]; } _OMC_LIT_STRUCT76
= { ((((mmc_uint_t)40)<<(3))+((1<<(3+3))+5)), "<!DOCTYPE wrapper SYSTEM \"wrapper.dtd\">\n"
}
;
238#define _OMC_LIT76((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT76)((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3))
239#define _OMC_LIT77_data"<wrapper>\n" "<wrapper>\n"
240static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT77,10,_OMC_LIT77_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT77
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), "<wrapper>\n"
}
;
241#define _OMC_LIT77((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT77)((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3))
242#define _OMC_LIT78_data"\n</wrapper>" "\n</wrapper>"
243static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT78,11,_OMC_LIT78_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT78
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "\n</wrapper>"
}
;
244#define _OMC_LIT78((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT78)((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3))
245#define _OMC_LIT79_data".xml" ".xml"
246static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT79,4,_OMC_LIT79_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT79
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), ".xml"
}
;
247#define _OMC_LIT79((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT79)((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3))
248#define _OMC_LIT80_data"wrapper_template.c" "wrapper_template.c"
249static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT80,18,_OMC_LIT80_data)struct { mmc_uint_t header; const char data[(18)+1]; } _OMC_LIT_STRUCT80
= { ((((mmc_uint_t)18)<<(3))+((1<<(3+3))+5)), "wrapper_template.c"
}
;
250#define _OMC_LIT80((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT80)((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3))
251#define _OMC_LIT81_data"<%fullModelName%>" "<%fullModelName%>"
252static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT81,17,_OMC_LIT81_data)struct { mmc_uint_t header; const char data[(17)+1]; } _OMC_LIT_STRUCT81
= { ((((mmc_uint_t)17)<<(3))+((1<<(3+3))+5)), "<%fullModelName%>"
}
;
253#define _OMC_LIT81((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT81)((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3))
254#define _OMC_LIT82_data".c" ".c"
255static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT82,2,_OMC_LIT82_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT82
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), ".c"
}
;
256#define _OMC_LIT82((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT82)((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3))
257#define _OMC_LIT83_data"wrapper_template.makefile" "wrapper_template.makefile"
258static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT83,25,_OMC_LIT83_data)struct { mmc_uint_t header; const char data[(25)+1]; } _OMC_LIT_STRUCT83
= { ((((mmc_uint_t)25)<<(3))+((1<<(3+3))+5)), "wrapper_template.makefile"
}
;
259#define _OMC_LIT83((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT83)((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3))
260#define _OMC_LIT84_data".makefile" ".makefile"
261static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT84,9,_OMC_LIT84_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT84
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), ".makefile"
}
;
262#define _OMC_LIT84((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT84)((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3))
263#define _OMC_LIT85_data"wrapper_template.compile.cmd" "wrapper_template.compile.cmd"
264static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT85,28,_OMC_LIT85_data)struct { mmc_uint_t header; const char data[(28)+1]; } _OMC_LIT_STRUCT85
= { ((((mmc_uint_t)28)<<(3))+((1<<(3+3))+5)), "wrapper_template.compile.cmd"
}
;
265#define _OMC_LIT85((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT85)((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3))
266#define _OMC_LIT86_data"<%currentDirectory%>" "<%currentDirectory%>"
267static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT86,20,_OMC_LIT86_data)struct { mmc_uint_t header; const char data[(20)+1]; } _OMC_LIT_STRUCT86
= { ((((mmc_uint_t)20)<<(3))+((1<<(3+3))+5)), "<%currentDirectory%>"
}
;
268#define _OMC_LIT86((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT86)((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3))
269static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT87,3,3)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT87
= { (((3) << 10) + (((3) & 255) << 2)),
{&Absyn_FunctionArgs_FUNCTIONARGS__desc,MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
270#define _OMC_LIT87((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT87)((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3))
271#include "util/modelica.h"
272
273#include "OpenTURNS_includes.h"
274
275
276/* default, do not make protected functions static */
277#if !defined(PROTECTED_FUNCTION_STATIC)
278#define PROTECTED_FUNCTION_STATIC
279#endif
280PROTECTED_FUNCTION_STATIC void omc_OpenTURNS_runCommand(threadData_t *threadData, modelica_string _cmd, modelica_string _logFile);
281static const MMC_DEFSTRUCTLIT(boxvar_lit_OpenTURNS_runCommand,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_OpenTURNS_runCommand
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_OpenTURNS_runCommandomc_OpenTURNS_runCommand,0}};
282#define boxvar_OpenTURNS_runCommand((void*)((char*)(&(boxvar_lit_OpenTURNS_runCommand).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_OpenTURNS_runCommand)((void*)((char*)(&(boxvar_lit_OpenTURNS_runCommand).header
) + 3))
283PROTECTED_FUNCTION_STATIC modelica_string omc_OpenTURNS_generateInputDescriptions(threadData_t *threadData, modelica_metatype _dae);
284static const MMC_DEFSTRUCTLIT(boxvar_lit_OpenTURNS_generateInputDescriptions,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_OpenTURNS_generateInputDescriptions
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_OpenTURNS_generateInputDescriptionsomc_OpenTURNS_generateInputDescriptions,0}};
285#define boxvar_OpenTURNS_generateInputDescriptions((void*)((char*)(&(boxvar_lit_OpenTURNS_generateInputDescriptions
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_OpenTURNS_generateInputDescriptions)((void*)((char*)(&(boxvar_lit_OpenTURNS_generateInputDescriptions
).header) + 3))
286PROTECTED_FUNCTION_STATIC modelica_string omc_OpenTURNS_generateCollectionDistributions2(threadData_t *threadData, modelica_metatype _distVarTpl, modelica_metatype _tpl);
287static const MMC_DEFSTRUCTLIT(boxvar_lit_OpenTURNS_generateCollectionDistributions2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_OpenTURNS_generateCollectionDistributions2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_OpenTURNS_generateCollectionDistributions2omc_OpenTURNS_generateCollectionDistributions2,0}};
288#define boxvar_OpenTURNS_generateCollectionDistributions2((void*)((char*)(&(boxvar_lit_OpenTURNS_generateCollectionDistributions2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_OpenTURNS_generateCollectionDistributions2)((void*)((char*)(&(boxvar_lit_OpenTURNS_generateCollectionDistributions2
).header) + 3))
289PROTECTED_FUNCTION_STATIC modelica_string omc_OpenTURNS_getName(threadData_t *threadData, modelica_metatype _distVarTpl);
290static const MMC_DEFSTRUCTLIT(boxvar_lit_OpenTURNS_getName,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_OpenTURNS_getName
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_OpenTURNS_getNameomc_OpenTURNS_getName,0}};
291#define boxvar_OpenTURNS_getName((void*)((char*)(&(boxvar_lit_OpenTURNS_getName).header) +
3))
MMC_REFSTRUCTLIT(boxvar_lit_OpenTURNS_getName)((void*)((char*)(&(boxvar_lit_OpenTURNS_getName).header) +
3))
292PROTECTED_FUNCTION_STATIC modelica_string omc_OpenTURNS_generateCollectionDistributions(threadData_t *threadData, modelica_metatype _dae, modelica_metatype _distributionVarLst);
293static const MMC_DEFSTRUCTLIT(boxvar_lit_OpenTURNS_generateCollectionDistributions,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_OpenTURNS_generateCollectionDistributions
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_OpenTURNS_generateCollectionDistributionsomc_OpenTURNS_generateCollectionDistributions,0}};
294#define boxvar_OpenTURNS_generateCollectionDistributions((void*)((char*)(&(boxvar_lit_OpenTURNS_generateCollectionDistributions
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_OpenTURNS_generateCollectionDistributions)((void*)((char*)(&(boxvar_lit_OpenTURNS_generateCollectionDistributions
).header) + 3))
295PROTECTED_FUNCTION_STATIC modelica_string omc_OpenTURNS_generateCorrelationMatrix3(threadData_t *threadData, modelica_metatype _exp, modelica_metatype _uncertainVars);
296static const MMC_DEFSTRUCTLIT(boxvar_lit_OpenTURNS_generateCorrelationMatrix3,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_OpenTURNS_generateCorrelationMatrix3
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_OpenTURNS_generateCorrelationMatrix3omc_OpenTURNS_generateCorrelationMatrix3,0}};
297#define boxvar_OpenTURNS_generateCorrelationMatrix3((void*)((char*)(&(boxvar_lit_OpenTURNS_generateCorrelationMatrix3
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_OpenTURNS_generateCorrelationMatrix3)((void*)((char*)(&(boxvar_lit_OpenTURNS_generateCorrelationMatrix3
).header) + 3))
298PROTECTED_FUNCTION_STATIC modelica_string omc_OpenTURNS_generateCorrelationMatrix2(threadData_t *threadData, modelica_metatype _correlationAlg, modelica_metatype _uncertainVars);
299static const MMC_DEFSTRUCTLIT(boxvar_lit_OpenTURNS_generateCorrelationMatrix2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_OpenTURNS_generateCorrelationMatrix2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_OpenTURNS_generateCorrelationMatrix2omc_OpenTURNS_generateCorrelationMatrix2,0}};
300#define boxvar_OpenTURNS_generateCorrelationMatrix2((void*)((char*)(&(boxvar_lit_OpenTURNS_generateCorrelationMatrix2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_OpenTURNS_generateCorrelationMatrix2)((void*)((char*)(&(boxvar_lit_OpenTURNS_generateCorrelationMatrix2
).header) + 3))
301PROTECTED_FUNCTION_STATIC modelica_metatype omc_OpenTURNS_getCorrelationExp(threadData_t *threadData, modelica_metatype _alg);
302static const MMC_DEFSTRUCTLIT(boxvar_lit_OpenTURNS_getCorrelationExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_OpenTURNS_getCorrelationExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_OpenTURNS_getCorrelationExpomc_OpenTURNS_getCorrelationExp,0}};
303#define boxvar_OpenTURNS_getCorrelationExp((void*)((char*)(&(boxvar_lit_OpenTURNS_getCorrelationExp
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_OpenTURNS_getCorrelationExp)((void*)((char*)(&(boxvar_lit_OpenTURNS_getCorrelationExp
).header) + 3))
304PROTECTED_FUNCTION_STATIC modelica_boolean omc_OpenTURNS_hasCorrelationStatement(threadData_t *threadData, modelica_metatype _alg);
305PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_OpenTURNS_hasCorrelationStatement(threadData_t *threadData, modelica_metatype _alg);
306static const MMC_DEFSTRUCTLIT(boxvar_lit_OpenTURNS_hasCorrelationStatement,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_OpenTURNS_hasCorrelationStatement
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_OpenTURNS_hasCorrelationStatement,0}};
307#define boxvar_OpenTURNS_hasCorrelationStatement((void*)((char*)(&(boxvar_lit_OpenTURNS_hasCorrelationStatement
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_OpenTURNS_hasCorrelationStatement)((void*)((char*)(&(boxvar_lit_OpenTURNS_hasCorrelationStatement
).header) + 3))
308PROTECTED_FUNCTION_STATIC modelica_boolean omc_OpenTURNS_isCorrelationVarCref(threadData_t *threadData, modelica_metatype _cr);
309PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_OpenTURNS_isCorrelationVarCref(threadData_t *threadData, modelica_metatype _cr);
310static const MMC_DEFSTRUCTLIT(boxvar_lit_OpenTURNS_isCorrelationVarCref,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_OpenTURNS_isCorrelationVarCref
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_OpenTURNS_isCorrelationVarCref,0}};
311#define boxvar_OpenTURNS_isCorrelationVarCref((void*)((char*)(&(boxvar_lit_OpenTURNS_isCorrelationVarCref
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_OpenTURNS_isCorrelationVarCref)((void*)((char*)(&(boxvar_lit_OpenTURNS_isCorrelationVarCref
).header) + 3))
312PROTECTED_FUNCTION_STATIC modelica_boolean omc_OpenTURNS_isCorrelationVar(threadData_t *threadData, modelica_metatype _var);
313PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_OpenTURNS_isCorrelationVar(threadData_t *threadData, modelica_metatype _var);
314static const MMC_DEFSTRUCTLIT(boxvar_lit_OpenTURNS_isCorrelationVar,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_OpenTURNS_isCorrelationVar
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_OpenTURNS_isCorrelationVar,0}};
315#define boxvar_OpenTURNS_isCorrelationVar((void*)((char*)(&(boxvar_lit_OpenTURNS_isCorrelationVar)
.header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_OpenTURNS_isCorrelationVar)((void*)((char*)(&(boxvar_lit_OpenTURNS_isCorrelationVar)
.header) + 3))
316PROTECTED_FUNCTION_STATIC modelica_metatype omc_OpenTURNS_stripCorrelationVars(threadData_t *threadData, modelica_metatype _vars);
317static const MMC_DEFSTRUCTLIT(boxvar_lit_OpenTURNS_stripCorrelationVars,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_OpenTURNS_stripCorrelationVars
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_OpenTURNS_stripCorrelationVarsomc_OpenTURNS_stripCorrelationVars,0}};
318#define boxvar_OpenTURNS_stripCorrelationVars((void*)((char*)(&(boxvar_lit_OpenTURNS_stripCorrelationVars
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_OpenTURNS_stripCorrelationVars)((void*)((char*)(&(boxvar_lit_OpenTURNS_stripCorrelationVars
).header) + 3))
319PROTECTED_FUNCTION_STATIC modelica_boolean omc_OpenTURNS_equationIsCorrelationBinding(threadData_t *threadData, modelica_metatype _eqn);
320PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_OpenTURNS_equationIsCorrelationBinding(threadData_t *threadData, modelica_metatype _eqn);
321static const MMC_DEFSTRUCTLIT(boxvar_lit_OpenTURNS_equationIsCorrelationBinding,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_OpenTURNS_equationIsCorrelationBinding
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_OpenTURNS_equationIsCorrelationBinding,0}};
322#define boxvar_OpenTURNS_equationIsCorrelationBinding((void*)((char*)(&(boxvar_lit_OpenTURNS_equationIsCorrelationBinding
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_OpenTURNS_equationIsCorrelationBinding)((void*)((char*)(&(boxvar_lit_OpenTURNS_equationIsCorrelationBinding
).header) + 3))
323PROTECTED_FUNCTION_STATIC modelica_metatype omc_OpenTURNS_stripCorrelationEqns(threadData_t *threadData, modelica_metatype _eqns);
324static const MMC_DEFSTRUCTLIT(boxvar_lit_OpenTURNS_stripCorrelationEqns,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_OpenTURNS_stripCorrelationEqns
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_OpenTURNS_stripCorrelationEqnsomc_OpenTURNS_stripCorrelationEqns,0}};
325#define boxvar_OpenTURNS_stripCorrelationEqns((void*)((char*)(&(boxvar_lit_OpenTURNS_stripCorrelationEqns
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_OpenTURNS_stripCorrelationEqns)((void*)((char*)(&(boxvar_lit_OpenTURNS_stripCorrelationEqns
).header) + 3))
326PROTECTED_FUNCTION_STATIC modelica_metatype omc_OpenTURNS_stripCorrelationVarsAndEqns(threadData_t *threadData, modelica_metatype _eqsys);
327static const MMC_DEFSTRUCTLIT(boxvar_lit_OpenTURNS_stripCorrelationVarsAndEqns,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_OpenTURNS_stripCorrelationVarsAndEqns
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_OpenTURNS_stripCorrelationVarsAndEqnsomc_OpenTURNS_stripCorrelationVarsAndEqns,0}};
328#define boxvar_OpenTURNS_stripCorrelationVarsAndEqns((void*)((char*)(&(boxvar_lit_OpenTURNS_stripCorrelationVarsAndEqns
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_OpenTURNS_stripCorrelationVarsAndEqns)((void*)((char*)(&(boxvar_lit_OpenTURNS_stripCorrelationVarsAndEqns
).header) + 3))
329PROTECTED_FUNCTION_STATIC modelica_boolean omc_OpenTURNS_eqnSystemNotZero(threadData_t *threadData, modelica_metatype _eqs);
330PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_OpenTURNS_eqnSystemNotZero(threadData_t *threadData, modelica_metatype _eqs);
331static const MMC_DEFSTRUCTLIT(boxvar_lit_OpenTURNS_eqnSystemNotZero,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_OpenTURNS_eqnSystemNotZero
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_OpenTURNS_eqnSystemNotZero,0}};
332#define boxvar_OpenTURNS_eqnSystemNotZero((void*)((char*)(&(boxvar_lit_OpenTURNS_eqnSystemNotZero)
.header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_OpenTURNS_eqnSystemNotZero)((void*)((char*)(&(boxvar_lit_OpenTURNS_eqnSystemNotZero)
.header) + 3))
333PROTECTED_FUNCTION_STATIC modelica_metatype omc_OpenTURNS_stripCorrelationFromDae(threadData_t *threadData, modelica_metatype _dae);
334static const MMC_DEFSTRUCTLIT(boxvar_lit_OpenTURNS_stripCorrelationFromDae,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_OpenTURNS_stripCorrelationFromDae
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_OpenTURNS_stripCorrelationFromDaeomc_OpenTURNS_stripCorrelationFromDae,0}};
335#define boxvar_OpenTURNS_stripCorrelationFromDae((void*)((char*)(&(boxvar_lit_OpenTURNS_stripCorrelationFromDae
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_OpenTURNS_stripCorrelationFromDae)((void*)((char*)(&(boxvar_lit_OpenTURNS_stripCorrelationFromDae
).header) + 3))
336PROTECTED_FUNCTION_STATIC modelica_string omc_OpenTURNS_generateCorrelationMatrix(threadData_t *threadData, modelica_metatype _dae, modelica_integer _numDists, modelica_metatype _uncertainVars);
337PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_OpenTURNS_generateCorrelationMatrix(threadData_t *threadData, modelica_metatype _dae, modelica_metatype _numDists, modelica_metatype _uncertainVars);
338static const MMC_DEFSTRUCTLIT(boxvar_lit_OpenTURNS_generateCorrelationMatrix,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_OpenTURNS_generateCorrelationMatrix
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_OpenTURNS_generateCorrelationMatrix,0}};
339#define boxvar_OpenTURNS_generateCorrelationMatrix((void*)((char*)(&(boxvar_lit_OpenTURNS_generateCorrelationMatrix
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_OpenTURNS_generateCorrelationMatrix)((void*)((char*)(&(boxvar_lit_OpenTURNS_generateCorrelationMatrix
).header) + 3))
340PROTECTED_FUNCTION_STATIC modelica_string omc_OpenTURNS_generateDistributionVariable(threadData_t *threadData, modelica_metatype _tpl, modelica_metatype _dae, modelica_metatype *out_distributionVar);
341static const MMC_DEFSTRUCTLIT(boxvar_lit_OpenTURNS_generateDistributionVariable,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_OpenTURNS_generateDistributionVariable
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_OpenTURNS_generateDistributionVariableomc_OpenTURNS_generateDistributionVariable,0}};
342#define boxvar_OpenTURNS_generateDistributionVariable((void*)((char*)(&(boxvar_lit_OpenTURNS_generateDistributionVariable
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_OpenTURNS_generateDistributionVariable)((void*)((char*)(&(boxvar_lit_OpenTURNS_generateDistributionVariable
).header) + 3))
343PROTECTED_FUNCTION_STATIC modelica_string omc_OpenTURNS_generateDistributions(threadData_t *threadData, modelica_metatype _dae, modelica_metatype *out_distributionVarLst);
344static const MMC_DEFSTRUCTLIT(boxvar_lit_OpenTURNS_generateDistributions,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_OpenTURNS_generateDistributions
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_OpenTURNS_generateDistributionsomc_OpenTURNS_generateDistributions,0}};
345#define boxvar_OpenTURNS_generateDistributions((void*)((char*)(&(boxvar_lit_OpenTURNS_generateDistributions
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_OpenTURNS_generateDistributions)((void*)((char*)(&(boxvar_lit_OpenTURNS_generateDistributions
).header) + 3))
346PROTECTED_FUNCTION_STATIC modelica_string omc_OpenTURNS_generatePythonScript(threadData_t *threadData, modelica_metatype _inModelPath, modelica_string _templateFile, modelica_metatype _dae, modelica_metatype _inDaelow);
347static const MMC_DEFSTRUCTLIT(boxvar_lit_OpenTURNS_generatePythonScript,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_OpenTURNS_generatePythonScript
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_OpenTURNS_generatePythonScriptomc_OpenTURNS_generatePythonScript,0}};
348#define boxvar_OpenTURNS_generatePythonScript((void*)((char*)(&(boxvar_lit_OpenTURNS_generatePythonScript
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_OpenTURNS_generatePythonScript)((void*)((char*)(&(boxvar_lit_OpenTURNS_generatePythonScript
).header) + 3))
349PROTECTED_FUNCTION_STATIC modelica_metatype omc_OpenTURNS_generateXMLLibraryOutputs(threadData_t *threadData, modelica_metatype _varLst);
350static const MMC_DEFSTRUCTLIT(boxvar_lit_OpenTURNS_generateXMLLibraryOutputs,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_OpenTURNS_generateXMLLibraryOutputs
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_OpenTURNS_generateXMLLibraryOutputsomc_OpenTURNS_generateXMLLibraryOutputs,0}};
351#define boxvar_OpenTURNS_generateXMLLibraryOutputs((void*)((char*)(&(boxvar_lit_OpenTURNS_generateXMLLibraryOutputs
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_OpenTURNS_generateXMLLibraryOutputs)((void*)((char*)(&(boxvar_lit_OpenTURNS_generateXMLLibraryOutputs
).header) + 3))
352PROTECTED_FUNCTION_STATIC modelica_metatype omc_OpenTURNS_generateXMLLibraryInputs(threadData_t *threadData, modelica_metatype _varLst);
353static const MMC_DEFSTRUCTLIT(boxvar_lit_OpenTURNS_generateXMLLibraryInputs,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_OpenTURNS_generateXMLLibraryInputs
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_OpenTURNS_generateXMLLibraryInputsomc_OpenTURNS_generateXMLLibraryInputs,0}};
354#define boxvar_OpenTURNS_generateXMLLibraryInputs((void*)((char*)(&(boxvar_lit_OpenTURNS_generateXMLLibraryInputs
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_OpenTURNS_generateXMLLibraryInputs)((void*)((char*)(&(boxvar_lit_OpenTURNS_generateXMLLibraryInputs
).header) + 3))
355PROTECTED_FUNCTION_STATIC modelica_string omc_OpenTURNS_generateXMLLibrary(threadData_t *threadData, modelica_string _className, modelica_metatype _dae);
356static const MMC_DEFSTRUCTLIT(boxvar_lit_OpenTURNS_generateXMLLibrary,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_OpenTURNS_generateXMLLibrary
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_OpenTURNS_generateXMLLibraryomc_OpenTURNS_generateXMLLibrary,0}};
357#define boxvar_OpenTURNS_generateXMLLibrary((void*)((char*)(&(boxvar_lit_OpenTURNS_generateXMLLibrary
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_OpenTURNS_generateXMLLibrary)((void*)((char*)(&(boxvar_lit_OpenTURNS_generateXMLLibrary
).header) + 3))
358PROTECTED_FUNCTION_STATIC modelica_string omc_OpenTURNS_generateXMLExternalCode(threadData_t *threadData, modelica_string _className, modelica_metatype _dae);
359static const MMC_DEFSTRUCTLIT(boxvar_lit_OpenTURNS_generateXMLExternalCode,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_OpenTURNS_generateXMLExternalCode
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_OpenTURNS_generateXMLExternalCodeomc_OpenTURNS_generateXMLExternalCode,0}};
360#define boxvar_OpenTURNS_generateXMLExternalCode((void*)((char*)(&(boxvar_lit_OpenTURNS_generateXMLExternalCode
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_OpenTURNS_generateXMLExternalCode)((void*)((char*)(&(boxvar_lit_OpenTURNS_generateXMLExternalCode
).header) + 3))
361PROTECTED_FUNCTION_STATIC modelica_string omc_OpenTURNS_generateXMLHeader(threadData_t *threadData, modelica_string _className);
362static const MMC_DEFSTRUCTLIT(boxvar_lit_OpenTURNS_generateXMLHeader,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_OpenTURNS_generateXMLHeader
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_OpenTURNS_generateXMLHeaderomc_OpenTURNS_generateXMLHeader,0}};
363#define boxvar_OpenTURNS_generateXMLHeader((void*)((char*)(&(boxvar_lit_OpenTURNS_generateXMLHeader
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_OpenTURNS_generateXMLHeader)((void*)((char*)(&(boxvar_lit_OpenTURNS_generateXMLHeader
).header) + 3))
364PROTECTED_FUNCTION_STATIC modelica_string omc_OpenTURNS_generateXMLFileContent(threadData_t *threadData, modelica_string _className, modelica_metatype _dae);
365static const MMC_DEFSTRUCTLIT(boxvar_lit_OpenTURNS_generateXMLFileContent,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_OpenTURNS_generateXMLFileContent
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_OpenTURNS_generateXMLFileContentomc_OpenTURNS_generateXMLFileContent,0}};
366#define boxvar_OpenTURNS_generateXMLFileContent((void*)((char*)(&(boxvar_lit_OpenTURNS_generateXMLFileContent
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_OpenTURNS_generateXMLFileContent)((void*)((char*)(&(boxvar_lit_OpenTURNS_generateXMLFileContent
).header) + 3))
367PROTECTED_FUNCTION_STATIC void omc_OpenTURNS_generateXMLFile(threadData_t *threadData, modelica_string _className, modelica_metatype _dae);
368static const MMC_DEFSTRUCTLIT(boxvar_lit_OpenTURNS_generateXMLFile,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_OpenTURNS_generateXMLFile
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_OpenTURNS_generateXMLFileomc_OpenTURNS_generateXMLFile,0}};
369#define boxvar_OpenTURNS_generateXMLFile((void*)((char*)(&(boxvar_lit_OpenTURNS_generateXMLFile).
header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_OpenTURNS_generateXMLFile)((void*)((char*)(&(boxvar_lit_OpenTURNS_generateXMLFile).
header) + 3))
370PROTECTED_FUNCTION_STATIC void omc_OpenTURNS_generateWrapperLibrary(threadData_t *threadData, modelica_string _fullClassName, modelica_string _lastClassName);
371static const MMC_DEFSTRUCTLIT(boxvar_lit_OpenTURNS_generateWrapperLibrary,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_OpenTURNS_generateWrapperLibrary
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_OpenTURNS_generateWrapperLibraryomc_OpenTURNS_generateWrapperLibrary,0}};
372#define boxvar_OpenTURNS_generateWrapperLibrary((void*)((char*)(&(boxvar_lit_OpenTURNS_generateWrapperLibrary
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_OpenTURNS_generateWrapperLibrary)((void*)((char*)(&(boxvar_lit_OpenTURNS_generateWrapperLibrary
).header) + 3))
373
374PROTECTED_FUNCTION_STATIC void omc_OpenTURNS_runCommand(threadData_t *threadData, modelica_string _cmd, modelica_string _logFile)
375{
376 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
377 MMC_SO()mmc_check_stackoverflow(threadData);
378 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
379#line 379 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
380 { /* matchcontinue expression */
381 {
382 volatile mmc_switch_type tmp3;
383 int tmp4;
384 tmp3 = 0;
385 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
386 tmp2_top:
387 threadData->mmc_jumper = &new_mmc_jumper;
388 for (; tmp3 < 2; tmp3++) {
389 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
390 case 0: {
391 modelica_integer tmp5;
392 /* Pattern matching succeeded */
393#line 733 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
394 tmpMeta[0] = stringAppend(_OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)),_cmd);
395#line 733 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
396 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)));
397#line 733 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
398 tmpMeta[2] = stringAppend(tmpMeta[1],_logFile);
399#line 733 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
400 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)));
401#line 733 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
402 fputs(MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
,stdoutstdout);
403#line 403 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
404
405#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
406 /* Pattern-matching assignment */
407#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
408 tmp5 = omc_System_systemCall(threadData, _cmd, _logFile);
409#line 734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
410 if (0 != tmp5) goto goto_1;
411#line 411 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
412#line 412 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
413 goto tmp2_done;
414 }
415 case 1: {
416 /* Pattern matching succeeded */
417#line 739 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
418 tmpMeta[0] = stringAppend(_OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)),_cmd);
419#line 739 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
420 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)));
421#line 739 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
422 fputs(MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
,stdoutstdout);
423#line 423 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
424#line 424 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
425 goto tmp2_done;
426 }
427 }
428 goto tmp2_end;
429 tmp2_end: ;
430 }
431 goto goto_1;
432 tmp2_done:
433 (void)tmp3;
434 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
435 goto tmp2_done2;
436 goto_1:;
437 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
438 if (++tmp3 < 2) {
439 goto tmp2_top;
440 }
441 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
442 tmp2_done2:;
443 }
444 }
445 ;
446 _return: OMC_LABEL_UNUSED__attribute__((unused))
447 return;
448}
449
450DLLExport
451modelica_string omc_OpenTURNS_runPythonScript(threadData_t *threadData, modelica_string _inStrPythonScriptFile)
452{
453 modelica_string _outStrLogFile = NULL((void*)0);
454 modelica_string tmp1 = 0;
455 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
456 MMC_SO()mmc_check_stackoverflow(threadData);
457 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
458 // _outStrLogFile has no default value.
459#line 459 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
460 { /* match expression */
461 {
462 modelica_string _cmdContents = NULL((void*)0);
463 modelica_string _logFile = NULL((void*)0);
464 modelica_string _cmdFile = NULL((void*)0);
465 volatile mmc_switch_type tmp4;
466 int tmp5;
467 // _cmdContents has no default value.
468 // _logFile has no default value.
469 // _cmdFile has no default value.
470 tmp4 = 0;
471 for (; tmp4 < 1; tmp4++) {
472 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
473 case 0: {
474 /* Pattern matching succeeded */
475#line 715 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
476 _cmdContents = omc_System_readFile(threadData, omc_OpenTURNS_getFullShareFileName(threadData, _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3))));
477#line 477 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
478
479#line 716 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
480 _cmdContents = omc_System_stringReplace(threadData, _cmdContents, _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)), _inStrPythonScriptFile);
481#line 481 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
482
483#line 717 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
484 tmpMeta[0] = stringAppend(_inStrPythonScriptFile,_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)));
485#line 717 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
486 _cmdFile = tmpMeta[0];
487#line 487 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
488
489#line 718 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
490 omc_System_writeFile(threadData, _cmdFile, _cmdContents);
491#line 491 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
492
493#line 719 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
494 tmpMeta[0] = stringAppend(_inStrPythonScriptFile,_OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)));
495#line 719 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
496 _logFile = tmpMeta[0];
497#line 497 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
498
499#line 720 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
500 omc_OpenTURNS_runCommand(threadData, _cmdFile, _logFile);
501#line 501 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
502#line 721 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
503 tmp1 = _logFile;
504#line 504 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
505 goto tmp3_done;
506 }
507 }
508 goto tmp3_end;
509 tmp3_end: ;
510 }
511 goto goto_2;
512 goto_2:;
513 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
514 goto tmp3_done;
515 tmp3_done:;
516 }
517 }
518 _outStrLogFile = tmp1;
519 _return: OMC_LABEL_UNUSED__attribute__((unused))
520 return _outStrLogFile;
521}
522
523DLLExport
524modelica_string omc_OpenTURNS_getFullShareFileName(threadData_t *threadData, modelica_string _strFileName)
525{
526 modelica_string _strFullShareFileName = NULL((void*)0);
527 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
528 MMC_SO()mmc_check_stackoverflow(threadData);
529 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
530 // _strFullShareFileName has no default value.
531#line 700 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
532 tmpMeta[0] = stringAppend(omc_OpenTURNS_getFullSharePath(threadData),_strFileName);
533#line 700 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
534 _strFullShareFileName = tmpMeta[0];
535#line 535 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
536 _return: OMC_LABEL_UNUSED__attribute__((unused))
537 return _strFullShareFileName;
538}
539
540DLLExport
541modelica_string omc_OpenTURNS_getFullSharePath(threadData_t *threadData)
542{
543 modelica_string _strFullSharePath = NULL((void*)0);
544 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
545 MMC_SO()mmc_check_stackoverflow(threadData);
546 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
547 // _strFullSharePath has no default value.
548#line 686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
549 tmpMeta[0] = stringAppend(omc_Settings_getInstallationDirectoryPath(threadData),_OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)));
550#line 686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
551 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)));
552#line 686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
553 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)));
554#line 686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
555 _strFullSharePath = tmpMeta[2];
556#line 556 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
557 _return: OMC_LABEL_UNUSED__attribute__((unused))
558 return _strFullSharePath;
559}
560
561PROTECTED_FUNCTION_STATIC modelica_string omc_OpenTURNS_generateInputDescriptions(threadData_t *threadData, modelica_metatype _dae)
562{
563 modelica_string _inputDescriptions = NULL((void*)0);
564 MMC_SO()mmc_check_stackoverflow(threadData);
565 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
566 // _inputDescriptions has no default value.
567#line 678 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
568 _inputDescriptions = _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3));
569#line 569 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
570 _return: OMC_LABEL_UNUSED__attribute__((unused))
571 return _inputDescriptions;
572}
573
574PROTECTED_FUNCTION_STATIC modelica_string omc_OpenTURNS_generateCollectionDistributions2(threadData_t *threadData, modelica_metatype _distVarTpl, modelica_metatype _tpl)
575{
576 modelica_string _str = NULL((void*)0);
577 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
578 MMC_SO()mmc_check_stackoverflow(threadData);
579 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
580 // _str has no default value.
581#line 670 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
582 tmpMeta[0] = stringAppend(omc_Util_tuple21(threadData, _tpl),_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)));
583#line 670 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
584 tmpMeta[1] = stringAppend(tmpMeta[0],omc_Util_tuple22(threadData, _distVarTpl));
585#line 670 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
586 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)));
587#line 670 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
588 tmpMeta[3] = stringAppend(tmpMeta[2],omc_Util_tuple21(threadData, _distVarTpl));
589#line 670 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
590 tmpMeta[4] = stringAppend(tmpMeta[3],_OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)));
591#line 670 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
592 _str = tmpMeta[4];
593#line 593 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
594 _return: OMC_LABEL_UNUSED__attribute__((unused))
595 return _str;
596}
597
598PROTECTED_FUNCTION_STATIC modelica_string omc_OpenTURNS_getName(threadData_t *threadData, modelica_metatype _distVarTpl)
599{
600 modelica_string _outStr = NULL((void*)0);
601 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
602 MMC_SO()mmc_check_stackoverflow(threadData);
603 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
604 // _outStr has no default value.
605#line 662 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
606 tmpMeta[0] = stringAppend(_OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)),omc_Util_tuple21(threadData, _distVarTpl));
607#line 662 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
608 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)));
609#line 662 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
610 _outStr = tmpMeta[1];
611#line 611 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
612 _return: OMC_LABEL_UNUSED__attribute__((unused))
613 return _outStr;
614}
615
616PROTECTED_FUNCTION_STATIC modelica_string omc_OpenTURNS_generateCollectionDistributions(threadData_t *threadData, modelica_metatype _dae, modelica_metatype _distributionVarLst)
617{
618 modelica_string _collectionDistributions = NULL((void*)0);
619 modelica_string _collectionVarName = NULL((void*)0);
620 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
621 MMC_SO()mmc_check_stackoverflow(threadData);
622 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
623 // _collectionDistributions has no default value.
624 // _collectionVarName has no default value.
625#line 652 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
626 _collectionVarName = _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3));
627#line 627 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
628
629#line 653 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
630 tmpMeta[0] = stringAppend(_OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)),_collectionVarName);
631#line 653 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
632 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)));
633#line 653 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
634 tmpMeta[2] = mmc_mk_box2(0, _collectionVarName, _dae);
635#line 653 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
636 tmpMeta[3] = stringAppend(tmpMeta[1],stringDelimitList(omc_List_map1(threadData, _distributionVarLst, boxvar_OpenTURNS_generateCollectionDistributions2((void*)((char*)(&(boxvar_lit_OpenTURNS_generateCollectionDistributions2
).header) + 3))
, tmpMeta[2]), _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3))));
637#line 653 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
638 _collectionDistributions = tmpMeta[3];
639#line 639 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
640 _return: OMC_LABEL_UNUSED__attribute__((unused))
641 return _collectionDistributions;
642}
643
644PROTECTED_FUNCTION_STATIC modelica_string omc_OpenTURNS_generateCorrelationMatrix3(threadData_t *threadData, modelica_metatype _exp, modelica_metatype _uncertainVars)
645{
646 modelica_string _str = NULL((void*)0);
647 modelica_metatype _cr1 = NULL((void*)0);
648 modelica_metatype _cr2 = NULL((void*)0);
649 modelica_metatype _val = NULL((void*)0);
650 modelica_string _valStr = NULL((void*)0);
651 modelica_integer _p1;
652 modelica_integer _p2;
653 modelica_integer _plow;
654 modelica_integer _phigh;
655 modelica_metatype _fpath = NULL((void*)0);
656 modelica_metatype tmpMeta[11] __attribute__((unused)) = {0};
657 MMC_SO()mmc_check_stackoverflow(threadData);
658 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
659 // _str has no default value.
660 // _cr1 has no default value.
661 // _cr2 has no default value.
662 // _val has no default value.
663 // _valStr has no default value.
664 // _p1 has no default value.
665 // _p2 has no default value.
666 // _plow has no default value.
667 // _phigh has no default value.
668 // _fpath has no default value.
669#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
670 /* Pattern-matching assignment */
671#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
672 tmpMeta[0] = _exp;
673#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
674 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],13,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((3 +1)
<< 10) + (((13 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
675#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
676 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
677#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
678 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
679#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
680 if (listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
681#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
682 tmpMeta[3] = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
683#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
684 tmpMeta[4] = MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
685#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
686 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],6,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((2 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
687#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
688 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
689#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
690 if (listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
691#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
692 tmpMeta[6] = MMC_CAR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (1)))))
;
693#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
694 tmpMeta[7] = MMC_CDR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
695#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
696 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[6],6,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3)))==(((2 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
697#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
698 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[6]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (2)))))
;
699#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
700 if (listEmpty(tmpMeta[7])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[7]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
701#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
702 tmpMeta[9] = MMC_CAR(tmpMeta[7])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (1)))))
;
703#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
704 tmpMeta[10] = MMC_CDR(tmpMeta[7])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (2)))))
;
705#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
706 if (!listEmpty(tmpMeta[10])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[10]) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
707#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
708 _fpath = tmpMeta[1];
709#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
710 _cr1 = tmpMeta[5];
711#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
712 _cr2 = tmpMeta[8];
713#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
714 _val = tmpMeta[9];
715#line 715 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
716
717#line 635 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
718 /* Pattern-matching assignment */
719#line 635 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
720 tmpMeta[0] = omc_AbsynUtil_makeNotFullyQualified(threadData, _fpath);
721#line 635 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
722 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],1,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((1 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
723#line 635 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
724 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
725#line 635 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
726 if (11 != MMC_STRLEN(tmpMeta[1])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))) >>
(3)) - 8))
|| strcmp("Correlation", MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
) != 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
727#line 727 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
728
729#line 636 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
730 _valStr = omc_ExpressionDump_printExpStr(threadData, _val);
731#line 731 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
732
733#line 637 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
734 _p1 = ((modelica_integer) -1) + omc_List_position(threadData, omc_ComponentReference_crefStr(threadData, _cr1), _uncertainVars);
735#line 735 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
736
737#line 638 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
738 _p2 = ((modelica_integer) -1) + omc_List_position(threadData, omc_ComponentReference_crefStr(threadData, _cr2), _uncertainVars);
739#line 739 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
740
741#line 639 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
742 _plow = modelica_integer_min((modelica_integer)(_p1),(modelica_integer)(_p2));
743#line 743 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
744
745#line 640 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
746 _phigh = modelica_integer_max((modelica_integer)(_p1),(modelica_integer)(_p2));
747#line 747 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
748
749#line 641 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
750 tmpMeta[0] = stringAppend(_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)),intString(_plow));
751#line 641 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
752 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)));
753#line 641 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
754 tmpMeta[2] = stringAppend(tmpMeta[1],intString(_phigh));
755#line 641 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
756 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)));
757#line 641 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
758 tmpMeta[4] = stringAppend(tmpMeta[3],_valStr);
759#line 641 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
760 _str = tmpMeta[4];
761#line 761 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
762 _return: OMC_LABEL_UNUSED__attribute__((unused))
763 return _str;
764}
765
766PROTECTED_FUNCTION_STATIC modelica_string omc_OpenTURNS_generateCorrelationMatrix2(threadData_t *threadData, modelica_metatype _correlationAlg, modelica_metatype _uncertainVars)
767{
768 modelica_string _str = NULL((void*)0);
769 modelica_metatype _exp = NULL((void*)0);
770 modelica_metatype _expl = NULL((void*)0);
771 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
772 MMC_SO()mmc_check_stackoverflow(threadData);
773 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
774 // _str has no default value.
775 // _exp has no default value.
776 // _expl has no default value.
777#line 619 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
778 /* Pattern-matching assignment */
779#line 619 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
780 tmpMeta[0] = omc_OpenTURNS_getCorrelationExp(threadData, _correlationAlg);
781#line 619 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
782 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],16,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((3 +1)
<< 10) + (((16 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
783#line 619 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
784 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
785#line 619 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
786 _expl = tmpMeta[1];
787#line 787 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
788
789#line 620 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
790 _str = stringDelimitList(omc_List_map1(threadData, _expl, boxvar_OpenTURNS_generateCorrelationMatrix3((void*)((char*)(&(boxvar_lit_OpenTURNS_generateCorrelationMatrix3
).header) + 3))
, _uncertainVars), _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)));
791#line 791 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
792 _return: OMC_LABEL_UNUSED__attribute__((unused))
793 return _str;
794}
795
796PROTECTED_FUNCTION_STATIC modelica_metatype omc_OpenTURNS_getCorrelationExp(threadData_t *threadData, modelica_metatype _alg)
797{
798 modelica_metatype _res = NULL((void*)0);
799 modelica_metatype tmpMeta[8] __attribute__((unused)) = {0};
800 MMC_SO()mmc_check_stackoverflow(threadData);
801 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
802 // _res has no default value.
803#line 803 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
804 { /* matchcontinue expression */
805 volatile modelica_metatype tmp3_1;
806 tmp3_1 = _alg;
807 {
808 modelica_metatype _stmts = NULL((void*)0);
809 volatile mmc_switch_type tmp3;
810 int tmp4;
811 // _stmts has no default value.
812 tmp3 = 0;
813 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
814 tmp2_top:
815 threadData->mmc_jumper = &new_mmc_jumper;
816 for (; tmp3 < 2; tmp3++) {
817 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
818 case 0: {
819 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
820 if (listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
821 tmpMeta[2] = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
822 tmpMeta[3] = MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
823 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],2,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((4 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
824 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
825 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[4],6,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))==(((2 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) goto tmp2_end;
826 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
827 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],1,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((3 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
828 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
829 if (11 != MMC_STRLEN(tmpMeta[6])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT21)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT21).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[6])(((struct mmc_string*)((void*)((char*)(tmpMeta[6]) - 3)))->
data)
) != 0) goto tmp2_end;
830 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (4)))))
;
831
832 _res = tmpMeta[7];
833 /* Pattern matching succeeded */
834#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
835 tmpMeta[0] = _res;
836#line 836 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
837 goto tmp2_done;
838 }
839 case 1: {
840 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
841 if (listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
842 tmpMeta[2] = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
843 tmpMeta[3] = MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
844 _stmts = tmpMeta[3];
845 /* Pattern matching succeeded */
846#line 606 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
847 tmpMeta[1] = mmc_mk_box2(3, &DAE_Algorithm_ALGORITHM__STMTS__desc, _stmts);
848#line 606 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
849 tmpMeta[0] = omc_OpenTURNS_getCorrelationExp(threadData, tmpMeta[1]);
850#line 850 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
851 goto tmp2_done;
852 }
853 }
854 goto tmp2_end;
855 tmp2_end: ;
856 }
857 goto goto_1;
858 tmp2_done:
859 (void)tmp3;
860 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
861 goto tmp2_done2;
862 goto_1:;
863 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
864 if (++tmp3 < 2) {
865 goto tmp2_top;
866 }
867 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
868 tmp2_done2:;
869 }
870 }
871 _res = tmpMeta[0];
872 _return: OMC_LABEL_UNUSED__attribute__((unused))
873 return _res;
874}
875
876PROTECTED_FUNCTION_STATIC modelica_boolean omc_OpenTURNS_hasCorrelationStatement(threadData_t *threadData, modelica_metatype _alg)
877{
878 modelica_boolean _res;
879 modelica_boolean tmp1 = 0;
880 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
881 MMC_SO()mmc_check_stackoverflow(threadData);
882 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
883 // _res has no default value.
884#line 884 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
885 { /* matchcontinue expression */
886 volatile modelica_metatype tmp4_1;
887 tmp4_1 = _alg;
888 {
889 modelica_metatype _stmts = NULL((void*)0);
890 volatile mmc_switch_type tmp4;
891 int tmp5;
892 // _stmts has no default value.
893 tmp4 = 0;
894 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
895 tmp3_top:
896 threadData->mmc_jumper = &new_mmc_jumper;
897 for (; tmp4 < 3; tmp4++) {
898 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
899 case 0: {
900 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
901 if (!listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
902 tmp4 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
903#line 591 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
904 tmp1 = 0;
905#line 905 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
906 goto tmp3_done;
907 }
908 case 1: {
909 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
910 if (listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
911 tmpMeta[1] = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
912 tmpMeta[2] = MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
913 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],2,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((4 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
914 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
915 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],6,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((2 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
916 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
917 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[4],1,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))==(((3 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
918 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
919 if (11 != MMC_STRLEN(tmpMeta[5])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT21)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT21).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[5])(((struct mmc_string*)((void*)((char*)(tmpMeta[5]) - 3)))->
data)
) != 0) goto tmp3_end;
920
921 /* Pattern matching succeeded */
922#line 592 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
923 tmp1 = 1;
924#line 924 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
925 goto tmp3_done;
926 }
927 case 2: {
928 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
929 if (listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
930 tmpMeta[1] = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
931 tmpMeta[2] = MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
932 _stmts = tmpMeta[2];
933 /* Pattern matching succeeded */
934#line 593 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
935 tmpMeta[0] = mmc_mk_box2(3, &DAE_Algorithm_ALGORITHM__STMTS__desc, _stmts);
936#line 593 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
937 tmp1 = omc_OpenTURNS_hasCorrelationStatement(threadData, tmpMeta[0]);
938#line 938 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
939 goto tmp3_done;
940 }
941 }
942 goto tmp3_end;
943 tmp3_end: ;
944 }
945 goto goto_2;
946 tmp3_done:
947 (void)tmp4;
948 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
949 goto tmp3_done2;
950 goto_2:;
951 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
952 if (++tmp4 < 3) {
953 goto tmp3_top;
954 }
955 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
956 tmp3_done2:;
957 }
958 }
959 _res = tmp1;
960 _return: OMC_LABEL_UNUSED__attribute__((unused))
961 return _res;
962}
963PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_OpenTURNS_hasCorrelationStatement(threadData_t *threadData, modelica_metatype _alg)
964{
965 modelica_boolean _res;
966 modelica_metatype out_res;
967 _res = omc_OpenTURNS_hasCorrelationStatement(threadData, _alg);
968 out_res = mmc_mk_icon(_res);
969 return out_res;
970}
971
972PROTECTED_FUNCTION_STATIC modelica_boolean omc_OpenTURNS_isCorrelationVarCref(threadData_t *threadData, modelica_metatype _cr)
973{
974 modelica_boolean _res;
975 MMC_SO()mmc_check_stackoverflow(threadData);
976 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
977 // _res has no default value.
978#line 580 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
979 _res = (((modelica_integer) 0) == omc_System_strcmp(threadData, omc_ComponentReference_crefFirstIdent(threadData, _cr), _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3))));
980#line 980 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
981 _return: OMC_LABEL_UNUSED__attribute__((unused))
982 return _res;
983}
984PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_OpenTURNS_isCorrelationVarCref(threadData_t *threadData, modelica_metatype _cr)
985{
986 modelica_boolean _res;
987 modelica_metatype out_res;
988 _res = omc_OpenTURNS_isCorrelationVarCref(threadData, _cr);
989 out_res = mmc_mk_icon(_res);
990 return out_res;
991}
992
993PROTECTED_FUNCTION_STATIC modelica_boolean omc_OpenTURNS_isCorrelationVar(threadData_t *threadData, modelica_metatype _var)
994{
995 modelica_boolean _res;
996 modelica_boolean tmp1 = 0;
997 MMC_SO()mmc_check_stackoverflow(threadData);
998 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
999 // _res has no default value.
1000#line 1000 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1001 { /* matchcontinue expression */
1002 {
1003 modelica_metatype _cr = NULL((void*)0);
1004 volatile mmc_switch_type tmp4;
1005 int tmp5;
1006 // _cr has no default value.
1007 tmp4 = 0;
1008 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
1009 tmp3_top:
1010 threadData->mmc_jumper = &new_mmc_jumper;
1011 for (; tmp4 < 2; tmp4++) {
1012 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1013 case 0: {
1014 modelica_boolean tmp6;
1015 /* Pattern matching succeeded */
1016#line 567 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1017 _cr = omc_BackendVariable_varCref(threadData, _var);
1018#line 1018 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1019
1020#line 568 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1021 /* Pattern-matching assignment */
1022#line 568 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1023 tmp6 = omc_OpenTURNS_isCorrelationVarCref(threadData, _cr);
1024#line 568 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1025 if (1 != tmp6) goto goto_2;
1026#line 1026 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1027#line 569 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1028 tmp1 = 1;
1029#line 1029 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1030 goto tmp3_done;
1031 }
1032 case 1: {
1033 /* Pattern matching succeeded */
1034#line 571 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1035 tmp1 = 0;
1036#line 1036 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1037 goto tmp3_done;
1038 }
1039 }
1040 goto tmp3_end;
1041 tmp3_end: ;
1042 }
1043 goto goto_2;
1044 tmp3_done:
1045 (void)tmp4;
1046 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1047 goto tmp3_done2;
1048 goto_2:;
1049 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1050 if (++tmp4 < 2) {
1051 goto tmp3_top;
1052 }
1053 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1054 tmp3_done2:;
1055 }
1056 }
1057 _res = tmp1;
1058 _return: OMC_LABEL_UNUSED__attribute__((unused))
1059 return _res;
1060}
1061PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_OpenTURNS_isCorrelationVar(threadData_t *threadData, modelica_metatype _var)
1062{
1063 modelica_boolean _res;
1064 modelica_metatype out_res;
1065 _res = omc_OpenTURNS_isCorrelationVar(threadData, _var);
1066 out_res = mmc_mk_icon(_res);
1067 return out_res;
1068}
1069
1070PROTECTED_FUNCTION_STATIC modelica_metatype omc_OpenTURNS_stripCorrelationVars(threadData_t *threadData, modelica_metatype _vars)
1071{
1072 modelica_metatype _outVars = NULL((void*)0);
1073 modelica_metatype _varLst = NULL((void*)0);
1074 MMC_SO()mmc_check_stackoverflow(threadData);
1075 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1076 // _outVars has no default value.
1077 // _varLst has no default value.
1078#line 554 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1079 omc_List_splitOnTrue(threadData, omc_BackendVariable_varList(threadData, _vars), boxvar_OpenTURNS_isCorrelationVar((void*)((char*)(&(boxvar_lit_OpenTURNS_isCorrelationVar)
.header) + 3))
,&_varLst);
1080#line 1080 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1081
1082#line 555 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1083 _outVars = omc_BackendVariable_listVar1(threadData, _varLst);
1084#line 1084 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1085 _return: OMC_LABEL_UNUSED__attribute__((unused))
1086 return _outVars;
1087}
1088
1089PROTECTED_FUNCTION_STATIC modelica_boolean omc_OpenTURNS_equationIsCorrelationBinding(threadData_t *threadData, modelica_metatype _eqn)
1090{
1091 modelica_boolean _res;
1092 modelica_boolean tmp1 = 0;
1093 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
1094 MMC_SO()mmc_check_stackoverflow(threadData);
1095 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1096 // _res has no default value.
1097#line 1097 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1098 { /* matchcontinue expression */
1099 volatile modelica_metatype tmp4_1;
1100 tmp4_1 = _eqn;
1101 {
1102 modelica_metatype _alg = NULL((void*)0);
1103 volatile mmc_switch_type tmp4;
1104 int tmp5;
1105 // _alg has no default value.
1106 tmp4 = 0;
1107 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
1108 tmp3_top:
1109 threadData->mmc_jumper = &new_mmc_jumper;
1110 for (; tmp4 < 2; tmp4++) {
1111 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1112 case 0: {
1113 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,4,5)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((5 +1) <<
10) + (((4 +3) & 255) << 2)))
== 0) goto tmp3_end;
1114 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
1115
1116 _alg = tmpMeta[0];
1117 /* Pattern matching succeeded */
1118#line 542 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1119 tmp1 = omc_OpenTURNS_hasCorrelationStatement(threadData, _alg);
1120#line 1120 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1121 goto tmp3_done;
1122 }
1123 case 1: {
1124
1125 /* Pattern matching succeeded */
1126#line 543 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1127 tmp1 = 0;
1128#line 1128 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1129 goto tmp3_done;
1130 }
1131 }
1132 goto tmp3_end;
1133 tmp3_end: ;
1134 }
1135 goto goto_2;
1136 tmp3_done:
1137 (void)tmp4;
1138 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1139 goto tmp3_done2;
1140 goto_2:;
1141 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1142 if (++tmp4 < 2) {
1143 goto tmp3_top;
1144 }
1145 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1146 tmp3_done2:;
1147 }
1148 }
1149 _res = tmp1;
1150 _return: OMC_LABEL_UNUSED__attribute__((unused))
1151 return _res;
1152}
1153PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_OpenTURNS_equationIsCorrelationBinding(threadData_t *threadData, modelica_metatype _eqn)
1154{
1155 modelica_boolean _res;
1156 modelica_metatype out_res;
1157 _res = omc_OpenTURNS_equationIsCorrelationBinding(threadData, _eqn);
1158 out_res = mmc_mk_icon(_res);
1159 return out_res;
1160}
1161
1162PROTECTED_FUNCTION_STATIC modelica_metatype omc_OpenTURNS_stripCorrelationEqns(threadData_t *threadData, modelica_metatype _eqns)
1163{
1164 modelica_metatype _outEqns = NULL((void*)0);
1165 modelica_metatype _eqnLst = NULL((void*)0);
1166 MMC_SO()mmc_check_stackoverflow(threadData);
1167 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1168 // _outEqns has no default value.
1169 // _eqnLst has no default value.
1170#line 531 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1171 omc_List_splitOnTrue(threadData, omc_BackendEquation_equationList(threadData, _eqns), boxvar_OpenTURNS_equationIsCorrelationBinding((void*)((char*)(&(boxvar_lit_OpenTURNS_equationIsCorrelationBinding
).header) + 3))
,&_eqnLst);
1172#line 1172 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1173
1174#line 532 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1175 _outEqns = omc_BackendEquation_listEquation(threadData, _eqnLst);
1176#line 1176 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1177 _return: OMC_LABEL_UNUSED__attribute__((unused))
1178 return _outEqns;
1179}
1180
1181PROTECTED_FUNCTION_STATIC modelica_metatype omc_OpenTURNS_stripCorrelationVarsAndEqns(threadData_t *threadData, modelica_metatype _eqsys)
1182{
1183 modelica_metatype _outEqsys = NULL((void*)0);
1184 modelica_metatype _vars = NULL((void*)0);
1185 modelica_metatype _eqns = NULL((void*)0);
1186 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1187 MMC_SO()mmc_check_stackoverflow(threadData);
1188 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1189 // _outEqsys has no default value.
1190 // _vars has no default value.
1191 // _eqns has no default value.
1192#line 518 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1193 /* Pattern-matching assignment */
1194#line 518 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1195 tmpMeta[0] = _eqsys;
1196#line 518 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1197 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
1198#line 518 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1199 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
1200#line 518 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1201 _vars = tmpMeta[1];
1202#line 518 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1203 _eqns = tmpMeta[2];
1204#line 1204 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1205
1206#line 519 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1207 _vars = omc_OpenTURNS_stripCorrelationVars(threadData, _vars);
1208#line 1208 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1209
1210#line 520 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1211 _eqns = omc_OpenTURNS_stripCorrelationEqns(threadData, _eqns);
1212#line 1212 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1213
1214#line 521 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1215 _outEqsys = omc_BackendDAEUtil_setEqSystVars(threadData, omc_BackendDAEUtil_setEqSystEqs(threadData, _eqsys, _eqns), _vars);
1216#line 1216 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1217
1218#line 522 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1219 _outEqsys = omc_BackendDAEUtil_clearEqSyst(threadData, _outEqsys);
1220#line 1220 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1221 _return: OMC_LABEL_UNUSED__attribute__((unused))
1222 return _outEqsys;
1223}
1224
1225PROTECTED_FUNCTION_STATIC modelica_boolean omc_OpenTURNS_eqnSystemNotZero(threadData_t *threadData, modelica_metatype _eqs)
1226{
1227 modelica_boolean _notZero;
1228 modelica_metatype _eqns = NULL((void*)0);
1229 modelica_metatype _vars = NULL((void*)0);
1230 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1231 MMC_SO()mmc_check_stackoverflow(threadData);
1232 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1233 // _notZero has no default value.
1234 // _eqns has no default value.
1235 // _vars has no default value.
1236#line 507 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1237 /* Pattern-matching assignment */
1238#line 507 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1239 tmpMeta[0] = _eqs;
1240#line 507 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1241 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
1242#line 507 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1243 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
1244#line 507 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1245 _vars = tmpMeta[1];
1246#line 507 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1247 _eqns = tmpMeta[2];
1248#line 1248 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1249
1250#line 508 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1251 _notZero = ((omc_BackendVariable_varsSize(threadData, _vars) > ((modelica_integer) 0)) && (omc_BackendEquation_getNumberOfEquations(threadData, _eqns) > ((modelica_integer) 0)));
1252#line 1252 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1253 _return: OMC_LABEL_UNUSED__attribute__((unused))
1254 return _notZero;
1255}
1256PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_OpenTURNS_eqnSystemNotZero(threadData_t *threadData, modelica_metatype _eqs)
1257{
1258 modelica_boolean _notZero;
1259 modelica_metatype out_notZero;
1260 _notZero = omc_OpenTURNS_eqnSystemNotZero(threadData, _eqs);
1261 out_notZero = mmc_mk_icon(_notZero);
1262 return out_notZero;
1263}
1264
1265PROTECTED_FUNCTION_STATIC modelica_metatype omc_OpenTURNS_stripCorrelationFromDae(threadData_t *threadData, modelica_metatype _dae)
1266{
1267 modelica_metatype _strippedDae = NULL((void*)0);
1268 modelica_metatype _eqs = NULL((void*)0);
1269 modelica_metatype _shared = NULL((void*)0);
1270 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1271 MMC_SO()mmc_check_stackoverflow(threadData);
1272 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1273 // _strippedDae has no default value.
1274 // _eqs has no default value.
1275 // _shared has no default value.
1276#line 493 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1277 /* Pattern-matching assignment */
1278#line 493 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1279 tmpMeta[0] = _dae;
1280#line 493 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1281 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
1282#line 493 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1283 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
1284#line 493 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1285 _eqs = tmpMeta[1];
1286#line 493 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1287 _shared = tmpMeta[2];
1288#line 1288 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1289
1290#line 494 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1291 _eqs = omc_List_map(threadData, _eqs, boxvar_OpenTURNS_stripCorrelationVarsAndEqns((void*)((char*)(&(boxvar_lit_OpenTURNS_stripCorrelationVarsAndEqns
).header) + 3))
);
1292#line 1292 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1293
1294#line 495 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1295 _eqs = omc_List_select(threadData, _eqs, boxvar_OpenTURNS_eqnSystemNotZero((void*)((char*)(&(boxvar_lit_OpenTURNS_eqnSystemNotZero)
.header) + 3))
);
1296#line 1296 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1297
1298#line 496 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1299 tmpMeta[0] = mmc_mk_box3(3, &BackendDAE_BackendDAE_DAE__desc, _eqs, _shared);
1300#line 496 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1301 _strippedDae = tmpMeta[0];
1302#line 1302 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1303 _return: OMC_LABEL_UNUSED__attribute__((unused))
1304 return _strippedDae;
1305}
1306
1307PROTECTED_FUNCTION_STATIC modelica_string omc_OpenTURNS_generateCorrelationMatrix(threadData_t *threadData, modelica_metatype _dae, modelica_integer _numDists, modelica_metatype _uncertainVars)
1308{
1309 modelica_string _correlationMatrix = NULL((void*)0);
1310 modelica_metatype _algs = NULL((void*)0);
1311 modelica_metatype _correlationAlg = NULL((void*)0);
1312 modelica_string _header = NULL((void*)0);
1313 modelica_string tmp1 = 0;
1314 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1315 MMC_SO()mmc_check_stackoverflow(threadData);
1316 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1317 // _correlationMatrix has no default value.
1318 // _algs has no default value.
1319 // _correlationAlg has no default value.
1320 // _header has no default value.
1321#line 1321 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1322 { /* matchcontinue expression */
1323 {
1324 volatile mmc_switch_type tmp4;
1325 int tmp5;
1326 tmp4 = 0;
1327 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
1328 tmp3_top:
1329 threadData->mmc_jumper = &new_mmc_jumper;
1330 for (; tmp4 < 3; tmp4++) {
1331 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1332 case 0: {
1333 /* Pattern matching succeeded */
1334#line 460 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1335 _algs = omc_BackendDAEUtil_getAlgorithms(threadData, _dae);
1336#line 1336 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1337
1338#line 461 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1339 tmpMeta[0] = stringAppend(_OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)),intString(_numDists));
1340#line 461 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1341 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)));
1342#line 461 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1343 _header = tmpMeta[1];
1344#line 1344 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1345
1346#line 462 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1347 /* Pattern-matching assignment */
1348#line 462 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1349 tmpMeta[0] = omc_Array_findFirstOnTrue(threadData, _algs, boxvar_OpenTURNS_hasCorrelationStatement((void*)((char*)(&(boxvar_lit_OpenTURNS_hasCorrelationStatement
).header) + 3))
);
1350#line 462 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1351 if (optionNone(tmpMeta[0])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[0]) - 3)))) >> 10)) ? 1 : 0)
) goto goto_2;
1352#line 462 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1353 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
1354#line 462 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1355 _correlationAlg = tmpMeta[1];
1356#line 1356 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1357#line 463 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1358 tmpMeta[0] = stringAppend(_header,omc_OpenTURNS_generateCorrelationMatrix2(threadData, _correlationAlg, _uncertainVars));
1359#line 463 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1360 tmp1 = tmpMeta[0];
1361#line 1361 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1362 goto tmp3_done;
1363 }
1364 case 1: {
1365 /* Pattern matching succeeded */
1366#line 469 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1367 _algs = omc_BackendDAEUtil_getAlgorithms(threadData, _dae);
1368#line 1368 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1369
1370#line 470 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1371 tmpMeta[0] = stringAppend(_OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)),intString(_numDists));
1372#line 470 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1373 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)));
1374#line 470 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1375 _header = tmpMeta[1];
Value stored to '_header' is never read
1376#line 1376 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1377
1378#line 471 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1379 /* Pattern-matching assignment */
1380#line 471 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1381 tmpMeta[0] = omc_Array_findFirstOnTrue(threadData, _algs, boxvar_OpenTURNS_hasCorrelationStatement((void*)((char*)(&(boxvar_lit_OpenTURNS_hasCorrelationStatement
).header) + 3))
);
1382#line 471 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1383 if (!optionNone(tmpMeta[0])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[0]) - 3)))) >> 10)) ? 1 : 0)
) goto goto_2;
1384#line 1384 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1385
1386#line 472 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1387 omc_Error_addInternalError(threadData, _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)), _OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)));
1388#line 1388 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1389#line 473 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1390 goto goto_2;
1391#line 1391 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1392 goto tmp3_done;
1393 }
1394 case 2: {
1395 /* Pattern matching succeeded */
1396#line 478 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1397 omc_Error_addInternalError(threadData, _OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)), _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)));
1398#line 1398 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1399#line 479 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1400 goto goto_2;
1401#line 1401 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1402 goto tmp3_done;
1403 }
1404 }
1405 goto tmp3_end;
1406 tmp3_end: ;
1407 }
1408 goto goto_2;
1409 tmp3_done:
1410 (void)tmp4;
1411 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1412 goto tmp3_done2;
1413 goto_2:;
1414 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1415 if (++tmp4 < 3) {
1416 goto tmp3_top;
1417 }
1418 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1419 tmp3_done2:;
1420 }
1421 }
1422 _correlationMatrix = tmp1;
1423 _return: OMC_LABEL_UNUSED__attribute__((unused))
1424 return _correlationMatrix;
1425}
1426PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_OpenTURNS_generateCorrelationMatrix(threadData_t *threadData, modelica_metatype _dae, modelica_metatype _numDists, modelica_metatype _uncertainVars)
1427{
1428 modelica_integer tmp1;
1429 modelica_string _correlationMatrix = NULL((void*)0);
1430 tmp1 = mmc_unbox_integer(_numDists)(((mmc_sint_t) (_numDists)) >> 1);
1431 _correlationMatrix = omc_OpenTURNS_generateCorrelationMatrix(threadData, _dae, tmp1, _uncertainVars);
1432 /* skip box _correlationMatrix; String */
1433 return _correlationMatrix;
1434}
1435
1436PROTECTED_FUNCTION_STATIC modelica_string omc_OpenTURNS_generateDistributionVariable(threadData_t *threadData, modelica_metatype _tpl, modelica_metatype _dae, modelica_metatype *out_distributionVar)
1437{
1438 modelica_string _str = NULL((void*)0);
1439 modelica_metatype _distributionVar = NULL((void*)0);
1440 modelica_string tmp1_c0 __attribute__((unused)) = 0;
1441 modelica_metatype tmpMeta[9] __attribute__((unused)) = {0};
1442 MMC_SO()mmc_check_stackoverflow(threadData);
1443 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1444 // _str has no default value.
1445 // _distributionVar has no default value.
1446#line 398 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1447
1448#line 398 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1449
1450#line 1450 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1451 { /* matchcontinue expression */
1452 volatile modelica_metatype tmp4_1;
1453 tmp4_1 = _tpl;
1454 {
1455 modelica_string _name = NULL((void*)0);
1456 modelica_string _args = NULL((void*)0);
1457 modelica_string _varName = NULL((void*)0);
1458 modelica_string _distVar = NULL((void*)0);
1459 modelica_metatype _e1 = NULL((void*)0);
1460 modelica_metatype _e2 = NULL((void*)0);
1461 modelica_metatype _e3 = NULL((void*)0);
1462 modelica_metatype _e2_1 = NULL((void*)0);
1463 modelica_metatype _e3_1 = NULL((void*)0);
1464 modelica_metatype _cr = NULL((void*)0);
1465 modelica_metatype _expl1 = NULL((void*)0);
1466 volatile mmc_switch_type tmp4;
1467 int tmp5;
1468 // _name has no default value.
1469 // _args has no default value.
1470 // _varName has no default value.
1471 // _distVar has no default value.
1472 // _e1 has no default value.
1473 // _e2 has no default value.
1474 // _e3 has no default value.
1475 // _e2_1 has no default value.
1476 // _e3_1 has no default value.
1477 // _cr has no default value.
1478 // _expl1 has no default value.
1479 tmp4 = 0;
1480 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
1481 tmp3_top:
1482 threadData->mmc_jumper = &new_mmc_jumper;
1483 for (; tmp4 < 3; tmp4++) {
1484 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1485 case 0: {
1486 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
1487 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
1488 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],2,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((1 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
1489 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
1490 if (9 != MMC_STRLEN(tmpMeta[4])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT35)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT35).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[4])(((struct mmc_string*)((void*)((char*)(tmpMeta[4]) - 3)))->
data)
) != 0) goto tmp3_end;
1491 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
1492 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],16,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((3 +1)
<< 10) + (((16 +3) & 255) << 2)))
== 0) goto tmp3_end;
1493 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (4)))))
;
1494 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (4)))))
;
1495 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[7],16,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[7]) - 3)))==(((3 +1)
<< 10) + (((16 +3) & 255) << 2)))
== 0) goto tmp3_end;
1496 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
1497 _name = tmpMeta[4];
1498 _expl1 = tmpMeta[6];
1499 _cr = tmpMeta[8];
1500 /* Pattern matching succeeded */
1501#line 409 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1502 _args = stringDelimitList(omc_List_map(threadData, _expl1, boxvar_ExpressionDump_printExpStr((void*)((char*)(&(boxvar_lit_ExpressionDump_printExpStr)
.header) + 3))
), _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)));
1503#line 1503 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1504
1505#line 411 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1506 _varName = omc_ComponentReference_crefStr(threadData, _cr);
1507#line 1507 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1508
1509#line 413 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1510 tmpMeta[2] = stringAppend(_OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)),omc_ComponentReference_crefModelicaStr(threadData, _cr));
1511#line 413 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1512 _distVar = tmpMeta[2];
1513#line 1513 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1514
1515#line 415 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1516 tmpMeta[2] = stringAppend(_distVar,_OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)));
1517#line 415 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1518 tmpMeta[3] = stringAppend(tmpMeta[2],_name);
1519#line 415 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1520 tmpMeta[4] = stringAppend(tmpMeta[3],_OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)));
1521#line 415 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1522 tmpMeta[5] = stringAppend(tmpMeta[4],_args);
1523#line 415 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1524 tmpMeta[6] = stringAppend(tmpMeta[5],_OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)));
1525#line 415 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1526 tmpMeta[7] = stringAppend(tmpMeta[6],_OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)));
1527#line 415 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1528 _str = tmpMeta[7];
1529#line 1529 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1530#line 416 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1531 tmpMeta[2] = mmc_mk_box2(0, _varName, _distVar);
1532#line 416 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1533 tmp1_c0 = _str;
1534#line 416 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1535 tmpMeta[0+1] = tmpMeta[2];
1536#line 1536 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1537 goto tmp3_done;
1538 }
1539 case 1: {
1540 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
1541 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
1542 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],2,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((1 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
1543 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
1544 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
1545 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],16,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((3 +1)
<< 10) + (((16 +3) & 255) << 2)))
== 0) goto tmp3_end;
1546 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (4)))))
;
1547 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (4)))))
;
1548 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[7],16,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[7]) - 3)))==(((3 +1)
<< 10) + (((16 +3) & 255) << 2)))
== 0) goto tmp3_end;
1549 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
1550 _name = tmpMeta[4];
1551 _expl1 = tmpMeta[6];
1552 _cr = tmpMeta[8];
1553 /* Pattern matching succeeded */
1554#line 423 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1555 _args = stringDelimitList(omc_List_map(threadData, _expl1, boxvar_ExpressionDump_printExpStr((void*)((char*)(&(boxvar_lit_ExpressionDump_printExpStr)
.header) + 3))
), _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)));
1556#line 1556 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1557
1558#line 425 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1559 _varName = omc_ComponentReference_crefStr(threadData, _cr);
1560#line 1560 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1561
1562#line 427 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1563 tmpMeta[2] = stringAppend(_OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)),omc_ComponentReference_crefModelicaStr(threadData, _cr));
1564#line 427 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1565 _distVar = tmpMeta[2];
1566#line 1566 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1567
1568#line 428 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1569 tmpMeta[2] = stringAppend(_distVar,_OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)));
1570#line 428 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1571 tmpMeta[3] = stringAppend(tmpMeta[2],_name);
1572#line 428 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1573 tmpMeta[4] = stringAppend(tmpMeta[3],_OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)));
1574#line 428 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1575 tmpMeta[5] = stringAppend(tmpMeta[4],_args);
1576#line 428 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1577 tmpMeta[6] = stringAppend(tmpMeta[5],_OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)));
1578#line 428 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1579 _str = tmpMeta[6];
1580#line 1580 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1581#line 429 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1582 tmpMeta[2] = mmc_mk_box2(0, _varName, _distVar);
1583#line 429 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1584 tmp1_c0 = _str;
1585#line 429 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1586 tmpMeta[0+1] = tmpMeta[2];
1587#line 1587 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1588 goto tmp3_done;
1589 }
1590 case 2: {
1591 modelica_boolean tmp6;
1592 modelica_boolean tmp7;
1593 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
1594 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
1595 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
1596 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (4)))))
;
1597 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
1598 _e1 = tmpMeta[3];
1599 _e2 = tmpMeta[4];
1600 _e3 = tmpMeta[5];
1601 _cr = tmpMeta[6];
1602 /* Pattern matching succeeded */
1603#line 434 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1604 _e2_1 = omc_Expression_extendArrExp(threadData, _e2, 0, NULL((void*)0));
1605#line 1605 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1606
1607#line 435 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1608 _e3_1 = omc_Expression_extendArrExp(threadData, _e3, 0, NULL((void*)0));
1609#line 1609 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1610
1611#line 436 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1612 /* Pattern-matching assignment */
1613#line 436 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1614 tmp6 = omc_Expression_expEqual(threadData, _e2, _e2_1);
1615#line 436 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1616 if (0 != tmp6) goto goto_2;
1617#line 1617 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1618
1619#line 437 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1620 /* Pattern-matching assignment */
1621#line 437 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1622 tmp7 = omc_Expression_expEqual(threadData, _e3, _e3_1);
1623#line 437 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1624 if (0 != tmp7) goto goto_2;
1625#line 1625 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1626#line 440 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1627 tmpMeta[2] = mmc_mk_box4(3, &DAE_Distribution_DISTRIBUTION__desc, _e1, _e2_1, _e3_1);
1628#line 440 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1629 tmpMeta[3] = mmc_mk_box2(0, tmpMeta[2], _cr);
1630#line 440 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1631 tmp1_c0 = omc_OpenTURNS_generateDistributionVariable(threadData, tmpMeta[3], _dae, &tmpMeta[0+1]);
1632#line 1632 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1633 goto tmp3_done;
1634 }
1635 }
1636 goto tmp3_end;
1637 tmp3_end: ;
1638 }
1639 goto goto_2;
1640 tmp3_done:
1641 (void)tmp4;
1642 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1643 goto tmp3_done2;
1644 goto_2:;
1645 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1646 if (++tmp4 < 3) {
1647 goto tmp3_top;
1648 }
1649 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1650 tmp3_done2:;
1651 }
1652 }
1653 _str = tmp1_c0;
1654 _distributionVar = tmpMeta[0+1];
1655 _return: OMC_LABEL_UNUSED__attribute__((unused))
1656 if (out_distributionVar) { *out_distributionVar = _distributionVar; }
1657 return _str;
1658}
1659
1660PROTECTED_FUNCTION_STATIC modelica_string omc_OpenTURNS_generateDistributions(threadData_t *threadData, modelica_metatype _dae, modelica_metatype *out_distributionVarLst)
1661{
1662 modelica_string _distributions = NULL((void*)0);
1663 modelica_metatype _distributionVarLst = NULL((void*)0);
1664 modelica_metatype _varLst = NULL((void*)0);
1665 modelica_metatype _dists = NULL((void*)0);
1666 modelica_metatype _sLst = NULL((void*)0);
1667 modelica_string _header = NULL((void*)0);
1668 modelica_metatype _dae2 = NULL((void*)0);
1669 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1670 MMC_SO()mmc_check_stackoverflow(threadData);
1671 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1672 // _distributions has no default value.
1673 // _distributionVarLst has no default value.
1674 // _varLst has no default value.
1675 // _dists has no default value.
1676 // _sLst has no default value.
1677 // _header has no default value.
1678 // _dae2 has no default value.
1679#line 373 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1680 _dae2 = omc_BackendDAEOptimize_removeParameters(threadData, _dae);
1681#line 1681 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1682
1683#line 377 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1684 _varLst = omc_BackendDAEUtil_getAllVarLst(threadData, _dae2);
1685#line 1685 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1686
1687#line 378 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1688 _varLst = omc_List_select(threadData, _varLst, boxvar_BackendVariable_varHasDistributionAttribute((void*)((char*)(&(boxvar_lit_BackendVariable_varHasDistributionAttribute
).header) + 3))
);
1689#line 1689 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1690
1691#line 380 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1692 omc_Error_assertion(threadData, (!listEmpty(_varLst)((*(mmc_uint_t*)((void*)((char*)(_varLst) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
), _OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)), _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)));
1693#line 1693 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1694
1695#line 381 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1696 _dists = omc_List_map(threadData, _varLst, boxvar_BackendVariable_varDistribution((void*)((char*)(&(boxvar_lit_BackendVariable_varDistribution
).header) + 3))
);
1697#line 1697 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1698
1699#line 382 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1700 _sLst = omc_List_map1__2(threadData, omc_List_threadTuple(threadData, _dists, omc_List_map(threadData, _varLst, boxvar_BackendVariable_varCref((void*)((char*)(&(boxvar_lit_BackendVariable_varCref).header
) + 3))
)), boxvar_OpenTURNS_generateDistributionVariable((void*)((char*)(&(boxvar_lit_OpenTURNS_generateDistributionVariable
).header) + 3))
, _dae2 ,&_distributionVarLst);
1701#line 1701 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1702
1703#line 385 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1704 _distributionVarLst = listReverse(_distributionVarLst);
1705#line 1705 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1706
1707#line 386 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1708 _sLst = listReverse(_sLst);
1709#line 1709 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1710
1711#line 388 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1712 tmpMeta[0] = stringAppend(_OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)),intString(listLength(_sLst)));
1713#line 388 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1714 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)));
1715#line 388 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1716 _header = tmpMeta[1];
1717#line 1717 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1718
1719#line 389 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1720 tmpMeta[0] = mmc_mk_cons(_header, _sLst);
1721#line 389 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1722 _distributions = stringDelimitList(tmpMeta[0], _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)));
1723#line 1723 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1724 _return: OMC_LABEL_UNUSED__attribute__((unused))
1725 if (out_distributionVarLst) { *out_distributionVarLst = _distributionVarLst; }
1726 return _distributions;
1727}
1728
1729PROTECTED_FUNCTION_STATIC modelica_string omc_OpenTURNS_generatePythonScript(threadData_t *threadData, modelica_metatype _inModelPath, modelica_string _templateFile, modelica_metatype _dae, modelica_metatype _inDaelow)
1730{
1731 modelica_string _pythonFileName = NULL((void*)0);
1732 modelica_string _templateFileContent = NULL((void*)0);
1733 modelica_string _modelName = NULL((void*)0);
1734 modelica_string _modelLastName = NULL((void*)0);
1735 modelica_string _distributions = NULL((void*)0);
1736 modelica_string _correlationMatrix = NULL((void*)0);
1737 modelica_string _collectionDistributions = NULL((void*)0);
1738 modelica_string _inputDescriptions = NULL((void*)0);
1739 modelica_string _pythonFileContent = NULL((void*)0);
1740 modelica_metatype _distributionVarLst = NULL((void*)0);
1741 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
1742 MMC_SO()mmc_check_stackoverflow(threadData);
1743 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1744 // _pythonFileName has no default value.
1745 // _templateFileContent has no default value.
1746 // _modelName has no default value.
1747 // _modelLastName has no default value.
1748 // _distributions has no default value.
1749 // _correlationMatrix has no default value.
1750 // _collectionDistributions has no default value.
1751 // _inputDescriptions has no default value.
1752 // _pythonFileContent has no default value.
1753 // _distributionVarLst has no default value.
1754#line 320 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1755 _modelName = omc_AbsynUtil_pathString(threadData, _inModelPath, _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)), 1, 0);
1756#line 1756 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1757
1758#line 321 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1759 _modelLastName = omc_AbsynUtil_pathLastIdent(threadData, _inModelPath);
1760#line 1760 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1761
1762#line 322 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1763 _templateFileContent = omc_System_readFile(threadData, _templateFile);
1764#line 1764 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1765
1766#line 324 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1767 _distributions = omc_OpenTURNS_generateDistributions(threadData, _inDaelow ,&_distributionVarLst);
1768#line 1768 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1769
1770#line 325 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1771 _correlationMatrix = omc_OpenTURNS_generateCorrelationMatrix(threadData, _inDaelow, listLength(_distributionVarLst), omc_List_map(threadData, _distributionVarLst, boxvar_Util_tuple21((void*)((char*)(&(boxvar_lit_Util_tuple21).header) + 3))));
1772#line 1772 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1773
1774#line 326 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1775 _collectionDistributions = omc_OpenTURNS_generateCollectionDistributions(threadData, _inDaelow, _distributionVarLst);
1776#line 1776 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1777
1778#line 327 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1779 _inputDescriptions = stringDelimitList(omc_List_map(threadData, _distributionVarLst, boxvar_OpenTURNS_getName((void*)((char*)(&(boxvar_lit_OpenTURNS_getName).header) +
3))
), _OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)));
1780#line 1780 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1781
1782#line 329 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1783 _pythonFileName = omc_System_stringReplace(threadData, _templateFile, _OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)), _modelName);
1784#line 1784 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1785
1786#line 332 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1787 _pythonFileContent = omc_System_stringReplace(threadData, _templateFileContent, _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)), _distributions);
1788#line 1788 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1789
1790#line 333 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1791 _pythonFileContent = omc_System_stringReplace(threadData, _pythonFileContent, _OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)), _correlationMatrix);
1792#line 1792 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1793
1794#line 334 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1795 _pythonFileContent = omc_System_stringReplace(threadData, _pythonFileContent, _OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)), _collectionDistributions);
1796#line 1796 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1797
1798#line 335 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1799 _pythonFileContent = omc_System_stringReplace(threadData, _pythonFileContent, _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)), _inputDescriptions);
1800#line 1800 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1801
1802#line 336 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1803 tmpMeta[0] = stringAppend(_modelLastName,_OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)));
1804#line 336 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1805 _pythonFileContent = omc_System_stringReplace(threadData, _pythonFileContent, _OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)), tmpMeta[0]);
1806#line 1806 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1807
1808#line 340 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1809 omc_System_writeFile(threadData, _pythonFileName, _pythonFileContent);
1810#line 1810 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1811 _return: OMC_LABEL_UNUSED__attribute__((unused))
1812 return _pythonFileName;
1813}
1814
1815PROTECTED_FUNCTION_STATIC modelica_metatype omc_OpenTURNS_generateXMLLibraryOutputs(threadData_t *threadData, modelica_metatype _varLst)
1816{
1817 modelica_metatype _strLst = NULL((void*)0);
1818 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1819 MMC_SO()mmc_check_stackoverflow(threadData);
1820 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1821 // _strLst has no default value.
1822#line 1822 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1823 { /* matchcontinue expression */
1824 volatile modelica_metatype tmp3_1;
1825 tmp3_1 = _varLst;
1826 {
1827 modelica_string _varName = NULL((void*)0);
1828 modelica_string _varStr = NULL((void*)0);
1829 modelica_metatype _v = NULL((void*)0);
1830 modelica_metatype _rest = NULL((void*)0);
1831 volatile mmc_switch_type tmp3;
1832 int tmp4;
1833 // _varName has no default value.
1834 // _varStr has no default value.
1835 // _v has no default value.
1836 // _rest has no default value.
1837 tmp3 = 0;
1838 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
1839 tmp2_top:
1840 threadData->mmc_jumper = &new_mmc_jumper;
1841 for (; tmp3 < 3; tmp3++) {
1842 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1843 case 0: {
1844 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1845 tmp3 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
1846#line 294 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1847 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1848#line 294 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1849 tmpMeta[0] = tmpMeta[1];
1850#line 1850 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1851 goto tmp2_done;
1852 }
1853 case 1: {
1854 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1855 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1856 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1857 _v = tmpMeta[1];
1858 _rest = tmpMeta[2];
1859 /* Pattern matching succeeded */
1860#line 296 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1861 /* Pattern-matching assignment */
1862#line 296 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1863 tmpMeta[1] = omc_BackendVariable_varUncertainty(threadData, _v);
1864#line 296 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1865 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],1,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((0 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto goto_1;
1866#line 1866 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1867
1868#line 297 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1869 _varName = omc_ComponentReference_crefStr(threadData, omc_BackendVariable_varCref(threadData, _v));
1870#line 1870 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1871
1872#line 298 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1873 tmpMeta[1] = stringAppend(_OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)),_varName);
1874#line 298 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1875 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)));
1876#line 298 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1877 _varStr = tmpMeta[2];
1878#line 1878 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1879
1880#line 299 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1881 _strLst = omc_OpenTURNS_generateXMLLibraryOutputs(threadData, _rest);
1882#line 1882 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1883#line 300 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1884 tmpMeta[1] = mmc_mk_cons(_varStr, _strLst);
1885#line 300 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1886 tmpMeta[0] = tmpMeta[1];
1887#line 1887 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1888 goto tmp2_done;
1889 }
1890 case 2: {
1891 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1892 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1893 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1894 _rest = tmpMeta[2];
1895 /* Pattern matching succeeded */
1896#line 302 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1897 tmpMeta[0] = omc_OpenTURNS_generateXMLLibraryOutputs(threadData, _rest);
1898#line 1898 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1899 goto tmp2_done;
1900 }
1901 }
1902 goto tmp2_end;
1903 tmp2_end: ;
1904 }
1905 goto goto_1;
1906 tmp2_done:
1907 (void)tmp3;
1908 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1909 goto tmp2_done2;
1910 goto_1:;
1911 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1912 if (++tmp3 < 3) {
1913 goto tmp2_top;
1914 }
1915 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1916 tmp2_done2:;
1917 }
1918 }
1919 _strLst = tmpMeta[0];
1920 _return: OMC_LABEL_UNUSED__attribute__((unused))
1921 return _strLst;
1922}
1923
1924PROTECTED_FUNCTION_STATIC modelica_metatype omc_OpenTURNS_generateXMLLibraryInputs(threadData_t *threadData, modelica_metatype _varLst)
1925{
1926 modelica_metatype _strLst = NULL((void*)0);
1927 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1928 MMC_SO()mmc_check_stackoverflow(threadData);
1929 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1930 // _strLst has no default value.
1931#line 1931 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1932 { /* matchcontinue expression */
1933 volatile modelica_metatype tmp3_1;
1934 tmp3_1 = _varLst;
1935 {
1936 modelica_string _varName = NULL((void*)0);
1937 modelica_string _varStr = NULL((void*)0);
1938 modelica_metatype _v = NULL((void*)0);
1939 modelica_metatype _rest = NULL((void*)0);
1940 volatile mmc_switch_type tmp3;
1941 int tmp4;
1942 // _varName has no default value.
1943 // _varStr has no default value.
1944 // _v has no default value.
1945 // _rest has no default value.
1946 tmp3 = 0;
1947 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
1948 tmp2_top:
1949 threadData->mmc_jumper = &new_mmc_jumper;
1950 for (; tmp3 < 4; tmp3++) {
1951 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1952 case 0: {
1953 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1954 tmp3 += 3; /* Pattern matching succeeded; we may skip some cases if we fail */
1955#line 263 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1956 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1957#line 263 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1958 tmpMeta[0] = tmpMeta[1];
1959#line 1959 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1960 goto tmp2_done;
1961 }
1962 case 1: {
1963 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1964 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1965 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1966 _v = tmpMeta[1];
1967 _rest = tmpMeta[2];
1968 /* Pattern matching succeeded */
1969#line 266 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1970 /* Pattern-matching assignment */
1971#line 266 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1972 tmpMeta[1] = omc_BackendVariable_varUncertainty(threadData, _v);
1973#line 266 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1974 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],0,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((0 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto goto_1;
1975#line 1975 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1976
1977#line 267 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1978 _varName = omc_ComponentReference_crefStr(threadData, omc_BackendVariable_varCref(threadData, _v));
1979#line 1979 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1980
1981#line 268 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1982 tmpMeta[1] = stringAppend(_OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)),_varName);
1983#line 268 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1984 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)));
1985#line 268 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1986 _varStr = tmpMeta[2];
1987#line 1987 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1988
1989#line 269 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1990 _strLst = omc_OpenTURNS_generateXMLLibraryInputs(threadData, _rest);
1991#line 1991 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1992#line 270 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1993 tmpMeta[1] = mmc_mk_cons(_varStr, _strLst);
1994#line 270 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
1995 tmpMeta[0] = tmpMeta[1];
1996#line 1996 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
1997 goto tmp2_done;
1998 }
1999 case 2: {
2000 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2001 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
2002 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2003 _v = tmpMeta[1];
2004 _rest = tmpMeta[2];
2005 /* Pattern matching succeeded */
2006#line 273 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2007 /* Pattern-matching assignment */
2008#line 273 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2009 tmpMeta[1] = omc_BackendVariable_varUncertainty(threadData, _v);
2010#line 273 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2011 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],2,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((0 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto goto_1;
2012#line 2012 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2013
2014#line 274 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2015 _varName = omc_ComponentReference_crefStr(threadData, omc_BackendVariable_varCref(threadData, _v));
2016#line 2016 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2017
2018#line 275 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2019 tmpMeta[1] = stringAppend(_OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)),_varName);
2020#line 275 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2021 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)));
2022#line 275 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2023 _varStr = tmpMeta[2];
2024#line 2024 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2025
2026#line 276 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2027 _strLst = omc_OpenTURNS_generateXMLLibraryInputs(threadData, _rest);
2028#line 2028 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2029#line 277 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2030 tmpMeta[1] = mmc_mk_cons(_varStr, _strLst);
2031#line 277 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2032 tmpMeta[0] = tmpMeta[1];
2033#line 2033 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2034 goto tmp2_done;
2035 }
2036 case 3: {
2037 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2038 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
2039 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2040 _rest = tmpMeta[2];
2041 /* Pattern matching succeeded */
2042#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2043 tmpMeta[0] = omc_OpenTURNS_generateXMLLibraryInputs(threadData, _rest);
2044#line 2044 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2045 goto tmp2_done;
2046 }
2047 }
2048 goto tmp2_end;
2049 tmp2_end: ;
2050 }
2051 goto goto_1;
2052 tmp2_done:
2053 (void)tmp3;
2054 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2055 goto tmp2_done2;
2056 goto_1:;
2057 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2058 if (++tmp3 < 4) {
2059 goto tmp2_top;
2060 }
2061 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2062 tmp2_done2:;
2063 }
2064 }
2065 _strLst = tmpMeta[0];
2066 _return: OMC_LABEL_UNUSED__attribute__((unused))
2067 return _strLst;
2068}
2069
2070PROTECTED_FUNCTION_STATIC modelica_string omc_OpenTURNS_generateXMLLibrary(threadData_t *threadData, modelica_string _className, modelica_metatype _dae)
2071{
2072 modelica_string _content = NULL((void*)0);
2073 modelica_metatype _varLst = NULL((void*)0);
2074 modelica_string _inputs = NULL((void*)0);
2075 modelica_string _outputs = NULL((void*)0);
2076 modelica_string _funcStr = NULL((void*)0);
2077 modelica_string _dllStr = NULL((void*)0);
2078 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
2079 MMC_SO()mmc_check_stackoverflow(threadData);
2080 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2081 // _content has no default value.
2082 // _varLst has no default value.
2083 // _inputs has no default value.
2084 // _outputs has no default value.
2085 // _funcStr has no default value.
2086 // _dllStr has no default value.
2087#line 218 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2088 _varLst = omc_BackendDAEUtil_getAllVarLst(threadData, _dae);
2089#line 2089 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2090
2091#line 219 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2092 _varLst = omc_List_select(threadData, _varLst, boxvar_BackendVariable_varHasUncertaintyAttribute((void*)((char*)(&(boxvar_lit_BackendVariable_varHasUncertaintyAttribute
).header) + 3))
);
2093#line 2093 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2094
2095#line 222 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2096 _inputs = stringDelimitList(omc_OpenTURNS_generateXMLLibraryInputs(threadData, _varLst), _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)));
2097#line 2097 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2098
2099#line 223 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2100 _outputs = stringDelimitList(omc_OpenTURNS_generateXMLLibraryOutputs(threadData, _varLst), _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)));
2101#line 2101 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2102
2103#line 224 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2104 tmpMeta[0] = stringAppend(_OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)),_className);
2105#line 224 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2106 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)));
2107#line 224 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2108 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)));
2109#line 224 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2110 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)));
2111#line 224 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2112 _dllStr = tmpMeta[3];
2113#line 2113 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2114
2115#line 225 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2116 tmpMeta[0] = stringAppend(_OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)),_className);
2117#line 225 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2118 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)));
2119#line 225 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2120 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)));
2121#line 225 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2122 _funcStr = tmpMeta[2];
2123#line 2123 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2124
2125#line 227 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2126 tmpMeta[0] = mmc_mk_cons(_OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3)), mmc_mk_cons(_OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)), mmc_mk_cons(_OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3)), mmc_mk_cons(_dllStr, mmc_mk_cons(_OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)), mmc_mk_cons(_OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)), mmc_mk_cons(_OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)), mmc_mk_cons(_OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)), mmc_mk_cons(_OMC_LIT62((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3)), mmc_mk_cons(_OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)), mmc_mk_cons(_OMC_LIT64((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3)), mmc_mk_cons(_inputs, mmc_mk_cons(_outputs, mmc_mk_cons(_OMC_LIT65((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3)), mmc_mk_cons(_OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)), mmc_mk_cons(_OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3)), mmc_mk_cons(_funcStr, mmc_mk_cons(_OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3)), mmc_mk_cons(_OMC_LIT68((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3)), mmc_mk_cons(_OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)), mmc_mk_cons(_OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3)), mmc_mk_cons(_OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3)), mmc_mk_cons(_OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)), mmc_mk_cons(_OMC_LIT72((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3)), MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))))))))))))))))))))))))));
2127#line 227 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2128 _content = stringDelimitList(tmpMeta[0], _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)));
2129#line 2129 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2130 _return: OMC_LABEL_UNUSED__attribute__((unused))
2131 return _content;
2132}
2133
2134PROTECTED_FUNCTION_STATIC modelica_string omc_OpenTURNS_generateXMLExternalCode(threadData_t *threadData, modelica_string _className, modelica_metatype _dae)
2135{
2136 modelica_string _content = NULL((void*)0);
2137 MMC_SO()mmc_check_stackoverflow(threadData);
2138 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2139 // _content has no default value.
2140#line 196 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2141 _content = _OMC_LIT73((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3));
2142#line 2142 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2143 _return: OMC_LABEL_UNUSED__attribute__((unused))
2144 return _content;
2145}
2146
2147PROTECTED_FUNCTION_STATIC modelica_string omc_OpenTURNS_generateXMLHeader(threadData_t *threadData, modelica_string _className)
2148{
2149 modelica_string _header = NULL((void*)0);
2150 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
2151 MMC_SO()mmc_check_stackoverflow(threadData);
2152 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2153 // _header has no default value.
2154#line 187 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2155 tmpMeta[0] = stringAppend(_OMC_LIT74((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3)),_className);
2156#line 187 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2157 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT75((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3)));
2158#line 187 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2159 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT76((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3)));
2160#line 187 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2161 _header = tmpMeta[2];
2162#line 2162 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2163 _return: OMC_LABEL_UNUSED__attribute__((unused))
2164 return _header;
2165}
2166
2167PROTECTED_FUNCTION_STATIC modelica_string omc_OpenTURNS_generateXMLFileContent(threadData_t *threadData, modelica_string _className, modelica_metatype _dae)
2168{
2169 modelica_string _content = NULL((void*)0);
2170 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
2171 MMC_SO()mmc_check_stackoverflow(threadData);
2172 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2173 // _content has no default value.
2174#line 180 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2175 tmpMeta[0] = stringAppend(omc_OpenTURNS_generateXMLHeader(threadData, _className),_OMC_LIT77((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3)));
2176#line 180 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2177 tmpMeta[1] = stringAppend(tmpMeta[0],omc_OpenTURNS_generateXMLLibrary(threadData, _className, _dae));
2178#line 180 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2179 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)));
2180#line 180 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2181 tmpMeta[3] = stringAppend(tmpMeta[2],omc_OpenTURNS_generateXMLExternalCode(threadData, _className, _dae));
2182#line 180 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2183 tmpMeta[4] = stringAppend(tmpMeta[3],_OMC_LIT78((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3)));
2184#line 180 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2185 _content = tmpMeta[4];
2186#line 2186 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2187 _return: OMC_LABEL_UNUSED__attribute__((unused))
2188 return _content;
2189}
2190
2191PROTECTED_FUNCTION_STATIC void omc_OpenTURNS_generateXMLFile(threadData_t *threadData, modelica_string _className, modelica_metatype _dae)
2192{
2193 modelica_string _xmlFileContent = NULL((void*)0);
2194 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
2195 MMC_SO()mmc_check_stackoverflow(threadData);
2196 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2197 // _xmlFileContent has no default value.
2198#line 171 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2199 _xmlFileContent = omc_OpenTURNS_generateXMLFileContent(threadData, _className, _dae);
2200#line 2200 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2201
2202#line 172 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2203 tmpMeta[0] = stringAppend(_className,_OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)));
2204#line 172 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2205 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT79((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3)));
2206#line 172 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2207 omc_System_writeFile(threadData, tmpMeta[1], _xmlFileContent);
2208#line 2208 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2209 _return: OMC_LABEL_UNUSED__attribute__((unused))
2210 return;
2211}
2212
2213PROTECTED_FUNCTION_STATIC void omc_OpenTURNS_generateWrapperLibrary(threadData_t *threadData, modelica_string _fullClassName, modelica_string _lastClassName)
2214{
2215 modelica_string _strCWrapperContents = NULL((void*)0);
2216 modelica_string _strWrapperNameDefine = NULL((void*)0);
2217 modelica_string _strMakefileContents = NULL((void*)0);
2218 modelica_string _compileWrapperCommand = NULL((void*)0);
2219 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
2220 MMC_SO()mmc_check_stackoverflow(threadData);
2221 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2222 // _strCWrapperContents has no default value.
2223 // _strWrapperNameDefine has no default value.
2224 // _strMakefileContents has no default value.
2225 // _compileWrapperCommand has no default value.
2226#line 145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2227 _strCWrapperContents = omc_System_readFile(threadData, omc_OpenTURNS_getFullShareFileName(threadData, _OMC_LIT80((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3))));
2228#line 2228 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2229
2230#line 146 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2231 _strCWrapperContents = omc_System_stringReplace(threadData, _strCWrapperContents, _OMC_LIT81((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3)), _fullClassName);
2232#line 2232 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2233
2234#line 147 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2235 tmpMeta[0] = stringAppend(_lastClassName,_OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)));
2236#line 147 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2237 _strCWrapperContents = omc_System_stringReplace(threadData, _strCWrapperContents, _OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)), tmpMeta[0]);
2238#line 2238 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2239
2240#line 149 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2241 tmpMeta[0] = stringAppend(_lastClassName,_OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)));
2242#line 149 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2243 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT82((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3)));
2244#line 149 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2245 omc_System_writeFile(threadData, tmpMeta[1], _strCWrapperContents);
2246#line 2246 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2247
2248#line 152 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2249 _strMakefileContents = omc_System_readFile(threadData, omc_OpenTURNS_getFullShareFileName(threadData, _OMC_LIT83((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3))));
2250#line 2250 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2251
2252#line 153 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2253 _strMakefileContents = omc_System_stringReplace(threadData, _strMakefileContents, _OMC_LIT81((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3)), _fullClassName);
2254#line 2254 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2255
2256#line 154 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2257 tmpMeta[0] = stringAppend(_lastClassName,_OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)));
2258#line 154 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2259 _strMakefileContents = omc_System_stringReplace(threadData, _strMakefileContents, _OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)), tmpMeta[0]);
2260#line 2260 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2261
2262#line 156 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2263 tmpMeta[0] = stringAppend(_lastClassName,_OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)));
2264#line 156 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2265 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT84((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3)));
2266#line 156 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2267 omc_System_writeFile(threadData, tmpMeta[1], _strMakefileContents);
2268#line 2268 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2269
2270#line 159 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2271 _compileWrapperCommand = omc_System_readFile(threadData, omc_OpenTURNS_getFullShareFileName(threadData, _OMC_LIT85((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3))));
2272#line 2272 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2273
2274#line 160 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2275 tmpMeta[0] = stringAppend(_lastClassName,_OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)));
2276#line 160 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2277 _compileWrapperCommand = omc_System_stringReplace(threadData, _compileWrapperCommand, _OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)), tmpMeta[0]);
2278#line 2278 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2279
2280#line 161 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2281 _compileWrapperCommand = omc_System_stringReplace(threadData, _compileWrapperCommand, _OMC_LIT86((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3)), omc_System_pwd(threadData));
2282#line 2282 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2283
2284#line 162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2285 tmpMeta[0] = stringAppend(_lastClassName,_OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)));
2286#line 162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2287 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)));
2288#line 162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2289 omc_OpenTURNS_runCommand(threadData, _compileWrapperCommand, tmpMeta[1]);
2290#line 2290 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2291 _return: OMC_LABEL_UNUSED__attribute__((unused))
2292 return;
2293}
2294
2295DLLExport
2296modelica_string omc_OpenTURNS_generateOpenTURNSInterface(threadData_t *threadData, modelica_metatype _inDaelow, modelica_metatype _inPath, modelica_metatype _inProgram, modelica_string _templateFile)
2297{
2298 modelica_string _scriptFile = NULL((void*)0);
2299 modelica_string _cname_str = NULL((void*)0);
2300 modelica_string _fileNamePrefix = NULL((void*)0);
2301 modelica_string _fileDir = NULL((void*)0);
2302 modelica_string _cname_last_str = NULL((void*)0);
2303 modelica_metatype _libs = NULL((void*)0);
2304 modelica_metatype _dae = NULL((void*)0);
2305 modelica_metatype _strippedDae = NULL((void*)0);
2306 modelica_metatype _simSettings = NULL((void*)0);
2307 modelica_metatype _initDAE = NULL((void*)0);
2308 modelica_metatype _initDAE_lambda0 = NULL((void*)0);
2309 modelica_metatype _removedInitialEquationLst = NULL((void*)0);
2310 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
2311 MMC_SO()mmc_check_stackoverflow(threadData);
2312 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2313 // _scriptFile has no default value.
2314 // _cname_str has no default value.
2315 // _fileNamePrefix has no default value.
2316 // _fileDir has no default value.
2317 // _cname_last_str has no default value.
2318 // _libs has no default value.
2319 // _dae has no default value.
2320 // _strippedDae has no default value.
2321 // _simSettings has no default value.
2322 // _initDAE has no default value.
2323 // _initDAE_lambda0 has no default value.
2324 // _removedInitialEquationLst has no default value.
2325#line 91 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2326 _cname_str = omc_AbsynUtil_pathString(threadData, _inPath, _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)), 1, 0);
2327#line 2327 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2328
2329#line 92 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2330 _cname_last_str = omc_AbsynUtil_pathLastIdent(threadData, _inPath);
2331#line 2331 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2332
2333#line 93 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2334 _fileNamePrefix = _cname_str;
2335#line 2335 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2336
2337#line 95 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2338 _simSettings = omc_CevalScriptBackend_convertSimulationOptionsToSimCode(threadData, omc_CevalScriptBackend_buildSimulationOptionsFromModelExperimentAnnotation(threadData, _inPath, _fileNamePrefix, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3))));
2339#line 2339 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2340
2341#line 102 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2342 _dae = omc_BackendDAEOptimize_removeParameters(threadData, _inDaelow);
2343#line 2343 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2344
2345#line 105 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2346 _scriptFile = omc_OpenTURNS_generatePythonScript(threadData, _inPath, _templateFile, _dae, _inDaelow);
2347#line 2347 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2348
2349#line 108 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2350 _strippedDae = omc_OpenTURNS_stripCorrelationFromDae(threadData, _inDaelow);
2351#line 2351 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2352
2353#line 110 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2354 _strippedDae = omc_BackendDAEUtil_getSolvedSystem(threadData, _strippedDae, _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)) ,&_initDAE ,&_initDAE_lambda0 ,NULL((void*)0) ,&_removedInitialEquationLst);
2355#line 2355 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2356
2357#line 114 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2358 omc_System_realtimeTock(threadData, ((modelica_integer) 14));
2359#line 2359 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2360
2361#line 116 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2362 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2363#line 116 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2364 _libs = omc_SimCodeMain_generateModelCode(threadData, _strippedDae, _initDAE, _initDAE_lambda0, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _removedInitialEquationLst, _inProgram, _inPath, _cname_str, mmc_mk_some(_simSettings), _OMC_LIT87((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3)), tmpMeta[0] ,&_fileDir ,NULL((void*)0) ,NULL((void*)0));
2365#line 2365 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2366
2367#line 119 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2368 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2369#line 119 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2370 omc_CevalScript_compileModel(threadData, _fileNamePrefix, _libs, _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)), tmpMeta[0]);
2371#line 2371 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2372
2373#line 121 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2374 omc_OpenTURNS_generateXMLFile(threadData, _cname_last_str, _strippedDae);
2375#line 2375 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2376
2377#line 122 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/OpenTURNS.mo"
2378 omc_OpenTURNS_generateWrapperLibrary(threadData, _cname_str, _cname_last_str);
2379#line 2379 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/OpenTURNS.c"
2380 _return: OMC_LABEL_UNUSED__attribute__((unused))
2381 return _scriptFile;
2382}
2383