Bug Summary

File:OMCompiler/Compiler/boot/build/EvaluateFunctions.c
Warning:line 9013, column 11
Value stored to '_cref1' 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/EvaluateFunctions.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/EvaluateFunctions.c" "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5#endif
6#include "omc_simulation_settings.h"
7#include "EvaluateFunctions.h"
8#define _OMC_LIT0_data"" ""
9static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT0,0,_OMC_LIT0_data)struct { mmc_uint_t header; const char data[(0)+1]; } _OMC_LIT_STRUCT0
= { ((((mmc_uint_t)0)<<(3))+((1<<(3+3))+5)), "" }
;
10#define _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT0)((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3))
11static const MMC_DEFREALLIT(_OMC_LIT_STRUCT1,0.0)struct mmc_real_lit _OMC_LIT_STRUCT1 = {0,(((8/8) << 10
) + 9),0.0}
;
12#define _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT1)((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3))
13static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT2,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT2
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).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_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3))}};
14#define _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT2)((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3))
15static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT3,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT3
= { (((1) << 10) + (((4) & 255) << 2)),
{&DAE_ComponentPrefix_NOCOMPPRE__desc,}};
16#define _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT3)((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3))
17static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT4,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT4
= { (((8) << 10) + (((3) & 255) << 2)),
{&DAE_ElementSource_SOURCE__desc,_OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),_OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
18#define _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT4)((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3))
19static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT5,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT5
= { (((1) << 10) + (((4) & 255) << 2)),
{&BackendDAE_EquationKind_DYNAMIC__EQUATION__desc,}};
20#define _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT5)((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3))
21static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT6,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT6
= { (((5) << 10) + (((3) & 255) << 2)),
{&BackendDAE_EvaluationStages_EVALUATION__STAGES__desc,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)))}};
22#define _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT6)((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3))
23static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT7,4,3)struct { mmc_uint_t header; const void *data[4]; } _OMC_LIT_STRUCT7
= { (((4) << 10) + (((3) & 255) << 2)),
{&BackendDAE_EquationAttributes_EQUATION__ATTRIBUTES__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)),_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3))}};
24#define _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT7)((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))
25#define _OMC_LIT8_data"der" "der"
26static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT8,3,_OMC_LIT8_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT8
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "der"
}
;
27#define _OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT8)((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3))
28static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT9,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT9
= { (((1) << 10) + (((3) & 255) << 2)),
{&BackendDAE_VarKind_VARIABLE__desc,}};
29#define _OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT9)((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3))
30static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT10,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT10
= { (((1) << 10) + (((3) & 255) << 2)),
{&DAE_Else_NOELSE__desc,}};
31#define _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT10)((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3))
32#define _OMC_LIT11_data"collectReplacements failed\n" "collectReplacements failed\n"
33static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT11,27,_OMC_LIT11_data)struct { mmc_uint_t header; const char data[(27)+1]; } _OMC_LIT_STRUCT11
= { ((((mmc_uint_t)27)<<(3))+((1<<(3+3))+5)), "collectReplacements failed\n"
}
;
34#define _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT11)((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3))
35#define _OMC_LIT12_data"--> the predicted const outputs:\n" "--> the predicted const outputs:\n"
36static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT12,33,_OMC_LIT12_data)struct { mmc_uint_t header; const char data[(33)+1]; } _OMC_LIT_STRUCT12
= { ((((mmc_uint_t)33)<<(3))+((1<<(3+3))+5)), "--> the predicted const outputs:\n"
}
;
37#define _OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT12)((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3))
38#define _OMC_LIT13_data"\n" "\n"
39static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT13,1,_OMC_LIT13_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT13
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "\n"
}
;
40#define _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT13)((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3))
41#define _OMC_LIT14_data"evalFuncDump" "evalFuncDump"
42static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT14,12,_OMC_LIT14_data)struct { mmc_uint_t header; const char data[(12)+1]; } _OMC_LIT_STRUCT14
= { ((((mmc_uint_t)12)<<(3))+((1<<(3+3))+5)), "evalFuncDump"
}
;
43#define _OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT14)((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3))
44#define _OMC_LIT15_data"dumps debug information about the function evaluation" "dumps debug information about the function evaluation"
45static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT15,53,_OMC_LIT15_data)struct { mmc_uint_t header; const char data[(53)+1]; } _OMC_LIT_STRUCT15
= { ((((mmc_uint_t)53)<<(3))+((1<<(3+3))+5)), "dumps debug information about the function evaluation"
}
;
46#define _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT15)((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3))
47static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT16,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT16
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3))}};
48#define _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT16)((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3))
49static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT17,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT17
= { (((5) << 10) + (((3) & 255) << 2)),
{&Flags_DebugFlag_DEBUG__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(104))((void*)(((((mmc_uint_t) (104)) << 1)+0))),_OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3))}};
50#define _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT17)((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))
51#define _OMC_LIT18_data"{" "{"
52static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT18,1,_OMC_LIT18_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT18
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "{"
}
;
53#define _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT18)((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3))
54#define _OMC_LIT19_data"," ","
55static 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)), ","
}
;
56#define _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT19)((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3))
57#define _OMC_LIT20_data"}" "}"
58static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT20,1,_OMC_LIT20_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT20
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "}"
}
;
59#define _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT20)((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3))
60#define _OMC_LIT21_data"the array cref before\n" "the array cref before\n"
61static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT21,22,_OMC_LIT21_data)struct { mmc_uint_t header; const char data[(22)+1]; } _OMC_LIT_STRUCT21
= { ((((mmc_uint_t)22)<<(3))+((1<<(3+3))+5)), "the array cref before\n"
}
;
62#define _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT21)((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3))
63#define _OMC_LIT22_data"update getScalarsForComplexVar for enumerations: the enum cref is :" "update getScalarsForComplexVar for enumerations: the enum cref is :"
64static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT22,67,_OMC_LIT22_data)struct { mmc_uint_t header; const char data[(67)+1]; } _OMC_LIT_STRUCT22
= { ((((mmc_uint_t)67)<<(3))+((1<<(3+3))+5)), "update getScalarsForComplexVar for enumerations: the enum cref is :"
}
;
65#define _OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT22)((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3))
66#define _OMC_LIT23_data"update getScalarsForComplexVar for tuple types: the tupl cref is :\n" "update getScalarsForComplexVar for tuple types: the tupl cref is :\n"
67static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT23,67,_OMC_LIT23_data)struct { mmc_uint_t header; const char data[(67)+1]; } _OMC_LIT_STRUCT23
= { ((((mmc_uint_t)67)<<(3))+((1<<(3+3))+5)), "update getScalarsForComplexVar for tuple types: the tupl cref is :\n"
}
;
68#define _OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT23)((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3))
69#define _OMC_LIT24_data"expType failed for: " "expType failed for: "
70static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT24,20,_OMC_LIT24_data)struct { mmc_uint_t header; const char data[(20)+1]; } _OMC_LIT_STRUCT24
= { ((((mmc_uint_t)20)<<(3))+((1<<(3+3))+5)), "expType failed for: "
}
;
71#define _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT24)((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3))
72#define _OMC_LIT25_data"equationToStmt failed for: " "equationToStmt failed for: "
73static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT25,27,_OMC_LIT25_data)struct { mmc_uint_t header; const char data[(27)+1]; } _OMC_LIT_STRUCT25
= { ((((mmc_uint_t)27)<<(3))+((1<<(3+3))+5)), "equationToStmt failed for: "
}
;
74#define _OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT25)((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3))
75#define _OMC_LIT26_data" check getStatementLHS for WHEN!\n" " check getStatementLHS for WHEN!\n"
76static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT26,33,_OMC_LIT26_data)struct { mmc_uint_t header; const char data[(33)+1]; } _OMC_LIT_STRUCT26
= { ((((mmc_uint_t)33)<<(3))+((1<<(3+3))+5)), " check getStatementLHS for WHEN!\n"
}
;
77#define _OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT26)((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3))
78#define _OMC_LIT27_data"getStatementLHS update for TERMINATE!\n" "getStatementLHS update for TERMINATE!\n"
79static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT27,38,_OMC_LIT27_data)struct { mmc_uint_t header; const char data[(38)+1]; } _OMC_LIT_STRUCT27
= { ((((mmc_uint_t)38)<<(3))+((1<<(3+3))+5)), "getStatementLHS update for TERMINATE!\n"
}
;
80#define _OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT27)((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3))
81#define _OMC_LIT28_data"getStatementLHS update for REINIT!\n" "getStatementLHS update for REINIT!\n"
82static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT28,35,_OMC_LIT28_data)struct { mmc_uint_t header; const char data[(35)+1]; } _OMC_LIT_STRUCT28
= { ((((mmc_uint_t)35)<<(3))+((1<<(3+3))+5)), "getStatementLHS update for REINIT!\n"
}
;
83#define _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT28)((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3))
84#define _OMC_LIT29_data"getStatementLHS update for RETURN!\n" "getStatementLHS update for RETURN!\n"
85static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT29,35,_OMC_LIT29_data)struct { mmc_uint_t header; const char data[(35)+1]; } _OMC_LIT_STRUCT29
= { ((((mmc_uint_t)35)<<(3))+((1<<(3+3))+5)), "getStatementLHS update for RETURN!\n"
}
;
86#define _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT29)((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3))
87#define _OMC_LIT30_data"getStatementLHS update for BREAK!\n" "getStatementLHS update for BREAK!\n"
88static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT30,34,_OMC_LIT30_data)struct { mmc_uint_t header; const char data[(34)+1]; } _OMC_LIT_STRUCT30
= { ((((mmc_uint_t)34)<<(3))+((1<<(3+3))+5)), "getStatementLHS update for BREAK!\n"
}
;
89#define _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT30)((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))
90#define _OMC_LIT31_data"getStatementLHS update for ARRAY_INIT!\n" "getStatementLHS update for ARRAY_INIT!\n"
91static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT31,39,_OMC_LIT31_data)struct { mmc_uint_t header; const char data[(39)+1]; } _OMC_LIT_STRUCT31
= { ((((mmc_uint_t)39)<<(3))+((1<<(3+3))+5)), "getStatementLHS update for ARRAY_INIT!\n"
}
;
92#define _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT31)((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3))
93#define _OMC_LIT32_data"getStatementLHS update for !\n" "getStatementLHS update for !\n"
94static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT32,29,_OMC_LIT32_data)struct { mmc_uint_t header; const char data[(29)+1]; } _OMC_LIT_STRUCT32
= { ((((mmc_uint_t)29)<<(3))+((1<<(3+3))+5)), "getStatementLHS update for !\n"
}
;
95#define _OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT32)((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3))
96#define _OMC_LIT33_data"equationToStatement failed!\n" "equationToStatement failed!\n"
97static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT33,28,_OMC_LIT33_data)struct { mmc_uint_t header; const char data[(28)+1]; } _OMC_LIT_STRUCT33
= { ((((mmc_uint_t)28)<<(3))+((1<<(3+3))+5)), "equationToStatement failed!\n"
}
;
98#define _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT33)((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3))
99#define _OMC_LIT34_data"-->try to check if its the elseif case\n" "-->try to check if its the elseif case\n"
100static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT34,39,_OMC_LIT34_data)struct { mmc_uint_t header; const char data[(39)+1]; } _OMC_LIT_STRUCT34
= { ((((mmc_uint_t)39)<<(3))+((1<<(3+3))+5)), "-->try to check if its the elseif case\n"
}
;
101#define _OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT34)((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3))
102#define _OMC_LIT35_data"-->try to check if its the if case\n" "-->try to check if its the if case\n"
103static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT35,35,_OMC_LIT35_data)struct { mmc_uint_t header; const char data[(35)+1]; } _OMC_LIT_STRUCT35
= { ((((mmc_uint_t)35)<<(3))+((1<<(3+3))+5)), "-->try to check if its the if case\n"
}
;
104#define _OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT35)((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3))
105#define _OMC_LIT36_data"-->is the if const? " "-->is the if const? "
106static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT36,20,_OMC_LIT36_data)struct { mmc_uint_t header; const char data[(20)+1]; } _OMC_LIT_STRUCT36
= { ((((mmc_uint_t)20)<<(3))+((1<<(3+3))+5)), "-->is the if const? "
}
;
107#define _OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT36)((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3))
108#define _OMC_LIT37_data"true" "true"
109static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT37,4,_OMC_LIT37_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT37
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "true"
}
;
110#define _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT37)((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3))
111#define _OMC_LIT38_data"false" "false"
112static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT38,5,_OMC_LIT38_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT38
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "false"
}
;
113#define _OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT38)((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3))
114#define _OMC_LIT39_data" and is it the if case ? " " and is it the if case ? "
115static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT39,25,_OMC_LIT39_data)struct { mmc_uint_t header; const char data[(25)+1]; } _OMC_LIT_STRUCT39
= { ((((mmc_uint_t)25)<<(3))+((1<<(3+3))+5)), " and is it the if case ? "
}
;
116#define _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT39)((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3))
117#define _OMC_LIT40_data"-->try to check if its another case\n" "-->try to check if its another case\n"
118static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT40,36,_OMC_LIT40_data)struct { mmc_uint_t header; const char data[(36)+1]; } _OMC_LIT_STRUCT40
= { ((((mmc_uint_t)36)<<(3))+((1<<(3+3))+5)), "-->try to check if its another case\n"
}
;
119#define _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT40)((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3))
120#define _OMC_LIT41_data"-->is it an other case? " "-->is it an other case? "
121static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT41,24,_OMC_LIT41_data)struct { mmc_uint_t header; const char data[(24)+1]; } _OMC_LIT_STRUCT41
= { ((((mmc_uint_t)24)<<(3))+((1<<(3+3))+5)), "-->is it an other case? "
}
;
122#define _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT41)((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3))
123#define _OMC_LIT42_data"evaluateIfStatement failed \n" "evaluateIfStatement failed \n"
124static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT42,28,_OMC_LIT42_data)struct { mmc_uint_t header; const char data[(28)+1]; } _OMC_LIT_STRUCT42
= { ((((mmc_uint_t)28)<<(3))+((1<<(3+3))+5)), "evaluateIfStatement failed \n"
}
;
125#define _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT42)((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3))
126static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT43,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT43
= { (((2) << 10) + (((3) & 255) << 2)),
{&DAE_Type_T__INTEGER__desc,MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
127#define _OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT43)((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3))
128#define _OMC_LIT44_data"For-loop evaluation is skipped, since the first loop evaluated nothing.\n" "For-loop evaluation is skipped, since the first loop evaluated nothing.\n"
129static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT44,72,_OMC_LIT44_data)struct { mmc_uint_t header; const char data[(72)+1]; } _OMC_LIT_STRUCT44
= { ((((mmc_uint_t)72)<<(3))+((1<<(3+3))+5)), "For-loop evaluation is skipped, since the first loop evaluated nothing.\n"
}
;
130#define _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT44)((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3))
131#define _OMC_LIT45_data"assignment:\n" "assignment:\n"
132static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT45,12,_OMC_LIT45_data)struct { mmc_uint_t header; const char data[(12)+1]; } _OMC_LIT_STRUCT45
= { ((((mmc_uint_t)12)<<(3))+((1<<(3+3))+5)), "assignment:\n"
}
;
133#define _OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT45)((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3))
134#define _OMC_LIT46_data"evaluated assignment to:\n" "evaluated assignment to:\n"
135static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT46,25,_OMC_LIT46_data)struct { mmc_uint_t header; const char data[(25)+1]; } _OMC_LIT_STRUCT46
= { ((((mmc_uint_t)25)<<(3))+((1<<(3+3))+5)), "evaluated assignment to:\n"
}
;
136#define _OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT46)((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3))
137#define _OMC_LIT47_data"Array assignment:\n" "Array assignment:\n"
138static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT47,18,_OMC_LIT47_data)struct { mmc_uint_t header; const char data[(18)+1]; } _OMC_LIT_STRUCT47
= { ((((mmc_uint_t)18)<<(3))+((1<<(3+3))+5)), "Array assignment:\n"
}
;
139#define _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT47)((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3))
140#define _OMC_LIT48_data"evaluated array assignment to:\n" "evaluated array assignment to:\n"
141static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT48,31,_OMC_LIT48_data)struct { mmc_uint_t header; const char data[(31)+1]; } _OMC_LIT_STRUCT48
= { ((((mmc_uint_t)31)<<(3))+((1<<(3+3))+5)), "evaluated array assignment to:\n"
}
;
142#define _OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT48)((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3))
143#define _OMC_LIT49_data"IF-statement:\n" "IF-statement:\n"
144static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT49,14,_OMC_LIT49_data)struct { mmc_uint_t header; const char data[(14)+1]; } _OMC_LIT_STRUCT49
= { ((((mmc_uint_t)14)<<(3))+((1<<(3+3))+5)), "IF-statement:\n"
}
;
145#define _OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT49)((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3))
146#define _OMC_LIT50_data"-->try to predict the outputs \n" "-->try to predict the outputs \n"
147static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT50,31,_OMC_LIT50_data)struct { mmc_uint_t header; const char data[(31)+1]; } _OMC_LIT_STRUCT50
= { ((((mmc_uint_t)31)<<(3))+((1<<(3+3))+5)), "-->try to predict the outputs \n"
}
;
148#define _OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT50)((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3))
149#define _OMC_LIT51_data"could it be predicted? " "could it be predicted? "
150static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT51,23,_OMC_LIT51_data)struct { mmc_uint_t header; const char data[(23)+1]; } _OMC_LIT_STRUCT51
= { ((((mmc_uint_t)23)<<(3))+((1<<(3+3))+5)), "could it be predicted? "
}
;
151#define _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT51)((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3))
152#define _OMC_LIT52_data"evaluated IF-statements to:\n" "evaluated IF-statements to:\n"
153static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT52,28,_OMC_LIT52_data)struct { mmc_uint_t header; const char data[(28)+1]; } _OMC_LIT_STRUCT52
= { ((((mmc_uint_t)28)<<(3))+((1<<(3+3))+5)), "evaluated IF-statements to:\n"
}
;
154#define _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT52)((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3))
155#define _OMC_LIT53_data"\n\n" "\n\n"
156static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT53,2,_OMC_LIT53_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT53
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "\n\n"
}
;
157#define _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT53)((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3))
158#define _OMC_LIT54_data"Tuple-statement:\n" "Tuple-statement:\n"
159static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT54,17,_OMC_LIT54_data)struct { mmc_uint_t header; const char data[(17)+1]; } _OMC_LIT_STRUCT54
= { ((((mmc_uint_t)17)<<(3))+((1<<(3+3))+5)), "Tuple-statement:\n"
}
;
160#define _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT54)((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3))
161#define _OMC_LIT55_data"--> is the tuple const? " "--> is the tuple const? "
162static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT55,24,_OMC_LIT55_data)struct { mmc_uint_t header; const char data[(24)+1]; } _OMC_LIT_STRUCT55
= { ((((mmc_uint_t)24)<<(3))+((1<<(3+3))+5)), "--> is the tuple const? "
}
;
163#define _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT55)((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3))
164#define _OMC_LIT56_data"evaluated Tuple-statements to (incl. addEqs):\n" "evaluated Tuple-statements to (incl. addEqs):\n"
165static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT56,46,_OMC_LIT56_data)struct { mmc_uint_t header; const char data[(46)+1]; } _OMC_LIT_STRUCT56
= { ((((mmc_uint_t)46)<<(3))+((1<<(3+3))+5)), "evaluated Tuple-statements to (incl. addEqs):\n"
}
;
166#define _OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT56)((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3))
167#define _OMC_LIT57_data"For-statement:\n" "For-statement:\n"
168static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT57,15,_OMC_LIT57_data)struct { mmc_uint_t header; const char data[(15)+1]; } _OMC_LIT_STRUCT57
= { ((((mmc_uint_t)15)<<(3))+((1<<(3+3))+5)), "For-statement:\n"
}
;
169#define _OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT57)((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3))
170#define _OMC_LIT58_data"evaluated for-statements to:\n" "evaluated for-statements to:\n"
171static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT58,29,_OMC_LIT58_data)struct { mmc_uint_t header; const char data[(29)+1]; } _OMC_LIT_STRUCT58
= { ((((mmc_uint_t)29)<<(3))+((1<<(3+3))+5)), "evaluated for-statements to:\n"
}
;
172#define _OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT58)((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3))
173#define _OMC_LIT59_data"While-statement (not evaluated):\n" "While-statement (not evaluated):\n"
174static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT59,33,_OMC_LIT59_data)struct { mmc_uint_t header; const char data[(33)+1]; } _OMC_LIT_STRUCT59
= { ((((mmc_uint_t)33)<<(3))+((1<<(3+3))+5)), "While-statement (not evaluated):\n"
}
;
175#define _OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT59)((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3))
176#define _OMC_LIT60_data"evaluated While-statement to:\n" "evaluated While-statement to:\n"
177static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT60,30,_OMC_LIT60_data)struct { mmc_uint_t header; const char data[(30)+1]; } _OMC_LIT_STRUCT60
= { ((((mmc_uint_t)30)<<(3))+((1<<(3+3))+5)), "evaluated While-statement to:\n"
}
;
178#define _OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT60)((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3))
179#define _OMC_LIT61_data"WARNING: " "WARNING: "
180static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT61,9,_OMC_LIT61_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT61
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "WARNING: "
}
;
181#define _OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT61)((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3))
182static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT62,2,6)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT62
= { (((2) << 10) + (((6) & 255) << 2)),
{&DAE_Exp_BCONST__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
183#define _OMC_LIT62((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT62)((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3))
184#define _OMC_LIT63_data"AssertionLevel.warning" "AssertionLevel.warning"
185static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT63,22,_OMC_LIT63_data)struct { mmc_uint_t header; const char data[(22)+1]; } _OMC_LIT_STRUCT63
= { ((((mmc_uint_t)22)<<(3))+((1<<(3+3))+5)), "AssertionLevel.warning"
}
;
186#define _OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT63)((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3))
187#define _OMC_LIT64_data"ERROR: " "ERROR: "
188static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT64,7,_OMC_LIT64_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT64
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "ERROR: "
}
;
189#define _OMC_LIT64((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT64)((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3))
190#define _OMC_LIT65_data"AssertionLevel.error" "AssertionLevel.error"
191static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT65,20,_OMC_LIT65_data)struct { mmc_uint_t header; const char data[(20)+1]; } _OMC_LIT_STRUCT65
= { ((((mmc_uint_t)20)<<(3))+((1<<(3+3))+5)), "AssertionLevel.error"
}
;
192#define _OMC_LIT65((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT65)((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3))
193#define _OMC_LIT66_data"assert-statement:\n" "assert-statement:\n"
194static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT66,18,_OMC_LIT66_data)struct { mmc_uint_t header; const char data[(18)+1]; } _OMC_LIT_STRUCT66
= { ((((mmc_uint_t)18)<<(3))+((1<<(3+3))+5)), "assert-statement:\n"
}
;
195#define _OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT66)((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3))
196#define _OMC_LIT67_data"terminate-statement:\n" "terminate-statement:\n"
197static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT67,21,_OMC_LIT67_data)struct { mmc_uint_t header; const char data[(21)+1]; } _OMC_LIT_STRUCT67
= { ((((mmc_uint_t)21)<<(3))+((1<<(3+3))+5)), "terminate-statement:\n"
}
;
198#define _OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT67)((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3))
199#define _OMC_LIT68_data"reinit-statement:\n" "reinit-statement:\n"
200static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT68,18,_OMC_LIT68_data)struct { mmc_uint_t header; const char data[(18)+1]; } _OMC_LIT_STRUCT68
= { ((((mmc_uint_t)18)<<(3))+((1<<(3+3))+5)), "reinit-statement:\n"
}
;
201#define _OMC_LIT68((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT68)((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3))
202#define _OMC_LIT69_data"noretcall-statement (not evaluated):\n" "noretcall-statement (not evaluated):\n"
203static 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)), "noretcall-statement (not evaluated):\n"
}
;
204#define _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT69)((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3))
205#define _OMC_LIT70_data"return-statement:\n" "return-statement:\n"
206static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT70,18,_OMC_LIT70_data)struct { mmc_uint_t header; const char data[(18)+1]; } _OMC_LIT_STRUCT70
= { ((((mmc_uint_t)18)<<(3))+((1<<(3+3))+5)), "return-statement:\n"
}
;
207#define _OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT70)((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3))
208#define _OMC_LIT71_data"generateConstEqs failed!\n" "generateConstEqs failed!\n"
209static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT71,25,_OMC_LIT71_data)struct { mmc_uint_t header; const char data[(25)+1]; } _OMC_LIT_STRUCT71
= { ((((mmc_uint_t)25)<<(3))+((1<<(3+3))+5)), "generateConstEqs failed!\n"
}
;
210#define _OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT71)((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3))
211#define _OMC_LIT72_data"_" "_"
212static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT72,1,_OMC_LIT72_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT72
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "_"
}
;
213#define _OMC_LIT72((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT72)((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3))
214#define _OMC_LIT73_data"." "."
215static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT73,1,_OMC_LIT73_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT73
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "."
}
;
216#define _OMC_LIT73((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT73)((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3))
217#define _OMC_LIT74_data"_eval" "_eval"
218static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT74,5,_OMC_LIT74_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT74
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "_eval"
}
;
219#define _OMC_LIT74((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT74)((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3))
220#define _OMC_LIT75_data"updateFunctionBody failed \n" "updateFunctionBody failed \n"
221static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT75,27,_OMC_LIT75_data)struct { mmc_uint_t header; const char data[(27)+1]; } _OMC_LIT_STRUCT75
= { ((((mmc_uint_t)27)<<(3))+((1<<(3+3))+5)), "updateFunctionBody failed \n"
}
;
222#define _OMC_LIT75((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT75)((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3))
223static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT76,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT76
= { (((1) << 10) + (((4) & 255) << 2)),
{&DAE_VarVisibility_PROTECTED__desc,}};
224#define _OMC_LIT76((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT76)((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3))
225static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT77,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT77
= { (((1) << 10) + (((5) & 255) << 2)),
{&DAE_VarDirection_BIDIR__desc,}};
226#define _OMC_LIT77((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT77)((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3))
227#define _OMC_LIT78_data"generateProtectedElements failed!\n" "generateProtectedElements failed!\n"
228static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT78,34,_OMC_LIT78_data)struct { mmc_uint_t header; const char data[(34)+1]; } _OMC_LIT_STRUCT78
= { ((((mmc_uint_t)34)<<(3))+((1<<(3+3))+5)), "generateProtectedElements failed!\n"
}
;
229#define _OMC_LIT78((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT78)((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3))
230#define _OMC_LIT79_data"generateOutputElements failed!\n" "generateOutputElements failed!\n"
231static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT79,31,_OMC_LIT79_data)struct { mmc_uint_t header; const char data[(31)+1]; } _OMC_LIT_STRUCT79
= { ((((mmc_uint_t)31)<<(3))+((1<<(3+3))+5)), "generateOutputElements failed!\n"
}
;
232#define _OMC_LIT79((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT79)((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3))
233#define _OMC_LIT80_data"checkIfOutputIsEvaluatedConstant failed!\n" "checkIfOutputIsEvaluatedConstant failed!\n"
234static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT80,41,_OMC_LIT80_data)struct { mmc_uint_t header; const char data[(41)+1]; } _OMC_LIT_STRUCT80
= { ((((mmc_uint_t)41)<<(3))+((1<<(3+3))+5)), "checkIfOutputIsEvaluatedConstant failed!\n"
}
;
235#define _OMC_LIT80((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT80)((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3))
236#define _OMC_LIT81_data"A partially constant array needs expansion. Thats not supported.\n" "A partially constant array needs expansion. Thats not supported.\n"
237static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT81,65,_OMC_LIT81_data)struct { mmc_uint_t header; const char data[(65)+1]; } _OMC_LIT_STRUCT81
= { ((((mmc_uint_t)65)<<(3))+((1<<(3+3))+5)), "A partially constant array needs expansion. Thats not supported.\n"
}
;
238#define _OMC_LIT81((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT81)((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3))
239#define _OMC_LIT82_data"buildVariableFunctionParts failed!\n" "buildVariableFunctionParts failed!\n"
240static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT82,35,_OMC_LIT82_data)struct { mmc_uint_t header; const char data[(35)+1]; } _OMC_LIT_STRUCT82
= { ((((mmc_uint_t)35)<<(3))+((1<<(3+3))+5)), "buildVariableFunctionParts failed!\n"
}
;
241#define _OMC_LIT82((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT82)((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3))
242#define _OMC_LIT83_data"\n scalarOutputs \n" "\n scalarOutputs \n"
243static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT83,17,_OMC_LIT83_data)struct { mmc_uint_t header; const char data[(17)+1]; } _OMC_LIT_STRUCT83
= { ((((mmc_uint_t)17)<<(3))+((1<<(3+3))+5)), "\n scalarOutputs \n"
}
;
244#define _OMC_LIT83((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT83)((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3))
245#define _OMC_LIT84_data"\n constScalarCrefs \n" "\n constScalarCrefs \n"
246static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT84,20,_OMC_LIT84_data)struct { mmc_uint_t header; const char data[(20)+1]; } _OMC_LIT_STRUCT84
= { ((((mmc_uint_t)20)<<(3))+((1<<(3+3))+5)), "\n constScalarCrefs \n"
}
;
247#define _OMC_LIT84((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT84)((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3))
248#define _OMC_LIT85_data"\n allOutputs \n" "\n allOutputs \n"
249static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT85,14,_OMC_LIT85_data)struct { mmc_uint_t header; const char data[(14)+1]; } _OMC_LIT_STRUCT85
= { ((((mmc_uint_t)14)<<(3))+((1<<(3+3))+5)), "\n allOutputs \n"
}
;
250#define _OMC_LIT85((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT85)((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3))
251#define _OMC_LIT86_data"\n lhsExpIn \n" "\n lhsExpIn \n"
252static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT86,12,_OMC_LIT86_data)struct { mmc_uint_t header; const char data[(12)+1]; } _OMC_LIT_STRUCT86
= { ((((mmc_uint_t)12)<<(3))+((1<<(3+3))+5)), "\n lhsExpIn \n"
}
;
253#define _OMC_LIT86((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT86)((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3))
254#define _OMC_LIT87_data"\nStart function evaluation of:\n" "\nStart function evaluation of:\n"
255static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT87,31,_OMC_LIT87_data)struct { mmc_uint_t header; const char data[(31)+1]; } _OMC_LIT_STRUCT87
= { ((((mmc_uint_t)31)<<(3))+((1<<(3+3))+5)), "\nStart function evaluation of:\n"
}
;
256#define _OMC_LIT87((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT87)((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3))
257#define _OMC_LIT88_data" := " " := "
258static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT88,4,_OMC_LIT88_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT88
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), " := "
}
;
259#define _OMC_LIT88((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT88)((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3))
260#define _OMC_LIT89_data"THIS FUNCTION CALL WITH THIS SPECIFIC SIGNATURE CANNOT BE EVALUTED\n" "THIS FUNCTION CALL WITH THIS SPECIFIC SIGNATURE CANNOT BE EVALUTED\n"
261static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT89,67,_OMC_LIT89_data)struct { mmc_uint_t header; const char data[(67)+1]; } _OMC_LIT_STRUCT89
= { ((((mmc_uint_t)67)<<(3))+((1<<(3+3))+5)), "THIS FUNCTION CALL WITH THIS SPECIFIC SIGNATURE CANNOT BE EVALUTED\n"
}
;
262#define _OMC_LIT89((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT89)((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3))
263#define _OMC_LIT90_data"Its a Built-In!\n" "Its a Built-In!\n"
264static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT90,16,_OMC_LIT90_data)struct { mmc_uint_t header; const char data[(16)+1]; } _OMC_LIT_STRUCT90
= { ((((mmc_uint_t)16)<<(3))+((1<<(3+3))+5)), "Its a Built-In!\n"
}
;
265#define _OMC_LIT90((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT90)((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3))
266#define _OMC_LIT91_data"Its a Record!\n" "Its a Record!\n"
267static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT91,14,_OMC_LIT91_data)struct { mmc_uint_t header; const char data[(14)+1]; } _OMC_LIT_STRUCT91
= { ((((mmc_uint_t)14)<<(3))+((1<<(3+3))+5)), "Its a Record!\n"
}
;
268#define _OMC_LIT91((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT91)((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3))
269#define _OMC_LIT92_data"the function output is not constant in any case\n" "the function output is not constant in any case\n"
270static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT92,48,_OMC_LIT92_data)struct { mmc_uint_t header; const char data[(48)+1]; } _OMC_LIT_STRUCT92
= { ((((mmc_uint_t)48)<<(3))+((1<<(3+3))+5)), "the function output is not constant in any case\n"
}
;
271#define _OMC_LIT92((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT92)((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3))
272#define _OMC_LIT93_data"the function output is completely constant\n" "the function output is completely constant\n"
273static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT93,43,_OMC_LIT93_data)struct { mmc_uint_t header; const char data[(43)+1]; } _OMC_LIT_STRUCT93
= { ((((mmc_uint_t)43)<<(3))+((1<<(3+3))+5)), "the function output is completely constant\n"
}
;
274#define _OMC_LIT93((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT93)((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3))
275#define _OMC_LIT94_data"the function output is completely constant but there is an assertion\n" "the function output is completely constant but there is an assertion\n"
276static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT94,69,_OMC_LIT94_data)struct { mmc_uint_t header; const char data[(69)+1]; } _OMC_LIT_STRUCT94
= { ((((mmc_uint_t)69)<<(3))+((1<<(3+3))+5)), "the function output is completely constant but there is an assertion\n"
}
;
277#define _OMC_LIT94((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT94)((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3))
278#define _OMC_LIT95_data"the evaluated function is not used because there is a return or a terminate or a reinit statement\n" "the evaluated function is not used because there is a return or a terminate or a reinit statement\n"
279static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT95,98,_OMC_LIT95_data)struct { mmc_uint_t header; const char data[(98)+1]; } _OMC_LIT_STRUCT95
= { ((((mmc_uint_t)98)<<(3))+((1<<(3+3))+5)), "the evaluated function is not used because there is a return or a terminate or a reinit statement\n"
}
;
280#define _OMC_LIT95((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT95)((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3))
281#define _OMC_LIT96_data"Finish evaluation:\n of: \n" "Finish evaluation:\n of: \n"
282static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT96,25,_OMC_LIT96_data)struct { mmc_uint_t header; const char data[(25)+1]; } _OMC_LIT_STRUCT96
= { ((((mmc_uint_t)25)<<(3))+((1<<(3+3))+5)), "Finish evaluation:\n of: \n"
}
;
283#define _OMC_LIT96((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT96)((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3))
284#define _OMC_LIT97_data"\nto:\n" "\nto:\n"
285static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT97,5,_OMC_LIT97_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT97
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "\nto:\n"
}
;
286#define _OMC_LIT97((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT97)((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3))
287#define _OMC_LIT98_data"including the additional equations:\n" "including the additional equations:\n"
288static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT98,36,_OMC_LIT98_data)struct { mmc_uint_t header; const char data[(36)+1]; } _OMC_LIT_STRUCT98
= { ((((mmc_uint_t)36)<<(3))+((1<<(3+3))+5)), "including the additional equations:\n"
}
;
289#define _OMC_LIT98((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT98)((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3))
290#define _OMC_LIT99_data"\nStart constant evaluation of expression: " "\nStart constant evaluation of expression: "
291static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT99,42,_OMC_LIT99_data)struct { mmc_uint_t header; const char data[(42)+1]; } _OMC_LIT_STRUCT99
= { ((((mmc_uint_t)42)<<(3))+((1<<(3+3))+5)), "\nStart constant evaluation of expression: "
}
;
292#define _OMC_LIT99((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT99)((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3))
293#define _OMC_LIT100_data"\nIts a record.\n" "\nIts a record.\n"
294static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT100,15,_OMC_LIT100_data)struct { mmc_uint_t header; const char data[(15)+1]; } _OMC_LIT_STRUCT100
= { ((((mmc_uint_t)15)<<(3))+((1<<(3+3))+5)), "\nIts a record.\n"
}
;
295#define _OMC_LIT100((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT100)((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3))
296#define _OMC_LIT101_data"\nevaluated to: " "\nevaluated to: "
297static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT101,15,_OMC_LIT101_data)struct { mmc_uint_t header; const char data[(15)+1]; } _OMC_LIT_STRUCT101
= { ((((mmc_uint_t)15)<<(3))+((1<<(3+3))+5)), "\nevaluated to: "
}
;
298#define _OMC_LIT101((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT101)((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3))
299#define _OMC_LIT102_data"this is an array equation. update evalFunctions_findFuncs\n" "this is an array equation. update evalFunctions_findFuncs\n"
300static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT102,58,_OMC_LIT102_data)struct { mmc_uint_t header; const char data[(58)+1]; } _OMC_LIT_STRUCT102
= { ((((mmc_uint_t)58)<<(3))+((1<<(3+3))+5)), "this is an array equation. update evalFunctions_findFuncs\n"
}
;
301#define _OMC_LIT102((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT102)((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3))
302static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT103,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT103
= { (((1) << 10) + (((3) & 255) << 2)),
{&EvaluateFunctions_Variability_CONST__desc,}};
303#define _OMC_LIT103((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT103)((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3))
304static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT104,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT104
= { (((1) << 10) + (((4) & 255) << 2)),
{&EvaluateFunctions_Variability_VARIABLE__desc,}};
305#define _OMC_LIT104((void*)((char*)(&(_OMC_LIT_STRUCT104).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT104)((void*)((char*)(&(_OMC_LIT_STRUCT104).header) + 3))
306#define _OMC_LIT105_data"evalFunc.getCallSignatureForCall failed for :\n" "evalFunc.getCallSignatureForCall failed for :\n"
307static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT105,46,_OMC_LIT105_data)struct { mmc_uint_t header; const char data[(46)+1]; } _OMC_LIT_STRUCT105
= { ((((mmc_uint_t)46)<<(3))+((1<<(3+3))+5)), "evalFunc.getCallSignatureForCall failed for :\n"
}
;
308#define _OMC_LIT105((void*)((char*)(&(_OMC_LIT_STRUCT105).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT105)((void*)((char*)(&(_OMC_LIT_STRUCT105).header) + 3))
309#define _OMC_LIT106_data"CONST" "CONST"
310static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT106,5,_OMC_LIT106_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT106
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "CONST"
}
;
311#define _OMC_LIT106((void*)((char*)(&(_OMC_LIT_STRUCT106).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT106)((void*)((char*)(&(_OMC_LIT_STRUCT106).header) + 3))
312#define _OMC_LIT107_data"VARIABLE" "VARIABLE"
313static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT107,8,_OMC_LIT107_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT107
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "VARIABLE"
}
;
314#define _OMC_LIT107((void*)((char*)(&(_OMC_LIT_STRUCT107).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT107)((void*)((char*)(&(_OMC_LIT_STRUCT107).header) + 3))
315#define _OMC_LIT108_data"[ " "[ "
316static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT108,2,_OMC_LIT108_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT108
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "[ "
}
;
317#define _OMC_LIT108((void*)((char*)(&(_OMC_LIT_STRUCT108).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT108)((void*)((char*)(&(_OMC_LIT_STRUCT108).header) + 3))
318#define _OMC_LIT109_data" | " " | "
319static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT109,3,_OMC_LIT109_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT109
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), " | "
}
;
320#define _OMC_LIT109((void*)((char*)(&(_OMC_LIT_STRUCT109).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT109)((void*)((char*)(&(_OMC_LIT_STRUCT109).header) + 3))
321#define _OMC_LIT110_data" ] " " ] "
322static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT110,3,_OMC_LIT110_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT110
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), " ] "
}
;
323#define _OMC_LIT110((void*)((char*)(&(_OMC_LIT_STRUCT110).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT110)((void*)((char*)(&(_OMC_LIT_STRUCT110).header) + 3))
324#include "util/modelica.h"
325
326#include "EvaluateFunctions_includes.h"
327
328
329/* default, do not make protected functions static */
330#if !defined(PROTECTED_FUNCTION_STATIC)
331#define PROTECTED_FUNCTION_STATIC
332#endif
333PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_makeBackendEquation(threadData_t *threadData, modelica_metatype _ls, modelica_metatype _rs);
334static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_makeBackendEquation,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_makeBackendEquation
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_makeBackendEquationomc_EvaluateFunctions_makeBackendEquation,0}};
335#define boxvar_EvaluateFunctions_makeBackendEquation((void*)((char*)(&(boxvar_lit_EvaluateFunctions_makeBackendEquation
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_makeBackendEquation)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_makeBackendEquation
).header) + 3))
336PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_convertTupleEquations(threadData_t *threadData, modelica_metatype _eqIn, modelica_metatype _addEqsIn, modelica_metatype *out_addEqsOut);
337static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_convertTupleEquations,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_convertTupleEquations
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_convertTupleEquationsomc_EvaluateFunctions_convertTupleEquations,0}};
338#define boxvar_EvaluateFunctions_convertTupleEquations((void*)((char*)(&(boxvar_lit_EvaluateFunctions_convertTupleEquations
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_convertTupleEquations)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_convertTupleEquations
).header) + 3))
339PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_findDerVarCrefs(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inCrefs, modelica_metatype *out_outCrefs);
340static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_findDerVarCrefs,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_findDerVarCrefs
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_findDerVarCrefsomc_EvaluateFunctions_findDerVarCrefs,0}};
341#define boxvar_EvaluateFunctions_findDerVarCrefs((void*)((char*)(&(boxvar_lit_EvaluateFunctions_findDerVarCrefs
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_findDerVarCrefs)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_findDerVarCrefs
).header) + 3))
342PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_setVarKindForStates(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _inCrefs, modelica_metatype *out_outCrefs);
343static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_setVarKindForStates,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_setVarKindForStates
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_setVarKindForStatesomc_EvaluateFunctions_setVarKindForStates,0}};
344#define boxvar_EvaluateFunctions_setVarKindForStates((void*)((char*)(&(boxvar_lit_EvaluateFunctions_setVarKindForStates
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_setVarKindForStates)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_setVarKindForStates
).header) + 3))
345PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_varSSisPreferOrHigher(threadData_t *threadData, modelica_metatype _varIn);
346PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_varSSisPreferOrHigher(threadData_t *threadData, modelica_metatype _varIn);
347static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_varSSisPreferOrHigher,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_varSSisPreferOrHigher
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_varSSisPreferOrHigher,0}};
348#define boxvar_EvaluateFunctions_varSSisPreferOrHigher((void*)((char*)(&(boxvar_lit_EvaluateFunctions_varSSisPreferOrHigher
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_varSSisPreferOrHigher)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_varSSisPreferOrHigher
).header) + 3))
349PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_updateVarKinds__eqSys(threadData_t *threadData, modelica_metatype _sysIn, modelica_metatype _shared);
350static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_updateVarKinds__eqSys,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_updateVarKinds__eqSys
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_updateVarKinds__eqSysomc_EvaluateFunctions_updateVarKinds__eqSys,0}};
351#define boxvar_EvaluateFunctions_updateVarKinds__eqSys((void*)((char*)(&(boxvar_lit_EvaluateFunctions_updateVarKinds__eqSys
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_updateVarKinds__eqSys)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_updateVarKinds__eqSys
).header) + 3))
352PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_updateVarKinds(threadData_t *threadData, modelica_metatype _inDAE);
353static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_updateVarKinds,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_updateVarKinds
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_updateVarKindsomc_EvaluateFunctions_updateVarKinds,0}};
354#define boxvar_EvaluateFunctions_updateVarKinds((void*)((char*)(&(boxvar_lit_EvaluateFunctions_updateVarKinds
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_updateVarKinds)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_updateVarKinds
).header) + 3))
355PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_makeAssignment(threadData_t *threadData, modelica_metatype _lhs, modelica_metatype _rhs);
356static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_makeAssignment,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_makeAssignment
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_makeAssignmentomc_EvaluateFunctions_makeAssignment,0}};
357#define boxvar_EvaluateFunctions_makeAssignment((void*)((char*)(&(boxvar_lit_EvaluateFunctions_makeAssignment
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_makeAssignment)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_makeAssignment
).header) + 3))
358PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_makeAssignmentMap(threadData_t *threadData, modelica_metatype _lhs, modelica_metatype _rhs);
359static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_makeAssignmentMap,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_makeAssignmentMap
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_makeAssignmentMapomc_EvaluateFunctions_makeAssignmentMap,0}};
360#define boxvar_EvaluateFunctions_makeAssignmentMap((void*)((char*)(&(boxvar_lit_EvaluateFunctions_makeAssignmentMap
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_makeAssignmentMap)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_makeAssignmentMap
).header) + 3))
361PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_compareConstantExps2(threadData_t *threadData, modelica_integer _idx, modelica_metatype _expLstLst, modelica_metatype _D_24in_pos);
362PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_compareConstantExps2(threadData_t *threadData, modelica_metatype _idx, modelica_metatype _expLstLst, modelica_metatype _D_24in_pos);
363static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_compareConstantExps2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_compareConstantExps2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_compareConstantExps2,0}};
364#define boxvar_EvaluateFunctions_compareConstantExps2((void*)((char*)(&(boxvar_lit_EvaluateFunctions_compareConstantExps2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_compareConstantExps2)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_compareConstantExps2
).header) + 3))
365PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_compareConstantExps(threadData_t *threadData, modelica_metatype _expLstLstIn);
366static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_compareConstantExps,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_compareConstantExps
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_compareConstantExpsomc_EvaluateFunctions_compareConstantExps,0}};
367#define boxvar_EvaluateFunctions_compareConstantExps((void*)((char*)(&(boxvar_lit_EvaluateFunctions_compareConstantExps
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_compareConstantExps)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_compareConstantExps
).header) + 3))
368PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_updateStatementsInElse(threadData_t *threadData, modelica_metatype _stmtLstIn, modelica_metatype _origElse);
369static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_updateStatementsInElse,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_updateStatementsInElse
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_updateStatementsInElseomc_EvaluateFunctions_updateStatementsInElse,0}};
370#define boxvar_EvaluateFunctions_updateStatementsInElse((void*)((char*)(&(boxvar_lit_EvaluateFunctions_updateStatementsInElse
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_updateStatementsInElse)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_updateStatementsInElse
).header) + 3))
371PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_updateStatementsInIfStmt(threadData_t *threadData, modelica_metatype _stmtLstIn, modelica_metatype _origIf);
372static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_updateStatementsInIfStmt,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_updateStatementsInIfStmt
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_updateStatementsInIfStmtomc_EvaluateFunctions_updateStatementsInIfStmt,0}};
373#define boxvar_EvaluateFunctions_updateStatementsInIfStmt((void*)((char*)(&(boxvar_lit_EvaluateFunctions_updateStatementsInIfStmt
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_updateStatementsInIfStmt)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_updateStatementsInIfStmt
).header) + 3))
374PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getOnlyConstantReplacements(threadData_t *threadData, modelica_metatype _replIn);
375static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_getOnlyConstantReplacements,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_getOnlyConstantReplacements
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_getOnlyConstantReplacementsomc_EvaluateFunctions_getOnlyConstantReplacements,0}};
376#define boxvar_EvaluateFunctions_getOnlyConstantReplacements((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getOnlyConstantReplacements
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_getOnlyConstantReplacements)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getOnlyConstantReplacements
).header) + 3))
377PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_collectReplacements1(threadData_t *threadData, modelica_metatype _stmtsIn, modelica_metatype _replIn);
378static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_collectReplacements1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_collectReplacements1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_collectReplacements1omc_EvaluateFunctions_collectReplacements1,0}};
379#define boxvar_EvaluateFunctions_collectReplacements1((void*)((char*)(&(boxvar_lit_EvaluateFunctions_collectReplacements1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_collectReplacements1)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_collectReplacements1
).header) + 3))
380PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_collectReplacements(threadData_t *threadData, modelica_metatype _stmtsIn);
381static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_collectReplacements,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_collectReplacements
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_collectReplacementsomc_EvaluateFunctions_collectReplacements,0}};
382#define boxvar_EvaluateFunctions_collectReplacements((void*)((char*)(&(boxvar_lit_EvaluateFunctions_collectReplacements
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_collectReplacements)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_collectReplacements
).header) + 3))
383PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_predictIfOutput(threadData_t *threadData, modelica_metatype _stmtIn, modelica_metatype _infoIn, modelica_metatype *out_infoOut);
384static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_predictIfOutput,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_predictIfOutput
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_predictIfOutputomc_EvaluateFunctions_predictIfOutput,0}};
385#define boxvar_EvaluateFunctions_predictIfOutput((void*)((char*)(&(boxvar_lit_EvaluateFunctions_predictIfOutput
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_predictIfOutput)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_predictIfOutput
).header) + 3))
386PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_evaluateFunctions__updateAllStatements(threadData_t *threadData, modelica_metatype _stmtsIn, modelica_metatype _elseStmtsLstIn, modelica_metatype _replIn, modelica_metatype _D_24in_funcTree, modelica_integer _D_24in_idx, modelica_metatype *out_funcTree, modelica_integer *out_idx);
387PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_evaluateFunctions__updateAllStatements(threadData_t *threadData, modelica_metatype _stmtsIn, modelica_metatype _elseStmtsLstIn, modelica_metatype _replIn, modelica_metatype _D_24in_funcTree, modelica_metatype _D_24in_idx, modelica_metatype *out_funcTree, modelica_metatype *out_idx);
388static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_evaluateFunctions__updateAllStatements,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_evaluateFunctions__updateAllStatements
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_evaluateFunctions__updateAllStatements,0}};
389#define boxvar_EvaluateFunctions_evaluateFunctions__updateAllStatements((void*)((char*)(&(boxvar_lit_EvaluateFunctions_evaluateFunctions__updateAllStatements
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_evaluateFunctions__updateAllStatements)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_evaluateFunctions__updateAllStatements
).header) + 3))
390PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_evaluateFunctions__updateStatementEmptyRepl(threadData_t *threadData, modelica_metatype _algsIn, modelica_metatype _inFuncTree, modelica_integer _inIndex, modelica_metatype *out_outFuncTree, modelica_integer *out_outIndex);
391PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_evaluateFunctions__updateStatementEmptyRepl(threadData_t *threadData, modelica_metatype _algsIn, modelica_metatype _inFuncTree, modelica_metatype _inIndex, modelica_metatype *out_outFuncTree, modelica_metatype *out_outIndex);
392static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_evaluateFunctions__updateStatementEmptyRepl,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_evaluateFunctions__updateStatementEmptyRepl
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_evaluateFunctions__updateStatementEmptyRepl,0}};
393#define boxvar_EvaluateFunctions_evaluateFunctions__updateStatementEmptyRepl((void*)((char*)(&(boxvar_lit_EvaluateFunctions_evaluateFunctions__updateStatementEmptyRepl
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_evaluateFunctions__updateStatementEmptyRepl)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_evaluateFunctions__updateStatementEmptyRepl
).header) + 3))
394PROTECTED_FUNCTION_STATIC modelica_integer omc_EvaluateFunctions_getScalarVarSize(threadData_t *threadData, modelica_metatype _inVar);
395PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_getScalarVarSize(threadData_t *threadData, modelica_metatype _inVar);
396static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_getScalarVarSize,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_getScalarVarSize
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_getScalarVarSize,0}};
397#define boxvar_EvaluateFunctions_getScalarVarSize((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getScalarVarSize
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_getScalarVarSize)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getScalarVarSize
).header) + 3))
398PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getVarLstFromType(threadData_t *threadData, modelica_metatype _tyIn);
399static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_getVarLstFromType,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_getVarLstFromType
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_getVarLstFromTypeomc_EvaluateFunctions_getVarLstFromType,0}};
400#define boxvar_EvaluateFunctions_getVarLstFromType((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getVarLstFromType
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_getVarLstFromType)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getVarLstFromType
).header) + 3))
401PROTECTED_FUNCTION_STATIC modelica_integer omc_EvaluateFunctions_getScalarExpSize(threadData_t *threadData, modelica_metatype _inExp);
402PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_getScalarExpSize(threadData_t *threadData, modelica_metatype _inExp);
403static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_getScalarExpSize,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_getScalarExpSize
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_getScalarExpSize,0}};
404#define boxvar_EvaluateFunctions_getScalarExpSize((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getScalarExpSize
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_getScalarExpSize)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getScalarExpSize
).header) + 3))
405PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_setTypesForScalarCrefs(threadData_t *threadData, modelica_metatype _allCrefs, modelica_metatype _types);
406static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_setTypesForScalarCrefs,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_setTypesForScalarCrefs
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_setTypesForScalarCrefsomc_EvaluateFunctions_setTypesForScalarCrefs,0}};
407#define boxvar_EvaluateFunctions_setTypesForScalarCrefs((void*)((char*)(&(boxvar_lit_EvaluateFunctions_setTypesForScalarCrefs
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_setTypesForScalarCrefs)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_setTypesForScalarCrefs
).header) + 3))
408PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_isNotComplexVar(threadData_t *threadData, modelica_metatype _inElem);
409PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_isNotComplexVar(threadData_t *threadData, modelica_metatype _inElem);
410static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_isNotComplexVar,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_isNotComplexVar
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_isNotComplexVar,0}};
411#define boxvar_EvaluateFunctions_isNotComplexVar((void*)((char*)(&(boxvar_lit_EvaluateFunctions_isNotComplexVar
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_isNotComplexVar)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_isNotComplexVar
).header) + 3))
412PROTECTED_FUNCTION_STATIC modelica_string omc_EvaluateFunctions_subsLstString(threadData_t *threadData, modelica_metatype _subs);
413static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_subsLstString,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_subsLstString
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_subsLstStringomc_EvaluateFunctions_subsLstString,0}};
414#define boxvar_EvaluateFunctions_subsLstString((void*)((char*)(&(boxvar_lit_EvaluateFunctions_subsLstString
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_subsLstString)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_subsLstString
).header) + 3))
415PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_expandDimension(threadData_t *threadData, modelica_metatype _dims, modelica_metatype _subsIn);
416static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_expandDimension,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_expandDimension
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_expandDimensionomc_EvaluateFunctions_expandDimension,0}};
417#define boxvar_EvaluateFunctions_expandDimension((void*)((char*)(&(boxvar_lit_EvaluateFunctions_expandDimension
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_expandDimension)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_expandDimension
).header) + 3))
418PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getScalarsForComplexVar(threadData_t *threadData, modelica_metatype _inElem);
419static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_getScalarsForComplexVar,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_getScalarsForComplexVar
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_getScalarsForComplexVaromc_EvaluateFunctions_getScalarsForComplexVar,0}};
420#define boxvar_EvaluateFunctions_getScalarsForComplexVar((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getScalarsForComplexVar
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_getScalarsForComplexVar)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getScalarsForComplexVar
).header) + 3))
421PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_expType(threadData_t *threadData, modelica_metatype _eIn);
422static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_expType,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_expType
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_expTypeomc_EvaluateFunctions_expType,0}};
423#define boxvar_EvaluateFunctions_expType((void*)((char*)(&(boxvar_lit_EvaluateFunctions_expType).
header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_expType)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_expType).
header) + 3))
424PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_equationToStmt(threadData_t *threadData, modelica_metatype _eqIn);
425static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_equationToStmt,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_equationToStmt
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_equationToStmtomc_EvaluateFunctions_equationToStmt,0}};
426#define boxvar_EvaluateFunctions_equationToStmt((void*)((char*)(&(boxvar_lit_EvaluateFunctions_equationToStmt
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_equationToStmt)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_equationToStmt
).header) + 3))
427PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_evaluateConstantFunctionWrapper(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_boolean *out_cont, modelica_metatype *out_outTpl);
428PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_evaluateConstantFunctionWrapper(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_metatype *out_cont, modelica_metatype *out_outTpl);
429static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_evaluateConstantFunctionWrapper,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_evaluateConstantFunctionWrapper
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_evaluateConstantFunctionWrapper,0}};
430#define boxvar_EvaluateFunctions_evaluateConstantFunctionWrapper((void*)((char*)(&(boxvar_lit_EvaluateFunctions_evaluateConstantFunctionWrapper
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_evaluateConstantFunctionWrapper)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_evaluateConstantFunctionWrapper
).header) + 3))
431PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getDAEelseStatemntLsts(threadData_t *threadData, modelica_metatype _elseIn, modelica_metatype _stmtLstsIn);
432static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_getDAEelseStatemntLsts,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_getDAEelseStatemntLsts
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_getDAEelseStatemntLstsomc_EvaluateFunctions_getDAEelseStatemntLsts,0}};
433#define boxvar_EvaluateFunctions_getDAEelseStatemntLsts((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getDAEelseStatemntLsts
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_getDAEelseStatemntLsts)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getDAEelseStatemntLsts
).header) + 3))
434PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getStatementsOutputs(threadData_t *threadData, modelica_metatype _statements, modelica_metatype _funcTree);
435static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_getStatementsOutputs,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_getStatementsOutputs
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_getStatementsOutputsomc_EvaluateFunctions_getStatementsOutputs,0}};
436#define boxvar_EvaluateFunctions_getStatementsOutputs((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getStatementsOutputs
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_getStatementsOutputs)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getStatementsOutputs
).header) + 3))
437PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getStatementLHSScalar(threadData_t *threadData, modelica_metatype _stmt, modelica_metatype _funcTree, modelica_metatype _expsIn);
438static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_getStatementLHSScalar,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_getStatementLHSScalar
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_getStatementLHSScalaromc_EvaluateFunctions_getStatementLHSScalar,0}};
439#define boxvar_EvaluateFunctions_getStatementLHSScalar((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getStatementLHSScalar
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_getStatementLHSScalar)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getStatementLHSScalar
).header) + 3))
440PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getStatementLHS(threadData_t *threadData, modelica_metatype _stmt, modelica_metatype _expsIn);
441static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_getStatementLHS,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_getStatementLHS
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_getStatementLHSomc_EvaluateFunctions_getStatementLHS,0}};
442#define boxvar_EvaluateFunctions_getStatementLHS((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getStatementLHS
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_getStatementLHS)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getStatementLHS
).header) + 3))
443PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_replaceExps(threadData_t *threadData, modelica_metatype _replIn, modelica_metatype _expsIn);
444static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_replaceExps,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_replaceExps
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_replaceExpsomc_EvaluateFunctions_replaceExps,0}};
445#define boxvar_EvaluateFunctions_replaceExps((void*)((char*)(&(boxvar_lit_EvaluateFunctions_replaceExps
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_replaceExps)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_replaceExps
).header) + 3))
446PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_equationToStatement(threadData_t *threadData, modelica_metatype _eqIn);
447static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_equationToStatement,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_equationToStatement
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_equationToStatementomc_EvaluateFunctions_equationToStatement,0}};
448#define boxvar_EvaluateFunctions_equationToStatement((void*)((char*)(&(boxvar_lit_EvaluateFunctions_equationToStatement
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_equationToStatement)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_equationToStatement
).header) + 3))
449PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_addTplReplacements(threadData_t *threadData, modelica_metatype _replIn, modelica_metatype _e1, modelica_metatype _e2);
450static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_addTplReplacements,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_addTplReplacements
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_addTplReplacementsomc_EvaluateFunctions_addTplReplacements,0}};
451#define boxvar_EvaluateFunctions_addTplReplacements((void*)((char*)(&(boxvar_lit_EvaluateFunctions_addTplReplacements
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_addTplReplacements)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_addTplReplacements
).header) + 3))
452PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_evaluateElse(threadData_t *threadData, modelica_metatype _elseIn, modelica_metatype _info, modelica_boolean *out_isElse);
453PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_evaluateElse(threadData_t *threadData, modelica_metatype _elseIn, modelica_metatype _info, modelica_metatype *out_isElse);
454static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_evaluateElse,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_evaluateElse
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_evaluateElse,0}};
455#define boxvar_EvaluateFunctions_evaluateElse((void*)((char*)(&(boxvar_lit_EvaluateFunctions_evaluateElse
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_evaluateElse)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_evaluateElse
).header) + 3))
456PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_evaluateIfStatement(threadData_t *threadData, modelica_metatype _stmtIn, modelica_metatype _info, modelica_metatype *out_stmtsOut, modelica_metatype *out_replOut);
457PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_evaluateIfStatement(threadData_t *threadData, modelica_metatype _stmtIn, modelica_metatype _info, modelica_metatype *out_stmtsOut, modelica_metatype *out_replOut);
458static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_evaluateIfStatement,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_evaluateIfStatement
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_evaluateIfStatement,0}};
459#define boxvar_EvaluateFunctions_evaluateIfStatement((void*)((char*)(&(boxvar_lit_EvaluateFunctions_evaluateIfStatement
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_evaluateIfStatement)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_evaluateIfStatement
).header) + 3))
460PROTECTED_FUNCTION_STATIC modelica_integer omc_EvaluateFunctions_getRangeBounds(threadData_t *threadData, modelica_metatype _range, modelica_integer *out_stop, modelica_integer *out_step);
461PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_getRangeBounds(threadData_t *threadData, modelica_metatype _range, modelica_metatype *out_stop, modelica_metatype *out_step);
462static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_getRangeBounds,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_getRangeBounds
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_getRangeBounds,0}};
463#define boxvar_EvaluateFunctions_getRangeBounds((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getRangeBounds
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_getRangeBounds)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getRangeBounds
).header) + 3))
464PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_evaluateForStatement(threadData_t *threadData, modelica_metatype _stmtIn, modelica_metatype _funcTreeIn, modelica_metatype _replIn, modelica_integer _idxIn, modelica_metatype *out_funcTreeOut, modelica_metatype *out_repl, modelica_integer *out_idxOut);
465PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_evaluateForStatement(threadData_t *threadData, modelica_metatype _stmtIn, modelica_metatype _funcTreeIn, modelica_metatype _replIn, modelica_metatype _idxIn, modelica_metatype *out_funcTreeOut, modelica_metatype *out_repl, modelica_metatype *out_idxOut);
466static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_evaluateForStatement,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_evaluateForStatement
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_evaluateForStatement,0}};
467#define boxvar_EvaluateFunctions_evaluateForStatement((void*)((char*)(&(boxvar_lit_EvaluateFunctions_evaluateForStatement
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_evaluateForStatement)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_evaluateForStatement
).header) + 3))
468PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_evaluateFunctions__updateStatement(threadData_t *threadData, modelica_metatype _D_24in_stmts, modelica_metatype _D_24in_funcTree, modelica_metatype _D_24in_repl, modelica_integer _D_24in_idx, modelica_metatype _lstIn, modelica_metatype *out_funcTree, modelica_metatype *out_repl, modelica_integer *out_idx);
469PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_evaluateFunctions__updateStatement(threadData_t *threadData, modelica_metatype _D_24in_stmts, modelica_metatype _D_24in_funcTree, modelica_metatype _D_24in_repl, modelica_metatype _D_24in_idx, modelica_metatype _lstIn, modelica_metatype *out_funcTree, modelica_metatype *out_repl, modelica_metatype *out_idx);
470static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_evaluateFunctions__updateStatement,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_evaluateFunctions__updateStatement
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_evaluateFunctions__updateStatement,0}};
471#define boxvar_EvaluateFunctions_evaluateFunctions__updateStatement((void*)((char*)(&(boxvar_lit_EvaluateFunctions_evaluateFunctions__updateStatement
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_evaluateFunctions__updateStatement)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_evaluateFunctions__updateStatement
).header) + 3))
472PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_unboxExp(threadData_t *threadData, modelica_metatype _ie, modelica_boolean _bIn, modelica_boolean *out_bOut);
473PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_unboxExp(threadData_t *threadData, modelica_metatype _ie, modelica_metatype _bIn, modelica_metatype *out_bOut);
474static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_unboxExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_unboxExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_unboxExp,0}};
475#define boxvar_EvaluateFunctions_unboxExp((void*)((char*)(&(boxvar_lit_EvaluateFunctions_unboxExp)
.header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_unboxExp)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_unboxExp)
.header) + 3))
476PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_evaluateFunctions__updateAlgElements(threadData_t *threadData, modelica_metatype _D_24in_element, modelica_metatype _D_24in_funcTree, modelica_metatype _D_24in_repl, modelica_integer _D_24in_idx, modelica_metatype *out_funcTree, modelica_metatype *out_repl, modelica_integer *out_idx);
477PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_evaluateFunctions__updateAlgElements(threadData_t *threadData, modelica_metatype _D_24in_element, modelica_metatype _D_24in_funcTree, modelica_metatype _D_24in_repl, modelica_metatype _D_24in_idx, modelica_metatype *out_funcTree, modelica_metatype *out_repl, modelica_metatype *out_idx);
478static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_evaluateFunctions__updateAlgElements,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_evaluateFunctions__updateAlgElements
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_evaluateFunctions__updateAlgElements,0}};
479#define boxvar_EvaluateFunctions_evaluateFunctions__updateAlgElements((void*)((char*)(&(boxvar_lit_EvaluateFunctions_evaluateFunctions__updateAlgElements
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_evaluateFunctions__updateAlgElements)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_evaluateFunctions__updateAlgElements
).header) + 3))
480PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_addReplacementRuleForAssignment(threadData_t *threadData, modelica_metatype _stmt, modelica_metatype _replIn);
481static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_addReplacementRuleForAssignment,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_addReplacementRuleForAssignment
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_addReplacementRuleForAssignmentomc_EvaluateFunctions_addReplacementRuleForAssignment,0}};
482#define boxvar_EvaluateFunctions_addReplacementRuleForAssignment((void*)((char*)(&(boxvar_lit_EvaluateFunctions_addReplacementRuleForAssignment
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_addReplacementRuleForAssignment)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_addReplacementRuleForAssignment
).header) + 3))
483PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_generateConstEqs(threadData_t *threadData, modelica_metatype _lhsLst, modelica_metatype _rhsLst, modelica_metatype _eqsIn);
484static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_generateConstEqs,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_generateConstEqs
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_generateConstEqsomc_EvaluateFunctions_generateConstEqs,0}};
485#define boxvar_EvaluateFunctions_generateConstEqs((void*)((char*)(&(boxvar_lit_EvaluateFunctions_generateConstEqs
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_generateConstEqs)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_generateConstEqs
).header) + 3))
486PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_statementRHSIsNotConst(threadData_t *threadData, modelica_metatype _stmt);
487PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_statementRHSIsNotConst(threadData_t *threadData, modelica_metatype _stmt);
488static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_statementRHSIsNotConst,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_statementRHSIsNotConst
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_statementRHSIsNotConst,0}};
489#define boxvar_EvaluateFunctions_statementRHSIsNotConst((void*)((char*)(&(boxvar_lit_EvaluateFunctions_statementRHSIsNotConst
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_statementRHSIsNotConst)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_statementRHSIsNotConst
).header) + 3))
490PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_replaceCrefIdent(threadData_t *threadData, modelica_metatype _crefIn, modelica_string _ident);
491static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_replaceCrefIdent,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_replaceCrefIdent
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_replaceCrefIdentomc_EvaluateFunctions_replaceCrefIdent,0}};
492#define boxvar_EvaluateFunctions_replaceCrefIdent((void*)((char*)(&(boxvar_lit_EvaluateFunctions_replaceCrefIdent
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_replaceCrefIdent)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_replaceCrefIdent
).header) + 3))
493PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_makeIdentCref2(threadData_t *threadData, modelica_metatype _crefIn, modelica_metatype _changeTheseCrefs);
494static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_makeIdentCref2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_makeIdentCref2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_makeIdentCref2omc_EvaluateFunctions_makeIdentCref2,0}};
495#define boxvar_EvaluateFunctions_makeIdentCref2((void*)((char*)(&(boxvar_lit_EvaluateFunctions_makeIdentCref2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_makeIdentCref2)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_makeIdentCref2
).header) + 3))
496PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_makeIdentCref(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inCrefs, modelica_metatype *out_outCrefs);
497static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_makeIdentCref,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_makeIdentCref
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_makeIdentCrefomc_EvaluateFunctions_makeIdentCref,0}};
498#define boxvar_EvaluateFunctions_makeIdentCref((void*)((char*)(&(boxvar_lit_EvaluateFunctions_makeIdentCref
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_makeIdentCref)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_makeIdentCref
).header) + 3))
499PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_traverseStmtsAndUpdate(threadData_t *threadData, modelica_metatype _stmtsIn, modelica_fnptr _func, modelica_metatype _argIn, modelica_metatype _stmtsFold);
500static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_traverseStmtsAndUpdate,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_traverseStmtsAndUpdate
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_traverseStmtsAndUpdateomc_EvaluateFunctions_traverseStmtsAndUpdate,0}};
501#define boxvar_EvaluateFunctions_traverseStmtsAndUpdate((void*)((char*)(&(boxvar_lit_EvaluateFunctions_traverseStmtsAndUpdate
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_traverseStmtsAndUpdate)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_traverseStmtsAndUpdate
).header) + 3))
502PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_stmtCanBeRemoved(threadData_t *threadData, modelica_metatype _stmtIn, modelica_metatype _repl);
503static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_stmtCanBeRemoved,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_stmtCanBeRemoved
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_stmtCanBeRemovedomc_EvaluateFunctions_stmtCanBeRemoved,0}};
504#define boxvar_EvaluateFunctions_stmtCanBeRemoved((void*)((char*)(&(boxvar_lit_EvaluateFunctions_stmtCanBeRemoved
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_stmtCanBeRemoved)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_stmtCanBeRemoved
).header) + 3))
505PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_buildPartialFunction(threadData_t *threadData, modelica_metatype _varPart, modelica_metatype _constPart, modelica_metatype _replIn, modelica_metatype *out_eqsOut);
506static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_buildPartialFunction,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_buildPartialFunction
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_buildPartialFunctionomc_EvaluateFunctions_buildPartialFunction,0}};
507#define boxvar_EvaluateFunctions_buildPartialFunction((void*)((char*)(&(boxvar_lit_EvaluateFunctions_buildPartialFunction
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_buildPartialFunction)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_buildPartialFunction
).header) + 3))
508PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_updateFunctionType(threadData_t *threadData, modelica_metatype _typIn, modelica_metatype _outputs, modelica_metatype _originOutputs);
509static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_updateFunctionType,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_updateFunctionType
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_updateFunctionTypeomc_EvaluateFunctions_updateFunctionType,0}};
510#define boxvar_EvaluateFunctions_updateFunctionType((void*)((char*)(&(boxvar_lit_EvaluateFunctions_updateFunctionType
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_updateFunctionType)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_updateFunctionType
).header) + 3))
511PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_updateFunctionBody(threadData_t *threadData, modelica_metatype _funcIn, modelica_metatype _body, modelica_integer _idx, modelica_metatype _outputs, modelica_metatype _origOutputs, modelica_metatype *out_pathOut);
512PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_updateFunctionBody(threadData_t *threadData, modelica_metatype _funcIn, modelica_metatype _body, modelica_metatype _idx, modelica_metatype _outputs, modelica_metatype _origOutputs, modelica_metatype *out_pathOut);
513static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_updateFunctionBody,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_updateFunctionBody
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_updateFunctionBody,0}};
514#define boxvar_EvaluateFunctions_updateFunctionBody((void*)((char*)(&(boxvar_lit_EvaluateFunctions_updateFunctionBody
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_updateFunctionBody)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_updateFunctionBody
).header) + 3))
515PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_generateProtectedElements(threadData_t *threadData, modelica_metatype _cref, modelica_metatype _inFuncOutputs, modelica_metatype _recId);
516static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_generateProtectedElements,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_generateProtectedElements
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_generateProtectedElementsomc_EvaluateFunctions_generateProtectedElements,0}};
517#define boxvar_EvaluateFunctions_generateProtectedElements((void*)((char*)(&(boxvar_lit_EvaluateFunctions_generateProtectedElements
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_generateProtectedElements)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_generateProtectedElements
).header) + 3))
518PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_generateOutputElements(threadData_t *threadData, modelica_metatype _cref, modelica_metatype _inFuncOutputs, modelica_metatype _recId);
519static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_generateOutputElements,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_generateOutputElements
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_generateOutputElementsomc_EvaluateFunctions_generateOutputElements,0}};
520#define boxvar_EvaluateFunctions_generateOutputElements((void*)((char*)(&(boxvar_lit_EvaluateFunctions_generateOutputElements
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_generateOutputElements)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_generateOutputElements
).header) + 3))
521PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_checkIfOutputIsEvaluatedConstant(threadData_t *threadData, modelica_metatype _elements, modelica_metatype _constCrefs, modelica_metatype _constComplexLstIn, modelica_metatype _varComplexLstIn, modelica_metatype _constScalarLstIn, modelica_metatype _varScalarLstIn, modelica_metatype *out_varComplexLstOut, modelica_metatype *out_constScalarLstOut, modelica_metatype *out_varScalarLstOut);
522static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_checkIfOutputIsEvaluatedConstant,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_checkIfOutputIsEvaluatedConstant
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_checkIfOutputIsEvaluatedConstantomc_EvaluateFunctions_checkIfOutputIsEvaluatedConstant,0}};
523#define boxvar_EvaluateFunctions_checkIfOutputIsEvaluatedConstant((void*)((char*)(&(boxvar_lit_EvaluateFunctions_checkIfOutputIsEvaluatedConstant
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_checkIfOutputIsEvaluatedConstant)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_checkIfOutputIsEvaluatedConstant
).header) + 3))
524PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_buildConstFunctionCrefs(threadData_t *threadData, modelica_metatype _constScalarCrefs, modelica_metatype _constComplCrefs, modelica_metatype _allOutputCrefs, modelica_metatype _lhsExpIn, modelica_metatype *out_constComplCrefsOut);
525static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_buildConstFunctionCrefs,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_buildConstFunctionCrefs
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_buildConstFunctionCrefsomc_EvaluateFunctions_buildConstFunctionCrefs,0}};
526#define boxvar_EvaluateFunctions_buildConstFunctionCrefs((void*)((char*)(&(boxvar_lit_EvaluateFunctions_buildConstFunctionCrefs
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_buildConstFunctionCrefs)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_buildConstFunctionCrefs
).header) + 3))
527PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_buildVariableFunctionParts(threadData_t *threadData, modelica_metatype _scalarOutputs, modelica_metatype _constComplexCrefs, modelica_metatype _varComplexCrefs, modelica_metatype _constScalarCrefs, modelica_metatype _varScalarCrefs, modelica_metatype _allOutputs, modelica_metatype _lhsExpIn, modelica_metatype *out_outputExpOut, modelica_metatype *out_varScalarCrefsInFunc);
528static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_buildVariableFunctionParts,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_buildVariableFunctionParts
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_buildVariableFunctionPartsomc_EvaluateFunctions_buildVariableFunctionParts,0}};
529#define boxvar_EvaluateFunctions_buildVariableFunctionParts((void*)((char*)(&(boxvar_lit_EvaluateFunctions_buildVariableFunctionParts
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_buildVariableFunctionParts)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_buildVariableFunctionParts
).header) + 3))
530PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_partiallyConstantArrayNeedsExpansion(threadData_t *threadData, modelica_metatype _allOutputCrefsIn, modelica_metatype _constScalarCrefs);
531PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_partiallyConstantArrayNeedsExpansion(threadData_t *threadData, modelica_metatype _allOutputCrefsIn, modelica_metatype _constScalarCrefs);
532static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_partiallyConstantArrayNeedsExpansion,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_partiallyConstantArrayNeedsExpansion
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_partiallyConstantArrayNeedsExpansion,0}};
533#define boxvar_EvaluateFunctions_partiallyConstantArrayNeedsExpansion((void*)((char*)(&(boxvar_lit_EvaluateFunctions_partiallyConstantArrayNeedsExpansion
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_partiallyConstantArrayNeedsExpansion)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_partiallyConstantArrayNeedsExpansion
).header) + 3))
534PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_scalarRecCrefsForOneDimRec(threadData_t *threadData, modelica_metatype _crefIn);
535static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_scalarRecCrefsForOneDimRec,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_scalarRecCrefsForOneDimRec
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_scalarRecCrefsForOneDimRecomc_EvaluateFunctions_scalarRecCrefsForOneDimRec,0}};
536#define boxvar_EvaluateFunctions_scalarRecCrefsForOneDimRec((void*)((char*)(&(boxvar_lit_EvaluateFunctions_scalarRecCrefsForOneDimRec
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_scalarRecCrefsForOneDimRec)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_scalarRecCrefsForOneDimRec
).header) + 3))
537PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_scalarRecExpForOneDimRec(threadData_t *threadData, modelica_metatype _expIn);
538static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_scalarRecExpForOneDimRec,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_scalarRecExpForOneDimRec
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_scalarRecExpForOneDimRecomc_EvaluateFunctions_scalarRecExpForOneDimRec,0}};
539#define boxvar_EvaluateFunctions_scalarRecExpForOneDimRec((void*)((char*)(&(boxvar_lit_EvaluateFunctions_scalarRecExpForOneDimRec
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_scalarRecExpForOneDimRec)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_scalarRecExpForOneDimRec
).header) + 3))
540PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_setRecordTypes(threadData_t *threadData, modelica_metatype _inExp);
541static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_setRecordTypes,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_setRecordTypes
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_setRecordTypesomc_EvaluateFunctions_setRecordTypes,0}};
542#define boxvar_EvaluateFunctions_setRecordTypes((void*)((char*)(&(boxvar_lit_EvaluateFunctions_setRecordTypes
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_setRecordTypes)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_setRecordTypes
).header) + 3))
543PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_hasReinitFold(threadData_t *threadData, modelica_metatype _stmt, modelica_boolean _bIn);
544PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_hasReinitFold(threadData_t *threadData, modelica_metatype _stmt, modelica_metatype _bIn);
545static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_hasReinitFold,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_hasReinitFold
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_hasReinitFold,0}};
546#define boxvar_EvaluateFunctions_hasReinitFold((void*)((char*)(&(boxvar_lit_EvaluateFunctions_hasReinitFold
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_hasReinitFold)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_hasReinitFold
).header) + 3))
547PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_hasReturnFold(threadData_t *threadData, modelica_metatype _stmt, modelica_boolean _bIn);
548PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_hasReturnFold(threadData_t *threadData, modelica_metatype _stmt, modelica_metatype _bIn);
549static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_hasReturnFold,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_hasReturnFold
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_hasReturnFold,0}};
550#define boxvar_EvaluateFunctions_hasReturnFold((void*)((char*)(&(boxvar_lit_EvaluateFunctions_hasReturnFold
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_hasReturnFold)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_hasReturnFold
).header) + 3))
551PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_hasAssertFold(threadData_t *threadData, modelica_metatype _stmt, modelica_boolean _bIn);
552PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_hasAssertFold(threadData_t *threadData, modelica_metatype _stmt, modelica_metatype _bIn);
553static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_hasAssertFold,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_hasAssertFold
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_hasAssertFold,0}};
554#define boxvar_EvaluateFunctions_hasAssertFold((void*)((char*)(&(boxvar_lit_EvaluateFunctions_hasAssertFold
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_hasAssertFold)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_hasAssertFold
).header) + 3))
555PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_expandComplexElementsToCrefs(threadData_t *threadData, modelica_metatype _e);
556static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_expandComplexElementsToCrefs,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_expandComplexElementsToCrefs
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_expandComplexElementsToCrefsomc_EvaluateFunctions_expandComplexElementsToCrefs,0}};
557#define boxvar_EvaluateFunctions_expandComplexElementsToCrefs((void*)((char*)(&(boxvar_lit_EvaluateFunctions_expandComplexElementsToCrefs
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_expandComplexElementsToCrefs)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_expandComplexElementsToCrefs
).header) + 3))
558PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_expandComplexEpressions(threadData_t *threadData, modelica_metatype _e, modelica_metatype _funcs);
559static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_expandComplexEpressions,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_expandComplexEpressions
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_expandComplexEpressionsomc_EvaluateFunctions_expandComplexEpressions,0}};
560#define boxvar_EvaluateFunctions_expandComplexEpressions((void*)((char*)(&(boxvar_lit_EvaluateFunctions_expandComplexEpressions
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_expandComplexEpressions)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_expandComplexEpressions
).header) + 3))
561PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_doNotInline(threadData_t *threadData, modelica_metatype _func);
562PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_doNotInline(threadData_t *threadData, modelica_metatype _func);
563static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_doNotInline,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_doNotInline
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_doNotInline,0}};
564#define boxvar_EvaluateFunctions_doNotInline((void*)((char*)(&(boxvar_lit_EvaluateFunctions_doNotInline
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_doNotInline)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_doNotInline
).header) + 3))
565PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_hasMultipleArrayDimensions(threadData_t *threadData, modelica_metatype _eIn);
566PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_hasMultipleArrayDimensions(threadData_t *threadData, modelica_metatype _eIn);
567static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_hasMultipleArrayDimensions,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_hasMultipleArrayDimensions
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_hasMultipleArrayDimensions,0}};
568#define boxvar_EvaluateFunctions_hasMultipleArrayDimensions((void*)((char*)(&(boxvar_lit_EvaluateFunctions_hasMultipleArrayDimensions
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_hasMultipleArrayDimensions)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_hasMultipleArrayDimensions
).header) + 3))
569PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_hasUnknownType(threadData_t *threadData, modelica_metatype _eIn);
570PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_hasUnknownType(threadData_t *threadData, modelica_metatype _eIn);
571static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_hasUnknownType,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_hasUnknownType
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_hasUnknownType,0}};
572#define boxvar_EvaluateFunctions_hasUnknownType((void*)((char*)(&(boxvar_lit_EvaluateFunctions_hasUnknownType
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_hasUnknownType)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_hasUnknownType
).header) + 3))
573PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_evalFunctions__findFuncs(threadData_t *threadData, modelica_metatype _D_24in_eqIn, modelica_metatype _D_24in_shared, modelica_metatype _D_24in_addEqs, modelica_integer _D_24in_idx, modelica_boolean _D_24in_changed, modelica_metatype _D_24in_callSign, modelica_metatype *out_shared, modelica_metatype *out_addEqs, modelica_integer *out_idx, modelica_boolean *out_changed, modelica_metatype *out_callSign);
574PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_evalFunctions__findFuncs(threadData_t *threadData, modelica_metatype _D_24in_eqIn, modelica_metatype _D_24in_shared, modelica_metatype _D_24in_addEqs, modelica_metatype _D_24in_idx, modelica_metatype _D_24in_changed, modelica_metatype _D_24in_callSign, modelica_metatype *out_shared, modelica_metatype *out_addEqs, modelica_metatype *out_idx, modelica_metatype *out_changed, modelica_metatype *out_callSign);
575static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_evalFunctions__findFuncs,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_evalFunctions__findFuncs
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_evalFunctions__findFuncs,0}};
576#define boxvar_EvaluateFunctions_evalFunctions__findFuncs((void*)((char*)(&(boxvar_lit_EvaluateFunctions_evalFunctions__findFuncs
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_evalFunctions__findFuncs)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_evalFunctions__findFuncs
).header) + 3))
577PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_evalFunctions__main(threadData_t *threadData, modelica_metatype _eqSysIn, modelica_metatype _tplIn, modelica_metatype *out_tplOut);
578static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_evalFunctions__main,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_evalFunctions__main
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_evalFunctions__mainomc_EvaluateFunctions_evalFunctions__main,0}};
579#define boxvar_EvaluateFunctions_evalFunctions__main((void*)((char*)(&(boxvar_lit_EvaluateFunctions_evalFunctions__main
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_evalFunctions__main)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_evalFunctions__main
).header) + 3))
580PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_evaluateParameter(threadData_t *threadData, modelica_metatype _varIn, modelica_metatype _funcTree);
581static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_evaluateParameter,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_evaluateParameter
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_evaluateParameteromc_EvaluateFunctions_evaluateParameter,0}};
582#define boxvar_EvaluateFunctions_evaluateParameter((void*)((char*)(&(boxvar_lit_EvaluateFunctions_evaluateParameter
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_evaluateParameter)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_evaluateParameter
).header) + 3))
583PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_evaluateShared(threadData_t *threadData, modelica_metatype _sharedIn);
584static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_evaluateShared,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_evaluateShared
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_evaluateSharedomc_EvaluateFunctions_evaluateShared,0}};
585#define boxvar_EvaluateFunctions_evaluateShared((void*)((char*)(&(boxvar_lit_EvaluateFunctions_evaluateShared
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_evaluateShared)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_evaluateShared
).header) + 3))
586PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getVariabilityForExp(threadData_t *threadData, modelica_metatype _expIn);
587static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_getVariabilityForExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_getVariabilityForExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_getVariabilityForExpomc_EvaluateFunctions_getVariabilityForExp,0}};
588#define boxvar_EvaluateFunctions_getVariabilityForExp((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getVariabilityForExp
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_getVariabilityForExp)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getVariabilityForExp
).header) + 3))
589PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getCallSignatureForCall(threadData_t *threadData, modelica_metatype _callExpIn);
590static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_getCallSignatureForCall,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_getCallSignatureForCall
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_getCallSignatureForCallomc_EvaluateFunctions_getCallSignatureForCall,0}};
591#define boxvar_EvaluateFunctions_getCallSignatureForCall((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getCallSignatureForCall
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_getCallSignatureForCall)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getCallSignatureForCall
).header) + 3))
592PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_VariabilityIsEqual(threadData_t *threadData, modelica_metatype _vari1, modelica_metatype _vari2);
593PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_VariabilityIsEqual(threadData_t *threadData, modelica_metatype _vari1, modelica_metatype _vari2);
594static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_VariabilityIsEqual,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_VariabilityIsEqual
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_VariabilityIsEqual,0}};
595#define boxvar_EvaluateFunctions_VariabilityIsEqual((void*)((char*)(&(boxvar_lit_EvaluateFunctions_VariabilityIsEqual
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_VariabilityIsEqual)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_VariabilityIsEqual
).header) + 3))
596PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_callSignatureIsEqual(threadData_t *threadData, modelica_metatype _signat1, modelica_metatype _signat2);
597PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_callSignatureIsEqual(threadData_t *threadData, modelica_metatype _signat1, modelica_metatype _signat2);
598static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_callSignatureIsEqual,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_callSignatureIsEqual
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_callSignatureIsEqual,0}};
599#define boxvar_EvaluateFunctions_callSignatureIsEqual((void*)((char*)(&(boxvar_lit_EvaluateFunctions_callSignatureIsEqual
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_callSignatureIsEqual)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_callSignatureIsEqual
).header) + 3))
600PROTECTED_FUNCTION_STATIC modelica_string omc_EvaluateFunctions_VariabilityString(threadData_t *threadData, modelica_metatype _var);
601static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_VariabilityString,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_VariabilityString
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_VariabilityStringomc_EvaluateFunctions_VariabilityString,0}};
602#define boxvar_EvaluateFunctions_VariabilityString((void*)((char*)(&(boxvar_lit_EvaluateFunctions_VariabilityString
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_VariabilityString)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_VariabilityString
).header) + 3))
603PROTECTED_FUNCTION_STATIC modelica_string omc_EvaluateFunctions_callSignatureStr(threadData_t *threadData, modelica_metatype _signat);
604static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_callSignatureStr,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_callSignatureStr
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_callSignatureStromc_EvaluateFunctions_callSignatureStr,0}};
605#define boxvar_EvaluateFunctions_callSignatureStr((void*)((char*)(&(boxvar_lit_EvaluateFunctions_callSignatureStr
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_callSignatureStr)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_callSignatureStr
).header) + 3))
606PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_checkCallSignatureForExp(threadData_t *threadData, modelica_metatype _expIn, modelica_metatype _signLst);
607PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_checkCallSignatureForExp(threadData_t *threadData, modelica_metatype _expIn, modelica_metatype _signLst);
608static const MMC_DEFSTRUCTLIT(boxvar_lit_EvaluateFunctions_checkCallSignatureForExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_EvaluateFunctions_checkCallSignatureForExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_EvaluateFunctions_checkCallSignatureForExp,0}};
609#define boxvar_EvaluateFunctions_checkCallSignatureForExp((void*)((char*)(&(boxvar_lit_EvaluateFunctions_checkCallSignatureForExp
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_EvaluateFunctions_checkCallSignatureForExp)((void*)((char*)(&(boxvar_lit_EvaluateFunctions_checkCallSignatureForExp
).header) + 3))
610
611PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_makeBackendEquation(threadData_t *threadData, modelica_metatype _ls, modelica_metatype _rs)
612{
613 modelica_metatype _eq = NULL((void*)0);
614 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
615 MMC_SO()mmc_check_stackoverflow(threadData);
616 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
617 // _eq has no default value.
618#line 3505 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
619 tmpMeta[0] = mmc_mk_box5(3, &BackendDAE_Equation_EQUATION__desc, _rs, _ls, _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)), _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)));
620#line 3505 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
621 _eq = tmpMeta[0];
622#line 622 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
623 _return: OMC_LABEL_UNUSED__attribute__((unused))
624 return _eq;
625}
626
627PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_convertTupleEquations(threadData_t *threadData, modelica_metatype _eqIn, modelica_metatype _addEqsIn, modelica_metatype *out_addEqsOut)
628{
629 modelica_metatype _eqOut = NULL((void*)0);
630 modelica_metatype _addEqsOut = NULL((void*)0);
631 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
632 MMC_SO()mmc_check_stackoverflow(threadData);
633 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
634 // _eqOut has no default value.
635 // _addEqsOut has no default value.
636#line 3482 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
637
638#line 3482 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
639
640#line 640 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
641 { /* match expression */
642 modelica_metatype tmp4_1;
643 tmp4_1 = _eqIn;
644 {
645 modelica_metatype _lhs = NULL((void*)0);
646 modelica_metatype _rhs = NULL((void*)0);
647 modelica_metatype _eq = NULL((void*)0);
648 modelica_metatype _eqs = NULL((void*)0);
649 volatile mmc_switch_type tmp4;
650 int tmp5;
651 // _lhs has no default value.
652 // _rhs has no default value.
653 // _eq has no default value.
654 // _eqs has no default value.
655 tmp4 = 0;
656 for (; tmp4 < 2; tmp4++) {
657 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
658 case 0: {
659 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,6,5)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((5 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
660 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
661 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],19,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((19 +3) & 255) << 2)))
== 0) goto tmp3_end;
662 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
663 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
664 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[4],19,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))==(((1 +1)
<< 10) + (((19 +3) & 255) << 2)))
== 0) goto tmp3_end;
665 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
666
667 _lhs = tmpMeta[3];
668 _rhs = tmpMeta[5];
669 /* Pattern matching succeeded */
670#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
671 /* Pattern-matching assignment */
672#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
673 {
674#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
675 modelica_metatype _D_24tmpVar1;
676#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
677 modelica_metatype* tmp6;
678#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
679 modelica_metatype _D_24tmpVar0;
680#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
681 int tmp7;
682#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
683 modelica_metatype _rh_loopVar = 0;
684#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
685 modelica_metatype _rh;
686#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
687 modelica_metatype _lh_loopVar = 0;
688#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
689 modelica_metatype _lh;
690#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
691 _rh_loopVar = _rhs;
692#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
693 _lh_loopVar = _lhs;
694#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
695 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
696#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
697 _D_24tmpVar1 = tmpMeta[3]; /* defaultValue */
698#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
699 tmp6 = &_D_24tmpVar1;
700#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
701 while(1) {
702#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
703 tmp7 = 2;
704#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
705 if (!listEmpty(_rh_loopVar)((*(mmc_uint_t*)((void*)((char*)(_rh_loopVar) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) {
706#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
707 _rh = MMC_CAR(_rh_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_rh_loopVar) - 3
))) + (1)))))
;
708#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
709 _rh_loopVar = MMC_CDR(_rh_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_rh_loopVar) - 3
))) + (2)))))
;
710#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
711 tmp7--;
712#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
713 }if (!listEmpty(_lh_loopVar)((*(mmc_uint_t*)((void*)((char*)(_lh_loopVar) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) {
714#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
715 _lh = MMC_CAR(_lh_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_lh_loopVar) - 3
))) + (1)))))
;
716#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
717 _lh_loopVar = MMC_CDR(_lh_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_lh_loopVar) - 3
))) + (2)))))
;
718#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
719 tmp7--;
720#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
721 }
722#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
723 if (tmp7 == 0) {
724#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
725 _D_24tmpVar0 = omc_EvaluateFunctions_makeBackendEquation(threadData, _lh, _rh);
726#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
727 *tmp6 = mmc_mk_cons(_D_24tmpVar0,0);
728#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
729 tmp6 = &MMC_CDR(*tmp6)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp6) - 3))) +
(2)))))
;
730#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
731 } else if (tmp7 == 2) {
732#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
733 break;
734#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
735 } else {
736#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
737 goto goto_2;
738#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
739 }
740#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
741 }
742#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
743 *tmp6 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
744#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
745 tmpMeta[2] = _D_24tmpVar1;
746#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
747 }
748#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
749 tmpMeta[4] = tmpMeta[2];
750#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
751 if (listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto goto_2;
752#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
753 tmpMeta[5] = MMC_CAR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (1)))))
;
754#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
755 tmpMeta[6] = MMC_CDR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
756#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
757 _eq = tmpMeta[5];
758#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
759 _eqs = tmpMeta[6];
760#line 760 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
761#line 3492 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
762 tmpMeta[0+0] = _eq;
763#line 3492 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
764 tmpMeta[0+1] = listAppend(_eqs, _addEqsIn);
765#line 765 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
766 goto tmp3_done;
767 }
768 case 1: {
769
770 /* Pattern matching succeeded */
771#line 3495 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
772 tmpMeta[0+0] = _eqIn;
773#line 3495 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
774 tmpMeta[0+1] = _addEqsIn;
775#line 775 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
776 goto tmp3_done;
777 }
778 }
779 goto tmp3_end;
780 tmp3_end: ;
781 }
782 goto goto_2;
783 goto_2:;
784 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
785 goto tmp3_done;
786 tmp3_done:;
787 }
788 }
789 _eqOut = tmpMeta[0+0];
790 _addEqsOut = tmpMeta[0+1];
791 _return: OMC_LABEL_UNUSED__attribute__((unused))
792 if (out_addEqsOut) { *out_addEqsOut = _addEqsOut; }
793 return _eqOut;
794}
795
796PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_findDerVarCrefs(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inCrefs, modelica_metatype *out_outCrefs)
797{
798 modelica_metatype _outExp = NULL((void*)0);
799 modelica_metatype _outCrefs = NULL((void*)0);
800 modelica_metatype tmpMeta[8] __attribute__((unused)) = {0};
801 MMC_SO()mmc_check_stackoverflow(threadData);
802 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
803 // _outExp has no default value.
804 // _outCrefs has no default value.
805#line 3460 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
806
807#line 3460 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
808
809#line 809 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
810 { /* match expression */
811 modelica_metatype tmp4_1;
812 tmp4_1 = _inExp;
813 {
814 modelica_metatype _cr = NULL((void*)0);
815 volatile mmc_switch_type tmp4;
816 int tmp5;
817 // _cr has no default value.
818 tmp4 = 0;
819 for (; tmp4 < 2; tmp4++) {
820 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
821 case 0: {
822 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,13,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((3 +1) <<
10) + (((13 +3) & 255) << 2)))
== 0) goto tmp3_end;
823 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
824 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],1,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
825 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
826 if (3 != MMC_STRLEN(tmpMeta[3])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT8)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT8).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
) != 0) goto tmp3_end;
827 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
828 if (listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
829 tmpMeta[5] = MMC_CAR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (1)))))
;
830 tmpMeta[6] = MMC_CDR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
831 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],6,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((2 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
832 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
833 if (!listEmpty(tmpMeta[6])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
834
835 _cr = tmpMeta[7];
836 /* Pattern matching succeeded */
837#line 3465 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
838 tmpMeta[2] = mmc_mk_cons(_cr, _inCrefs);
839#line 3465 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
840 tmpMeta[0+0] = _inExp;
841#line 3465 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
842 tmpMeta[0+1] = tmpMeta[2];
843#line 843 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
844 goto tmp3_done;
845 }
846 case 1: {
847
848 /* Pattern matching succeeded */
849#line 3466 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
850 tmpMeta[0+0] = _inExp;
851#line 3466 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
852 tmpMeta[0+1] = _inCrefs;
853#line 853 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
854 goto tmp3_done;
855 }
856 }
857 goto tmp3_end;
858 tmp3_end: ;
859 }
860 goto goto_2;
861 goto_2:;
862 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
863 goto tmp3_done;
864 tmp3_done:;
865 }
866 }
867 _outExp = tmpMeta[0+0];
868 _outCrefs = tmpMeta[0+1];
869 _return: OMC_LABEL_UNUSED__attribute__((unused))
870 if (out_outCrefs) { *out_outCrefs = _outCrefs; }
871 return _outExp;
872}
873
874PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_setVarKindForStates(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _inCrefs, modelica_metatype *out_outCrefs)
875{
876 modelica_metatype _outVar = NULL((void*)0);
877 modelica_metatype _outCrefs = NULL((void*)0);
878 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
879 MMC_SO()mmc_check_stackoverflow(threadData);
880 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
881 // _outVar has no default value.
882 // _outCrefs has no default value.
883#line 3439 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
884
885#line 3439 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
886
887#line 887 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
888 { /* matchcontinue expression */
889 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;
890 tmp4_1 = _inVar;
891 tmp4_2 = _inCrefs;
892 {
893 modelica_boolean _isState;
894 modelica_metatype _cr1 = NULL((void*)0);
895 modelica_metatype _varOld = NULL((void*)0);
896 modelica_metatype _varNew = NULL((void*)0);
897 modelica_metatype _derVars = NULL((void*)0);
898 volatile mmc_switch_type tmp4;
899 int tmp5;
900 // _isState has no default value.
901 // _cr1 has no default value.
902 // _varOld has no default value.
903 // _varNew has no default value.
904 // _derVars has no default value.
905 tmp4 = 0;
906 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) {
907 tmp3_top:
908 threadData->mmc_jumper = &new_mmc_jumper;
909 for (; tmp4 < 2; tmp4++) {
910 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
911 case 0: {
912 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
913 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
914 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],1,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((3 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
915
916 _varOld = tmp4_1;
917 _cr1 = tmpMeta[2];
918 _derVars = tmp4_2;
919 /* Pattern matching succeeded */
920#line 3447 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
921 _isState = omc_List_isMemberOnTrue(threadData, _cr1, _derVars, boxvar_ComponentReference_crefEqual((void*)((char*)(&(boxvar_lit_ComponentReference_crefEqual
).header) + 3))
);
922#line 922 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
923
924#line 3448 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
925 _varNew = ((!_isState)?omc_BackendVariable_setVarKind(threadData, _varOld, _OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3))):_varOld);
926#line 926 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
927#line 3449 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
928 tmpMeta[0+0] = _varNew;
929#line 3449 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
930 tmpMeta[0+1] = _derVars;
931#line 931 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
932 goto tmp3_done;
933 }
934 case 1: {
935
936 /* Pattern matching succeeded */
937#line 3450 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
938 tmpMeta[0+0] = _inVar;
939#line 3450 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
940 tmpMeta[0+1] = _inCrefs;
941#line 941 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
942 goto tmp3_done;
943 }
944 }
945 goto tmp3_end;
946 tmp3_end: ;
947 }
948 goto goto_2;
949 tmp3_done:
950 (void)tmp4;
951 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
952 goto tmp3_done2;
953 goto_2:;
954 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
955 if (++tmp4 < 2) {
956 goto tmp3_top;
957 }
958 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
959 tmp3_done2:;
960 }
961 }
962 _outVar = tmpMeta[0+0];
963 _outCrefs = tmpMeta[0+1];
964 _return: OMC_LABEL_UNUSED__attribute__((unused))
965 if (out_outCrefs) { *out_outCrefs = _outCrefs; }
966 return _outVar;
967}
968
969PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_varSSisPreferOrHigher(threadData_t *threadData, modelica_metatype _varIn)
970{
971 modelica_boolean _ssOut;
972 modelica_integer _i;
973 modelica_metatype _ss = NULL((void*)0);
974 MMC_SO()mmc_check_stackoverflow(threadData);
975 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
976 // _ssOut has no default value.
977 // _i has no default value.
978 // _ss has no default value.
979#line 3427 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
980 _ss = omc_BackendVariable_varStateSelect(threadData, _varIn);
981#line 981 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
982
983#line 3428 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
984 _i = omc_BackendVariable_stateSelectToInteger(threadData, _ss);
985#line 985 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
986
987#line 3429 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
988 _ssOut = (_i >= ((modelica_integer) 2));
989#line 989 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
990 _return: OMC_LABEL_UNUSED__attribute__((unused))
991 return _ssOut;
992}
993PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_varSSisPreferOrHigher(threadData_t *threadData, modelica_metatype _varIn)
994{
995 modelica_boolean _ssOut;
996 modelica_metatype out_ssOut;
997 _ssOut = omc_EvaluateFunctions_varSSisPreferOrHigher(threadData, _varIn);
998 out_ssOut = mmc_mk_icon(_ssOut);
999 return out_ssOut;
1000}
1001
1002PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_updateVarKinds__eqSys(threadData_t *threadData, modelica_metatype _sysIn, modelica_metatype _shared)
1003{
1004 modelica_metatype _sysOut = NULL((void*)0);
1005 modelica_metatype _vars = NULL((void*)0);
1006 modelica_metatype _states = NULL((void*)0);
1007 modelica_metatype _varLst = NULL((void*)0);
1008 modelica_metatype _ssVarLst = NULL((void*)0);
1009 modelica_metatype _eqs = NULL((void*)0);
1010 modelica_metatype _initEqs = NULL((void*)0);
1011 modelica_metatype _derVars = NULL((void*)0);
1012 modelica_metatype _ssVars = NULL((void*)0);
1013 modelica_metatype _derVarsInit = NULL((void*)0);
1014 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
1015 MMC_SO()mmc_check_stackoverflow(threadData);
1016 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1017 // _sysOut has no default value.
1018 // _vars has no default value.
1019 // _states has no default value.
1020 // _varLst has no default value.
1021 // _ssVarLst has no default value.
1022 // _eqs has no default value.
1023 // _initEqs has no default value.
1024 // _derVars has no default value.
1025 // _ssVars has no default value.
1026 // _derVarsInit has no default value.
1027#line 3403 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1028 /* Pattern-matching assignment */
1029#line 3403 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1030 tmpMeta[0] = _sysIn;
1031#line 3403 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1032 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
1033#line 3403 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1034 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
1035#line 3403 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1036 _vars = tmpMeta[1];
1037#line 3403 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1038 _eqs = tmpMeta[2];
1039#line 1039 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1040
1041#line 3404 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1042 _varLst = omc_BackendVariable_varList(threadData, _vars);
1043#line 1043 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1044
1045#line 3405 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1046 _initEqs = omc_BackendEquation_getInitialEqnsFromShared(threadData, _shared);
1047#line 1047 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1048
1049#line 3406 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1050 _states = omc_List_filterOnTrue(threadData, _varLst, boxvar_BackendVariable_isStateorStateDerVar((void*)((char*)(&(boxvar_lit_BackendVariable_isStateorStateDerVar
).header) + 3))
);
1051#line 1051 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1052
1053#line 3407 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1054 /* Pattern-matching assignment */
1055#line 3407 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1056 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1057#line 3407 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1058 tmpMeta[1] = mmc_mk_box2(0, boxvar_EvaluateFunctions_findDerVarCrefs((void*)((char*)(&(boxvar_lit_EvaluateFunctions_findDerVarCrefs
).header) + 3))
, tmpMeta[0]);
1059#line 3407 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1060 tmpMeta[2] = omc_BackendDAEUtil_traverseBackendDAEExpsEqns(threadData, _initEqs, boxvar_Expression_traverseSubexpressionsHelper((void*)((char*)(&(boxvar_lit_Expression_traverseSubexpressionsHelper
).header) + 3))
, tmpMeta[1]);
1061#line 3407 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1062 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
1063#line 3407 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1064 _derVarsInit = tmpMeta[3];
1065#line 1065 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1066
1067#line 3408 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1068 /* Pattern-matching assignment */
1069#line 3408 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1070 tmpMeta[0] = mmc_mk_box2(0, boxvar_EvaluateFunctions_findDerVarCrefs((void*)((char*)(&(boxvar_lit_EvaluateFunctions_findDerVarCrefs
).header) + 3))
, _derVarsInit);
1071#line 3408 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1072 tmpMeta[1] = omc_BackendDAEUtil_traverseBackendDAEExpsEqns(threadData, _eqs, boxvar_Expression_traverseSubexpressionsHelper((void*)((char*)(&(boxvar_lit_Expression_traverseSubexpressionsHelper
).header) + 3))
, tmpMeta[0]);
1073#line 3408 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1074 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
1075#line 3408 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1076 _derVars = tmpMeta[2];
1077#line 1077 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1078
1079#line 3410 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1080 _ssVarLst = omc_List_filterOnTrue(threadData, _varLst, boxvar_EvaluateFunctions_varSSisPreferOrHigher((void*)((char*)(&(boxvar_lit_EvaluateFunctions_varSSisPreferOrHigher
).header) + 3))
);
1081#line 1081 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1082
1083#line 3411 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1084 _ssVars = omc_List_map(threadData, _ssVarLst, boxvar_BackendVariable_varCref((void*)((char*)(&(boxvar_lit_BackendVariable_varCref).header
) + 3))
);
1085#line 1085 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1086
1087#line 3413 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1088 /* Pattern-matching assignment */
1089#line 3413 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1090 tmpMeta[0] = listAppend(_derVars, _ssVars);
1091#line 3413 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1092 _derVars = tmpMeta[0];
1093#line 1093 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1094
1095#line 3414 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1096 _derVars = omc_List_unique(threadData, _derVars);
1097#line 1097 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1098
1099#line 3415 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1100 _vars = omc_BackendVariable_traverseBackendDAEVarsWithUpdate(threadData, _vars, boxvar_EvaluateFunctions_setVarKindForStates((void*)((char*)(&(boxvar_lit_EvaluateFunctions_setVarKindForStates
).header) + 3))
, _derVars, NULL((void*)0));
1101#line 1101 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1102
1103#line 3416 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1104 _sysOut = omc_BackendDAEUtil_setEqSystVars(threadData, _sysIn, _vars);
1105#line 1105 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1106 _return: OMC_LABEL_UNUSED__attribute__((unused))
1107 return _sysOut;
1108}
1109
1110PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_updateVarKinds(threadData_t *threadData, modelica_metatype _inDAE)
1111{
1112 modelica_metatype _outDAE = NULL((void*)0);
1113 modelica_metatype _systs = NULL((void*)0);
1114 modelica_metatype _shared = NULL((void*)0);
1115 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1116 MMC_SO()mmc_check_stackoverflow(threadData);
1117 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1118 // _outDAE has no default value.
1119 // _systs has no default value.
1120 // _shared has no default value.
1121#line 3387 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1122 /* Pattern-matching assignment */
1123#line 3387 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1124 tmpMeta[0] = _inDAE;
1125#line 3387 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1126 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
1127#line 3387 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1128 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
1129#line 3387 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1130 _systs = tmpMeta[1];
1131#line 3387 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1132 _shared = tmpMeta[2];
1133#line 1133 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1134
1135#line 3388 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1136 _systs = omc_List_map1(threadData, _systs, boxvar_EvaluateFunctions_updateVarKinds__eqSys((void*)((char*)(&(boxvar_lit_EvaluateFunctions_updateVarKinds__eqSys
).header) + 3))
, _shared);
1137#line 1137 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1138
1139#line 3389 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1140 tmpMeta[0] = mmc_mk_box3(3, &BackendDAE_BackendDAE_DAE__desc, _systs, _shared);
1141#line 3389 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1142 _outDAE = tmpMeta[0];
1143#line 1143 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1144 _return: OMC_LABEL_UNUSED__attribute__((unused))
1145 return _outDAE;
1146}
1147
1148PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_makeAssignment(threadData_t *threadData, modelica_metatype _lhs, modelica_metatype _rhs)
1149{
1150 modelica_metatype _stmtOut = NULL((void*)0);
1151 modelica_metatype _ty = NULL((void*)0);
1152 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
1153 MMC_SO()mmc_check_stackoverflow(threadData);
1154 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1155 // _stmtOut has no default value.
1156 // _ty has no default value.
1157#line 3370 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1158 _ty = omc_Expression_typeof(threadData, _rhs);
1159#line 1159 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1160
1161#line 3371 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1162 tmpMeta[0] = mmc_mk_box5(3, &DAE_Statement_STMT__ASSIGN__desc, _ty, _lhs, _rhs, _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)));
1163#line 3371 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1164 _stmtOut = tmpMeta[0];
1165#line 1165 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1166 _return: OMC_LABEL_UNUSED__attribute__((unused))
1167 return _stmtOut;
1168}
1169
1170PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_makeAssignmentMap(threadData_t *threadData, modelica_metatype _lhs, modelica_metatype _rhs)
1171{
1172 modelica_metatype _stmts = NULL((void*)0);
1173 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1174 MMC_SO()mmc_check_stackoverflow(threadData);
1175 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1176 // _stmts has no default value.
1177#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1178 {
1179#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1180 modelica_metatype _D_24tmpVar3;
1181#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1182 modelica_metatype* tmp1;
1183#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1184 modelica_metatype _D_24tmpVar2;
1185#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1186 int tmp2;
1187#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1188 modelica_metatype _e2_loopVar = 0;
1189#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1190 modelica_metatype _e2;
1191#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1192 modelica_metatype _e1_loopVar = 0;
1193#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1194 modelica_metatype _e1;
1195#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1196 _e2_loopVar = _rhs;
1197#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1198 _e1_loopVar = _lhs;
1199#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1200 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1201#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1202 _D_24tmpVar3 = tmpMeta[1]; /* defaultValue */
1203#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1204 tmp1 = &_D_24tmpVar3;
1205#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1206 while(1) {
1207#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1208 tmp2 = 2;
1209#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1210 if (!listEmpty(_e2_loopVar)((*(mmc_uint_t*)((void*)((char*)(_e2_loopVar) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) {
1211#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1212 _e2 = MMC_CAR(_e2_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e2_loopVar) - 3
))) + (1)))))
;
1213#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1214 _e2_loopVar = MMC_CDR(_e2_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e2_loopVar) - 3
))) + (2)))))
;
1215#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1216 tmp2--;
1217#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1218 }if (!listEmpty(_e1_loopVar)((*(mmc_uint_t*)((void*)((char*)(_e1_loopVar) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) {
1219#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1220 _e1 = MMC_CAR(_e1_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e1_loopVar) - 3
))) + (1)))))
;
1221#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1222 _e1_loopVar = MMC_CDR(_e1_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e1_loopVar) - 3
))) + (2)))))
;
1223#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1224 tmp2--;
1225#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1226 }
1227#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1228 if (tmp2 == 0) {
1229#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1230 _D_24tmpVar2 = omc_EvaluateFunctions_makeAssignment(threadData, _e1, _e2);
1231#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1232 *tmp1 = mmc_mk_cons(_D_24tmpVar2,0);
1233#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1234 tmp1 = &MMC_CDR(*tmp1)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp1) - 3))) +
(2)))))
;
1235#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1236 } else if (tmp2 == 2) {
1237#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1238 break;
1239#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1240 } else {
1241#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1242 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1243#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1244 }
1245#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1246 }
1247#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1248 *tmp1 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
1249#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1250 tmpMeta[0] = _D_24tmpVar3;
1251#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1252 }
1253#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1254 _stmts = tmpMeta[0];
1255#line 1255 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1256 _return: OMC_LABEL_UNUSED__attribute__((unused))
1257 return _stmts;
1258}
1259
1260PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_compareConstantExps2(threadData_t *threadData, modelica_integer _idx, modelica_metatype _expLstLst, modelica_metatype _D_24in_pos)
1261{
1262 modelica_metatype _pos = NULL((void*)0);
1263 modelica_boolean _b1;
1264 modelica_boolean _b2;
1265 modelica_metatype _firstExp = NULL((void*)0);
1266 modelica_metatype _expLst = NULL((void*)0);
1267 modelica_metatype _rest = NULL((void*)0);
1268 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1269 MMC_SO()mmc_check_stackoverflow(threadData);
1270 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1271 _pos = _D_24in_pos;
1272 // _b1 has no default value.
1273 // _b2 has no default value.
1274 // _firstExp has no default value.
1275 // _expLst has no default value.
1276 // _rest has no default value.
1277#line 3343 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1278 _expLst = omc_List_map1(threadData, _expLstLst, boxvar_listGet((void*)((char*)(&(boxvar_lit_listGet).header) + 3)), mmc_mk_integermmc_mk_icon(_idx));
1279#line 1279 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1280
1281#line 3344 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1282 _b1 = omc_List_mapBoolAnd(threadData, _expLst, boxvar_Expression_isConst((void*)((char*)(&(boxvar_lit_Expression_isConst).header)
+ 3))
);
1283#line 1283 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1284
1285#line 3345 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1286 if(_b1)
1287#line 3345 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1288 {
1289#line 3346 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1290 /* Pattern-matching assignment */
1291#line 3346 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1292 tmpMeta[0] = _expLst;
1293#line 3346 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1294 if (listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1295#line 3346 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1296 tmpMeta[1] = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
1297#line 3346 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1298 tmpMeta[2] = MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
1299#line 3346 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1300 _firstExp = tmpMeta[1];
1301#line 3346 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1302 _rest = tmpMeta[2];
1303#line 1303 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1304
1305#line 3347 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1306 _b2 = omc_List_map1BoolAnd(threadData, _rest, boxvar_Expression_expEqual((void*)((char*)(&(boxvar_lit_Expression_expEqual).header
) + 3))
, _firstExp);
1307#line 1307 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1308
1309#line 3348 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1310 if(_b2)
1311#line 3348 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1312 {
1313#line 3349 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1314 tmpMeta[0] = mmc_mk_cons(mmc_mk_integermmc_mk_icon(_idx), _pos);
1315#line 3349 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1316 _pos = tmpMeta[0];
1317#line 1317 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1318 }
1319 }
1320 _return: OMC_LABEL_UNUSED__attribute__((unused))
1321 return _pos;
1322}
1323PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_compareConstantExps2(threadData_t *threadData, modelica_metatype _idx, modelica_metatype _expLstLst, modelica_metatype _D_24in_pos)
1324{
1325 modelica_integer tmp1;
1326 modelica_metatype _pos = NULL((void*)0);
1327 tmp1 = mmc_unbox_integer(_idx)(((mmc_sint_t) (_idx)) >> 1);
1328 _pos = omc_EvaluateFunctions_compareConstantExps2(threadData, tmp1, _expLstLst, _D_24in_pos);
1329 /* skip box _pos; list<#Integer> */
1330 return _pos;
1331}
1332
1333PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_compareConstantExps(threadData_t *threadData, modelica_metatype _expLstLstIn)
1334{
1335 modelica_metatype _posLstOut = NULL((void*)0);
1336 modelica_integer tmp1;
1337 modelica_integer tmp2;
1338 modelica_integer tmp3;
1339 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
1340 MMC_SO()mmc_check_stackoverflow(threadData);
1341 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1342 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1343 _posLstOut = tmpMeta[0];
1344#line 3329 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1345 tmp1 = ((modelica_integer) 1); tmp2 = 1; tmp3 = listLength(listHead(_expLstLstIn)boxptr_listHead(threadData,_expLstLstIn));
1346#line 3329 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1347 if(!(((tmp2 > 0) && (tmp1 > tmp3)) || ((tmp2 < 0) && (tmp1 < tmp3))))
1348#line 3329 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1349 {
1350#line 3329 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1351 modelica_integer _i;
1352#line 3329 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1353 for(_i = ((modelica_integer) 1); in_range_integer(_i, tmp1, tmp3); _i += tmp2)
1354#line 3329 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1355 {
1356#line 3330 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1357 _posLstOut = omc_EvaluateFunctions_compareConstantExps2(threadData, _i, _expLstLstIn, _posLstOut);
1358#line 1358 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1359 }
1360 }
1361 _return: OMC_LABEL_UNUSED__attribute__((unused))
1362 return _posLstOut;
1363}
1364
1365PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_updateStatementsInElse(threadData_t *threadData, modelica_metatype _stmtLstIn, modelica_metatype _origElse)
1366{
1367 modelica_metatype _elseOut = NULL((void*)0);
1368 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
1369 MMC_SO()mmc_check_stackoverflow(threadData);
1370 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1371 // _elseOut has no default value.
1372#line 1372 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1373 { /* match expression */
1374 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
1375 tmp3_1 = _stmtLstIn;
1376 tmp3_2 = _origElse;
1377 {
1378 modelica_metatype _els = NULL((void*)0);
1379 modelica_metatype _exp = NULL((void*)0);
1380 modelica_metatype _stmts = NULL((void*)0);
1381 modelica_metatype _rest = NULL((void*)0);
1382 int tmp3;
1383 // _els has no default value.
1384 // _exp has no default value.
1385 // _stmts has no default value.
1386 // _rest has no default value.
1387 {
1388 switch (MMC_SWITCH_CAST(valueConstructor(tmp3_2))(((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) >> 2
) & 255))
) {
1389 case 4: {
1390 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1391 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1392 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1393 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
1394 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
1395 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
1396 _stmts = tmpMeta[1];
1397 _rest = tmpMeta[2];
1398 _exp = tmpMeta[3];
1399 _els = tmpMeta[4];
1400 /* Pattern matching succeeded */
1401#line 3312 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1402 _els = omc_EvaluateFunctions_updateStatementsInElse(threadData, _rest, _els);
1403#line 1403 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1404#line 3313 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1405 tmpMeta[1] = mmc_mk_box4(4, &DAE_Else_ELSEIF__desc, _exp, _stmts, _els);
1406#line 3313 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1407 tmpMeta[0] = tmpMeta[1];
1408#line 1408 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1409 goto tmp2_done;
1410 }
1411 case 5: {
1412 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1413 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1414 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1415 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,2,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((1 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
1416
1417 _stmts = tmpMeta[1];
1418 /* Pattern matching succeeded */
1419#line 3316 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1420 tmpMeta[1] = mmc_mk_box2(5, &DAE_Else_ELSE__desc, _stmts);
1421#line 3316 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1422 tmpMeta[0] = tmpMeta[1];
1423#line 1423 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1424 goto tmp2_done;
1425 }
1426 case 3: {
1427 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1428 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1429 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1430 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,0,0)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((0 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
1431 /* Pattern matching succeeded */
1432#line 3319 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1433 tmpMeta[0] = _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3));
1434#line 1434 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1435 goto tmp2_done;
1436 }
1437 }
1438 goto tmp2_end;
1439 tmp2_end: ;
1440 }
1441 goto goto_1;
1442 goto_1:;
1443 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1444 goto tmp2_done;
1445 tmp2_done:;
1446 }
1447 }
1448 _elseOut = tmpMeta[0];
1449 _return: OMC_LABEL_UNUSED__attribute__((unused))
1450 return _elseOut;
1451}
1452
1453PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_updateStatementsInIfStmt(threadData_t *threadData, modelica_metatype _stmtLstIn, modelica_metatype _origIf)
1454{
1455 modelica_metatype _ifStmtOut = NULL((void*)0);
1456 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
1457 MMC_SO()mmc_check_stackoverflow(threadData);
1458 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1459 // _ifStmtOut has no default value.
1460#line 1460 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1461 { /* match expression */
1462 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
1463 tmp3_1 = _stmtLstIn;
1464 tmp3_2 = _origIf;
1465 {
1466 modelica_metatype _els = NULL((void*)0);
1467 modelica_metatype _exp = NULL((void*)0);
1468 modelica_metatype _source = NULL((void*)0);
1469 modelica_metatype _stmts = NULL((void*)0);
1470 modelica_metatype _rest = NULL((void*)0);
1471 volatile mmc_switch_type tmp3;
1472 int tmp4;
1473 // _els has no default value.
1474 // _exp has no default value.
1475 // _source has no default value.
1476 // _stmts has no default value.
1477 // _rest has no default value.
1478 tmp3 = 0;
1479 for (; tmp3 < 1; tmp3++) {
1480 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1481 case 0: {
1482 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1483 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1484 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1485 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,3,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((4 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
1486 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
1487 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
1488 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(5)))))
;
1489 _stmts = tmpMeta[1];
1490 _rest = tmpMeta[2];
1491 _exp = tmpMeta[3];
1492 _els = tmpMeta[4];
1493 _source = tmpMeta[5];
1494 /* Pattern matching succeeded */
1495#line 3291 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1496 _els = omc_EvaluateFunctions_updateStatementsInElse(threadData, _rest, _els);
1497#line 1497 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1498#line 3292 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1499 tmpMeta[1] = mmc_mk_box5(6, &DAE_Statement_STMT__IF__desc, _exp, _stmts, _els, _source);
1500#line 3292 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1501 tmpMeta[0] = tmpMeta[1];
1502#line 1502 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1503 goto tmp2_done;
1504 }
1505 }
1506 goto tmp2_end;
1507 tmp2_end: ;
1508 }
1509 goto goto_1;
1510 goto_1:;
1511 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1512 goto tmp2_done;
1513 tmp2_done:;
1514 }
1515 }
1516 _ifStmtOut = tmpMeta[0];
1517 _return: OMC_LABEL_UNUSED__attribute__((unused))
1518 return _ifStmtOut;
1519}
1520
1521PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getOnlyConstantReplacements(threadData_t *threadData, modelica_metatype _replIn)
1522{
1523 modelica_metatype _replOut = NULL((void*)0);
1524 modelica_metatype _exps = NULL((void*)0);
1525 modelica_metatype _crefs = NULL((void*)0);
1526 modelica_metatype _repl = NULL((void*)0);
1527 MMC_SO()mmc_check_stackoverflow(threadData);
1528 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1529 // _replOut has no default value.
1530 // _exps has no default value.
1531 // _crefs has no default value.
1532 // _repl has no default value.
1533#line 3270 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1534 _crefs = omc_BackendVarTransform_getAllReplacements(threadData, _replIn ,&_exps);
1535#line 1535 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1536
1537#line 3271 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1538 _exps = omc_List_filterOnTrueSync(threadData, _exps, boxvar_Expression_isConst((void*)((char*)(&(boxvar_lit_Expression_isConst).header)
+ 3))
, _crefs ,&_crefs);
1539#line 1539 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1540
1541#line 3272 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1542 _repl = omc_BackendVarTransform_emptyReplacements(threadData);
1543#line 1543 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1544
1545#line 3273 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1546 _replOut = omc_BackendVarTransform_addReplacements(threadData, _repl, _crefs, _exps, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
1547#line 1547 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1548 _return: OMC_LABEL_UNUSED__attribute__((unused))
1549 return _replOut;
1550}
1551
1552PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_collectReplacements1(threadData_t *threadData, modelica_metatype _stmtsIn, modelica_metatype _replIn)
1553{
1554 modelica_metatype _replOut = NULL((void*)0);
1555 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
1556 MMC_SO()mmc_check_stackoverflow(threadData);
1557 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1558 // _replOut has no default value.
1559#line 1559 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1560 { /* matchcontinue expression */
1561 volatile modelica_metatype tmp3_1;
1562 tmp3_1 = _stmtsIn;
1563 {
1564 modelica_metatype _repl = NULL((void*)0);
1565 modelica_metatype _cref = NULL((void*)0);
1566 modelica_metatype _lhs = NULL((void*)0);
1567 modelica_metatype _rhs = NULL((void*)0);
1568 modelica_metatype _stmt = NULL((void*)0);
1569 modelica_metatype _crefs = NULL((void*)0);
1570 modelica_metatype _constCrefs = NULL((void*)0);
1571 modelica_metatype _varCrefs = NULL((void*)0);
1572 modelica_metatype _lhsLst = NULL((void*)0);
1573 modelica_metatype _rhsLst = NULL((void*)0);
1574 modelica_metatype _constExps = NULL((void*)0);
1575 modelica_metatype _rest = NULL((void*)0);
1576 volatile mmc_switch_type tmp3;
1577 int tmp4;
1578 // _repl has no default value.
1579 // _cref has no default value.
1580 // _lhs has no default value.
1581 // _rhs has no default value.
1582 // _stmt has no default value.
1583 // _crefs has no default value.
1584 // _constCrefs has no default value.
1585 // _varCrefs has no default value.
1586 // _lhsLst has no default value.
1587 // _rhsLst has no default value.
1588 // _constExps has no default value.
1589 // _rest has no default value.
1590 tmp3 = 0;
1591 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) {
1592 tmp2_top:
1593 threadData->mmc_jumper = &new_mmc_jumper;
1594 for (; tmp3 < 5; tmp3++) {
1595 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1596 case 0: {
1597 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1598 tmp3 += 3; /* Pattern matching succeeded; we may skip some cases if we fail */
1599#line 3220 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1600 tmpMeta[0] = _replIn;
1601#line 1601 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1602 goto tmp2_done;
1603 }
1604 case 1: {
1605 modelica_boolean tmp5;
1606 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1607 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1608 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1609 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],0,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((4 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
1610 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
1611 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (4)))))
;
1612
1613 _lhs = tmpMeta[3];
1614 _rhs = tmpMeta[4];
1615 _rest = tmpMeta[2];
1616 tmp3 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
1617#line 3224 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1618 _rhs = omc_BackendVarTransform_replaceExp(threadData, _rhs, _replIn, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), NULL((void*)0));
1619#line 1619 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1620
1621#line 3225 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1622 _rhs = omc_ExpressionSimplify_simplify(threadData, _rhs, NULL((void*)0));
1623#line 1623 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1624
1625#line 3226 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1626 /* Pattern-matching assignment */
1627#line 3226 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1628 tmp5 = omc_Expression_isConst(threadData, _rhs);
1629#line 3226 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1630 if (1 != tmp5) goto goto_1;
1631#line 1631 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1632
1633#line 3227 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1634 _cref = omc_Expression_expCref(threadData, _lhs);
1635#line 1635 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1636
1637#line 3228 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1638 _repl = omc_BackendVarTransform_addReplacement(threadData, _replIn, _cref, _rhs, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
1639#line 1639 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1640#line 3229 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1641 tmpMeta[0] = omc_EvaluateFunctions_collectReplacements1(threadData, _rest, _repl);
1642#line 1642 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1643 goto tmp2_done;
1644 }
1645 case 2: {
1646 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1647 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1648 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1649 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],1,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((4 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
1650 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
1651 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (4)))))
;
1652
1653 _lhsLst = tmpMeta[3];
1654 _rhs = tmpMeta[4];
1655 _rest = tmpMeta[2];
1656 /* Pattern matching succeeded */
1657#line 3234 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1658 _rhs = omc_BackendVarTransform_replaceExp(threadData, _rhs, _replIn, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), NULL((void*)0));
1659#line 1659 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1660
1661#line 3235 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1662 _rhs = omc_ExpressionSimplify_simplify(threadData, _rhs, NULL((void*)0));
1663#line 1663 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1664
1665#line 3236 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1666 _rhsLst = omc_Expression_getComplexContents(threadData, _rhs);
1667#line 1667 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1668
1669#line 3237 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1670 _crefs = omc_List_map(threadData, _lhsLst, boxvar_Expression_expCref((void*)((char*)(&(boxvar_lit_Expression_expCref).header)
+ 3))
);
1671#line 1671 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1672
1673#line 3238 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1674 _constExps = omc_List_filterOnTrueSync(threadData, _rhsLst, boxvar_Expression_isConst((void*)((char*)(&(boxvar_lit_Expression_isConst).header)
+ 3))
, _crefs ,&_constCrefs);
1675#line 1675 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1676
1677#line 3239 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1678 omc_List_filterOnTrueSync(threadData, _rhsLst, boxvar_Expression_isNotConst((void*)((char*)(&(boxvar_lit_Expression_isNotConst).header
) + 3))
, _crefs ,&_varCrefs);
1679#line 1679 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1680
1681#line 3240 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1682 _repl = omc_BackendVarTransform_addReplacements(threadData, _replIn, _constCrefs, _constExps, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
1683#line 1683 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1684
1685#line 3241 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1686 omc_BackendVarTransform_removeReplacements(threadData, _repl, _varCrefs, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
1687#line 1687 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1688#line 3242 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1689 tmpMeta[0] = omc_EvaluateFunctions_collectReplacements1(threadData, _rest, _repl);
1690#line 1690 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1691 goto tmp2_done;
1692 }
1693 case 3: {
1694 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1695 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1696 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1697 _stmt = tmpMeta[1];
1698 _rest = tmpMeta[2];
1699 /* Pattern matching succeeded */
1700#line 3247 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1701 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1702#line 3247 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1703 _lhsLst = omc_EvaluateFunctions_getStatementLHS(threadData, _stmt, tmpMeta[1]);
1704#line 1704 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1705
1706#line 3248 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1707 _crefs = omc_List_map(threadData, _lhsLst, boxvar_Expression_expCref((void*)((char*)(&(boxvar_lit_Expression_expCref).header)
+ 3))
);
1708#line 1708 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1709
1710#line 3249 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1711 omc_BackendVarTransform_removeReplacements(threadData, _replIn, _crefs, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
1712#line 1712 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1713#line 3250 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1714 tmpMeta[0] = omc_EvaluateFunctions_collectReplacements1(threadData, _rest, _replIn);
1715#line 1715 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1716 goto tmp2_done;
1717 }
1718 case 4: {
1719
1720 /* Pattern matching succeeded */
1721#line 3255 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1722 fputs(MMC_STRINGDATA(_OMC_LIT11)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT11).header) + 3))) - 3)))->data)
,stdoutstdout);
1723#line 1723 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1724#line 3256 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1725 goto goto_1;
1726#line 1726 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1727 goto tmp2_done;
1728 }
1729 }
1730 goto tmp2_end;
1731 tmp2_end: ;
1732 }
1733 goto goto_1;
1734 tmp2_done:
1735 (void)tmp3;
1736 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1737 goto tmp2_done2;
1738 goto_1:;
1739 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1740 if (++tmp3 < 5) {
1741 goto tmp2_top;
1742 }
1743 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1744 tmp2_done2:;
1745 }
1746 }
1747 _replOut = tmpMeta[0];
1748 _return: OMC_LABEL_UNUSED__attribute__((unused))
1749 return _replOut;
1750}
1751
1752PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_collectReplacements(threadData_t *threadData, modelica_metatype _stmtsIn)
1753{
1754 modelica_metatype _replOut = NULL((void*)0);
1755 modelica_metatype _repl = NULL((void*)0);
1756 MMC_SO()mmc_check_stackoverflow(threadData);
1757 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1758 // _replOut has no default value.
1759 // _repl has no default value.
1760#line 3201 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1761 _repl = omc_BackendVarTransform_emptyReplacements(threadData);
1762#line 1762 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1763
1764#line 3202 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1765 _replOut = omc_EvaluateFunctions_collectReplacements1(threadData, _stmtsIn, _repl);
1766#line 1766 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1767 _return: OMC_LABEL_UNUSED__attribute__((unused))
1768 return _replOut;
1769}
1770
1771PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_predictIfOutput(threadData_t *threadData, modelica_metatype _stmtIn, modelica_metatype _infoIn, modelica_metatype *out_infoOut)
1772{
1773 modelica_metatype _stmtsOut = NULL((void*)0);
1774 modelica_metatype _infoOut = NULL((void*)0);
1775 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
1776 MMC_SO()mmc_check_stackoverflow(threadData);
1777 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1778 // _stmtsOut has no default value.
1779 // _infoOut has no default value.
1780#line 3110 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1781
1782#line 3110 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1783
1784#line 1784 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1785 { /* matchcontinue expression */
1786 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;
1787 tmp4_1 = _stmtIn;
1788 tmp4_2 = _infoIn;
1789 {
1790 modelica_integer _idx;
1791 modelica_metatype _constantOutputs = NULL((void*)0);
1792 modelica_metatype _replIn = NULL((void*)0);
1793 modelica_metatype _replLst = NULL((void*)0);
1794 modelica_metatype _else_ = NULL((void*)0);
1795 modelica_metatype _funcTree = NULL((void*)0);
1796 modelica_metatype _stmtNew = NULL((void*)0);
1797 modelica_metatype _expLst = NULL((void*)0);
1798 modelica_metatype _outExps = NULL((void*)0);
1799 modelica_metatype _allLHS = NULL((void*)0);
1800 modelica_metatype _expLstLst = NULL((void*)0);
1801 modelica_metatype _stmts1 = NULL((void*)0);
1802 modelica_metatype _addStmts = NULL((void*)0);
1803 modelica_metatype _stmtsLst = NULL((void*)0);
1804 modelica_metatype _elseStmtsLst = NULL((void*)0);
1805 volatile mmc_switch_type tmp4;
1806 int tmp5;
1807 // _idx has no default value.
1808 // _constantOutputs has no default value.
1809 // _replIn has no default value.
1810 // _replLst has no default value.
1811 // _else_ has no default value.
1812 // _funcTree has no default value.
1813 // _stmtNew has no default value.
1814 // _expLst has no default value.
1815 // _outExps has no default value.
1816 // _allLHS has no default value.
1817 // _expLstLst has no default value.
1818 // _stmts1 has no default value.
1819 // _addStmts has no default value.
1820 // _stmtsLst has no default value.
1821 // _elseStmtsLst has no default value.
1822 tmp4 = 0;
1823 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) {
1824 tmp3_top:
1825 threadData->mmc_jumper = &new_mmc_jumper;
1826 for (; tmp4 < 2; tmp4++) {
1827 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1828 case 0: {
1829 modelica_integer tmp6;
1830 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,3,4)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((4 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
1831 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
1832 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
1833 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
1834 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
1835 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(4)))))
;
1836 tmp6 = mmc_unbox_integer(tmpMeta[6])(((mmc_sint_t) (tmpMeta[6])) >> 1);
1837 _stmts1 = tmpMeta[2];
1838 _else_ = tmpMeta[3];
1839 _replIn = tmpMeta[4];
1840 _funcTree = tmpMeta[5];
1841 _idx = tmp6 /* pattern as ty=Integer */;
1842 /* Pattern matching succeeded */
1843#line 3132 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1844 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1845#line 3132 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1846 _elseStmtsLst = omc_EvaluateFunctions_getDAEelseStatemntLsts(threadData, _else_, tmpMeta[2]);
1847#line 1847 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1848
1849#line 3133 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1850 _elseStmtsLst = listReverse(_elseStmtsLst);
1851#line 1851 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1852
1853#line 3150 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1854 _stmtsLst = omc_EvaluateFunctions_evaluateFunctions__updateAllStatements(threadData, _stmts1, _elseStmtsLst, _replIn, _funcTree, _idx ,&_funcTree ,&_idx);
1855#line 1855 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1856
1857#line 3152 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1858 _replLst = omc_List_map(threadData, _stmtsLst, boxvar_EvaluateFunctions_collectReplacements((void*)((char*)(&(boxvar_lit_EvaluateFunctions_collectReplacements
).header) + 3))
);
1859#line 1859 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1860
1861#line 3157 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1862 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1863#line 3157 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1864 _expLst = omc_List_fold(threadData, omc_List_flatten(threadData, _stmtsLst), boxvar_EvaluateFunctions_getStatementLHS((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getStatementLHS
).header) + 3))
, tmpMeta[2]);
1865#line 1865 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1866
1867#line 3158 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1868 _expLst = omc_List_unique(threadData, _expLst);
1869#line 1869 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1870
1871#line 3159 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1872 _allLHS = listReverse(_expLst);
1873#line 1873 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1874
1875#line 3161 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1876 _expLstLst = omc_List_map1(threadData, _replLst, boxvar_EvaluateFunctions_replaceExps((void*)((char*)(&(boxvar_lit_EvaluateFunctions_replaceExps
).header) + 3))
, _allLHS);
1877#line 1877 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1878
1879#line 3165 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1880 _constantOutputs = omc_EvaluateFunctions_compareConstantExps(threadData, _expLstLst);
1881#line 1881 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1882
1883#line 3166 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1884 _outExps = omc_List_map1(threadData, _constantOutputs, boxvar_List_getIndexFirst((void*)((char*)(&(boxvar_lit_List_getIndexFirst).header)
+ 3))
, _allLHS);
1885#line 1885 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1886
1887#line 3167 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1888 omc_List_map(threadData, _outExps, boxvar_Expression_expCref((void*)((char*)(&(boxvar_lit_Expression_expCref).header)
+ 3))
);
1889#line 1889 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1890
1891#line 3169 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1892 _expLst = omc_List_map1(threadData, _constantOutputs, boxvar_List_getIndexFirst((void*)((char*)(&(boxvar_lit_List_getIndexFirst).header)
+ 3))
, listHead(_expLstLst)boxptr_listHead(threadData,_expLstLst));
1893#line 1893 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1894
1895#line 3172 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1896 if(omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))))
1897#line 3172 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1898 {
1899#line 3173 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1900 tmpMeta[2] = stringAppend(_OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)),stringDelimitList(omc_List_map(threadData, _outExps, boxvar_ExpressionDump_printExpStr((void*)((char*)(&(boxvar_lit_ExpressionDump_printExpStr)
.header) + 3))
), _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3))));
1901#line 3173 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1902 fputs(MMC_STRINGDATA(tmpMeta[2])(((struct mmc_string*)((void*)((char*)(tmpMeta[2]) - 3)))->
data)
,stdoutstdout);
1903#line 1903 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1904 }
1905
1906#line 3175 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1907 omc_List_intersection1OnTrue(threadData, _outExps, _allLHS, boxvar_Expression_expEqual((void*)((char*)(&(boxvar_lit_Expression_expEqual).header
) + 3))
, NULL((void*)0), NULL((void*)0));
1908#line 1908 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1909
1910#line 3181 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1911 _addStmts = omc_EvaluateFunctions_makeAssignmentMap(threadData, _outExps, _expLst);
1912#line 1912 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1913
1914#line 3182 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1915 _stmtNew = omc_EvaluateFunctions_updateStatementsInIfStmt(threadData, _stmtsLst, _stmtIn);
1916#line 1916 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1917#line 3187 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1918 tmpMeta[2] = mmc_mk_cons(_stmtNew, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
1919#line 3187 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1920 tmpMeta[3] = mmc_mk_box2(0, tmpMeta[2], _addStmts);
1921#line 3187 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1922 tmpMeta[4] = mmc_mk_box4(3, &EvaluateFunctions_FuncInfo_FUNCINFO__desc, _replIn, _funcTree, mmc_mk_integermmc_mk_icon(_idx));
1923#line 3187 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1924 tmpMeta[0+0] = tmpMeta[3];
1925#line 3187 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1926 tmpMeta[0+1] = tmpMeta[4];
1927#line 1927 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1928 goto tmp3_done;
1929 }
1930 case 1: {
1931
1932 /* Pattern matching succeeded */
1933#line 3189 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1934 tmpMeta[2] = mmc_mk_cons(_stmtIn, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
1935#line 3189 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1936 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1937#line 3189 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1938 tmpMeta[4] = mmc_mk_box2(0, tmpMeta[2], tmpMeta[3]);
1939#line 3189 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1940 tmpMeta[0+0] = tmpMeta[4];
1941#line 3189 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1942 tmpMeta[0+1] = _infoIn;
1943#line 1943 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1944 goto tmp3_done;
1945 }
1946 }
1947 goto tmp3_end;
1948 tmp3_end: ;
1949 }
1950 goto goto_2;
1951 tmp3_done:
1952 (void)tmp4;
1953 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1954 goto tmp3_done2;
1955 goto_2:;
1956 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1957 if (++tmp4 < 2) {
1958 goto tmp3_top;
1959 }
1960 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1961 tmp3_done2:;
1962 }
1963 }
1964 _stmtsOut = tmpMeta[0+0];
1965 _infoOut = tmpMeta[0+1];
1966 _return: OMC_LABEL_UNUSED__attribute__((unused))
1967 if (out_infoOut) { *out_infoOut = _infoOut; }
1968 return _stmtsOut;
1969}
1970
1971PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_evaluateFunctions__updateAllStatements(threadData_t *threadData, modelica_metatype _stmtsIn, modelica_metatype _elseStmtsLstIn, modelica_metatype _replIn, modelica_metatype _D_24in_funcTree, modelica_integer _D_24in_idx, modelica_metatype *out_funcTree, modelica_integer *out_idx)
1972{
1973 modelica_metatype _stmtsLstOut = NULL((void*)0);
1974 modelica_metatype _funcTree = NULL((void*)0);
1975 modelica_integer _idx;
1976 modelica_metatype _repl = NULL((void*)0);
1977 modelica_metatype _stmts = NULL((void*)0);
1978 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1979 MMC_SO()mmc_check_stackoverflow(threadData);
1980 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1981 // _stmtsLstOut has no default value.
1982 _funcTree = _D_24in_funcTree;
1983 _idx = _D_24in_idx;
1984 // _repl has no default value.
1985 // _stmts has no default value.
1986#line 3086 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1987 _repl = omc_EvaluateFunctions_getOnlyConstantReplacements(threadData, _replIn);
1988#line 1988 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1989
1990#line 3089 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1991 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1992#line 3089 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1993 _stmts = omc_EvaluateFunctions_evaluateFunctions__updateStatement(threadData, _stmtsIn, _funcTree, _repl, _idx, tmpMeta[0] ,&_funcTree ,NULL((void*)0) ,&_idx);
1994#line 1994 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1995
1996#line 3092 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1997 tmpMeta[0] = mmc_mk_cons(_stmts, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
1998#line 3092 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1999 _stmtsLstOut = tmpMeta[0];
2000#line 2000 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2001
2002#line 3093 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2003 {
2004#line 3093 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2005 modelica_metatype _elseStmts;
2006#line 3093 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2007 for (tmpMeta[0] = _elseStmtsLstIn; !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
2008#line 3093 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2009 {
2010#line 3093 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2011 _elseStmts = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
2012#line 3095 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2013 _repl = omc_EvaluateFunctions_getOnlyConstantReplacements(threadData, _replIn);
2014#line 2014 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2015
2016#line 3097 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2017 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2018#line 3097 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2019 _stmts = omc_EvaluateFunctions_evaluateFunctions__updateStatement(threadData, _elseStmts, _funcTree, _repl, _idx, tmpMeta[1] ,&_funcTree ,NULL((void*)0) ,&_idx);
2020#line 2020 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2021
2022#line 3098 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2023 tmpMeta[1] = mmc_mk_cons(_stmts, _stmtsLstOut);
2024#line 3098 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2025 _stmtsLstOut = tmpMeta[1];
2026#line 2026 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2027 }
2028 }
2029
2030#line 3100 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2031 _stmtsLstOut = listReverse(_stmtsLstOut);
2032#line 2032 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2033 _return: OMC_LABEL_UNUSED__attribute__((unused))
2034 if (out_funcTree) { *out_funcTree = _funcTree; }
2035 if (out_idx) { *out_idx = _idx; }
2036 return _stmtsLstOut;
2037}
2038PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_evaluateFunctions__updateAllStatements(threadData_t *threadData, modelica_metatype _stmtsIn, modelica_metatype _elseStmtsLstIn, modelica_metatype _replIn, modelica_metatype _D_24in_funcTree, modelica_metatype _D_24in_idx, modelica_metatype *out_funcTree, modelica_metatype *out_idx)
2039{
2040 modelica_integer tmp1;
2041 modelica_integer _idx;
2042 modelica_metatype _stmtsLstOut = NULL((void*)0);
2043 tmp1 = mmc_unbox_integer(_D_24in_idx)(((mmc_sint_t) (_D_24in_idx)) >> 1);
2044 _stmtsLstOut = omc_EvaluateFunctions_evaluateFunctions__updateAllStatements(threadData, _stmtsIn, _elseStmtsLstIn, _replIn, _D_24in_funcTree, tmp1, out_funcTree, &_idx);
2045 /* skip box _stmtsLstOut; list<list<DAE.Statement>> */
2046 /* skip box _funcTree; DAE.AvlTreePathFunction.Tree */
2047 if (out_idx) { *out_idx = mmc_mk_icon(_idx); }
2048 return _stmtsLstOut;
2049}
2050
2051PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_evaluateFunctions__updateStatementEmptyRepl(threadData_t *threadData, modelica_metatype _algsIn, modelica_metatype _inFuncTree, modelica_integer _inIndex, modelica_metatype *out_outFuncTree, modelica_integer *out_outIndex)
2052{
2053 modelica_metatype _mapTplOut = NULL((void*)0);
2054 modelica_metatype _outFuncTree = NULL((void*)0);
2055 modelica_integer _outIndex;
2056 modelica_metatype _repl = NULL((void*)0);
2057 modelica_metatype _algsOut = NULL((void*)0);
2058 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
2059 MMC_SO()mmc_check_stackoverflow(threadData);
2060 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2061 // _mapTplOut has no default value.
2062 // _outFuncTree has no default value.
2063 // _outIndex has no default value.
2064 // _repl has no default value.
2065 // _algsOut has no default value.
2066#line 3066 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2067 _repl = omc_BackendVarTransform_emptyReplacements(threadData);
2068#line 2068 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2069
2070#line 3068 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2071 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2072#line 3068 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2073 _algsOut = omc_EvaluateFunctions_evaluateFunctions__updateStatement(threadData, _algsIn, _inFuncTree, _repl, _inIndex, tmpMeta[0] ,&_outFuncTree ,&_repl ,&_outIndex);
2074#line 2074 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2075
2076#line 3070 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2077 tmpMeta[0] = mmc_mk_box2(0, _algsOut, _repl);
2078#line 3070 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2079 _mapTplOut = tmpMeta[0];
2080#line 2080 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2081 _return: OMC_LABEL_UNUSED__attribute__((unused))
2082 if (out_outFuncTree) { *out_outFuncTree = _outFuncTree; }
2083 if (out_outIndex) { *out_outIndex = _outIndex; }
2084 return _mapTplOut;
2085}
2086PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_evaluateFunctions__updateStatementEmptyRepl(threadData_t *threadData, modelica_metatype _algsIn, modelica_metatype _inFuncTree, modelica_metatype _inIndex, modelica_metatype *out_outFuncTree, modelica_metatype *out_outIndex)
2087{
2088 modelica_integer tmp1;
2089 modelica_integer _outIndex;
2090 modelica_metatype _mapTplOut = NULL((void*)0);
2091 tmp1 = mmc_unbox_integer(_inIndex)(((mmc_sint_t) (_inIndex)) >> 1);
2092 _mapTplOut = omc_EvaluateFunctions_evaluateFunctions__updateStatementEmptyRepl(threadData, _algsIn, _inFuncTree, tmp1, out_outFuncTree, &_outIndex);
2093 /* skip box _mapTplOut; tuple<list<DAE.Statement>, BackendVarTransform.VariableReplacements> */
2094 /* skip box _outFuncTree; DAE.AvlTreePathFunction.Tree */
2095 if (out_outIndex) { *out_outIndex = mmc_mk_icon(_outIndex); }
2096 return _mapTplOut;
2097}
2098
2099PROTECTED_FUNCTION_STATIC modelica_integer omc_EvaluateFunctions_getScalarVarSize(threadData_t *threadData, modelica_metatype _inVar)
2100{
2101 modelica_integer _size;
2102 modelica_integer tmp1 = 0;
2103 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
2104 MMC_SO()mmc_check_stackoverflow(threadData);
2105 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2106 // _size has no default value.
2107#line 2107 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2108 { /* match expression */
2109 modelica_metatype tmp4_1;
2110 tmp4_1 = _inVar;
2111 {
2112 modelica_metatype _ty = NULL((void*)0);
2113 modelica_metatype _vl = NULL((void*)0);
2114 volatile mmc_switch_type tmp4;
2115 int tmp5;
2116 // _ty has no default value.
2117 // _vl has no default value.
2118 tmp4 = 0;
2119 for (; tmp4 < 3; tmp4++) {
2120 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2121 case 0: {
2122 modelica_integer tmp7;
2123 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
2124 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],9,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((3 +1)
<< 10) + (((9 +3) & 255) << 2)))
== 0) goto tmp3_end;
2125 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
2126 if (listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2127 tmpMeta[2] = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
2128 tmpMeta[3] = MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
2129
2130 _vl = tmpMeta[1];
2131 /* Pattern matching succeeded */
2132#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2133 {
2134#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2135 int tmp6;
2136#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2137 modelica_integer _D_24tmpVar5;
2138#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2139 modelica_integer _D_24tmpVar4;
2140#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2141 int tmp8;
2142#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2143 modelica_metatype _v_loopVar = 0;
2144#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2145 modelica_metatype _v;
2146#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2147 _v_loopVar = _vl;
2148#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2149 tmp6 = 0; /* intAdd lacks default-value */
2150#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2151 while(1) {
2152#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2153 tmp8 = 1;
2154#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2155 if (!listEmpty(_v_loopVar)((*(mmc_uint_t*)((void*)((char*)(_v_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
2156#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2157 _v = MMC_CAR(_v_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_v_loopVar) - 3
))) + (1)))))
;
2158#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2159 _v_loopVar = MMC_CDR(_v_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_v_loopVar) - 3
))) + (2)))))
;
2160#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2161 tmp8--;
2162#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2163 }
2164#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2165 if (tmp8 == 0) {
2166#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2167 _D_24tmpVar4 = omc_EvaluateFunctions_getScalarVarSize(threadData, _v);
2168#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2169 if(tmp6)
2170#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2171 {
2172#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2173 _D_24tmpVar5 = _D_24tmpVar4 + _D_24tmpVar5;
2174#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2175 }
2176#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2177 else
2178#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2179 {
2180#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2181 _D_24tmpVar5 = _D_24tmpVar4;
2182#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2183 tmp6 = 1;
2184#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2185 }
2186#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2187 } else if (tmp8 == 1) {
2188#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2189 break;
2190#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2191 } else {
2192#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2193 goto goto_2;
2194#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2195 }
2196#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2197 }
2198#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2199 if (!tmp6) goto goto_2;
2200#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2201 tmp7 = _D_24tmpVar5;
2202#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2203 }
2204#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2205 tmp1 = tmp7;
2206#line 2206 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2207 goto tmp3_done;
2208 }
2209 case 1: {
2210 modelica_integer tmp10;
2211 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
2212 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],6,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((2 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
2213
2214 _ty = tmpMeta[0];
2215 /* Pattern matching succeeded */
2216#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2217 {
2218#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2219 int tmp9;
2220#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2221 modelica_integer _D_24tmpVar7;
2222#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2223 modelica_integer _D_24tmpVar6;
2224#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2225 int tmp11;
2226#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2227 modelica_metatype _sz_loopVar = 0;
2228#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2229 modelica_metatype _sz;
2230#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2231 _sz_loopVar = omc_DAEUtil_expTypeArrayDimensions(threadData, _ty);
2232#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2233 tmp9 = 0; /* intMul lacks default-value */
2234#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2235 while(1) {
2236#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2237 tmp11 = 1;
2238#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2239 if (!listEmpty(_sz_loopVar)((*(mmc_uint_t*)((void*)((char*)(_sz_loopVar) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) {
2240#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2241 _sz = MMC_CAR(_sz_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_sz_loopVar) - 3
))) + (1)))))
;
2242#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2243 _sz_loopVar = MMC_CDR(_sz_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_sz_loopVar) - 3
))) + (2)))))
;
2244#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2245 tmp11--;
2246#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2247 }
2248#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2249 if (tmp11 == 0) {
2250#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2251 _D_24tmpVar6 = mmc_unbox_integer(_sz)(((mmc_sint_t) (_sz)) >> 1);
2252#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2253 if(tmp9)
2254#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2255 {
2256#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2257 _D_24tmpVar7 = (_D_24tmpVar6) * (_D_24tmpVar7);
2258#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2259 }
2260#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2261 else
2262#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2263 {
2264#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2265 _D_24tmpVar7 = _D_24tmpVar6;
2266#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2267 tmp9 = 1;
2268#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2269 }
2270#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2271 } else if (tmp11 == 1) {
2272#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2273 break;
2274#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2275 } else {
2276#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2277 goto goto_2;
2278#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2279 }
2280#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2281 }
2282#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2283 if (!tmp9) goto goto_2;
2284#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2285 tmp10 = _D_24tmpVar7;
2286#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2287 }
2288#line 3042 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2289 tmp1 = tmp10;
2290#line 2290 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2291 goto tmp3_done;
2292 }
2293 case 2: {
2294
2295 /* Pattern matching succeeded */
2296#line 3044 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2297 tmp1 = ((modelica_integer) 1);
2298#line 2298 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2299 goto tmp3_done;
2300 }
2301 }
2302 goto tmp3_end;
2303 tmp3_end: ;
2304 }
2305 goto goto_2;
2306 goto_2:;
2307 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2308 goto tmp3_done;
2309 tmp3_done:;
2310 }
2311 }
2312 _size = tmp1;
2313 _return: OMC_LABEL_UNUSED__attribute__((unused))
2314 return _size;
2315}
2316PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_getScalarVarSize(threadData_t *threadData, modelica_metatype _inVar)
2317{
2318 modelica_integer _size;
2319 modelica_metatype out_size;
2320 _size = omc_EvaluateFunctions_getScalarVarSize(threadData, _inVar);
2321 out_size = mmc_mk_icon(_size);
2322 return out_size;
2323}
2324
2325PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getVarLstFromType(threadData_t *threadData, modelica_metatype _tyIn)
2326{
2327 modelica_metatype _varsOut = NULL((void*)0);
2328 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
2329 MMC_SO()mmc_check_stackoverflow(threadData);
2330 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2331 // _varsOut has no default value.
2332#line 2332 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2333 { /* match expression */
2334 modelica_metatype tmp3_1;
2335 tmp3_1 = _tyIn;
2336 {
2337 modelica_metatype _varLst = NULL((void*)0);
2338 modelica_metatype _tyLst = NULL((void*)0);
2339 volatile mmc_switch_type tmp3;
2340 int tmp4;
2341 // _varLst has no default value.
2342 // _tyLst has no default value.
2343 tmp3 = 0;
2344 for (; tmp3 < 4; tmp3++) {
2345 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2346 case 0: {
2347 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,14,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((2 +1) <<
10) + (((14 +3) & 255) << 2)))
== 0) goto tmp2_end;
2348 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2349 if (listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2350 tmpMeta[2] = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
2351 tmpMeta[3] = MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
2352
2353 _tyLst = tmpMeta[1];
2354 /* Pattern matching succeeded */
2355#line 3020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2356 {
2357#line 3020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2358 modelica_metatype _D_24tmpVar9;
2359#line 3020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2360 modelica_metatype _D_24tmpVar8;
2361#line 3020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2362 int tmp5;
2363#line 3020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2364 modelica_metatype _ty_loopVar = 0;
2365#line 3020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2366 modelica_metatype _ty;
2367#line 3020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2368 _ty_loopVar = _tyLst;
2369#line 3020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2370 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2371#line 3020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2372 _D_24tmpVar9 = tmpMeta[2]; /* defaultValue */
2373#line 3020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2374 while(1) {
2375#line 3020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2376 tmp5 = 1;
2377#line 3020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2378 if (!listEmpty(_ty_loopVar)((*(mmc_uint_t*)((void*)((char*)(_ty_loopVar) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) {
2379#line 3020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2380 _ty = MMC_CAR(_ty_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_ty_loopVar) - 3
))) + (1)))))
;
2381#line 3020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2382 _ty_loopVar = MMC_CDR(_ty_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_ty_loopVar) - 3
))) + (2)))))
;
2383#line 3020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2384 tmp5--;
2385#line 3020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2386 }
2387#line 3020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2388 if (tmp5 == 0) {
2389#line 3020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2390 _D_24tmpVar8 = omc_EvaluateFunctions_getVarLstFromType(threadData, _ty);
2391#line 3020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2392 _D_24tmpVar9 = listAppend(_D_24tmpVar8, _D_24tmpVar9);
2393#line 3020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2394 } else if (tmp5 == 1) {
2395#line 3020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2396 break;
2397#line 3020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2398 } else {
2399#line 3020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2400 goto goto_1;
2401#line 3020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2402 }
2403#line 3020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2404 }
2405#line 3020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2406 tmpMeta[1] = _D_24tmpVar9;
2407#line 3020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2408 }
2409#line 3020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2410 tmpMeta[0] = tmpMeta[1];
2411#line 2411 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2412 goto tmp2_done;
2413 }
2414 case 1: {
2415 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,9,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((9 +3) & 255) << 2)))
== 0) goto tmp2_end;
2416 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
2417
2418 _varLst = tmpMeta[1];
2419 /* Pattern matching succeeded */
2420#line 3022 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2421 tmpMeta[0] = _varLst;
2422#line 2422 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2423 goto tmp2_done;
2424 }
2425 case 2: {
2426 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,10,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((10 +3) & 255) << 2)))
== 0) goto tmp2_end;
2427 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
2428
2429 _varLst = tmpMeta[1];
2430 /* Pattern matching succeeded */
2431#line 3023 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2432 tmpMeta[0] = _varLst;
2433#line 2433 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2434 goto tmp2_done;
2435 }
2436 case 3: {
2437
2438 /* Pattern matching succeeded */
2439#line 3024 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2440 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2441#line 3024 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2442 tmpMeta[0] = tmpMeta[1];
2443#line 2443 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2444 goto tmp2_done;
2445 }
2446 }
2447 goto tmp2_end;
2448 tmp2_end: ;
2449 }
2450 goto goto_1;
2451 goto_1:;
2452 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2453 goto tmp2_done;
2454 tmp2_done:;
2455 }
2456 }
2457 _varsOut = tmpMeta[0];
2458 _return: OMC_LABEL_UNUSED__attribute__((unused))
2459 return _varsOut;
2460}
2461
2462PROTECTED_FUNCTION_STATIC modelica_integer omc_EvaluateFunctions_getScalarExpSize(threadData_t *threadData, modelica_metatype _inExp)
2463{
2464 modelica_integer _size;
2465 modelica_integer tmp1 = 0;
2466 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
2467 MMC_SO()mmc_check_stackoverflow(threadData);
2468 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2469 // _size has no default value.
2470#line 2470 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2471 { /* match expression */
2472 modelica_metatype tmp4_1;
2473 tmp4_1 = _inExp;
2474 {
2475 modelica_metatype _cref = NULL((void*)0);
2476 modelica_metatype _exps = NULL((void*)0);
2477 modelica_metatype _vl = NULL((void*)0);
2478 modelica_metatype _tyl = NULL((void*)0);
2479 modelica_integer _exps_len;
2480 volatile mmc_switch_type tmp4;
2481 int tmp5;
2482 // _cref has no default value.
2483 // _exps has no default value.
2484 // _vl has no default value.
2485 // _tyl has no default value.
2486 // _exps_len has no default value.
2487 tmp4 = 0;
2488 for (; tmp4 < 6; tmp4++) {
2489 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2490 case 0: {
2491 modelica_integer tmp7;
2492 modelica_integer tmp10;
2493 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,19,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((19 +3) & 255) << 2)))
== 0) goto tmp3_end;
2494 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2495 if (listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2496 tmpMeta[1] = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
2497 tmpMeta[2] = MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2498 _exps = tmpMeta[0];
2499 /* Pattern matching succeeded */
2500#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2501 {
2502#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2503 int tmp6;
2504#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2505 modelica_integer _D_24tmpVar11;
2506#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2507 modelica_integer _D_24tmpVar10;
2508#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2509 int tmp8;
2510#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2511 modelica_metatype _exp_loopVar = 0;
2512#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2513 modelica_metatype _exp;
2514#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2515 _exp_loopVar = _exps;
2516#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2517 tmp6 = 0; /* intAdd lacks default-value */
2518#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2519 while(1) {
2520#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2521 tmp8 = 1;
2522#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2523 while (!listEmpty(_exp_loopVar)((*(mmc_uint_t*)((void*)((char*)(_exp_loopVar) - 3))) == (((0
) << 10) + (((0) & 255) << 2)))
) {
2524#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2525 _exp = MMC_CAR(_exp_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_exp_loopVar) -
3))) + (1)))))
;
2526#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2527 _exp_loopVar = MMC_CDR(_exp_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_exp_loopVar) -
3))) + (2)))))
;
2528#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2529 if (omc_Expression_isNotWild(threadData, _exp)) {
2530#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2531 tmp8--;
2532#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2533 break;
2534#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2535 }
2536#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2537 }
2538#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2539 if (tmp8 == 0) {
2540#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2541 _D_24tmpVar10 = ((modelica_integer) 1);
2542#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2543 if(tmp6)
2544#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2545 {
2546#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2547 _D_24tmpVar11 = _D_24tmpVar10 + _D_24tmpVar11;
2548#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2549 }
2550#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2551 else
2552#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2553 {
2554#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2555 _D_24tmpVar11 = _D_24tmpVar10;
2556#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2557 tmp6 = 1;
2558#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2559 }
2560#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2561 } else if (tmp8 == 1) {
2562#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2563 break;
2564#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2565 } else {
2566#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2567 goto goto_2;
2568#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2569 }
2570#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2571 }
2572#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2573 if (!tmp6) goto goto_2;
2574#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2575 tmp7 = _D_24tmpVar11;
2576#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2577 }
2578#line 2972 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2579 _exps_len = tmp7;
2580#line 2580 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2581
2582#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2583 {
2584#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2585 int tmp9;
2586#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2587 modelica_integer _D_24tmpVar13;
2588#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2589 modelica_integer _D_24tmpVar12;
2590#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2591 int tmp11;
2592#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2593 modelica_metatype _exp_loopVar = 0;
2594#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2595 modelica_metatype _exp;
2596#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2597 _exp_loopVar = _exps;
2598#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2599 tmp9 = 0; /* intAdd lacks default-value */
2600#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2601 while(1) {
2602#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2603 tmp11 = 1;
2604#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2605 if (!listEmpty(_exp_loopVar)((*(mmc_uint_t*)((void*)((char*)(_exp_loopVar) - 3))) == (((0
) << 10) + (((0) & 255) << 2)))
) {
2606#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2607 _exp = MMC_CAR(_exp_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_exp_loopVar) -
3))) + (1)))))
;
2608#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2609 _exp_loopVar = MMC_CDR(_exp_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_exp_loopVar) -
3))) + (2)))))
;
2610#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2611 tmp11--;
2612#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2613 }
2614#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2615 if (tmp11 == 0) {
2616#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2617 _D_24tmpVar12 = omc_EvaluateFunctions_getScalarExpSize(threadData, _exp);
2618#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2619 if(tmp9)
2620#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2621 {
2622#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2623 _D_24tmpVar13 = _D_24tmpVar12 + _D_24tmpVar13;
2624#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2625 }
2626#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2627 else
2628#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2629 {
2630#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2631 _D_24tmpVar13 = _D_24tmpVar12;
2632#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2633 tmp9 = 1;
2634#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2635 }
2636#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2637 } else if (tmp11 == 1) {
2638#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2639 break;
2640#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2641 } else {
2642#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2643 goto goto_2;
2644#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2645 }
2646#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2647 }
2648#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2649 if (!tmp9) goto goto_2;
2650#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2651 tmp10 = _D_24tmpVar13;
2652#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2653 }
2654#line 2973 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2655 _size = tmp10;
2656#line 2656 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2657#line 2974 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2658 tmp1 = modelica_integer_max((modelica_integer)(_size),(modelica_integer)(_exps_len));
2659#line 2659 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2660 goto tmp3_done;
2661 }
2662 case 1: {
2663 modelica_integer tmp13;
2664 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,6,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((2 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
2665 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
2666 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],9,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((3 +1)
<< 10) + (((9 +3) & 255) << 2)))
== 0) goto tmp3_end;
2667 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
2668 if (listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2669 tmpMeta[2] = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
2670 tmpMeta[3] = MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
2671
2672 _vl = tmpMeta[1];
2673 /* Pattern matching succeeded */
2674#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2675 {
2676#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2677 int tmp12;
2678#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2679 modelica_integer _D_24tmpVar15;
2680#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2681 modelica_integer _D_24tmpVar14;
2682#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2683 int tmp14;
2684#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2685 modelica_metatype _v_loopVar = 0;
2686#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2687 modelica_metatype _v;
2688#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2689 _v_loopVar = _vl;
2690#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2691 tmp12 = 0; /* intAdd lacks default-value */
2692#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2693 while(1) {
2694#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2695 tmp14 = 1;
2696#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2697 if (!listEmpty(_v_loopVar)((*(mmc_uint_t*)((void*)((char*)(_v_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
2698#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2699 _v = MMC_CAR(_v_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_v_loopVar) - 3
))) + (1)))))
;
2700#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2701 _v_loopVar = MMC_CDR(_v_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_v_loopVar) - 3
))) + (2)))))
;
2702#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2703 tmp14--;
2704#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2705 }
2706#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2707 if (tmp14 == 0) {
2708#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2709 _D_24tmpVar14 = omc_EvaluateFunctions_getScalarVarSize(threadData, _v);
2710#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2711 if(tmp12)
2712#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2713 {
2714#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2715 _D_24tmpVar15 = _D_24tmpVar14 + _D_24tmpVar15;
2716#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2717 }
2718#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2719 else
2720#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2721 {
2722#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2723 _D_24tmpVar15 = _D_24tmpVar14;
2724#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2725 tmp12 = 1;
2726#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2727 }
2728#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2729 } else if (tmp14 == 1) {
2730#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2731 break;
2732#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2733 } else {
2734#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2735 goto goto_2;
2736#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2737 }
2738#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2739 }
2740#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2741 if (!tmp12) goto goto_2;
2742#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2743 tmp13 = _D_24tmpVar15;
2744#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2745 }
2746#line 2979 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2747 tmp1 = tmp13;
2748#line 2748 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2749 goto tmp3_done;
2750 }
2751 case 2: {
2752 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,6,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((2 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
2753 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2754
2755 _cref = tmpMeta[0];
2756 /* Pattern matching succeeded */
2757#line 2984 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2758 tmp1 = (omc_ComponentReference_isArrayElement(threadData, _cref)?listLength(omc_ComponentReference_expandCref(threadData, _cref, 1)):((modelica_integer) 1));
2759#line 2759 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2760 goto tmp3_done;
2761 }
2762 case 3: {
2763 modelica_integer tmp16;
2764 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,13,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((3 +1) <<
10) + (((13 +3) & 255) << 2)))
== 0) goto tmp3_end;
2765 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
2766 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2767 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],9,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((3 +1)
<< 10) + (((9 +3) & 255) << 2)))
== 0) goto tmp3_end;
2768 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
2769 if (listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2770 tmpMeta[3] = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
2771 tmpMeta[4] = MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
2772
2773 _vl = tmpMeta[2];
2774 /* Pattern matching succeeded */
2775#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2776 {
2777#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2778 int tmp15;
2779#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2780 modelica_integer _D_24tmpVar17;
2781#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2782 modelica_integer _D_24tmpVar16;
2783#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2784 int tmp17;
2785#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2786 modelica_metatype _v_loopVar = 0;
2787#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2788 modelica_metatype _v;
2789#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2790 _v_loopVar = _vl;
2791#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2792 tmp15 = 0; /* intAdd lacks default-value */
2793#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2794 while(1) {
2795#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2796 tmp17 = 1;
2797#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2798 if (!listEmpty(_v_loopVar)((*(mmc_uint_t*)((void*)((char*)(_v_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
2799#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2800 _v = MMC_CAR(_v_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_v_loopVar) - 3
))) + (1)))))
;
2801#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2802 _v_loopVar = MMC_CDR(_v_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_v_loopVar) - 3
))) + (2)))))
;
2803#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2804 tmp17--;
2805#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2806 }
2807#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2808 if (tmp17 == 0) {
2809#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2810 _D_24tmpVar16 = omc_EvaluateFunctions_getScalarVarSize(threadData, _v);
2811#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2812 if(tmp15)
2813#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2814 {
2815#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2816 _D_24tmpVar17 = _D_24tmpVar16 + _D_24tmpVar17;
2817#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2818 }
2819#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2820 else
2821#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2822 {
2823#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2824 _D_24tmpVar17 = _D_24tmpVar16;
2825#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2826 tmp15 = 1;
2827#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2828 }
2829#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2830 } else if (tmp17 == 1) {
2831#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2832 break;
2833#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2834 } else {
2835#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2836 goto goto_2;
2837#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2838 }
2839#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2840 }
2841#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2842 if (!tmp15) goto goto_2;
2843#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2844 tmp16 = _D_24tmpVar17;
2845#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2846 }
2847#line 2990 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2848 tmp1 = tmp16;
2849#line 2849 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2850 goto tmp3_done;
2851 }
2852 case 4: {
2853 modelica_integer tmp19;
2854 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,13,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((3 +1) <<
10) + (((13 +3) & 255) << 2)))
== 0) goto tmp3_end;
2855 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
2856 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2857 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],14,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((2 +1)
<< 10) + (((14 +3) & 255) << 2)))
== 0) goto tmp3_end;
2858 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
2859 if (listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2860 tmpMeta[3] = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
2861 tmpMeta[4] = MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
2862
2863 _tyl = tmpMeta[2];
2864 /* Pattern matching succeeded */
2865#line 2994 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2866 _size = ((modelica_integer) 0);
2867#line 2867 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2868
2869#line 2995 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2870 {
2871#line 2995 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2872 modelica_metatype _ty;
2873#line 2995 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2874 for (tmpMeta[0] = _tyl; !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
2875#line 2995 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2876 {
2877#line 2995 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2878 _ty = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
2879#line 2996 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2880 _vl = omc_EvaluateFunctions_getVarLstFromType(threadData, _ty);
2881#line 2881 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2882
2883#line 2998 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2884 if((!listEmpty(_vl)((*(mmc_uint_t*)((void*)((char*)(_vl) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
))
2885#line 2998 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2886 {
2887#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2888 {
2889#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2890 int tmp18;
2891#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2892 modelica_integer _D_24tmpVar19;
2893#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2894 modelica_integer _D_24tmpVar18;
2895#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2896 int tmp20;
2897#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2898 modelica_metatype _v_loopVar = 0;
2899#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2900 modelica_metatype _v;
2901#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2902 _v_loopVar = _vl;
2903#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2904 tmp18 = 0; /* intAdd lacks default-value */
2905#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2906 while(1) {
2907#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2908 tmp20 = 1;
2909#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2910 if (!listEmpty(_v_loopVar)((*(mmc_uint_t*)((void*)((char*)(_v_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
2911#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2912 _v = MMC_CAR(_v_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_v_loopVar) - 3
))) + (1)))))
;
2913#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2914 _v_loopVar = MMC_CDR(_v_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_v_loopVar) - 3
))) + (2)))))
;
2915#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2916 tmp20--;
2917#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2918 }
2919#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2920 if (tmp20 == 0) {
2921#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2922 _D_24tmpVar18 = omc_EvaluateFunctions_getScalarVarSize(threadData, _v);
2923#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2924 if(tmp18)
2925#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2926 {
2927#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2928 _D_24tmpVar19 = _D_24tmpVar18 + _D_24tmpVar19;
2929#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2930 }
2931#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2932 else
2933#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2934 {
2935#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2936 _D_24tmpVar19 = _D_24tmpVar18;
2937#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2938 tmp18 = 1;
2939#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2940 }
2941#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2942 } else if (tmp20 == 1) {
2943#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2944 break;
2945#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2946 } else {
2947#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2948 goto goto_2;
2949#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2950 }
2951#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2952 }
2953#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2954 if (!tmp18) goto goto_2;
2955#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2956 tmp19 = _D_24tmpVar19;
2957#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2958 }
2959#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2960 _size = _size + tmp19;
2961#line 2961 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2962 }
2963 }
2964 }
2965#line 3002 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2966 tmp1 = _size;
2967#line 2967 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2968 goto tmp3_done;
2969 }
2970 case 5: {
2971
2972 /* Pattern matching succeeded */
2973#line 3005 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2974 tmp1 = ((modelica_integer) 0);
2975#line 2975 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2976 goto tmp3_done;
2977 }
2978 }
2979 goto tmp3_end;
2980 tmp3_end: ;
2981 }
2982 goto goto_2;
2983 goto_2:;
2984 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2985 goto tmp3_done;
2986 tmp3_done:;
2987 }
2988 }
2989 _size = tmp1;
2990 _return: OMC_LABEL_UNUSED__attribute__((unused))
2991 return _size;
2992}
2993PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_getScalarExpSize(threadData_t *threadData, modelica_metatype _inExp)
2994{
2995 modelica_integer _size;
2996 modelica_metatype out_size;
2997 _size = omc_EvaluateFunctions_getScalarExpSize(threadData, _inExp);
2998 out_size = mmc_mk_icon(_size);
2999 return out_size;
3000}
3001
3002DLLExport
3003modelica_metatype omc_EvaluateFunctions_getRecordScalars(threadData_t *threadData, modelica_metatype _crefIn)
3004{
3005 modelica_metatype _crefsOut = NULL((void*)0);
3006 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
3007 MMC_SO()mmc_check_stackoverflow(threadData);
3008 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3009 // _crefsOut has no default value.
3010#line 3010 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3011 { /* matchcontinue expression */
3012 {
3013 volatile mmc_switch_type tmp3;
3014 int tmp4;
3015 tmp3 = 0;
3016 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) {
3017 tmp2_top:
3018 threadData->mmc_jumper = &new_mmc_jumper;
3019 for (; tmp3 < 2; tmp3++) {
3020 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3021 case 0: {
3022 /* Pattern matching succeeded */
3023#line 2949 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3024 _crefsOut = omc_ComponentReference_expandCref(threadData, _crefIn, 1);
3025#line 3025 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3026#line 3026 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3027 goto tmp2_done;
3028 }
3029 case 1: {
3030 /* Pattern matching succeeded */
3031#line 2951 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3032 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3033#line 2951 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3034 _crefsOut = tmpMeta[0];
3035#line 3035 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3036#line 3036 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3037 goto tmp2_done;
3038 }
3039 }
3040 goto tmp2_end;
3041 tmp2_end: ;
3042 }
3043 goto goto_1;
3044 tmp2_done:
3045 (void)tmp3;
3046 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3047 goto tmp2_done2;
3048 goto_1:;
3049 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3050 if (++tmp3 < 2) {
3051 goto tmp2_top;
3052 }
3053 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3054 tmp2_done2:;
3055 }
3056 }
3057 ;
3058 _return: OMC_LABEL_UNUSED__attribute__((unused))
3059 return _crefsOut;
3060}
3061
3062PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_setTypesForScalarCrefs(threadData_t *threadData, modelica_metatype _allCrefs, modelica_metatype _types)
3063{
3064 modelica_metatype _crefsOut = NULL((void*)0);
3065 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3066 MMC_SO()mmc_check_stackoverflow(threadData);
3067 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3068 // _crefsOut has no default value.
3069#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3070 {
3071#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3072 modelica_metatype _D_24tmpVar21;
3073#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3074 modelica_metatype* tmp1;
3075#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3076 modelica_metatype _D_24tmpVar20;
3077#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3078 int tmp2;
3079#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3080 modelica_metatype _ty_loopVar = 0;
3081#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3082 modelica_metatype _ty;
3083#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3084 modelica_metatype _cr_loopVar = 0;
3085#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3086 modelica_metatype _cr;
3087#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3088 _ty_loopVar = _types;
3089#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3090 _cr_loopVar = _allCrefs;
3091#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3092 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3093#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3094 _D_24tmpVar21 = tmpMeta[1]; /* defaultValue */
3095#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3096 tmp1 = &_D_24tmpVar21;
3097#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3098 while(1) {
3099#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3100 tmp2 = 2;
3101#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3102 if (!listEmpty(_ty_loopVar)((*(mmc_uint_t*)((void*)((char*)(_ty_loopVar) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) {
3103#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3104 _ty = MMC_CAR(_ty_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_ty_loopVar) - 3
))) + (1)))))
;
3105#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3106 _ty_loopVar = MMC_CDR(_ty_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_ty_loopVar) - 3
))) + (2)))))
;
3107#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3108 tmp2--;
3109#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3110 }if (!listEmpty(_cr_loopVar)((*(mmc_uint_t*)((void*)((char*)(_cr_loopVar) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) {
3111#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3112 _cr = MMC_CAR(_cr_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_cr_loopVar) - 3
))) + (1)))))
;
3113#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3114 _cr_loopVar = MMC_CDR(_cr_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_cr_loopVar) - 3
))) + (2)))))
;
3115#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3116 tmp2--;
3117#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3118 }
3119#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3120 if (tmp2 == 0) {
3121#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3122 _D_24tmpVar20 = omc_ComponentReference_crefSetLastType(threadData, _cr, _ty);
3123#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3124 *tmp1 = mmc_mk_cons(_D_24tmpVar20,0);
3125#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3126 tmp1 = &MMC_CDR(*tmp1)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp1) - 3))) +
(2)))))
;
3127#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3128 } else if (tmp2 == 2) {
3129#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3130 break;
3131#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3132 } else {
3133#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3134 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3135#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3136 }
3137#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3138 }
3139#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3140 *tmp1 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
3141#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3142 tmpMeta[0] = _D_24tmpVar21;
3143#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3144 }
3145#line 2940 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3146 _crefsOut = tmpMeta[0];
3147#line 3147 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3148 _return: OMC_LABEL_UNUSED__attribute__((unused))
3149 return _crefsOut;
3150}
3151
3152PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_isNotComplexVar(threadData_t *threadData, modelica_metatype _inElem)
3153{
3154 modelica_boolean _b;
3155 modelica_boolean tmp1 = 0;
3156 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3157 MMC_SO()mmc_check_stackoverflow(threadData);
3158 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3159 // _b has no default value.
3160#line 3160 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3161 { /* matchcontinue expression */
3162 volatile modelica_metatype tmp4_1;
3163 tmp4_1 = _inElem;
3164 {
3165 modelica_metatype _dimints = NULL((void*)0);
3166 modelica_metatype _dims = NULL((void*)0);
3167 volatile mmc_switch_type tmp4;
3168 int tmp5;
3169 // _dimints has no default value.
3170 // _dims has no default value.
3171 tmp4 = 0;
3172 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) {
3173 tmp3_top:
3174 threadData->mmc_jumper = &new_mmc_jumper;
3175 for (; tmp4 < 5; tmp4++) {
3176 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3177 case 0: {
3178 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,0,13)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((13 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
3179 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(7)))))
;
3180 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],9,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((3 +1)
<< 10) + (((9 +3) & 255) << 2)))
== 0) goto tmp3_end;
3181
3182 tmp4 += 3; /* Pattern matching succeeded; we may skip some cases if we fail */
3183#line 2914 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3184 tmp1 = 0;
3185#line 3185 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3186 goto tmp3_done;
3187 }
3188 case 1: {
3189 modelica_boolean tmp6;
3190 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,0,13)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((13 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
3191 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(7)))))
;
3192 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) goto tmp3_end;
3193 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(9)))))
;
3194
3195 _dims = tmpMeta[1];
3196 tmp4 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
3197#line 2918 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3198 _dimints = omc_List_map(threadData, _dims, boxvar_Expression_dimensionSize((void*)((char*)(&(boxvar_lit_Expression_dimensionSize).header
) + 3))
);
3199#line 3199 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3200
3201#line 2919 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3202 /* Pattern-matching assignment */
3203#line 2919 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3204 tmp6 = (mmc_unbox_integer(listHead(_dimints))(((mmc_sint_t) (boxptr_listHead(threadData,_dimints))) >>
1)
!= ((modelica_integer) 0));
3205#line 2919 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3206 if (1 != tmp6) goto goto_2;
3207#line 3207 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3208#line 2920 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3209 tmp1 = 0;
3210#line 3210 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3211 goto tmp3_done;
3212 }
3213 case 2: {
3214 modelica_boolean tmp7;
3215 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,0,13)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((13 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
3216 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(7)))))
;
3217 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],0,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((1 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
3218 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(9)))))
;
3219
3220 _dims = tmpMeta[1];
3221 tmp4 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
3222#line 2925 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3223 _dimints = omc_List_map(threadData, _dims, boxvar_Expression_dimensionSize((void*)((char*)(&(boxvar_lit_Expression_dimensionSize).header
) + 3))
);
3224#line 3224 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3225
3226#line 2926 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3227 /* Pattern-matching assignment */
3228#line 2926 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3229 tmp7 = (mmc_unbox_integer(listHead(_dimints))(((mmc_sint_t) (boxptr_listHead(threadData,_dimints))) >>
1)
!= ((modelica_integer) 0));
3230#line 2926 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3231 if (1 != tmp7) goto goto_2;
3232#line 3232 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3233#line 2927 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3234 tmp1 = 0;
3235#line 3235 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3236 goto tmp3_done;
3237 }
3238 case 3: {
3239 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,0,13)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((13 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
3240 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(7)))))
;
3241 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],6,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((2 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
3242
3243 /* Pattern matching succeeded */
3244#line 2930 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3245 tmp1 = 0;
3246#line 3246 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3247 goto tmp3_done;
3248 }
3249 case 4: {
3250
3251 /* Pattern matching succeeded */
3252#line 2931 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3253 tmp1 = 1;
3254#line 3254 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3255 goto tmp3_done;
3256 }
3257 }
3258 goto tmp3_end;
3259 tmp3_end: ;
3260 }
3261 goto goto_2;
3262 tmp3_done:
3263 (void)tmp4;
3264 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3265 goto tmp3_done2;
3266 goto_2:;
3267 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3268 if (++tmp4 < 5) {
3269 goto tmp3_top;
3270 }
3271 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3272 tmp3_done2:;
3273 }
3274 }
3275 _b = tmp1;
3276 _return: OMC_LABEL_UNUSED__attribute__((unused))
3277 return _b;
3278}
3279PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_isNotComplexVar(threadData_t *threadData, modelica_metatype _inElem)
3280{
3281 modelica_boolean _b;
3282 modelica_metatype out_b;
3283 _b = omc_EvaluateFunctions_isNotComplexVar(threadData, _inElem);
3284 out_b = mmc_mk_icon(_b);
3285 return out_b;
3286}
3287
3288PROTECTED_FUNCTION_STATIC modelica_string omc_EvaluateFunctions_subsLstString(threadData_t *threadData, modelica_metatype _subs)
3289{
3290 modelica_string _s = NULL((void*)0);
3291 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3292 MMC_SO()mmc_check_stackoverflow(threadData);
3293 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3294 // _s has no default value.
3295#line 2901 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3296 tmpMeta[0] = stringAppend(_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)),stringDelimitList(omc_List_map(threadData, _subs, boxvar_ExpressionDump_subscriptString((void*)((char*)(&(boxvar_lit_ExpressionDump_subscriptString
).header) + 3))
), _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3))));
3297#line 2901 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3298 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)));
3299#line 2901 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3300 _s = tmpMeta[1];
3301#line 3301 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3302 _return: OMC_LABEL_UNUSED__attribute__((unused))
3303 return _s;
3304}
3305
3306PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_expandDimension(threadData_t *threadData, modelica_metatype _dims, modelica_metatype _subsIn)
3307{
3308 modelica_metatype _subsOut = NULL((void*)0);
3309 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
3310 MMC_SO()mmc_check_stackoverflow(threadData);
3311 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3312 // _subsOut has no default value.
3313#line 3313 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3314 { /* match expression */
3315 modelica_metatype tmp3_1;
3316 tmp3_1 = _dims;
3317 {
3318 modelica_integer _size;
3319 modelica_metatype _range = NULL((void*)0);
3320 modelica_metatype _dim = NULL((void*)0);
3321 modelica_metatype _sub = NULL((void*)0);
3322 modelica_metatype _rest = NULL((void*)0);
3323 modelica_metatype _subs = NULL((void*)0);
3324 modelica_metatype _subsLst = NULL((void*)0);
3325 modelica_metatype _subsLst1 = NULL((void*)0);
3326 modelica_metatype _subFold = NULL((void*)0);
3327 volatile mmc_switch_type tmp3;
3328 int tmp4;
3329 // _size has no default value.
3330 // _range has no default value.
3331 // _dim has no default value.
3332 // _sub has no default value.
3333 // _rest has no default value.
3334 // _subs has no default value.
3335 // _subsLst has no default value.
3336 // _subsLst1 has no default value.
3337 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3338 _subFold = tmpMeta[1];
3339 tmp3 = 0;
3340 for (; tmp3 < 2; tmp3++) {
3341 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3342 case 0: {
3343 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3344 tmpMeta[2] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
3345 tmpMeta[3] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3346 _dim = tmpMeta[2];
3347 _rest = tmpMeta[3];
3348 /* Pattern matching succeeded */
3349#line 2881 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3350 _size = omc_Expression_dimensionSize(threadData, _dim);
3351#line 3351 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3352
3353#line 2882 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3354 _range = omc_List_intRange(threadData, _size);
3355#line 3355 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3356
3357#line 2883 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3358 _subs = omc_List_map(threadData, _range, boxvar_Expression_intSubscript((void*)((char*)(&(boxvar_lit_Expression_intSubscript).header
) + 3))
);
3359#line 3359 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3360
3361#line 2884 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3362 _subsLst = omc_List_map(threadData, _subs, boxvar_List_create((void*)((char*)(&(boxvar_lit_List_create).header) + 3)));
3363#line 3363 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3364
3365#line 2885 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3366 {
3367#line 2885 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3368 modelica_metatype _sub;
3369#line 2885 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3370 for (tmpMeta[2] = _subsIn; !listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[2]=MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
)
3371#line 2885 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3372 {
3373#line 2885 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3374 _sub = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
3375#line 2886 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3376 _subsLst1 = omc_List_map1r(threadData, _subsLst, boxvar_listAppend((void*)((char*)(&(boxvar_lit_listAppend).header) + 3)), _sub);
3377#line 3377 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3378
3379#line 2887 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3380 /* Pattern-matching assignment */
3381#line 2887 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3382 tmpMeta[3] = listAppend(_subFold, _subsLst1);
3383#line 2887 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3384 _subFold = tmpMeta[3];
3385#line 3385 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3386 }
3387 }
3388
3389#line 2889 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3390 if(listEmpty(_subsIn)((*(mmc_uint_t*)((void*)((char*)(_subsIn) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
)
3391#line 2889 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3392 {
3393#line 2889 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3394 _subFold = _subsLst;
3395#line 3395 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3396 }
3397#line 2890 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3398 /* Tail recursive call */
3399#line 2890 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3400 _dims = _rest;
3401#line 2890 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3402 _subsIn = _subFold;
3403#line 2890 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3404 goto _tailrecursive;
3405#line 2890 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3406 /* TODO: Make sure any eventual dead code below is never generated */
3407#line 3407 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3408 goto tmp2_done;
3409 }
3410 case 1: {
3411 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3412 /* Pattern matching succeeded */
3413#line 2893 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3414 tmpMeta[0] = _subsIn;
3415#line 3415 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3416 goto tmp2_done;
3417 }
3418 }
3419 goto tmp2_end;
3420 tmp2_end: ;
3421 }
3422 goto goto_1;
3423 goto_1:;
3424 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3425 goto tmp2_done;
3426 tmp2_done:;
3427 }
3428 }
3429 _subsOut = tmpMeta[0];
3430 _return: OMC_LABEL_UNUSED__attribute__((unused))
3431 return _subsOut;
3432}
3433
3434PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getScalarsForComplexVar(threadData_t *threadData, modelica_metatype _inElem)
3435{
3436 modelica_metatype _crefsOut = NULL((void*)0);
3437 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
3438 MMC_SO()mmc_check_stackoverflow(threadData);
3439 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3440 // _crefsOut has no default value.
3441#line 3441 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3442 { /* matchcontinue expression */
3443 volatile modelica_metatype tmp3_1;
3444 tmp3_1 = _inElem;
3445 {
3446 modelica_metatype _dims = NULL((void*)0);
3447 modelica_metatype _subslst = NULL((void*)0);
3448 modelica_metatype _subslst1 = NULL((void*)0);
3449 modelica_metatype _subslst2 = NULL((void*)0);
3450 modelica_metatype _cref = NULL((void*)0);
3451 modelica_metatype _dimensions = NULL((void*)0);
3452 modelica_metatype _dimensions2 = NULL((void*)0);
3453 modelica_metatype _varLst = NULL((void*)0);
3454 modelica_metatype _crefs = NULL((void*)0);
3455 modelica_metatype _crefLst = NULL((void*)0);
3456 modelica_metatype _types = NULL((void*)0);
3457 modelica_metatype _names = NULL((void*)0);
3458 volatile mmc_switch_type tmp3;
3459 int tmp4;
3460 // _dims has no default value.
3461 // _subslst has no default value.
3462 // _subslst1 has no default value.
3463 // _subslst2 has no default value.
3464 // _cref has no default value.
3465 // _dimensions has no default value.
3466 // _dimensions2 has no default value.
3467 // _varLst has no default value.
3468 // _crefs has no default value.
3469 // _crefLst has no default value.
3470 // _types has no default value.
3471 // _names has no default value.
3472 tmp3 = 0;
3473 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) {
3474 tmp2_top:
3475 threadData->mmc_jumper = &new_mmc_jumper;
3476 for (; tmp3 < 8; tmp3++) {
3477 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3478 case 0: {
3479 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,13)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((13 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3480 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3481 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(7)))))
;
3482 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],9,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((3 +1)
<< 10) + (((9 +3) & 255) << 2)))
== 0) goto tmp2_end;
3483 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
3484
3485 _cref = tmpMeta[1];
3486 _varLst = tmpMeta[3];
3487 tmp3 += 6; /* Pattern matching succeeded; we may skip some cases if we fail */
3488#line 2798 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3489 _names = omc_List_map(threadData, _varLst, boxvar_DAEUtil_typeVarIdent((void*)((char*)(&(boxvar_lit_DAEUtil_typeVarIdent).header
) + 3))
);
3490#line 3490 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3491
3492#line 2800 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3493 _types = omc_List_map(threadData, _varLst, boxvar_DAEUtil_varType((void*)((char*)(&(boxvar_lit_DAEUtil_varType).header) + 3
))
);
3494#line 3494 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3495
3496#line 2801 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3497 _crefs = omc_List_map1(threadData, _names, boxvar_ComponentReference_appendStringCref((void*)((char*)(&(boxvar_lit_ComponentReference_appendStringCref
).header) + 3))
, _cref);
3498#line 3498 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3499
3500#line 2802 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3501 _crefs = omc_EvaluateFunctions_setTypesForScalarCrefs(threadData, _crefs, _types);
3502#line 3502 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3503
3504#line 2803 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3505 _crefLst = omc_List_map1(threadData, _crefs, boxvar_ComponentReference_expandCref((void*)((char*)(&(boxvar_lit_ComponentReference_expandCref
).header) + 3))
, mmc_mk_boolean(1)((1) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
3506#line 3506 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3507#line 2804 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3508 tmpMeta[0] = omc_List_flatten(threadData, _crefLst);
3509#line 3509 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3510 goto tmp2_done;
3511 }
3512 case 1: {
3513 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,13)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((13 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3514 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3515 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(7)))))
;
3516 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],1,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
3517 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(9)))))
;
3518
3519 _cref = tmpMeta[1];
3520 _dims = tmpMeta[3];
3521 tmp3 += 5; /* Pattern matching succeeded; we may skip some cases if we fail */
3522#line 2810 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3523 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3524#line 2810 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3525 _subslst = omc_EvaluateFunctions_expandDimension(threadData, _dims, tmpMeta[1]);
3526#line 3526 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3527#line 2811 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3528 tmpMeta[0] = omc_List_map1r(threadData, _subslst, boxvar_ComponentReference_subscriptCref((void*)((char*)(&(boxvar_lit_ComponentReference_subscriptCref
).header) + 3))
, _cref);
3529#line 3529 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3530 goto tmp2_done;
3531 }
3532 case 2: {
3533 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,13)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((13 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3534 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3535 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(7)))))
;
3536 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],0,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3537 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(9)))))
;
3538
3539 _cref = tmpMeta[1];
3540 _dims = tmpMeta[3];
3541 tmp3 += 4; /* Pattern matching succeeded; we may skip some cases if we fail */
3542#line 2817 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3543 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3544#line 2817 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3545 _subslst = omc_EvaluateFunctions_expandDimension(threadData, _dims, tmpMeta[1]);
3546#line 3546 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3547#line 2818 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3548 tmpMeta[0] = omc_List_map1r(threadData, _subslst, boxvar_ComponentReference_subscriptCref((void*)((char*)(&(boxvar_lit_ComponentReference_subscriptCref
).header) + 3))
, _cref);
3549#line 3549 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3550 goto tmp2_done;
3551 }
3552 case 3: {
3553 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,13)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((13 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3554 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3555 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(7)))))
;
3556 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],6,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((2 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) goto tmp2_end;
3557 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
3558 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 tmp2_end;
3559 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (3)))))
;
3560 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
3561
3562 _cref = tmpMeta[1];
3563 _dimensions2 = tmpMeta[4];
3564 _dimensions = tmpMeta[5];
3565 /* Pattern matching succeeded */
3566#line 2824 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3567 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3568#line 2824 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3569 _subslst1 = omc_EvaluateFunctions_expandDimension(threadData, _dimensions, tmpMeta[1]);
3570#line 3570 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3571
3572#line 2825 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3573 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3574#line 2825 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3575 _subslst2 = omc_EvaluateFunctions_expandDimension(threadData, _dimensions2, tmpMeta[1]);
3576#line 3576 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3577
3578#line 2826 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3579 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3580#line 2826 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3581 _subslst = tmpMeta[1];
3582#line 3582 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3583
3584#line 2827 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3585 {
3586#line 2827 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3587 modelica_metatype _subs;
3588#line 2827 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3589 for (tmpMeta[1] = _subslst1; !listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[1]=MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
)
3590#line 2827 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3591 {
3592#line 2827 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3593 _subs = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
3594#line 2828 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3595 {
3596#line 2828 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3597 modelica_metatype _subs2;
3598#line 2828 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3599 for (tmpMeta[2] = _subslst2; !listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[2]=MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
)
3600#line 2828 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3601 {
3602#line 2828 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3603 _subs2 = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
3604#line 2829 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3605 tmpMeta[3] = mmc_mk_cons(listAppend(_subs, _subs2), _subslst);
3606#line 2829 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3607 _subslst = tmpMeta[3];
3608#line 3608 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3609 }
3610 }
3611 }
3612 }
3613#line 2832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3614 tmpMeta[0] = omc_List_map1r(threadData, _subslst, boxvar_ComponentReference_subscriptCref((void*)((char*)(&(boxvar_lit_ComponentReference_subscriptCref
).header) + 3))
, _cref);
3615#line 3615 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3616 goto tmp2_done;
3617 }
3618 case 4: {
3619 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,13)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((13 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3620 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3621 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(7)))))
;
3622 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],6,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((2 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) goto tmp2_end;
3623 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
3624
3625 _cref = tmpMeta[1];
3626 _dimensions = tmpMeta[3];
3627 tmp3 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
3628#line 2838 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3629 if(omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))))
3630#line 2838 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3631 {
3632#line 2839 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3633 tmpMeta[1] = mmc_mk_cons(_cref, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3634#line 2839 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3635 tmpMeta[2] = stringAppend(_OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)),stringDelimitList(omc_List_map(threadData, tmpMeta[1], boxvar_ComponentReference_printComponentRefStr((void*)((char*)(&(boxvar_lit_ComponentReference_printComponentRefStr
).header) + 3))
), _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3))));
3636#line 2839 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3637 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)));
3638#line 2839 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3639 fputs(MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
,stdoutstdout);
3640#line 3640 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3641 }
3642#line 2841 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3643 tmpMeta[0] = omc_ComponentReference_expandArrayCref(threadData, _cref, _dimensions);
3644#line 3644 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3645 goto tmp2_done;
3646 }
3647 case 5: {
3648 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,13)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((13 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3649 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3650 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(7)))))
;
3651 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],5,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((5 +1)
<< 10) + (((5 +3) & 255) << 2)))
== 0) goto tmp2_end;
3652
3653 _cref = tmpMeta[1];
3654 tmp3 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
3655#line 2846 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3656 if(omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))))
3657#line 2846 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3658 {
3659#line 2847 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3660 tmpMeta[1] = mmc_mk_cons(_cref, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3661#line 2847 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3662 tmpMeta[2] = stringAppend(_OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)),stringDelimitList(omc_List_map(threadData, tmpMeta[1], boxvar_ComponentReference_printComponentRefStr((void*)((char*)(&(boxvar_lit_ComponentReference_printComponentRefStr
).header) + 3))
), _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3))));
3663#line 2847 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3664 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)));
3665#line 2847 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3666 fputs(MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
,stdoutstdout);
3667#line 3667 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3668 }
3669#line 2849 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3670 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3671#line 2849 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3672 tmpMeta[0] = tmpMeta[1];
3673#line 3673 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3674 goto tmp2_done;
3675 }
3676 case 6: {
3677 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,13)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((13 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3678 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3679 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(7)))))
;
3680 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],14,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((2 +1)
<< 10) + (((14 +3) & 255) << 2)))
== 0) goto tmp2_end;
3681
3682 _cref = tmpMeta[1];
3683 /* Pattern matching succeeded */
3684#line 2853 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3685 if(omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))))
3686#line 2853 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3687 {
3688#line 2854 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3689 tmpMeta[1] = mmc_mk_cons(_cref, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3690#line 2854 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3691 tmpMeta[2] = stringAppend(_OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)),stringDelimitList(omc_List_map(threadData, tmpMeta[1], boxvar_ComponentReference_printComponentRefStr((void*)((char*)(&(boxvar_lit_ComponentReference_printComponentRefStr
).header) + 3))
), _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3))));
3692#line 2854 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3693 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)));
3694#line 2854 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3695 fputs(MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
,stdoutstdout);
3696#line 3696 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3697 }
3698#line 2856 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3699 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3700#line 2856 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3701 tmpMeta[0] = tmpMeta[1];
3702#line 3702 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3703 goto tmp2_done;
3704 }
3705 case 7: {
3706
3707 /* Pattern matching succeeded */
3708#line 2860 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3709 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3710#line 2860 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3711 tmpMeta[0] = tmpMeta[1];
3712#line 3712 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3713 goto tmp2_done;
3714 }
3715 }
3716 goto tmp2_end;
3717 tmp2_end: ;
3718 }
3719 goto goto_1;
3720 tmp2_done:
3721 (void)tmp3;
3722 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3723 goto tmp2_done2;
3724 goto_1:;
3725 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3726 if (++tmp3 < 8) {
3727 goto tmp2_top;
3728 }
3729 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3730 tmp2_done2:;
3731 }
3732 }
3733 _crefsOut = tmpMeta[0];
3734 _return: OMC_LABEL_UNUSED__attribute__((unused))
3735 return _crefsOut;
3736}
3737
3738PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_expType(threadData_t *threadData, modelica_metatype _eIn)
3739{
3740 modelica_metatype _tOut = NULL((void*)0);
3741 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
3742 MMC_SO()mmc_check_stackoverflow(threadData);
3743 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3744 // _tOut has no default value.
3745#line 3745 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3746 { /* matchcontinue expression */
3747 volatile modelica_metatype tmp3_1;
3748 tmp3_1 = _eIn;
3749 {
3750 modelica_metatype _t = NULL((void*)0);
3751 volatile mmc_switch_type tmp3;
3752 int tmp4;
3753 // _t has no default value.
3754 tmp3 = 0;
3755 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) {
3756 tmp2_top:
3757 threadData->mmc_jumper = &new_mmc_jumper;
3758 for (; tmp3 < 2; tmp3++) {
3759 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3760 case 0: {
3761 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,6,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((2 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp2_end;
3762 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
3763 _t = tmpMeta[1];
3764 /* Pattern matching succeeded */
3765#line 2765 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3766 tmpMeta[0] = _t;
3767#line 3767 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3768 goto tmp2_done;
3769 }
3770 case 1: {
3771
3772 /* Pattern matching succeeded */
3773#line 2769 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3774 tmpMeta[1] = stringAppend(_OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)),omc_ExpressionDump_printExpStr(threadData, _eIn));
3775#line 2769 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3776 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)));
3777#line 2769 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3778 fputs(MMC_STRINGDATA(tmpMeta[2])(((struct mmc_string*)((void*)((char*)(tmpMeta[2]) - 3)))->
data)
,stdoutstdout);
3779#line 3779 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3780#line 2770 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3781 goto goto_1;
3782#line 3782 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3783 goto tmp2_done;
3784 }
3785 }
3786 goto tmp2_end;
3787 tmp2_end: ;
3788 }
3789 goto goto_1;
3790 tmp2_done:
3791 (void)tmp3;
3792 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3793 goto tmp2_done2;
3794 goto_1:;
3795 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3796 if (++tmp3 < 2) {
3797 goto tmp2_top;
3798 }
3799 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3800 tmp2_done2:;
3801 }
3802 }
3803 _tOut = tmpMeta[0];
3804 _return: OMC_LABEL_UNUSED__attribute__((unused))
3805 return _tOut;
3806}
3807
3808PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_equationToStmt(threadData_t *threadData, modelica_metatype _eqIn)
3809{
3810 modelica_metatype _stmtOut = NULL((void*)0);
3811 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
3812 MMC_SO()mmc_check_stackoverflow(threadData);
3813 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3814 // _stmtOut has no default value.
3815#line 3815 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3816 { /* matchcontinue expression */
3817 volatile modelica_metatype tmp3_1;
3818 tmp3_1 = _eqIn;
3819 {
3820 modelica_metatype _source = NULL((void*)0);
3821 modelica_metatype _lhs = NULL((void*)0);
3822 modelica_metatype _rhs = NULL((void*)0);
3823 modelica_metatype _typ = NULL((void*)0);
3824 volatile mmc_switch_type tmp3;
3825 int tmp4;
3826 // _source has no default value.
3827 // _lhs has no default value.
3828 // _rhs has no default value.
3829 // _typ has no default value.
3830 tmp3 = 0;
3831 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) {
3832 tmp2_top:
3833 threadData->mmc_jumper = &new_mmc_jumper;
3834 for (; tmp3 < 2; tmp3++) {
3835 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3836 case 0: {
3837 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3838 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3839 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
3840 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
3841
3842 _lhs = tmpMeta[1];
3843 _rhs = tmpMeta[2];
3844 _source = tmpMeta[3];
3845 /* Pattern matching succeeded */
3846#line 2747 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3847 _typ = omc_EvaluateFunctions_expType(threadData, _lhs);
3848#line 3848 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3849#line 2748 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3850 tmpMeta[1] = mmc_mk_box5(3, &DAE_Statement_STMT__ASSIGN__desc, _typ, _lhs, _rhs, _source);
3851#line 2748 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3852 tmpMeta[0] = tmpMeta[1];
3853#line 3853 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3854 goto tmp2_done;
3855 }
3856 case 1: {
3857
3858 /* Pattern matching succeeded */
3859#line 2752 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3860 tmpMeta[1] = mmc_mk_cons(_eqIn, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3861#line 2752 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3862 tmpMeta[2] = stringAppend(_OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)),omc_BackendDump_dumpEqnsStr(threadData, tmpMeta[1]));
3863#line 2752 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3864 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)));
3865#line 2752 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3866 fputs(MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
,stdoutstdout);
3867#line 3867 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3868#line 2753 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3869 goto goto_1;
3870#line 3870 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3871 goto tmp2_done;
3872 }
3873 }
3874 goto tmp2_end;
3875 tmp2_end: ;
3876 }
3877 goto goto_1;
3878 tmp2_done:
3879 (void)tmp3;
3880 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3881 goto tmp2_done2;
3882 goto_1:;
3883 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3884 if (++tmp3 < 2) {
3885 goto tmp2_top;
3886 }
3887 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3888 tmp2_done2:;
3889 }
3890 }
3891 _stmtOut = tmpMeta[0];
3892 _return: OMC_LABEL_UNUSED__attribute__((unused))
3893 return _stmtOut;
3894}
3895
3896PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_evaluateConstantFunctionWrapper(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_boolean *out_cont, modelica_metatype *out_outTpl)
3897{
3898 modelica_metatype _outExp = NULL((void*)0);
3899 modelica_boolean _cont;
3900 modelica_metatype _outTpl = NULL((void*)0);
3901 modelica_boolean tmp1_c1 __attribute__((unused)) = 0;
3902 modelica_metatype tmpMeta[10] __attribute__((unused)) = {0};
3903 MMC_SO()mmc_check_stackoverflow(threadData);
3904 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3905 // _outExp has no default value.
3906 // _cont has no default value.
3907 // _outTpl has no default value.
3908#line 2712 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3909
3910#line 2712 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3911
3912#line 2712 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3913
3914#line 3914 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3915 { /* matchcontinue expression */
3916 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;
3917 tmp4_1 = _inExp;
3918 tmp4_2 = _inTpl;
3919 {
3920 modelica_integer _idx;
3921 modelica_metatype _rhs = NULL((void*)0);
3922 modelica_metatype _lhs = NULL((void*)0);
3923 modelica_metatype _funcs = NULL((void*)0);
3924 modelica_metatype _addEqs = NULL((void*)0);
3925 modelica_metatype _stmts = NULL((void*)0);
3926 modelica_metatype _stmtsIn = NULL((void*)0);
3927 modelica_metatype _tpl = NULL((void*)0);
3928 volatile mmc_switch_type tmp4;
3929 int tmp5;
3930 // _idx has no default value.
3931 // _rhs has no default value.
3932 // _lhs has no default value.
3933 // _funcs has no default value.
3934 // _addEqs has no default value.
3935 // _stmts has no default value.
3936 // _stmtsIn has no default value.
3937 // _tpl has no default value.
3938 tmp4 = 0;
3939 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) {
3940 tmp3_top:
3941 threadData->mmc_jumper = &new_mmc_jumper;
3942 for (; tmp4 < 3; tmp4++) {
3943 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3944 case 0: {
3945 modelica_integer tmp6;
3946 modelica_integer tmp7;
3947 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,13,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((3 +1) <<
10) + (((13 +3) & 255) << 2)))
== 0) goto tmp3_end;
3948 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
3949 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
3950 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
3951 tmp6 = mmc_unbox_integer(tmpMeta[5])(((mmc_sint_t) (tmpMeta[5])) >> 1);
3952 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(4)))))
;
3953 _lhs = tmpMeta[3];
3954 _funcs = tmpMeta[4];
3955 _idx = tmp6 /* pattern as ty=Integer */;
3956 _stmtsIn = tmpMeta[6];
3957 tmp4 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
3958#line 2722 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3959 /* Pattern-matching assignment */
3960#line 2722 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3961 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3962#line 2722 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3963 tmpMeta[4] = omc_EvaluateFunctions_evaluateConstantFunction(threadData, _inExp, _lhs, _funcs, _idx, tmpMeta[3]);
3964#line 2722 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3965 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (1)))))
;
3966#line 2722 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3967 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
3968#line 2722 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3969 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (3)))))
;
3970#line 2722 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3971 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (4)))))
;
3972#line 2722 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3973 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (5)))))
;
3974#line 2722 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3975 tmp7 = mmc_unbox_integer(tmpMeta[9])(((mmc_sint_t) (tmpMeta[9])) >> 1);
3976#line 2722 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3977 _rhs = tmpMeta[5];
3978#line 2722 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3979 _lhs = tmpMeta[6];
3980#line 2722 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3981 _addEqs = tmpMeta[7];
3982#line 2722 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3983 _funcs = tmpMeta[8];
3984#line 2722 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3985 _idx = tmp7 /* pattern as ty=Integer */;
3986#line 3986 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3987
3988#line 2723 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3989 _stmts = omc_List_map(threadData, _addEqs, boxvar_EvaluateFunctions_equationToStmt((void*)((char*)(&(boxvar_lit_EvaluateFunctions_equationToStmt
).header) + 3))
);
3990#line 3990 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3991
3992#line 2724 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3993 /* Pattern-matching assignment */
3994#line 2724 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3995 tmpMeta[3] = listAppend(_stmts, _stmtsIn);
3996#line 2724 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3997 _stmts = tmpMeta[3];
3998#line 3998 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3999#line 2725 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4000 tmpMeta[3] = mmc_mk_box4(0, _lhs, _funcs, mmc_mk_integermmc_mk_icon(_idx), _stmts);
4001#line 2725 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4002 tmpMeta[0+0] = _rhs;
4003#line 2725 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4004 tmp1_c1 = 1;
4005#line 2725 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4006 tmpMeta[0+2] = tmpMeta[3];
4007#line 4007 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4008 goto tmp3_done;
4009 }
4010 case 1: {
4011 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,35,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((2 +1) <<
10) + (((35 +3) & 255) << 2)))
== 0) goto tmp3_end;
4012 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
4013
4014 _rhs = tmpMeta[3];
4015 /* Pattern matching succeeded */
4016#line 2729 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4017 _rhs = omc_EvaluateFunctions_evaluateConstantFunctionWrapper(threadData, _rhs, _inTpl ,NULL((void*)0) ,&_tpl);
4018#line 4018 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4019#line 2730 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4020 tmpMeta[0+0] = _rhs;
4021#line 2730 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4022 tmp1_c1 = 1;
4023#line 2730 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4024 tmpMeta[0+2] = _tpl;
4025#line 4025 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4026 goto tmp3_done;
4027 }
4028 case 2: {
4029
4030 /* Pattern matching succeeded */
4031#line 2732 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4032 tmpMeta[0+0] = _inExp;
4033#line 2732 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4034 tmp1_c1 = 0;
4035#line 2732 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4036 tmpMeta[0+2] = _inTpl;
4037#line 4037 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4038 goto tmp3_done;
4039 }
4040 }
4041 goto tmp3_end;
4042 tmp3_end: ;
4043 }
4044 goto goto_2;
4045 tmp3_done:
4046 (void)tmp4;
4047 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
4048 goto tmp3_done2;
4049 goto_2:;
4050 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
4051 if (++tmp4 < 3) {
4052 goto tmp3_top;
4053 }
4054 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4055 tmp3_done2:;
4056 }
4057 }
4058 _outExp = tmpMeta[0+0];
4059 _cont = tmp1_c1;
4060 _outTpl = tmpMeta[0+2];
4061 _return: OMC_LABEL_UNUSED__attribute__((unused))
4062 if (out_cont) { *out_cont = _cont; }
4063 if (out_outTpl) { *out_outTpl = _outTpl; }
4064 return _outExp;
4065}
4066PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_evaluateConstantFunctionWrapper(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_metatype *out_cont, modelica_metatype *out_outTpl)
4067{
4068 modelica_boolean _cont;
4069 modelica_metatype _outExp = NULL((void*)0);
4070 _outExp = omc_EvaluateFunctions_evaluateConstantFunctionWrapper(threadData, _inExp, _inTpl, &_cont, out_outTpl);
4071 /* skip box _outExp; DAE.Exp */
4072 if (out_cont) { *out_cont = mmc_mk_icon(_cont); }
4073 /* skip box _outTpl; tuple<DAE.Exp, DAE.AvlTreePathFunction.Tree, #Integer, list<DAE.Statement>> */
4074 return _outExp;
4075}
4076
4077PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getDAEelseStatemntLsts(threadData_t *threadData, modelica_metatype _elseIn, modelica_metatype _stmtLstsIn)
4078{
4079 modelica_metatype _stmtLstsOut = NULL((void*)0);
4080 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
4081 MMC_SO()mmc_check_stackoverflow(threadData);
4082 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4083 // _stmtLstsOut has no default value.
4084#line 4084 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4085 { /* match expression */
4086 modelica_metatype tmp3_1;
4087 tmp3_1 = _elseIn;
4088 {
4089 modelica_metatype _else1 = NULL((void*)0);
4090 modelica_metatype _stmts = NULL((void*)0);
4091 modelica_metatype _stmtsLst = NULL((void*)0);
4092 int tmp3;
4093 // _else1 has no default value.
4094 // _stmts has no default value.
4095 // _stmtsLst has no default value.
4096 {
4097 switch (MMC_SWITCH_CAST(valueConstructor(tmp3_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> 2
) & 255))
) {
4098 case 4: {
4099 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
4100 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
4101 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
4102 _stmts = tmpMeta[1];
4103 _else1 = tmpMeta[2];
4104 /* Pattern matching succeeded */
4105#line 2690 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4106 tmpMeta[1] = mmc_mk_cons(_stmts, _stmtLstsIn);
4107#line 2690 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4108 _stmtsLst = tmpMeta[1];
4109#line 4109 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4110#line 2691 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4111 /* Tail recursive call */
4112#line 2691 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4113 _elseIn = _else1;
4114#line 2691 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4115 _stmtLstsIn = _stmtsLst;
4116#line 2691 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4117 goto _tailrecursive;
4118#line 2691 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4119 /* TODO: Make sure any eventual dead code below is never generated */
4120#line 4120 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4121 goto tmp2_done;
4122 }
4123 case 5: {
4124 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,2,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
4125 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
4126 _stmts = tmpMeta[1];
4127 /* Pattern matching succeeded */
4128#line 2696 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4129 tmpMeta[1] = mmc_mk_cons(_stmts, _stmtLstsIn);
4130#line 2696 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4131 tmpMeta[0] = tmpMeta[1];
4132#line 4132 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4133 goto tmp2_done;
4134 }
4135 default:
4136 tmp2_default: OMC_LABEL_UNUSED__attribute__((unused)); {
4137
4138 /* Pattern matching succeeded */
4139#line 2699 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4140 tmpMeta[0] = _stmtLstsIn;
4141#line 4141 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4142 goto tmp2_done;
4143 }
4144 }
4145 goto tmp2_end;
4146 tmp2_end: ;
4147 }
4148 goto goto_1;
4149 goto_1:;
4150 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4151 goto tmp2_done;
4152 tmp2_done:;
4153 }
4154 }
4155 _stmtLstsOut = tmpMeta[0];
4156 _return: OMC_LABEL_UNUSED__attribute__((unused))
4157 return _stmtLstsOut;
4158}
4159
4160PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getStatementsOutputs(threadData_t *threadData, modelica_metatype _statements, modelica_metatype _funcTree)
4161{
4162 modelica_metatype _outputs = NULL((void*)0);
4163 modelica_metatype _lhs_expl = NULL((void*)0);
4164 modelica_metatype _lhs_set = NULL((void*)0);
4165 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
4166 MMC_SO()mmc_check_stackoverflow(threadData);
4167 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4168 // _outputs has no default value.
4169 // _lhs_expl has no default value.
4170 // _lhs_set has no default value.
4171#line 2668 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4172 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4173#line 2668 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4174 _lhs_expl = omc_List_fold1(threadData, _statements, boxvar_EvaluateFunctions_getStatementLHSScalar((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getStatementLHSScalar
).header) + 3))
, _funcTree, tmpMeta[0]);
4175#line 4175 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4176
4177#line 2671 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4178 _lhs_set = omc_HashSetExp_emptyHashSetSized(threadData, omc_Util_nextPrime(threadData, listLength(_lhs_expl)));
4179#line 4179 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4180
4181#line 2672 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4182 _lhs_set = omc_List_fold(threadData, _lhs_expl, boxvar_BaseHashSet_add((void*)((char*)(&(boxvar_lit_BaseHashSet_add).header) + 3
))
, _lhs_set);
4183#line 4183 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4184
4185#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4186 {
4187#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4188 modelica_metatype _D_24tmpVar23;
4189#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4190 modelica_metatype* tmp1;
4191#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4192 modelica_metatype _D_24tmpVar22;
4193#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4194 int tmp2;
4195#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4196 modelica_metatype _e_loopVar = 0;
4197#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4198 modelica_metatype _e;
4199#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4200 _e_loopVar = omc_BaseHashSet_hashSetList(threadData, _lhs_set);
4201#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4202 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4203#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4204 _D_24tmpVar23 = tmpMeta[1]; /* defaultValue */
4205#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4206 tmp1 = &_D_24tmpVar23;
4207#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4208 while(1) {
4209#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4210 tmp2 = 1;
4211#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4212 if (!listEmpty(_e_loopVar)((*(mmc_uint_t*)((void*)((char*)(_e_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
4213#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4214 _e = MMC_CAR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (1)))))
;
4215#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4216 _e_loopVar = MMC_CDR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (2)))))
;
4217#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4218 tmp2--;
4219#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4220 }
4221#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4222 if (tmp2 == 0) {
4223#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4224 _D_24tmpVar22 = omc_Expression_expCref(threadData, _e);
4225#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4226 *tmp1 = mmc_mk_cons(_D_24tmpVar22,0);
4227#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4228 tmp1 = &MMC_CDR(*tmp1)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp1) - 3))) +
(2)))))
;
4229#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4230 } else if (tmp2 == 1) {
4231#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4232 break;
4233#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4234 } else {
4235#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4236 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4237#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4238 }
4239#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4240 }
4241#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4242 *tmp1 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
4243#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4244 tmpMeta[0] = _D_24tmpVar23;
4245#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4246 }
4247#line 2674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4248 _outputs = tmpMeta[0];
4249#line 4249 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4250 _return: OMC_LABEL_UNUSED__attribute__((unused))
4251 return _outputs;
4252}
4253
4254PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getStatementLHSScalar(threadData_t *threadData, modelica_metatype _stmt, modelica_metatype _funcTree, modelica_metatype _expsIn)
4255{
4256 modelica_metatype _lhs = NULL((void*)0);
4257 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
4258 MMC_SO()mmc_check_stackoverflow(threadData);
4259 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4260 // _lhs has no default value.
4261#line 4261 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4262 { /* matchcontinue expression */
4263 volatile modelica_metatype tmp3_1;
4264 tmp3_1 = _stmt;
4265 {
4266 modelica_metatype _path = NULL((void*)0);
4267 modelica_metatype _lhsCref = NULL((void*)0);
4268 modelica_metatype _exp = NULL((void*)0);
4269 modelica_metatype _func = NULL((void*)0);
4270 modelica_metatype _outputCrefs = NULL((void*)0);
4271 modelica_metatype _algs = NULL((void*)0);
4272 modelica_metatype _elements = NULL((void*)0);
4273 modelica_metatype _expLst = NULL((void*)0);
4274 modelica_metatype _stmtLst1 = NULL((void*)0);
4275 modelica_metatype _stmtLstLst = NULL((void*)0);
4276 volatile mmc_switch_type tmp3;
4277 int tmp4;
4278 // _path has no default value.
4279 // _lhsCref has no default value.
4280 // _exp has no default value.
4281 // _func has no default value.
4282 // _outputCrefs has no default value.
4283 // _algs has no default value.
4284 // _elements has no default value.
4285 // _expLst has no default value.
4286 // _stmtLst1 has no default value.
4287 // _stmtLstLst has no default value.
4288 tmp3 = 0;
4289 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) {
4290 tmp2_top:
4291 threadData->mmc_jumper = &new_mmc_jumper;
4292 for (; tmp3 < 3; tmp3++) {
4293 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
4294 case 0: {
4295 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
4296 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
4297 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
4298 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],13,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((3 +1)
<< 10) + (((13 +3) & 255) << 2)))
== 0) goto tmp2_end;
4299 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
4300
4301 _exp = tmpMeta[1];
4302 _path = tmpMeta[3];
4303 tmp3 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
4304#line 2628 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4305 /* Pattern-matching assignment */
4306#line 2628 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4307 tmpMeta[1] = omc_DAE_AvlTreePathFunction_get(threadData, _funcTree, _path);
4308#line 2628 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4309 if (optionNone(tmpMeta[1])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[1]) - 3)))) >> 10)) ? 1 : 0)
) goto goto_1;
4310#line 2628 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4311 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
4312#line 2628 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4313 _func = tmpMeta[2];
4314#line 4314 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4315
4316#line 2629 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4317 _elements = omc_DAEUtil_getFunctionElements(threadData, _func);
4318#line 4318 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4319
4320#line 2630 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4321 _algs = omc_List_filterOnTrue(threadData, _elements, boxvar_DAEUtil_isAlgorithm((void*)((char*)(&(boxvar_lit_DAEUtil_isAlgorithm).header
) + 3))
);
4322#line 4322 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4323
4324#line 2631 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4325 _stmtLstLst = omc_List_map(threadData, _algs, boxvar_DAEUtil_getStatement((void*)((char*)(&(boxvar_lit_DAEUtil_getStatement).header
) + 3))
);
4326#line 4326 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4327
4328#line 2632 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4329 _stmtLst1 = omc_List_flatten(threadData, _stmtLstLst);
4330#line 4330 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4331
4332#line 2633 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4333 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4334#line 2633 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4335 _expLst = omc_List_fold1(threadData, _stmtLst1, boxvar_EvaluateFunctions_getStatementLHSScalar((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getStatementLHSScalar
).header) + 3))
, _funcTree, tmpMeta[1]);
4336#line 4336 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4337
4338#line 2634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4339 _outputCrefs = omc_List_map(threadData, _expLst, boxvar_Expression_expCref((void*)((char*)(&(boxvar_lit_Expression_expCref).header)
+ 3))
);
4340#line 4340 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4341
4342#line 2636 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4343 _lhsCref = omc_Expression_expCref(threadData, _exp);
4344#line 4344 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4345
4346#line 2637 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4347 _outputCrefs = omc_List_filterOnTrue(threadData, _outputCrefs, boxvar_ComponentReference_crefIsNotIdent((void*)((char*)(&(boxvar_lit_ComponentReference_crefIsNotIdent
).header) + 3))
);
4348#line 4348 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4349
4350#line 2638 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4351 _outputCrefs = omc_List_map(threadData, _outputCrefs, boxvar_ComponentReference_crefStripFirstIdent((void*)((char*)(&(boxvar_lit_ComponentReference_crefStripFirstIdent
).header) + 3))
);
4352#line 4352 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4353
4354#line 2639 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4355 _outputCrefs = omc_List_map1(threadData, _outputCrefs, boxvar_ComponentReference_joinCrefsR((void*)((char*)(&(boxvar_lit_ComponentReference_joinCrefsR
).header) + 3))
, _lhsCref);
4356#line 4356 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4357
4358#line 2641 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4359 _expLst = omc_List_map(threadData, _outputCrefs, boxvar_Expression_crefExp((void*)((char*)(&(boxvar_lit_Expression_crefExp).header)
+ 3))
);
4360#line 4360 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4361#line 2642 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4362 tmpMeta[0] = listAppend(_expLst, _expsIn);
4363#line 4363 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4364 goto tmp2_done;
4365 }
4366 case 1: {
4367 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,2,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
4368 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
4369
4370 _exp = tmpMeta[1];
4371 /* Pattern matching succeeded */
4372#line 2647 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4373 _expLst = omc_Expression_getComplexContents(threadData, _exp);
4374#line 4374 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4375#line 2648 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4376 tmpMeta[0] = listAppend(_expLst, _expsIn);
4377#line 4377 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4378 goto tmp2_done;
4379 }
4380 case 2: {
4381
4382 /* Pattern matching succeeded */
4383#line 2653 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4384 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4385#line 2653 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4386 _expLst = omc_EvaluateFunctions_getStatementLHS(threadData, _stmt, tmpMeta[1]);
4387#line 4387 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4388#line 2654 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4389 tmpMeta[0] = listAppend(_expLst, _expsIn);
4390#line 4390 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4391 goto tmp2_done;
4392 }
4393 }
4394 goto tmp2_end;
4395 tmp2_end: ;
4396 }
4397 goto goto_1;
4398 tmp2_done:
4399 (void)tmp3;
4400 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
4401 goto tmp2_done2;
4402 goto_1:;
4403 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
4404 if (++tmp3 < 3) {
4405 goto tmp2_top;
4406 }
4407 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4408 tmp2_done2:;
4409 }
4410 }
4411 _lhs = tmpMeta[0];
4412 _return: OMC_LABEL_UNUSED__attribute__((unused))
4413 return _lhs;
4414}
4415
4416PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getStatementLHS(threadData_t *threadData, modelica_metatype _stmt, modelica_metatype _expsIn)
4417{
4418 modelica_metatype _lhs = NULL((void*)0);
4419 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
4420 MMC_SO()mmc_check_stackoverflow(threadData);
4421 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4422 // _lhs has no default value.
4423#line 4423 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4424 { /* match expression */
4425 modelica_metatype tmp3_1;
4426 tmp3_1 = _stmt;
4427 {
4428 modelica_metatype _else_ = NULL((void*)0);
4429 modelica_metatype _exp = NULL((void*)0);
4430 modelica_metatype _stmt1 = NULL((void*)0);
4431 modelica_metatype _expLst = NULL((void*)0);
4432 modelica_metatype _stmtLst1 = NULL((void*)0);
4433 modelica_metatype _stmtLst2 = NULL((void*)0);
4434 modelica_metatype _stmtLstLst = NULL((void*)0);
4435 volatile mmc_switch_type tmp3;
4436 int tmp4;
4437 // _else_ has no default value.
4438 // _exp has no default value.
4439 // _stmt1 has no default value.
4440 // _expLst has no default value.
4441 // _stmtLst1 has no default value.
4442 // _stmtLst2 has no default value.
4443 // _stmtLstLst has no default value.
4444 tmp3 = 0;
4445 for (; tmp3 < 17; tmp3++) {
4446 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
4447 case 0: {
4448 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
4449 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
4450
4451 _exp = tmpMeta[1];
4452 /* Pattern matching succeeded */
4453#line 2521 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4454 tmpMeta[1] = mmc_mk_cons(_exp, _expsIn);
4455#line 2521 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4456 tmpMeta[0] = tmpMeta[1];
4457#line 4457 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4458 goto tmp2_done;
4459 }
4460 case 1: {
4461 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
4462 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
4463
4464 _expLst = tmpMeta[1];
4465 /* Pattern matching succeeded */
4466#line 2525 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4467 /* Pattern-matching assignment */
4468#line 2525 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4469 tmpMeta[1] = listAppend(_expLst, _expsIn);
4470#line 2525 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4471 _expLst = tmpMeta[1];
4472#line 4472 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4473#line 2526 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4474 tmpMeta[0] = _expLst;
4475#line 4475 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4476 goto tmp2_done;
4477 }
4478 case 2: {
4479 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,2,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
4480 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
4481
4482 _exp = tmpMeta[1];
4483 /* Pattern matching succeeded */
4484#line 2528 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4485 tmpMeta[1] = mmc_mk_cons(_exp, _expsIn);
4486#line 2528 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4487 tmpMeta[0] = tmpMeta[1];
4488#line 4488 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4489 goto tmp2_done;
4490 }
4491 case 3: {
4492 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,3,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
4493 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
4494 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
4495
4496 _stmtLst1 = tmpMeta[1];
4497 _else_ = tmpMeta[2];
4498 /* Pattern matching succeeded */
4499#line 2531 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4500 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4501#line 2531 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4502 _stmtLstLst = omc_EvaluateFunctions_getDAEelseStatemntLsts(threadData, _else_, tmpMeta[1]);
4503#line 4503 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4504
4505#line 2532 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4506 _stmtLst2 = omc_List_flatten(threadData, _stmtLstLst);
4507#line 4507 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4508
4509#line 2533 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4510 /* Pattern-matching assignment */
4511#line 2533 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4512 tmpMeta[1] = listAppend(_stmtLst1, _stmtLst2);
4513#line 2533 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4514 _stmtLst1 = tmpMeta[1];
4515#line 4515 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4516#line 2534 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4517 tmpMeta[0] = omc_List_fold(threadData, _stmtLst1, boxvar_EvaluateFunctions_getStatementLHS((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getStatementLHS
).header) + 3))
, _expsIn);
4518#line 4518 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4519 goto tmp2_done;
4520 }
4521 case 4: {
4522 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,4,7)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((7 +1) <<
10) + (((4 +3) & 255) << 2)))
== 0) goto tmp2_end;
4523 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(7)))))
;
4524
4525 _stmtLst1 = tmpMeta[1];
4526 /* Pattern matching succeeded */
4527#line 2538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4528 tmpMeta[0] = omc_List_fold(threadData, _stmtLst1, boxvar_EvaluateFunctions_getStatementLHS((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getStatementLHS
).header) + 3))
, _expsIn);
4529#line 4529 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4530 goto tmp2_done;
4531 }
4532 case 5: {
4533 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,5,8)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((8 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp2_end;
4534 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(7)))))
;
4535
4536 _stmtLst1 = tmpMeta[1];
4537 /* Pattern matching succeeded */
4538#line 2542 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4539 tmpMeta[0] = omc_List_fold(threadData, _stmtLst1, boxvar_EvaluateFunctions_getStatementLHS((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getStatementLHS
).header) + 3))
, _expsIn);
4540#line 4540 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4541 goto tmp2_done;
4542 }
4543 case 6: {
4544 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,6,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp2_end;
4545 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
4546
4547 _stmtLst1 = tmpMeta[1];
4548 /* Pattern matching succeeded */
4549#line 2546 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4550 tmpMeta[0] = omc_List_fold(threadData, _stmtLst1, boxvar_EvaluateFunctions_getStatementLHS((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getStatementLHS
).header) + 3))
, _expsIn);
4551#line 4551 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4552 goto tmp2_done;
4553 }
4554 case 7: {
4555 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,7,6)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((6 +1) <<
10) + (((7 +3) & 255) << 2)))
== 0) goto tmp2_end;
4556 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
4557 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
4558 if (optionNone(tmpMeta[2])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[2]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
4559 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
4560
4561 _stmtLst1 = tmpMeta[1];
4562 _stmt1 = tmpMeta[3];
4563 /* Pattern matching succeeded */
4564#line 2550 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4565 if(omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))))
4566#line 2550 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4567 {
4568#line 2551 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4569 tmpMeta[1] = stringAppend(_OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)),omc_DAEDump_ppStatementStr(threadData, _stmt));
4570#line 2551 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4571 fputs(MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
,stdoutstdout);
4572#line 4572 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4573 }
4574
4575#line 2553 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4576 _expLst = omc_List_fold(threadData, _stmtLst1, boxvar_EvaluateFunctions_getStatementLHS((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getStatementLHS
).header) + 3))
, _expsIn);
4577#line 4577 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4578#line 2554 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4579 /* Tail recursive call */
4580#line 2554 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4581 _stmt = _stmt1;
4582#line 2554 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4583 _expsIn = _expLst;
4584#line 2554 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4585 goto _tailrecursive;
4586#line 2554 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4587 /* TODO: Make sure any eventual dead code below is never generated */
4588#line 4588 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4589 goto tmp2_done;
4590 }
4591 case 8: {
4592 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,7,6)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((6 +1) <<
10) + (((7 +3) & 255) << 2)))
== 0) goto tmp2_end;
4593 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
4594 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
4595 if (!optionNone(tmpMeta[2])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[2]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
4596
4597 _stmtLst1 = tmpMeta[1];
4598 /* Pattern matching succeeded */
4599#line 2558 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4600 if(omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))))
4601#line 2558 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4602 {
4603#line 2559 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4604 tmpMeta[1] = stringAppend(_OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)),omc_DAEDump_ppStatementStr(threadData, _stmt));
4605#line 2559 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4606 fputs(MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
,stdoutstdout);
4607#line 4607 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4608 }
4609#line 2561 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4610 tmpMeta[0] = omc_List_fold(threadData, _stmtLst1, boxvar_EvaluateFunctions_getStatementLHS((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getStatementLHS
).header) + 3))
, _expsIn);
4611#line 4611 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4612 goto tmp2_done;
4613 }
4614 case 9: {
4615 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,8,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((8 +3) & 255) << 2)))
== 0) goto tmp2_end;
4616
4617 /* Pattern matching succeeded */
4618#line 2566 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4619 tmpMeta[0] = _expsIn;
4620#line 4620 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4621 goto tmp2_done;
4622 }
4623 case 10: {
4624 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,9,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((2 +1) <<
10) + (((9 +3) & 255) << 2)))
== 0) goto tmp2_end;
4625
4626 /* Pattern matching succeeded */
4627#line 2569 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4628 if(omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))))
4629#line 2569 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4630 {
4631#line 2570 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4632 tmpMeta[1] = stringAppend(_OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)),omc_DAEDump_ppStatementStr(threadData, _stmt));
4633#line 2570 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4634 fputs(MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
,stdoutstdout);
4635#line 4635 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4636 }
4637#line 2572 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4638 goto goto_1;
4639#line 4639 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4640 goto tmp2_done;
4641 }
4642 case 11: {
4643 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,10,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((10 +3) & 255) << 2)))
== 0) goto tmp2_end;
4644
4645 /* Pattern matching succeeded */
4646#line 2575 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4647 if(omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))))
4648#line 2575 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4649 {
4650#line 2576 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4651 tmpMeta[1] = stringAppend(_OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)),omc_DAEDump_ppStatementStr(threadData, _stmt));
4652#line 2576 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4653 fputs(MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
,stdoutstdout);
4654#line 4654 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4655 }
4656#line 2578 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4657 goto goto_1;
4658#line 4658 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4659 goto tmp2_done;
4660 }
4661 case 12: {
4662 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,11,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((2 +1) <<
10) + (((11 +3) & 255) << 2)))
== 0) goto tmp2_end;
4663
4664 /* Pattern matching succeeded */
4665#line 2580 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4666 tmpMeta[0] = _expsIn;
4667#line 4667 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4668 goto tmp2_done;
4669 }
4670 case 13: {
4671 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,12,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((12 +3) & 255) << 2)))
== 0) goto tmp2_end;
4672
4673 /* Pattern matching succeeded */
4674#line 2583 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4675 if(omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))))
4676#line 2583 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4677 {
4678#line 2584 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4679 tmpMeta[1] = stringAppend(_OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)),omc_DAEDump_ppStatementStr(threadData, _stmt));
4680#line 2584 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4681 fputs(MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
,stdoutstdout);
4682#line 4682 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4683 }
4684#line 2586 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4685 goto goto_1;
4686#line 4686 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4687 goto tmp2_done;
4688 }
4689 case 14: {
4690 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,13,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((13 +3) & 255) << 2)))
== 0) goto tmp2_end;
4691
4692 /* Pattern matching succeeded */
4693#line 2589 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4694 if(omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))))
4695#line 2589 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4696 {
4697#line 2590 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4698 tmpMeta[1] = stringAppend(_OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)),omc_DAEDump_ppStatementStr(threadData, _stmt));
4699#line 2590 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4700 fputs(MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
,stdoutstdout);
4701#line 4701 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4702 }
4703#line 2592 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4704 goto goto_1;
4705#line 4705 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4706 goto tmp2_done;
4707 }
4708 case 15: {
4709 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,15,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((15 +3) & 255) << 2)))
== 0) goto tmp2_end;
4710
4711 /* Pattern matching succeeded */
4712#line 2595 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4713 if(omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))))
4714#line 2595 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4715 {
4716#line 2596 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4717 tmpMeta[1] = stringAppend(_OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)),omc_DAEDump_ppStatementStr(threadData, _stmt));
4718#line 2596 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4719 fputs(MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
,stdoutstdout);
4720#line 4720 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4721 }
4722#line 2598 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4723 goto goto_1;
4724#line 4724 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4725 goto tmp2_done;
4726 }
4727 case 16: {
4728
4729 /* Pattern matching succeeded */
4730#line 2601 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4731 tmpMeta[1] = stringAppend(_OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)),omc_DAEDump_ppStatementStr(threadData, _stmt));
4732#line 2601 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4733 fputs(MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
,stdoutstdout);
4734#line 4734 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4735#line 2602 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4736 goto goto_1;
4737#line 4737 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4738 goto tmp2_done;
4739 }
4740 }
4741 goto tmp2_end;
4742 tmp2_end: ;
4743 }
4744 goto goto_1;
4745 goto_1:;
4746 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4747 goto tmp2_done;
4748 tmp2_done:;
4749 }
4750 }
4751 _lhs = tmpMeta[0];
4752 _return: OMC_LABEL_UNUSED__attribute__((unused))
4753 return _lhs;
4754}
4755
4756PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_replaceExps(threadData_t *threadData, modelica_metatype _replIn, modelica_metatype _expsIn)
4757{
4758 modelica_metatype _expsOut = NULL((void*)0);
4759 MMC_SO()mmc_check_stackoverflow(threadData);
4760 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4761 // _expsOut has no default value.
4762#line 2502 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4763 _expsOut = omc_List_map2__2(threadData, _expsIn, boxvar_BackendVarTransform_replaceExp((void*)((char*)(&(boxvar_lit_BackendVarTransform_replaceExp
).header) + 3))
, _replIn, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), NULL((void*)0));
4764#line 4764 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4765 _return: OMC_LABEL_UNUSED__attribute__((unused))
4766 return _expsOut;
4767}
4768
4769PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_equationToStatement(threadData_t *threadData, modelica_metatype _eqIn)
4770{
4771 modelica_metatype _stmtOut = NULL((void*)0);
4772 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
4773 MMC_SO()mmc_check_stackoverflow(threadData);
4774 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4775 // _stmtOut has no default value.
4776#line 4776 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4777 { /* match expression */
4778 modelica_metatype tmp3_1;
4779 tmp3_1 = _eqIn;
4780 {
4781 modelica_metatype _source = NULL((void*)0);
4782 modelica_metatype _rhs = NULL((void*)0);
4783 modelica_metatype _lhs = NULL((void*)0);
4784 modelica_metatype _typ = NULL((void*)0);
4785 volatile mmc_switch_type tmp3;
4786 int tmp4;
4787 // _source has no default value.
4788 // _rhs has no default value.
4789 // _lhs has no default value.
4790 // _typ has no default value.
4791 tmp3 = 0;
4792 for (; tmp3 < 2; tmp3++) {
4793 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
4794 case 0: {
4795 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
4796 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
4797 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
4798 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
4799
4800 _lhs = tmpMeta[1];
4801 _rhs = tmpMeta[2];
4802 _source = tmpMeta[3];
4803 /* Pattern matching succeeded */
4804#line 2486 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4805 _typ = omc_Expression_typeof(threadData, _lhs);
4806#line 4806 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4807#line 2487 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4808 tmpMeta[1] = mmc_mk_box5(3, &DAE_Statement_STMT__ASSIGN__desc, _typ, _lhs, _rhs, _source);
4809#line 2487 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4810 tmpMeta[0] = tmpMeta[1];
4811#line 4811 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4812 goto tmp2_done;
4813 }
4814 case 1: {
4815
4816 /* Pattern matching succeeded */
4817#line 2491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4818 fputs(MMC_STRINGDATA(_OMC_LIT33)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT33).header) + 3))) - 3)))->data)
,stdoutstdout);
4819#line 4819 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4820#line 2492 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4821 goto goto_1;
4822#line 4822 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4823 goto tmp2_done;
4824 }
4825 }
4826 goto tmp2_end;
4827 tmp2_end: ;
4828 }
4829 goto goto_1;
4830 goto_1:;
4831 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4832 goto tmp2_done;
4833 tmp2_done:;
4834 }
4835 }
4836 _stmtOut = tmpMeta[0];
4837 _return: OMC_LABEL_UNUSED__attribute__((unused))
4838 return _stmtOut;
4839}
4840
4841PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_addTplReplacements(threadData_t *threadData, modelica_metatype _replIn, modelica_metatype _e1, modelica_metatype _e2)
4842{
4843 modelica_metatype _replOut = NULL((void*)0);
4844 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
4845 MMC_SO()mmc_check_stackoverflow(threadData);
4846 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4847 // _replOut has no default value.
4848#line 4848 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4849 { /* matchcontinue expression */
4850 {
4851 modelica_metatype _tplLHS = NULL((void*)0);
4852 modelica_metatype _tplRHS = NULL((void*)0);
4853 modelica_metatype _crefs = NULL((void*)0);
4854 volatile mmc_switch_type tmp3;
4855 int tmp4;
4856 // _tplLHS has no default value.
4857 // _tplRHS has no default value.
4858 // _crefs has no default value.
4859 tmp3 = 0;
4860 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) {
4861 tmp2_top:
4862 threadData->mmc_jumper = &new_mmc_jumper;
4863 for (; tmp3 < 2; tmp3++) {
4864 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
4865 case 0: {
4866 /* Pattern matching succeeded */
4867#line 2462 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4868 _tplRHS = omc_DAEUtil_getTupleExps(threadData, _e1);
4869#line 4869 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4870
4871#line 2463 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4872 _tplLHS = omc_DAEUtil_getTupleExps(threadData, _e2);
4873#line 4873 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4874
4875#line 2464 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4876 _crefs = omc_List_map(threadData, _tplLHS, boxvar_Expression_expCref((void*)((char*)(&(boxvar_lit_Expression_expCref).header)
+ 3))
);
4877#line 4877 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4878#line 2465 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4879 tmpMeta[0] = omc_BackendVarTransform_addReplacements(threadData, _replIn, _crefs, _tplRHS, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
4880#line 4880 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4881 goto tmp2_done;
4882 }
4883 case 1: {
4884 /* Pattern matching succeeded */
4885#line 2469 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4886 tmpMeta[0] = _replIn;
4887#line 4887 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4888 goto tmp2_done;
4889 }
4890 }
4891 goto tmp2_end;
4892 tmp2_end: ;
4893 }
4894 goto goto_1;
4895 tmp2_done:
4896 (void)tmp3;
4897 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
4898 goto tmp2_done2;
4899 goto_1:;
4900 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
4901 if (++tmp3 < 2) {
4902 goto tmp2_top;
4903 }
4904 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4905 tmp2_done2:;
4906 }
4907 }
4908 _replOut = tmpMeta[0];
4909 _return: OMC_LABEL_UNUSED__attribute__((unused))
4910 return _replOut;
4911}
4912
4913PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_evaluateElse(threadData_t *threadData, modelica_metatype _elseIn, modelica_metatype _info, modelica_boolean *out_isElse)
4914{
4915 modelica_metatype _stmtsOut = NULL((void*)0);
4916 modelica_boolean _isElse;
4917 modelica_boolean tmp1_c1 __attribute__((unused)) = 0;
4918 modelica_metatype tmpMeta[8] __attribute__((unused)) = {0};
4919 MMC_SO()mmc_check_stackoverflow(threadData);
4920 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4921 // _stmtsOut has no default value.
4922 // _isElse has no default value.
4923#line 2413 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4924
4925#line 2413 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4926
4927#line 4927 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4928 { /* match expression */
4929 modelica_metatype tmp4_1;modelica_metatype tmp4_2;
4930 tmp4_1 = _elseIn;
4931 tmp4_2 = _info;
4932 {
4933 modelica_boolean _isCon;
4934 modelica_boolean _isElseIf;
4935 modelica_integer _idx;
4936 modelica_metatype _replIn = NULL((void*)0);
4937 modelica_metatype _expIf = NULL((void*)0);
4938 modelica_metatype _exp1 = NULL((void*)0);
4939 modelica_metatype _else_ = NULL((void*)0);
4940 modelica_metatype _funcTree = NULL((void*)0);
4941 modelica_metatype _stmts = NULL((void*)0);
4942 int tmp4;
4943 // _isCon has no default value.
4944 // _isElseIf has no default value.
4945 // _idx has no default value.
4946 // _replIn has no default value.
4947 // _expIf has no default value.
4948 // _exp1 has no default value.
4949 // _else_ has no default value.
4950 // _funcTree has no default value.
4951 // _stmts has no default value.
4952 {
4953 switch (MMC_SWITCH_CAST(valueConstructor(tmp4_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> 2
) & 255))
) {
4954 case 4: {
4955 modelica_integer tmp5;
4956 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
4957 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
4958 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
4959 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
4960 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
4961 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
4962 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(4)))))
;
4963 tmp5 = mmc_unbox_integer(tmpMeta[7])(((mmc_sint_t) (tmpMeta[7])) >> 1);
4964 _expIf = tmpMeta[2];
4965 _stmts = tmpMeta[3];
4966 _else_ = tmpMeta[4];
4967 _replIn = tmpMeta[5];
4968 _funcTree = tmpMeta[6];
4969 _idx = tmp5 /* pattern as ty=Integer */;
4970 /* Pattern matching succeeded */
4971#line 2425 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4972 if(omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))))
4973#line 2425 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4974 {
4975#line 2426 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4976 fputs(MMC_STRINGDATA(_OMC_LIT34)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT34).header) + 3))) - 3)))->data)
,stdoutstdout);
4977#line 4977 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4978 }
4979
4980#line 2428 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4981 /* Pattern-matching tuple assignment */
4982#line 2428 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4983 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4984#line 2428 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4985 tmpMeta[3] = mmc_mk_box4(0, _expIf, _funcTree, mmc_mk_integermmc_mk_icon(_idx), tmpMeta[2]);
4986#line 2428 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4987 tmpMeta[4] = omc_Expression_traverseExpTopDown(threadData, _expIf, boxvar_EvaluateFunctions_evaluateConstantFunctionWrapper((void*)((char*)(&(boxvar_lit_EvaluateFunctions_evaluateConstantFunctionWrapper
).header) + 3))
, tmpMeta[3], NULL((void*)0));
4988#line 2428 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4989 _exp1 = tmpMeta[4];
4990#line 4990 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4991
4992#line 2429 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4993 _exp1 = omc_BackendVarTransform_replaceExp(threadData, _exp1, _replIn, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), NULL((void*)0));
4994#line 4994 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4995
4996#line 2430 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4997 _exp1 = omc_ExpressionSimplify_simplify(threadData, _exp1, NULL((void*)0));
4998#line 4998 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4999
5000#line 2431 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5001 _isCon = omc_Expression_isConst(threadData, _exp1);
5002#line 5002 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5003
5004#line 2432 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5005 _isElseIf = (_isCon?omc_Expression_toBool(threadData, _exp1):0);
5006#line 5006 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5007
5008#line 2433 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5009 if((_isCon && (!_isElseIf)))
5010#line 2433 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5011 {
5012#line 2434 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5013 _stmts = omc_EvaluateFunctions_evaluateElse(threadData, _else_, _info ,&_isElseIf);
5014#line 5014 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5015 }
5016#line 2436 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5017 tmpMeta[0+0] = _stmts;
5018#line 2436 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5019 tmp1_c1 = _isElseIf;
5020#line 5020 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5021 goto tmp3_done;
5022 }
5023 case 5: {
5024 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,2,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
5025 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
5026
5027 _stmts = tmpMeta[2];
5028 /* Pattern matching succeeded */
5029#line 2441 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5030 tmpMeta[0+0] = _stmts;
5031#line 2441 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5032 tmp1_c1 = 1;
5033#line 5033 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5034 goto tmp3_done;
5035 }
5036 case 3: {
5037 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,0,0)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((0 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
5038
5039 /* Pattern matching succeeded */
5040#line 2444 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5041 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
5042#line 2444 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5043 tmpMeta[0+0] = tmpMeta[2];
5044#line 2444 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5045 tmp1_c1 = 1;
5046#line 5046 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5047 goto tmp3_done;
5048 }
5049 }
5050 goto tmp3_end;
5051 tmp3_end: ;
5052 }
5053 goto goto_2;
5054 goto_2:;
5055 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5056 goto tmp3_done;
5057 tmp3_done:;
5058 }
5059 }
5060 _stmtsOut = tmpMeta[0+0];
5061 _isElse = tmp1_c1;
5062 _return: OMC_LABEL_UNUSED__attribute__((unused))
5063 if (out_isElse) { *out_isElse = _isElse; }
5064 return _stmtsOut;
5065}
5066PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_evaluateElse(threadData_t *threadData, modelica_metatype _elseIn, modelica_metatype _info, modelica_metatype *out_isElse)
5067{
5068 modelica_boolean _isElse;
5069 modelica_metatype _stmtsOut = NULL((void*)0);
5070 _stmtsOut = omc_EvaluateFunctions_evaluateElse(threadData, _elseIn, _info, &_isElse);
5071 /* skip box _stmtsOut; list<DAE.Statement> */
5072 if (out_isElse) { *out_isElse = mmc_mk_icon(_isElse); }
5073 return _stmtsOut;
5074}
5075
5076PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_evaluateIfStatement(threadData_t *threadData, modelica_metatype _stmtIn, modelica_metatype _info, modelica_metatype *out_stmtsOut, modelica_metatype *out_replOut)
5077{
5078 modelica_boolean _isEval;
5079 modelica_metatype _stmtsOut = NULL((void*)0);
5080 modelica_metatype _replOut = NULL((void*)0);
5081 modelica_boolean tmp1_c0 __attribute__((unused)) = 0;
5082 modelica_metatype tmpMeta[9] __attribute__((unused)) = {0};
5083 MMC_SO()mmc_check_stackoverflow(threadData);
5084 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5085 // _isEval has no default value.
5086 // _stmtsOut has no default value.
5087 // _replOut has no default value.
5088#line 2343 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5089
5090#line 2343 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5091
5092#line 2343 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5093
5094#line 5094 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5095 { /* matchcontinue expression */
5096 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;
5097 tmp4_1 = _stmtIn;
5098 tmp4_2 = _info;
5099 {
5100 modelica_boolean _isIf;
5101 modelica_boolean _isCon;
5102 modelica_boolean _isElse;
5103 modelica_boolean _eval;
5104 modelica_integer _idx;
5105 modelica_metatype _repl = NULL((void*)0);
5106 modelica_metatype _replIn = NULL((void*)0);
5107 modelica_metatype _else_ = NULL((void*)0);
5108 modelica_metatype _expIf = NULL((void*)0);
5109 modelica_metatype _exp1 = NULL((void*)0);
5110 modelica_metatype _funcTree = NULL((void*)0);
5111 modelica_metatype _stmtsIf = NULL((void*)0);
5112 modelica_metatype _stmts1 = NULL((void*)0);
5113 modelica_metatype _stmtsElse = NULL((void*)0);
5114 volatile mmc_switch_type tmp4;
5115 int tmp5;
5116 // _isIf has no default value.
5117 // _isCon has no default value.
5118 // _isElse has no default value.
5119 // _eval has no default value.
5120 // _idx has no default value.
5121 // _repl has no default value.
5122 // _replIn has no default value.
5123 // _else_ has no default value.
5124 // _expIf has no default value.
5125 // _exp1 has no default value.
5126 // _funcTree has no default value.
5127 // _stmtsIf has no default value.
5128 // _stmts1 has no default value.
5129 // _stmtsElse has no default value.
5130 tmp4 = 0;
5131 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) {
5132 tmp3_top:
5133 threadData->mmc_jumper = &new_mmc_jumper;
5134 for (; tmp4 < 2; tmp4++) {
5135 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
5136 case 0: {
5137 modelica_integer tmp6;
5138 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,3,4)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((4 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
5139 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
5140 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
5141 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
5142 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
5143 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
5144 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(4)))))
;
5145 tmp6 = mmc_unbox_integer(tmpMeta[8])(((mmc_sint_t) (tmpMeta[8])) >> 1);
5146 _expIf = tmpMeta[3];
5147 _stmtsIf = tmpMeta[4];
5148 _else_ = tmpMeta[5];
5149 _replIn = tmpMeta[6];
5150 _funcTree = tmpMeta[7];
5151 _idx = tmp6 /* pattern as ty=Integer */;
5152 /* Pattern matching succeeded */
5153#line 2355 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5154 if(omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))))
5155#line 2355 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5156 {
5157#line 2356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5158 fputs(MMC_STRINGDATA(_OMC_LIT35)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT35).header) + 3))) - 3)))->data)
,stdoutstdout);
5159#line 5159 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5160 }
5161
5162#line 2358 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5163 _exp1 = omc_BackendVarTransform_replaceExp(threadData, _expIf, _replIn, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), NULL((void*)0));
5164#line 5164 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5165
5166#line 2359 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5167 /* Pattern-matching tuple assignment */
5168#line 2359 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5169 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
5170#line 2359 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5171 tmpMeta[4] = mmc_mk_box4(0, _exp1, _funcTree, mmc_mk_integermmc_mk_icon(_idx), tmpMeta[3]);
5172#line 2359 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5173 tmpMeta[5] = omc_Expression_traverseExpTopDown(threadData, _exp1, boxvar_EvaluateFunctions_evaluateConstantFunctionWrapper((void*)((char*)(&(boxvar_lit_EvaluateFunctions_evaluateConstantFunctionWrapper
).header) + 3))
, tmpMeta[4], NULL((void*)0));
5174#line 2359 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5175 _exp1 = tmpMeta[5];
5176#line 5176 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5177
5178#line 2360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5179 _exp1 = omc_BackendVarTransform_replaceExp(threadData, _exp1, _replIn, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), NULL((void*)0));
5180#line 5180 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5181
5182#line 2361 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5183 _exp1 = omc_ExpressionSimplify_simplify(threadData, _exp1, NULL((void*)0));
5184#line 5184 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5185
5186#line 2362 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5187 _isCon = omc_Expression_isConst(threadData, _exp1);
5188#line 5188 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5189
5190#line 2363 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5191 _isIf = (_isCon?omc_Expression_toBool(threadData, _exp1):0);
5192#line 5192 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5193
5194#line 2366 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5195 if(omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))))
5196#line 2366 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5197 {
5198#line 2367 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5199 tmpMeta[3] = stringAppend(_OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)),(_isCon?_OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)):_OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3))));
5200#line 2367 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5201 tmpMeta[4] = stringAppend(tmpMeta[3],_OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)));
5202#line 2367 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5203 tmpMeta[5] = stringAppend(tmpMeta[4],(_isIf?_OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)):_OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3))));
5204#line 2367 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5205 tmpMeta[6] = stringAppend(tmpMeta[5],_OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)));
5206#line 2367 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5207 fputs(MMC_STRINGDATA(tmpMeta[6])(((struct mmc_string*)((void*)((char*)(tmpMeta[6]) - 3)))->
data)
,stdoutstdout);
5208#line 5208 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5209 }
5210
5211#line 2369 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5212 if((_isIf && _isCon))
5213#line 2369 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5214 {
5215#line 2370 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5216 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
5217#line 2370 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5218 _stmts1 = omc_EvaluateFunctions_evaluateFunctions__updateStatement(threadData, _stmtsIf, _funcTree, _replIn, _idx, tmpMeta[3] ,&_funcTree ,&_repl ,&_idx);
5219#line 5219 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5220 }
5221 else
5222 {
5223#line 2372 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5224 tmpMeta[3] = mmc_mk_cons(_stmtIn, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
5225#line 2372 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5226 _stmts1 = tmpMeta[3];
5227#line 5227 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5228
5229#line 2373 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5230 _repl = _replIn;
5231#line 5231 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5232 }
5233
5234#line 2377 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5235 if((omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))) && (!_isIf)))
5236#line 2377 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5237 {
5238#line 2378 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5239 fputs(MMC_STRINGDATA(_OMC_LIT40)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT40).header) + 3))) - 3)))->data)
,stdoutstdout);
5240#line 5240 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5241 }
5242
5243#line 2380 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5244 if((_isCon && (!_isIf)))
5245#line 2380 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5246 {
5247#line 2381 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5248 _stmtsElse = omc_EvaluateFunctions_evaluateElse(threadData, _else_, _info ,&_isElse);
5249#line 5249 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5250 }
5251 else
5252 {
5253#line 2383 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5254 tmpMeta[3] = mmc_mk_cons(_stmtIn, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
5255#line 2383 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5256 _stmtsElse = tmpMeta[3];
5257#line 5257 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5258
5259#line 2384 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5260 _isElse = 0;
5261#line 5261 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5262 }
5263
5264#line 2386 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5265 if((omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))) && (!_isIf)))
5266#line 2386 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5267 {
5268#line 2387 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5269 tmpMeta[3] = stringAppend(_OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)),(_isElse?_OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)):_OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3))));
5270#line 2387 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5271 tmpMeta[4] = stringAppend(tmpMeta[3],_OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)));
5272#line 2387 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5273 fputs(MMC_STRINGDATA(tmpMeta[4])(((struct mmc_string*)((void*)((char*)(tmpMeta[4]) - 3)))->
data)
,stdoutstdout);
5274#line 5274 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5275 }
5276
5277#line 2389 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5278 if((_isCon && _isElse))
5279#line 2389 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5280 {
5281#line 2390 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5282 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
5283#line 2390 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5284 _stmts1 = omc_EvaluateFunctions_evaluateFunctions__updateStatement(threadData, _stmtsElse, _funcTree, _replIn, _idx, tmpMeta[3] ,&_funcTree ,&_repl ,&_idx);
5285#line 5285 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5286 }
5287
5288#line 2393 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5289 _eval = (_isCon && (_isIf || _isElse));
5290#line 5290 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5291#line 2394 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5292 tmp1_c0 = _eval;
5293#line 2394 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5294 tmpMeta[0+1] = _stmts1;
5295#line 2394 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5296 tmpMeta[0+2] = _repl;
5297#line 5297 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5298 goto tmp3_done;
5299 }
5300 case 1: {
5301
5302 /* Pattern matching succeeded */
5303#line 2398 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5304 if(omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))))
5305#line 2398 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5306 {
5307#line 2399 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5308 fputs(MMC_STRINGDATA(_OMC_LIT42)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT42).header) + 3))) - 3)))->data)
,stdoutstdout);
5309#line 5309 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5310 }
5311#line 2401 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5312 goto goto_2;
5313#line 5313 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5314 goto tmp3_done;
5315 }
5316 }
5317 goto tmp3_end;
5318 tmp3_end: ;
5319 }
5320 goto goto_2;
5321 tmp3_done:
5322 (void)tmp4;
5323 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
5324 goto tmp3_done2;
5325 goto_2:;
5326 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
5327 if (++tmp4 < 2) {
5328 goto tmp3_top;
5329 }
5330 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5331 tmp3_done2:;
5332 }
5333 }
5334 _isEval = tmp1_c0;
5335 _stmtsOut = tmpMeta[0+1];
5336 _replOut = tmpMeta[0+2];
5337 _return: OMC_LABEL_UNUSED__attribute__((unused))
5338 if (out_stmtsOut) { *out_stmtsOut = _stmtsOut; }
5339 if (out_replOut) { *out_replOut = _replOut; }
5340 return _isEval;
5341}
5342PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_evaluateIfStatement(threadData_t *threadData, modelica_metatype _stmtIn, modelica_metatype _info, modelica_metatype *out_stmtsOut, modelica_metatype *out_replOut)