Bug Summary

File:OMCompiler/Compiler/boot/build/EvaluateFunctions.c
Warning:line 12354, column 13
Value stored to '_algs' 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/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c" OMC_BASE_FILE
3#else
4 #define OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c" "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/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"_eval" "_eval"
215static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT73,5,_OMC_LIT73_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT73
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "_eval"
}
;
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"EvaluateFunctions.updateFunctionBody failed" "EvaluateFunctions.updateFunctionBody failed"
218static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT74,43,_OMC_LIT74_data)struct { mmc_uint_t header; const char data[(43)+1]; } _OMC_LIT_STRUCT74
= { ((((mmc_uint_t)43)<<(3))+((1<<(3+3))+5)), "EvaluateFunctions.updateFunctionBody failed"
}
;
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"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo" "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
221static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT75,102,_OMC_LIT75_data)struct { mmc_uint_t header; const char data[(102)+1]; } _OMC_LIT_STRUCT75
= { ((((mmc_uint_t)102)<<(3))+((1<<(3+3))+5)), "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
}
;
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_DEFREALLIT(_OMC_LIT_STRUCT76_6,1588090879.0)struct mmc_real_lit _OMC_LIT_STRUCT76_6 = {0,(((8/8) <<
10) + 9),1588090879.0}
;
224#define _OMC_LIT76_6((void*)((char*)(&(_OMC_LIT_STRUCT76_6).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT76_6)((void*)((char*)(&(_OMC_LIT_STRUCT76_6).header) + 3))
225static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT76,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT76
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT75((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1575))((void*)(((((mmc_uint_t) (1575)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(9))((void*)(((((mmc_uint_t) (9)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1575))((void*)(((((mmc_uint_t) (1575)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(76))((void*)(((((mmc_uint_t) (76)) << 1)+0))),_OMC_LIT76_6((void*)((char*)(&(_OMC_LIT_STRUCT76_6).header) + 3))}};
226#define _OMC_LIT76((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT76)((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3))
227static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT77,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT77
= { (((1) << 10) + (((4) & 255) << 2)),
{&DAE_VarVisibility_PROTECTED__desc,}};
228#define _OMC_LIT77((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT77)((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3))
229static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT78,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT78
= { (((1) << 10) + (((5) & 255) << 2)),
{&DAE_VarDirection_BIDIR__desc,}};
230#define _OMC_LIT78((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT78)((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3))
231#define _OMC_LIT79_data"generateProtectedElements failed!\n" "generateProtectedElements failed!\n"
232static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT79,34,_OMC_LIT79_data)struct { mmc_uint_t header; const char data[(34)+1]; } _OMC_LIT_STRUCT79
= { ((((mmc_uint_t)34)<<(3))+((1<<(3+3))+5)), "generateProtectedElements failed!\n"
}
;
233#define _OMC_LIT79((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT79)((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3))
234#define _OMC_LIT80_data"generateOutputElements failed!\n" "generateOutputElements failed!\n"
235static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT80,31,_OMC_LIT80_data)struct { mmc_uint_t header; const char data[(31)+1]; } _OMC_LIT_STRUCT80
= { ((((mmc_uint_t)31)<<(3))+((1<<(3+3))+5)), "generateOutputElements failed!\n"
}
;
236#define _OMC_LIT80((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT80)((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3))
237#define _OMC_LIT81_data"checkIfOutputIsEvaluatedConstant failed!\n" "checkIfOutputIsEvaluatedConstant failed!\n"
238static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT81,41,_OMC_LIT81_data)struct { mmc_uint_t header; const char data[(41)+1]; } _OMC_LIT_STRUCT81
= { ((((mmc_uint_t)41)<<(3))+((1<<(3+3))+5)), "checkIfOutputIsEvaluatedConstant failed!\n"
}
;
239#define _OMC_LIT81((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT81)((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3))
240#define _OMC_LIT82_data"A partially constant array needs expansion. Thats not supported.\n" "A partially constant array needs expansion. Thats not supported.\n"
241static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT82,65,_OMC_LIT82_data)struct { mmc_uint_t header; const char data[(65)+1]; } _OMC_LIT_STRUCT82
= { ((((mmc_uint_t)65)<<(3))+((1<<(3+3))+5)), "A partially constant array needs expansion. Thats not supported.\n"
}
;
242#define _OMC_LIT82((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT82)((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3))
243#define _OMC_LIT83_data"buildVariableFunctionParts failed!\n" "buildVariableFunctionParts failed!\n"
244static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT83,35,_OMC_LIT83_data)struct { mmc_uint_t header; const char data[(35)+1]; } _OMC_LIT_STRUCT83
= { ((((mmc_uint_t)35)<<(3))+((1<<(3+3))+5)), "buildVariableFunctionParts failed!\n"
}
;
245#define _OMC_LIT83((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT83)((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3))
246#define _OMC_LIT84_data"\n scalarOutputs \n" "\n scalarOutputs \n"
247static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT84,17,_OMC_LIT84_data)struct { mmc_uint_t header; const char data[(17)+1]; } _OMC_LIT_STRUCT84
= { ((((mmc_uint_t)17)<<(3))+((1<<(3+3))+5)), "\n scalarOutputs \n"
}
;
248#define _OMC_LIT84((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT84)((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3))
249#define _OMC_LIT85_data"\n constScalarCrefs \n" "\n constScalarCrefs \n"
250static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT85,20,_OMC_LIT85_data)struct { mmc_uint_t header; const char data[(20)+1]; } _OMC_LIT_STRUCT85
= { ((((mmc_uint_t)20)<<(3))+((1<<(3+3))+5)), "\n constScalarCrefs \n"
}
;
251#define _OMC_LIT85((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT85)((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3))
252#define _OMC_LIT86_data"\n allOutputs \n" "\n allOutputs \n"
253static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT86,14,_OMC_LIT86_data)struct { mmc_uint_t header; const char data[(14)+1]; } _OMC_LIT_STRUCT86
= { ((((mmc_uint_t)14)<<(3))+((1<<(3+3))+5)), "\n allOutputs \n"
}
;
254#define _OMC_LIT86((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT86)((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3))
255#define _OMC_LIT87_data"\n lhsExpIn \n" "\n lhsExpIn \n"
256static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT87,12,_OMC_LIT87_data)struct { mmc_uint_t header; const char data[(12)+1]; } _OMC_LIT_STRUCT87
= { ((((mmc_uint_t)12)<<(3))+((1<<(3+3))+5)), "\n lhsExpIn \n"
}
;
257#define _OMC_LIT87((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT87)((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3))
258#define _OMC_LIT88_data"\nStart function evaluation of:\n" "\nStart function evaluation of:\n"
259static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT88,31,_OMC_LIT88_data)struct { mmc_uint_t header; const char data[(31)+1]; } _OMC_LIT_STRUCT88
= { ((((mmc_uint_t)31)<<(3))+((1<<(3+3))+5)), "\nStart function evaluation of:\n"
}
;
260#define _OMC_LIT88((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT88)((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3))
261#define _OMC_LIT89_data" := " " := "
262static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT89,4,_OMC_LIT89_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT89
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), " := "
}
;
263#define _OMC_LIT89((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT89)((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3))
264#define _OMC_LIT90_data"THIS FUNCTION CALL WITH THIS SPECIFIC SIGNATURE CANNOT BE EVALUTED\n" "THIS FUNCTION CALL WITH THIS SPECIFIC SIGNATURE CANNOT BE EVALUTED\n"
265static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT90,67,_OMC_LIT90_data)struct { mmc_uint_t header; const char data[(67)+1]; } _OMC_LIT_STRUCT90
= { ((((mmc_uint_t)67)<<(3))+((1<<(3+3))+5)), "THIS FUNCTION CALL WITH THIS SPECIFIC SIGNATURE CANNOT BE EVALUTED\n"
}
;
266#define _OMC_LIT90((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT90)((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3))
267#define _OMC_LIT91_data"Its a Built-In!\n" "Its a Built-In!\n"
268static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT91,16,_OMC_LIT91_data)struct { mmc_uint_t header; const char data[(16)+1]; } _OMC_LIT_STRUCT91
= { ((((mmc_uint_t)16)<<(3))+((1<<(3+3))+5)), "Its a Built-In!\n"
}
;
269#define _OMC_LIT91((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT91)((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3))
270#define _OMC_LIT92_data"Its a Record!\n" "Its a Record!\n"
271static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT92,14,_OMC_LIT92_data)struct { mmc_uint_t header; const char data[(14)+1]; } _OMC_LIT_STRUCT92
= { ((((mmc_uint_t)14)<<(3))+((1<<(3+3))+5)), "Its a Record!\n"
}
;
272#define _OMC_LIT92((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT92)((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3))
273#define _OMC_LIT93_data"the function output is not constant in any case\n" "the function output is not constant in any case\n"
274static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT93,48,_OMC_LIT93_data)struct { mmc_uint_t header; const char data[(48)+1]; } _OMC_LIT_STRUCT93
= { ((((mmc_uint_t)48)<<(3))+((1<<(3+3))+5)), "the function output is not constant in any case\n"
}
;
275#define _OMC_LIT93((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT93)((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3))
276#define _OMC_LIT94_data"the function output is completely constant\n" "the function output is completely constant\n"
277static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT94,43,_OMC_LIT94_data)struct { mmc_uint_t header; const char data[(43)+1]; } _OMC_LIT_STRUCT94
= { ((((mmc_uint_t)43)<<(3))+((1<<(3+3))+5)), "the function output is completely constant\n"
}
;
278#define _OMC_LIT94((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT94)((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3))
279#define _OMC_LIT95_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"
280static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT95,69,_OMC_LIT95_data)struct { mmc_uint_t header; const char data[(69)+1]; } _OMC_LIT_STRUCT95
= { ((((mmc_uint_t)69)<<(3))+((1<<(3+3))+5)), "the function output is completely constant but there is an assertion\n"
}
;
281#define _OMC_LIT95((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT95)((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3))
282#define _OMC_LIT96_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"
283static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT96,98,_OMC_LIT96_data)struct { mmc_uint_t header; const char data[(98)+1]; } _OMC_LIT_STRUCT96
= { ((((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"
}
;
284#define _OMC_LIT96((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT96)((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3))
285#define _OMC_LIT97_data"Finish evaluation:\n of: \n" "Finish evaluation:\n of: \n"
286static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT97,25,_OMC_LIT97_data)struct { mmc_uint_t header; const char data[(25)+1]; } _OMC_LIT_STRUCT97
= { ((((mmc_uint_t)25)<<(3))+((1<<(3+3))+5)), "Finish evaluation:\n of: \n"
}
;
287#define _OMC_LIT97((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT97)((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3))
288#define _OMC_LIT98_data"\nto:\n" "\nto:\n"
289static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT98,5,_OMC_LIT98_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT98
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "\nto:\n"
}
;
290#define _OMC_LIT98((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT98)((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3))
291#define _OMC_LIT99_data"including the additional equations:\n" "including the additional equations:\n"
292static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT99,36,_OMC_LIT99_data)struct { mmc_uint_t header; const char data[(36)+1]; } _OMC_LIT_STRUCT99
= { ((((mmc_uint_t)36)<<(3))+((1<<(3+3))+5)), "including the additional equations:\n"
}
;
293#define _OMC_LIT99((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT99)((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3))
294#define _OMC_LIT100_data"\nStart constant evaluation of expression: " "\nStart constant evaluation of expression: "
295static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT100,42,_OMC_LIT100_data)struct { mmc_uint_t header; const char data[(42)+1]; } _OMC_LIT_STRUCT100
= { ((((mmc_uint_t)42)<<(3))+((1<<(3+3))+5)), "\nStart constant evaluation of expression: "
}
;
296#define _OMC_LIT100((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT100)((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3))
297#define _OMC_LIT101_data"\nIts a record.\n" "\nIts a record.\n"
298static 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)), "\nIts a record.\n"
}
;
299#define _OMC_LIT101((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT101)((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3))
300#define _OMC_LIT102_data"\nevaluated to: " "\nevaluated to: "
301static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT102,15,_OMC_LIT102_data)struct { mmc_uint_t header; const char data[(15)+1]; } _OMC_LIT_STRUCT102
= { ((((mmc_uint_t)15)<<(3))+((1<<(3+3))+5)), "\nevaluated to: "
}
;
302#define _OMC_LIT102((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT102)((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3))
303#define _OMC_LIT103_data"this is an array equation. update evalFunctions_findFuncs\n" "this is an array equation. update evalFunctions_findFuncs\n"
304static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT103,58,_OMC_LIT103_data)struct { mmc_uint_t header; const char data[(58)+1]; } _OMC_LIT_STRUCT103
= { ((((mmc_uint_t)58)<<(3))+((1<<(3+3))+5)), "this is an array equation. update evalFunctions_findFuncs\n"
}
;
305#define _OMC_LIT103((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT103)((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3))
306static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT104,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT104
= { (((1) << 10) + (((3) & 255) << 2)),
{&EvaluateFunctions_Variability_CONST__desc,}};
307#define _OMC_LIT104((void*)((char*)(&(_OMC_LIT_STRUCT104).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT104)((void*)((char*)(&(_OMC_LIT_STRUCT104).header) + 3))
308static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT105,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT105
= { (((1) << 10) + (((4) & 255) << 2)),
{&EvaluateFunctions_Variability_VARIABLE__desc,}};
309#define _OMC_LIT105((void*)((char*)(&(_OMC_LIT_STRUCT105).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT105)((void*)((char*)(&(_OMC_LIT_STRUCT105).header) + 3))
310#define _OMC_LIT106_data"evalFunc.getCallSignatureForCall failed for :\n" "evalFunc.getCallSignatureForCall failed for :\n"
311static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT106,46,_OMC_LIT106_data)struct { mmc_uint_t header; const char data[(46)+1]; } _OMC_LIT_STRUCT106
= { ((((mmc_uint_t)46)<<(3))+((1<<(3+3))+5)), "evalFunc.getCallSignatureForCall failed for :\n"
}
;
312#define _OMC_LIT106((void*)((char*)(&(_OMC_LIT_STRUCT106).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT106)((void*)((char*)(&(_OMC_LIT_STRUCT106).header) + 3))
313#define _OMC_LIT107_data"CONST" "CONST"
314static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT107,5,_OMC_LIT107_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT107
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "CONST"
}
;
315#define _OMC_LIT107((void*)((char*)(&(_OMC_LIT_STRUCT107).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT107)((void*)((char*)(&(_OMC_LIT_STRUCT107).header) + 3))
316#define _OMC_LIT108_data"VARIABLE" "VARIABLE"
317static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT108,8,_OMC_LIT108_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT108
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "VARIABLE"
}
;
318#define _OMC_LIT108((void*)((char*)(&(_OMC_LIT_STRUCT108).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT108)((void*)((char*)(&(_OMC_LIT_STRUCT108).header) + 3))
319#define _OMC_LIT109_data"." "."
320static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT109,1,_OMC_LIT109_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT109
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "."
}
;
321#define _OMC_LIT109((void*)((char*)(&(_OMC_LIT_STRUCT109).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT109)((void*)((char*)(&(_OMC_LIT_STRUCT109).header) + 3))
322#define _OMC_LIT110_data"[ " "[ "
323static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT110,2,_OMC_LIT110_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT110
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "[ "
}
;
324#define _OMC_LIT110((void*)((char*)(&(_OMC_LIT_STRUCT110).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT110)((void*)((char*)(&(_OMC_LIT_STRUCT110).header) + 3))
325#define _OMC_LIT111_data" | " " | "
326static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT111,3,_OMC_LIT111_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT111
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), " | "
}
;
327#define _OMC_LIT111((void*)((char*)(&(_OMC_LIT_STRUCT111).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT111)((void*)((char*)(&(_OMC_LIT_STRUCT111).header) + 3))
328#define _OMC_LIT112_data" ] " " ] "
329static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT112,3,_OMC_LIT112_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT112
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), " ] "
}
;
330#define _OMC_LIT112((void*)((char*)(&(_OMC_LIT_STRUCT112).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT112)((void*)((char*)(&(_OMC_LIT_STRUCT112).header) + 3))
331#include "util/modelica.h"
332
333#include "EvaluateFunctions_includes.h"
334
335
336/* default, do not make protected functions static */
337#if !defined(PROTECTED_FUNCTION_STATIC)
338#define PROTECTED_FUNCTION_STATIC
339#endif
340PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_makeBackendEquation(threadData_t *threadData, modelica_metatype _ls, modelica_metatype _rs);
341static 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}};
342#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))
343PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_convertTupleEquations(threadData_t *threadData, modelica_metatype _eqIn, modelica_metatype _addEqsIn, modelica_metatype *out_addEqsOut);
344static 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}};
345#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))
346PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_findDerVarCrefs(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inCrefs, modelica_metatype *out_outCrefs);
347static 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}};
348#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))
349PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_setVarKindForStates(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _inCrefs, modelica_metatype *out_outCrefs);
350static 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}};
351#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))
352PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_varSSisPreferOrHigher(threadData_t *threadData, modelica_metatype _varIn);
353PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_varSSisPreferOrHigher(threadData_t *threadData, modelica_metatype _varIn);
354static 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}};
355#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))
356PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_updateVarKinds__eqSys(threadData_t *threadData, modelica_metatype _sysIn, modelica_metatype _shared);
357static 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}};
358#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))
359PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_updateVarKinds(threadData_t *threadData, modelica_metatype _inDAE);
360static 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}};
361#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))
362PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_makeAssignment(threadData_t *threadData, modelica_metatype _lhs, modelica_metatype _rhs);
363static 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}};
364#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))
365PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_makeAssignmentMap(threadData_t *threadData, modelica_metatype _lhs, modelica_metatype _rhs);
366static 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}};
367#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))
368PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_compareConstantExps2(threadData_t *threadData, modelica_integer _idx, modelica_metatype _expLstLst, modelica_metatype _D_24in_pos);
369PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_compareConstantExps2(threadData_t *threadData, modelica_metatype _idx, modelica_metatype _expLstLst, modelica_metatype _D_24in_pos);
370static 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}};
371#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))
372PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_compareConstantExps(threadData_t *threadData, modelica_metatype _expLstLstIn);
373static 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}};
374#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))
375PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_updateStatementsInElse(threadData_t *threadData, modelica_metatype _stmtLstIn, modelica_metatype _origElse);
376static 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}};
377#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))
378PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_updateStatementsInIfStmt(threadData_t *threadData, modelica_metatype _stmtLstIn, modelica_metatype _origIf);
379static 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}};
380#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))
381PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getOnlyConstantReplacements(threadData_t *threadData, modelica_metatype _replIn);
382static 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}};
383#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))
384PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_collectReplacements1(threadData_t *threadData, modelica_metatype _stmtsIn, modelica_metatype _replIn);
385static 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}};
386#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))
387PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_collectReplacements(threadData_t *threadData, modelica_metatype _stmtsIn);
388static 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}};
389#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))
390PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_predictIfOutput(threadData_t *threadData, modelica_metatype _stmtIn, modelica_metatype _infoIn, modelica_metatype *out_infoOut);
391static 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}};
392#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))
393PROTECTED_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);
394PROTECTED_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);
395static 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}};
396#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))
397PROTECTED_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);
398PROTECTED_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);
399static 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}};
400#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))
401PROTECTED_FUNCTION_STATIC modelica_integer omc_EvaluateFunctions_getScalarVarSize(threadData_t *threadData, modelica_metatype _inVar);
402PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_getScalarVarSize(threadData_t *threadData, modelica_metatype _inVar);
403static 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}};
404#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))
405PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getVarLstFromType(threadData_t *threadData, modelica_metatype _tyIn);
406static 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}};
407#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))
408PROTECTED_FUNCTION_STATIC modelica_integer omc_EvaluateFunctions_getScalarExpSize(threadData_t *threadData, modelica_metatype _inExp);
409PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_getScalarExpSize(threadData_t *threadData, modelica_metatype _inExp);
410static 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}};
411#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))
412PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_setTypesForScalarCrefs(threadData_t *threadData, modelica_metatype _allCrefs, modelica_metatype _types);
413static 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}};
414#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))
415PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_isNotComplexVar(threadData_t *threadData, modelica_metatype _inElem);
416PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_isNotComplexVar(threadData_t *threadData, modelica_metatype _inElem);
417static 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}};
418#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))
419PROTECTED_FUNCTION_STATIC modelica_string omc_EvaluateFunctions_subsLstString(threadData_t *threadData, modelica_metatype _subs);
420static 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}};
421#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))
422PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_expandDimension(threadData_t *threadData, modelica_metatype _dims, modelica_metatype _subsIn);
423static 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}};
424#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))
425PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getScalarsForComplexVar(threadData_t *threadData, modelica_metatype _inElem);
426static 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}};
427#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))
428PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_expType(threadData_t *threadData, modelica_metatype _eIn);
429static 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}};
430#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))
431PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_equationToStmt(threadData_t *threadData, modelica_metatype _eqIn);
432static 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}};
433#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))
434PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_evaluateConstantFunctionWrapper(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_boolean *out_cont, modelica_metatype *out_outTpl);
435PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_evaluateConstantFunctionWrapper(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_metatype *out_cont, modelica_metatype *out_outTpl);
436static 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}};
437#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))
438PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getDAEelseStatemntLsts(threadData_t *threadData, modelica_metatype _elseIn, modelica_metatype _stmtLstsIn);
439static 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}};
440#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))
441PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getStatementsOutputs(threadData_t *threadData, modelica_metatype _statements, modelica_metatype _funcTree);
442static 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}};
443#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))
444PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getStatementLHSScalar(threadData_t *threadData, modelica_metatype _stmt, modelica_metatype _funcTree, modelica_metatype _expsIn);
445static 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}};
446#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))
447PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getStatementLHS(threadData_t *threadData, modelica_metatype _stmt, modelica_metatype _expsIn);
448static 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}};
449#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))
450PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_replaceExps(threadData_t *threadData, modelica_metatype _replIn, modelica_metatype _expsIn);
451static 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}};
452#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))
453PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_equationToStatement(threadData_t *threadData, modelica_metatype _eqIn);
454static 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}};
455#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))
456PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_addTplReplacements(threadData_t *threadData, modelica_metatype _replIn, modelica_metatype _e1, modelica_metatype _e2);
457static 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}};
458#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))
459PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_evaluateElse(threadData_t *threadData, modelica_metatype _elseIn, modelica_metatype _info, modelica_boolean *out_isElse);
460PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_evaluateElse(threadData_t *threadData, modelica_metatype _elseIn, modelica_metatype _info, modelica_metatype *out_isElse);
461static 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}};
462#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))
463PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_evaluateIfStatement(threadData_t *threadData, modelica_metatype _stmtIn, modelica_metatype _info, modelica_metatype *out_stmtsOut, modelica_metatype *out_replOut);
464PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_evaluateIfStatement(threadData_t *threadData, modelica_metatype _stmtIn, modelica_metatype _info, modelica_metatype *out_stmtsOut, modelica_metatype *out_replOut);
465static 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}};
466#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))
467PROTECTED_FUNCTION_STATIC modelica_integer omc_EvaluateFunctions_getRangeBounds(threadData_t *threadData, modelica_metatype _range, modelica_integer *out_stop, modelica_integer *out_step);
468PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_getRangeBounds(threadData_t *threadData, modelica_metatype _range, modelica_metatype *out_stop, modelica_metatype *out_step);
469static 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}};
470#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))
471PROTECTED_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);
472PROTECTED_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);
473static 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}};
474#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))
475PROTECTED_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);
476PROTECTED_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);
477static 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}};
478#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))
479PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_unboxExp(threadData_t *threadData, modelica_metatype _ie, modelica_boolean _bIn, modelica_boolean *out_bOut);
480PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_unboxExp(threadData_t *threadData, modelica_metatype _ie, modelica_metatype _bIn, modelica_metatype *out_bOut);
481static 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}};
482#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))
483PROTECTED_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);
484PROTECTED_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);
485static 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}};
486#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))
487PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_addReplacementRuleForAssignment(threadData_t *threadData, modelica_metatype _stmt, modelica_metatype _replIn);
488static 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}};
489#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))
490PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_generateConstEqs(threadData_t *threadData, modelica_metatype _lhsLst, modelica_metatype _rhsLst, modelica_metatype _eqsIn);
491static 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}};
492#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))
493PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_statementRHSIsNotConst(threadData_t *threadData, modelica_metatype _stmt);
494PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_statementRHSIsNotConst(threadData_t *threadData, modelica_metatype _stmt);
495static 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}};
496#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))
497PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_replaceCrefIdent(threadData_t *threadData, modelica_metatype _crefIn, modelica_string _ident);
498static 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}};
499#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))
500PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_makeIdentCref2(threadData_t *threadData, modelica_metatype _crefIn, modelica_metatype _changeTheseCrefs);
501static 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}};
502#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))
503PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_makeIdentCref(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inCrefs, modelica_metatype *out_outCrefs);
504static 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}};
505#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))
506PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_traverseStmtsAndUpdate(threadData_t *threadData, modelica_metatype _stmtsIn, modelica_fnptr _func, modelica_metatype _argIn, modelica_metatype _stmtsFold);
507static 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}};
508#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))
509PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_stmtCanBeRemoved(threadData_t *threadData, modelica_metatype _stmtIn, modelica_metatype _repl);
510static 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}};
511#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))
512PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_buildPartialFunction(threadData_t *threadData, modelica_metatype _varPart, modelica_metatype _constPart, modelica_metatype _replIn, modelica_metatype *out_eqsOut);
513static 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}};
514#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))
515PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_updateFunctionType(threadData_t *threadData, modelica_metatype _typIn, modelica_metatype _outputs, modelica_metatype _originOutputs);
516static 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}};
517#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))
518PROTECTED_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);
519PROTECTED_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);
520static 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}};
521#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))
522PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_generateProtectedElements(threadData_t *threadData, modelica_metatype _cref, modelica_metatype _inFuncOutputs, modelica_metatype _recId);
523static 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}};
524#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))
525PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_generateOutputElements(threadData_t *threadData, modelica_metatype _cref, modelica_metatype _inFuncOutputs, modelica_metatype _recId);
526static 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}};
527#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))
528PROTECTED_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);
529static 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}};
530#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))
531PROTECTED_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);
532static 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}};
533#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))
534PROTECTED_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);
535static 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}};
536#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))
537PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_partiallyConstantArrayNeedsExpansion(threadData_t *threadData, modelica_metatype _allOutputCrefsIn, modelica_metatype _constScalarCrefs);
538PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_partiallyConstantArrayNeedsExpansion(threadData_t *threadData, modelica_metatype _allOutputCrefsIn, modelica_metatype _constScalarCrefs);
539static 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}};
540#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))
541PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_scalarRecCrefsForOneDimRec(threadData_t *threadData, modelica_metatype _crefIn);
542static 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}};
543#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))
544PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_scalarRecExpForOneDimRec(threadData_t *threadData, modelica_metatype _expIn);
545static 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}};
546#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))
547PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_setRecordTypes(threadData_t *threadData, modelica_metatype _inExp);
548static 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}};
549#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))
550PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_hasReinitFold(threadData_t *threadData, modelica_metatype _stmt, modelica_boolean _bIn);
551PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_hasReinitFold(threadData_t *threadData, modelica_metatype _stmt, modelica_metatype _bIn);
552static 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}};
553#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))
554PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_hasReturnFold(threadData_t *threadData, modelica_metatype _stmt, modelica_boolean _bIn);
555PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_hasReturnFold(threadData_t *threadData, modelica_metatype _stmt, modelica_metatype _bIn);
556static 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}};
557#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))
558PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_hasAssertFold(threadData_t *threadData, modelica_metatype _stmt, modelica_boolean _bIn);
559PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_hasAssertFold(threadData_t *threadData, modelica_metatype _stmt, modelica_metatype _bIn);
560static 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}};
561#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))
562PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_expandComplexElementsToCrefs(threadData_t *threadData, modelica_metatype _e);
563static 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}};
564#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))
565PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_expandComplexEpressions(threadData_t *threadData, modelica_metatype _e, modelica_metatype _funcs);
566static 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}};
567#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))
568PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_doNotInline(threadData_t *threadData, modelica_metatype _func);
569PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_doNotInline(threadData_t *threadData, modelica_metatype _func);
570static 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}};
571#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))
572PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_hasMultipleArrayDimensions(threadData_t *threadData, modelica_metatype _eIn);
573PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_hasMultipleArrayDimensions(threadData_t *threadData, modelica_metatype _eIn);
574static 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}};
575#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))
576PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_hasUnknownType(threadData_t *threadData, modelica_metatype _eIn);
577PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_hasUnknownType(threadData_t *threadData, modelica_metatype _eIn);
578static 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}};
579#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))
580PROTECTED_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);
581PROTECTED_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);
582static 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}};
583#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))
584PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_evalFunctions__main(threadData_t *threadData, modelica_metatype _eqSysIn, modelica_metatype _tplIn, modelica_metatype *out_tplOut);
585static 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}};
586#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))
587PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_evaluateParameter(threadData_t *threadData, modelica_metatype _varIn, modelica_metatype _funcTree);
588static 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}};
589#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))
590PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_evaluateShared(threadData_t *threadData, modelica_metatype _sharedIn);
591static 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}};
592#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))
593PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getVariabilityForExp(threadData_t *threadData, modelica_metatype _expIn);
594static 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}};
595#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))
596PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getCallSignatureForCall(threadData_t *threadData, modelica_metatype _callExpIn);
597static 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}};
598#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))
599PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_VariabilityIsEqual(threadData_t *threadData, modelica_metatype _vari1, modelica_metatype _vari2);
600PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_VariabilityIsEqual(threadData_t *threadData, modelica_metatype _vari1, modelica_metatype _vari2);
601static 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}};
602#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))
603PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_callSignatureIsEqual(threadData_t *threadData, modelica_metatype _signat1, modelica_metatype _signat2);
604PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_callSignatureIsEqual(threadData_t *threadData, modelica_metatype _signat1, modelica_metatype _signat2);
605static 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}};
606#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))
607PROTECTED_FUNCTION_STATIC modelica_string omc_EvaluateFunctions_VariabilityString(threadData_t *threadData, modelica_metatype _var);
608static 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}};
609#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))
610PROTECTED_FUNCTION_STATIC modelica_string omc_EvaluateFunctions_callSignatureStr(threadData_t *threadData, modelica_metatype _signat);
611static 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}};
612#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))
613PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_checkCallSignatureForExp(threadData_t *threadData, modelica_metatype _expIn, modelica_metatype _signLst);
614PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_checkCallSignatureForExp(threadData_t *threadData, modelica_metatype _expIn, modelica_metatype _signLst);
615static 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}};
616#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))
617
618PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_makeBackendEquation(threadData_t *threadData, modelica_metatype _ls, modelica_metatype _rs)
619{
620 modelica_metatype _eq = NULL((void*)0);
621 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
622 MMC_SO()mmc_check_stackoverflow(threadData);
623 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
624 // _eq has no default value.
625#line 3494 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
626 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)));
627#line 3494 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
628 _eq = tmpMeta[0];
629#line 629 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
630 _return: OMC_LABEL_UNUSED__attribute__((unused))
631 return _eq;
632}
633
634PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_convertTupleEquations(threadData_t *threadData, modelica_metatype _eqIn, modelica_metatype _addEqsIn, modelica_metatype *out_addEqsOut)
635{
636 modelica_metatype _eqOut = NULL((void*)0);
637 modelica_metatype _addEqsOut = NULL((void*)0);
638 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
639 MMC_SO()mmc_check_stackoverflow(threadData);
640 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
641 // _eqOut has no default value.
642 // _addEqsOut has no default value.
643#line 3471 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
644
645#line 3471 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
646
647#line 647 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
648 { /* match expression */
649 modelica_metatype tmp4_1;
650 tmp4_1 = _eqIn;
651 {
652 modelica_metatype _lhs = NULL((void*)0);
653 modelica_metatype _rhs = NULL((void*)0);
654 modelica_metatype _eq = NULL((void*)0);
655 modelica_metatype _eqs = NULL((void*)0);
656 volatile mmc_switch_type tmp4;
657 int tmp5;
658 // _lhs has no default value.
659 // _rhs has no default value.
660 // _eq has no default value.
661 // _eqs has no default value.
662 tmp4 = 0;
663 for (; tmp4 < 2; tmp4++) {
664 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
665 case 0: {
666 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;
667 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
668 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;
669 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
670 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
671 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;
672 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
673
674 _lhs = tmpMeta[3];
675 _rhs = tmpMeta[5];
676 /* Pattern matching succeeded */
677#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
678 /* Pattern-matching assignment */
679#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
680 {
681#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
682 modelica_metatype _D_24tmpVar1;
683#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
684 modelica_metatype* tmp6;
685#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
686 modelica_metatype _D_24tmpVar0;
687#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
688 int tmp7;
689#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
690 modelica_metatype _rh_loopVar = 0;
691#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
692 modelica_metatype _rh;
693#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
694 modelica_metatype _lh_loopVar = 0;
695#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
696 modelica_metatype _lh;
697#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
698 _rh_loopVar = _rhs;
699#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
700 _lh_loopVar = _lhs;
701#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
702 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
703#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
704 _D_24tmpVar1 = tmpMeta[3]; /* defaultValue */
705#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
706 tmp6 = &_D_24tmpVar1;
707#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
708 while(1) {
709#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
710 tmp7 = 2;
711#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
712 if (!listEmpty(_rh_loopVar)((*(mmc_uint_t*)((void*)((char*)(_rh_loopVar) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) {
713#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
714 _rh = MMC_CAR(_rh_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_rh_loopVar) - 3
))) + (1)))))
;
715#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
716 _rh_loopVar = MMC_CDR(_rh_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_rh_loopVar) - 3
))) + (2)))))
;
717#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
718 tmp7--;
719#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
720 }if (!listEmpty(_lh_loopVar)((*(mmc_uint_t*)((void*)((char*)(_lh_loopVar) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) {
721#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
722 _lh = MMC_CAR(_lh_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_lh_loopVar) - 3
))) + (1)))))
;
723#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
724 _lh_loopVar = MMC_CDR(_lh_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_lh_loopVar) - 3
))) + (2)))))
;
725#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
726 tmp7--;
727#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
728 }
729#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
730 if (tmp7 == 0) {
731#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
732 _D_24tmpVar0 = omc_EvaluateFunctions_makeBackendEquation(threadData, _lh, _rh);
733#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
734 *tmp6 = mmc_mk_cons(_D_24tmpVar0,0);
735#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
736 tmp6 = &MMC_CDR(*tmp6)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp6) - 3))) +
(2)))))
;
737#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
738 } else if (tmp7 == 2) {
739#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
740 break;
741#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
742 } else {
743#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
744 goto goto_2;
745#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
746 }
747#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
748 }
749#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
750 *tmp6 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
751#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
752 tmpMeta[2] = _D_24tmpVar1;
753#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
754 }
755#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
756 tmpMeta[4] = tmpMeta[2];
757#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
758 if (listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto goto_2;
759#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
760 tmpMeta[5] = MMC_CAR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (1)))))
;
761#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
762 tmpMeta[6] = MMC_CDR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
763#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
764 _eq = tmpMeta[5];
765#line 3480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
766 _eqs = tmpMeta[6];
767#line 767 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
768#line 3481 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
769 tmpMeta[0+0] = _eq;
770#line 3481 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
771 tmpMeta[0+1] = listAppend(_eqs, _addEqsIn);
772#line 772 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
773 goto tmp3_done;
774 }
775 case 1: {
776
777 /* Pattern matching succeeded */
778#line 3484 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
779 tmpMeta[0+0] = _eqIn;
780#line 3484 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
781 tmpMeta[0+1] = _addEqsIn;
782#line 782 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
783 goto tmp3_done;
784 }
785 }
786 goto tmp3_end;
787 tmp3_end: ;
788 }
789 goto goto_2;
790 goto_2:;
791 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
792 goto tmp3_done;
793 tmp3_done:;
794 }
795 }
796 _eqOut = tmpMeta[0+0];
797 _addEqsOut = tmpMeta[0+1];
798 _return: OMC_LABEL_UNUSED__attribute__((unused))
799 if (out_addEqsOut) { *out_addEqsOut = _addEqsOut; }
800 return _eqOut;
801}
802
803PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_findDerVarCrefs(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inCrefs, modelica_metatype *out_outCrefs)
804{
805 modelica_metatype _outExp = NULL((void*)0);
806 modelica_metatype _outCrefs = NULL((void*)0);
807 modelica_metatype tmpMeta[8] __attribute__((unused)) = {0};
808 MMC_SO()mmc_check_stackoverflow(threadData);
809 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
810 // _outExp has no default value.
811 // _outCrefs has no default value.
812#line 3449 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
813
814#line 3449 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
815
816#line 816 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
817 { /* match expression */
818 modelica_metatype tmp4_1;
819 tmp4_1 = _inExp;
820 {
821 modelica_metatype _cr = NULL((void*)0);
822 volatile mmc_switch_type tmp4;
823 int tmp5;
824 // _cr has no default value.
825 tmp4 = 0;
826 for (; tmp4 < 2; tmp4++) {
827 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
828 case 0: {
829 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;
830 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
831 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;
832 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
833 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;
834 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
835 if (listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
836 tmpMeta[5] = MMC_CAR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (1)))))
;
837 tmpMeta[6] = MMC_CDR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
838 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;
839 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
840 if (!listEmpty(tmpMeta[6])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
841
842 _cr = tmpMeta[7];
843 /* Pattern matching succeeded */
844#line 3454 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
845 tmpMeta[2] = mmc_mk_cons(_cr, _inCrefs);
846#line 3454 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
847 tmpMeta[0+0] = _inExp;
848#line 3454 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
849 tmpMeta[0+1] = tmpMeta[2];
850#line 850 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
851 goto tmp3_done;
852 }
853 case 1: {
854
855 /* Pattern matching succeeded */
856#line 3455 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
857 tmpMeta[0+0] = _inExp;
858#line 3455 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
859 tmpMeta[0+1] = _inCrefs;
860#line 860 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
861 goto tmp3_done;
862 }
863 }
864 goto tmp3_end;
865 tmp3_end: ;
866 }
867 goto goto_2;
868 goto_2:;
869 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
870 goto tmp3_done;
871 tmp3_done:;
872 }
873 }
874 _outExp = tmpMeta[0+0];
875 _outCrefs = tmpMeta[0+1];
876 _return: OMC_LABEL_UNUSED__attribute__((unused))
877 if (out_outCrefs) { *out_outCrefs = _outCrefs; }
878 return _outExp;
879}
880
881PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_setVarKindForStates(threadData_t *threadData, modelica_metatype _inVar, modelica_metatype _inCrefs, modelica_metatype *out_outCrefs)
882{
883 modelica_metatype _outVar = NULL((void*)0);
884 modelica_metatype _outCrefs = NULL((void*)0);
885 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
886 MMC_SO()mmc_check_stackoverflow(threadData);
887 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
888 // _outVar has no default value.
889 // _outCrefs has no default value.
890#line 3428 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
891
892#line 3428 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
893
894#line 894 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
895 { /* matchcontinue expression */
896 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;
897 tmp4_1 = _inVar;
898 tmp4_2 = _inCrefs;
899 {
900 modelica_boolean _isState;
901 modelica_metatype _cr1 = NULL((void*)0);
902 modelica_metatype _varOld = NULL((void*)0);
903 modelica_metatype _varNew = NULL((void*)0);
904 modelica_metatype _derVars = NULL((void*)0);
905 volatile mmc_switch_type tmp4;
906 int tmp5;
907 // _isState has no default value.
908 // _cr1 has no default value.
909 // _varOld has no default value.
910 // _varNew has no default value.
911 // _derVars has no default value.
912 tmp4 = 0;
913 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) {
914 tmp3_top:
915 threadData->mmc_jumper = &new_mmc_jumper;
916 for (; tmp4 < 2; tmp4++) {
917 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
918 case 0: {
919 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
920 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
921 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;
922
923 _varOld = tmp4_1;
924 _cr1 = tmpMeta[2];
925 _derVars = tmp4_2;
926 /* Pattern matching succeeded */
927#line 3436 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
928 _isState = omc_List_isMemberOnTrue(threadData, _cr1, _derVars, boxvar_ComponentReference_crefEqual((void*)((char*)(&(boxvar_lit_ComponentReference_crefEqual
).header) + 3))
);
929#line 929 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
930
931#line 3437 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
932 _varNew = ((!_isState)?omc_BackendVariable_setVarKind(threadData, _varOld, _OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3))):_varOld);
933#line 933 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
934#line 3438 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
935 tmpMeta[0+0] = _varNew;
936#line 3438 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
937 tmpMeta[0+1] = _derVars;
938#line 938 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
939 goto tmp3_done;
940 }
941 case 1: {
942
943 /* Pattern matching succeeded */
944#line 3439 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
945 tmpMeta[0+0] = _inVar;
946#line 3439 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
947 tmpMeta[0+1] = _inCrefs;
948#line 948 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
949 goto tmp3_done;
950 }
951 }
952 goto tmp3_end;
953 tmp3_end: ;
954 }
955 goto goto_2;
956 tmp3_done:
957 (void)tmp4;
958 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
959 goto tmp3_done2;
960 goto_2:;
961 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
962 if (++tmp4 < 2) {
963 goto tmp3_top;
964 }
965 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
966 tmp3_done2:;
967 }
968 }
969 _outVar = tmpMeta[0+0];
970 _outCrefs = tmpMeta[0+1];
971 _return: OMC_LABEL_UNUSED__attribute__((unused))
972 if (out_outCrefs) { *out_outCrefs = _outCrefs; }
973 return _outVar;
974}
975
976PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_varSSisPreferOrHigher(threadData_t *threadData, modelica_metatype _varIn)
977{
978 modelica_boolean _ssOut;
979 modelica_integer _i;
980 modelica_metatype _ss = NULL((void*)0);
981 MMC_SO()mmc_check_stackoverflow(threadData);
982 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
983 // _ssOut has no default value.
984 // _i has no default value.
985 // _ss has no default value.
986#line 3416 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
987 _ss = omc_BackendVariable_varStateSelect(threadData, _varIn);
988#line 988 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
989
990#line 3417 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
991 _i = omc_BackendVariable_stateSelectToInteger(threadData, _ss);
992#line 992 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
993
994#line 3418 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
995 _ssOut = (_i >= ((modelica_integer) 2));
996#line 996 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
997 _return: OMC_LABEL_UNUSED__attribute__((unused))
998 return _ssOut;
999}
1000PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_varSSisPreferOrHigher(threadData_t *threadData, modelica_metatype _varIn)
1001{
1002 modelica_boolean _ssOut;
1003 modelica_metatype out_ssOut;
1004 _ssOut = omc_EvaluateFunctions_varSSisPreferOrHigher(threadData, _varIn);
1005 out_ssOut = mmc_mk_icon(_ssOut);
1006 return out_ssOut;
1007}
1008
1009PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_updateVarKinds__eqSys(threadData_t *threadData, modelica_metatype _sysIn, modelica_metatype _shared)
1010{
1011 modelica_metatype _sysOut = NULL((void*)0);
1012 modelica_metatype _vars = NULL((void*)0);
1013 modelica_metatype _states = NULL((void*)0);
1014 modelica_metatype _varLst = NULL((void*)0);
1015 modelica_metatype _ssVarLst = NULL((void*)0);
1016 modelica_metatype _eqs = NULL((void*)0);
1017 modelica_metatype _initEqs = NULL((void*)0);
1018 modelica_metatype _derVars = NULL((void*)0);
1019 modelica_metatype _ssVars = NULL((void*)0);
1020 modelica_metatype _derVarsInit = NULL((void*)0);
1021 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
1022 MMC_SO()mmc_check_stackoverflow(threadData);
1023 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1024 // _sysOut has no default value.
1025 // _vars has no default value.
1026 // _states has no default value.
1027 // _varLst has no default value.
1028 // _ssVarLst has no default value.
1029 // _eqs has no default value.
1030 // _initEqs has no default value.
1031 // _derVars has no default value.
1032 // _ssVars has no default value.
1033 // _derVarsInit has no default value.
1034#line 3392 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1035 /* Pattern-matching assignment */
1036#line 3392 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1037 tmpMeta[0] = _sysIn;
1038#line 3392 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1039 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
1040#line 3392 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1041 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
1042#line 3392 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1043 _vars = tmpMeta[1];
1044#line 3392 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1045 _eqs = tmpMeta[2];
1046#line 1046 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1047
1048#line 3393 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1049 _varLst = omc_BackendVariable_varList(threadData, _vars);
1050#line 1050 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1051
1052#line 3394 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1053 _initEqs = omc_BackendEquation_getInitialEqnsFromShared(threadData, _shared);
1054#line 1054 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1055
1056#line 3395 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1057 _states = omc_List_filterOnTrue(threadData, _varLst, boxvar_BackendVariable_isStateorStateDerVar((void*)((char*)(&(boxvar_lit_BackendVariable_isStateorStateDerVar
).header) + 3))
);
1058#line 1058 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1059
1060#line 3396 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1061 /* Pattern-matching assignment */
1062#line 3396 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1063 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1064#line 3396 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1065 tmpMeta[1] = mmc_mk_box2(0, boxvar_EvaluateFunctions_findDerVarCrefs((void*)((char*)(&(boxvar_lit_EvaluateFunctions_findDerVarCrefs
).header) + 3))
, tmpMeta[0]);
1066#line 3396 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1067 tmpMeta[2] = omc_BackendDAEUtil_traverseBackendDAEExpsEqns(threadData, _initEqs, boxvar_Expression_traverseSubexpressionsHelper((void*)((char*)(&(boxvar_lit_Expression_traverseSubexpressionsHelper
).header) + 3))
, tmpMeta[1]);
1068#line 3396 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1069 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
1070#line 3396 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1071 _derVarsInit = tmpMeta[3];
1072#line 1072 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1073
1074#line 3397 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1075 /* Pattern-matching assignment */
1076#line 3397 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1077 tmpMeta[0] = mmc_mk_box2(0, boxvar_EvaluateFunctions_findDerVarCrefs((void*)((char*)(&(boxvar_lit_EvaluateFunctions_findDerVarCrefs
).header) + 3))
, _derVarsInit);
1078#line 3397 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1079 tmpMeta[1] = omc_BackendDAEUtil_traverseBackendDAEExpsEqns(threadData, _eqs, boxvar_Expression_traverseSubexpressionsHelper((void*)((char*)(&(boxvar_lit_Expression_traverseSubexpressionsHelper
).header) + 3))
, tmpMeta[0]);
1080#line 3397 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1081 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
1082#line 3397 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1083 _derVars = tmpMeta[2];
1084#line 1084 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1085
1086#line 3399 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1087 _ssVarLst = omc_List_filterOnTrue(threadData, _varLst, boxvar_EvaluateFunctions_varSSisPreferOrHigher((void*)((char*)(&(boxvar_lit_EvaluateFunctions_varSSisPreferOrHigher
).header) + 3))
);
1088#line 1088 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1089
1090#line 3400 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1091 _ssVars = omc_List_map(threadData, _ssVarLst, boxvar_BackendVariable_varCref((void*)((char*)(&(boxvar_lit_BackendVariable_varCref).header
) + 3))
);
1092#line 1092 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1093
1094#line 3402 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1095 /* Pattern-matching assignment */
1096#line 3402 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1097 tmpMeta[0] = listAppend(_derVars, _ssVars);
1098#line 3402 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1099 _derVars = tmpMeta[0];
1100#line 1100 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1101
1102#line 3403 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1103 _derVars = omc_List_unique(threadData, _derVars);
1104#line 1104 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1105
1106#line 3404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1107 _vars = omc_BackendVariable_traverseBackendDAEVarsWithUpdate(threadData, _vars, boxvar_EvaluateFunctions_setVarKindForStates((void*)((char*)(&(boxvar_lit_EvaluateFunctions_setVarKindForStates
).header) + 3))
, _derVars, NULL((void*)0));
1108#line 1108 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1109
1110#line 3405 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1111 _sysOut = omc_BackendDAEUtil_setEqSystVars(threadData, _sysIn, _vars);
1112#line 1112 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1113 _return: OMC_LABEL_UNUSED__attribute__((unused))
1114 return _sysOut;
1115}
1116
1117PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_updateVarKinds(threadData_t *threadData, modelica_metatype _inDAE)
1118{
1119 modelica_metatype _outDAE = NULL((void*)0);
1120 modelica_metatype _systs = NULL((void*)0);
1121 modelica_metatype _shared = NULL((void*)0);
1122 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1123 MMC_SO()mmc_check_stackoverflow(threadData);
1124 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1125 // _outDAE has no default value.
1126 // _systs has no default value.
1127 // _shared has no default value.
1128#line 3376 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1129 /* Pattern-matching assignment */
1130#line 3376 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1131 tmpMeta[0] = _inDAE;
1132#line 3376 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1133 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
1134#line 3376 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1135 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
1136#line 3376 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1137 _systs = tmpMeta[1];
1138#line 3376 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1139 _shared = tmpMeta[2];
1140#line 1140 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1141
1142#line 3377 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1143 _systs = omc_List_map1(threadData, _systs, boxvar_EvaluateFunctions_updateVarKinds__eqSys((void*)((char*)(&(boxvar_lit_EvaluateFunctions_updateVarKinds__eqSys
).header) + 3))
, _shared);
1144#line 1144 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1145
1146#line 3378 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1147 tmpMeta[0] = mmc_mk_box3(3, &BackendDAE_BackendDAE_DAE__desc, _systs, _shared);
1148#line 3378 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1149 _outDAE = tmpMeta[0];
1150#line 1150 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1151 _return: OMC_LABEL_UNUSED__attribute__((unused))
1152 return _outDAE;
1153}
1154
1155PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_makeAssignment(threadData_t *threadData, modelica_metatype _lhs, modelica_metatype _rhs)
1156{
1157 modelica_metatype _stmtOut = NULL((void*)0);
1158 modelica_metatype _ty = NULL((void*)0);
1159 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
1160 MMC_SO()mmc_check_stackoverflow(threadData);
1161 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1162 // _stmtOut has no default value.
1163 // _ty has no default value.
1164#line 3359 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1165 _ty = omc_Expression_typeof(threadData, _rhs);
1166#line 1166 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1167
1168#line 3360 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1169 tmpMeta[0] = mmc_mk_box5(3, &DAE_Statement_STMT__ASSIGN__desc, _ty, _lhs, _rhs, _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)));
1170#line 3360 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1171 _stmtOut = tmpMeta[0];
1172#line 1172 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1173 _return: OMC_LABEL_UNUSED__attribute__((unused))
1174 return _stmtOut;
1175}
1176
1177PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_makeAssignmentMap(threadData_t *threadData, modelica_metatype _lhs, modelica_metatype _rhs)
1178{
1179 modelica_metatype _stmts = NULL((void*)0);
1180 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1181 MMC_SO()mmc_check_stackoverflow(threadData);
1182 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1183 // _stmts has no default value.
1184#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1185 {
1186#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1187 modelica_metatype _D_24tmpVar3;
1188#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1189 modelica_metatype* tmp1;
1190#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1191 modelica_metatype _D_24tmpVar2;
1192#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1193 int tmp2;
1194#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1195 modelica_metatype _e2_loopVar = 0;
1196#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1197 modelica_metatype _e2;
1198#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1199 modelica_metatype _e1_loopVar = 0;
1200#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1201 modelica_metatype _e1;
1202#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1203 _e2_loopVar = _rhs;
1204#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1205 _e1_loopVar = _lhs;
1206#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1207 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1208#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1209 _D_24tmpVar3 = tmpMeta[1]; /* defaultValue */
1210#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1211 tmp1 = &_D_24tmpVar3;
1212#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1213 while(1) {
1214#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1215 tmp2 = 2;
1216#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1217 if (!listEmpty(_e2_loopVar)((*(mmc_uint_t*)((void*)((char*)(_e2_loopVar) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) {
1218#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1219 _e2 = MMC_CAR(_e2_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e2_loopVar) - 3
))) + (1)))))
;
1220#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1221 _e2_loopVar = MMC_CDR(_e2_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e2_loopVar) - 3
))) + (2)))))
;
1222#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1223 tmp2--;
1224#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1225 }if (!listEmpty(_e1_loopVar)((*(mmc_uint_t*)((void*)((char*)(_e1_loopVar) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) {
1226#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1227 _e1 = MMC_CAR(_e1_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e1_loopVar) - 3
))) + (1)))))
;
1228#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1229 _e1_loopVar = MMC_CDR(_e1_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e1_loopVar) - 3
))) + (2)))))
;
1230#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1231 tmp2--;
1232#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1233 }
1234#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1235 if (tmp2 == 0) {
1236#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1237 _D_24tmpVar2 = omc_EvaluateFunctions_makeAssignment(threadData, _e1, _e2);
1238#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1239 *tmp1 = mmc_mk_cons(_D_24tmpVar2,0);
1240#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1241 tmp1 = &MMC_CDR(*tmp1)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp1) - 3))) +
(2)))))
;
1242#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1243 } else if (tmp2 == 2) {
1244#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1245 break;
1246#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1247 } else {
1248#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1249 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1250#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1251 }
1252#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1253 }
1254#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1255 *tmp1 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
1256#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1257 tmpMeta[0] = _D_24tmpVar3;
1258#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1259 }
1260#line 3349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1261 _stmts = tmpMeta[0];
1262#line 1262 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1263 _return: OMC_LABEL_UNUSED__attribute__((unused))
1264 return _stmts;
1265}
1266
1267PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_compareConstantExps2(threadData_t *threadData, modelica_integer _idx, modelica_metatype _expLstLst, modelica_metatype _D_24in_pos)
1268{
1269 modelica_metatype _pos = NULL((void*)0);
1270 modelica_boolean _b1;
1271 modelica_boolean _b2;
1272 modelica_metatype _firstExp = NULL((void*)0);
1273 modelica_metatype _expLst = NULL((void*)0);
1274 modelica_metatype _rest = NULL((void*)0);
1275 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1276 MMC_SO()mmc_check_stackoverflow(threadData);
1277 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1278 _pos = _D_24in_pos;
1279 // _b1 has no default value.
1280 // _b2 has no default value.
1281 // _firstExp has no default value.
1282 // _expLst has no default value.
1283 // _rest has no default value.
1284#line 3332 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1285 _expLst = omc_List_map1(threadData, _expLstLst, boxvar_listGet((void*)((char*)(&(boxvar_lit_listGet).header) + 3)), mmc_mk_integermmc_mk_icon(_idx));
1286#line 1286 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1287
1288#line 3333 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1289 _b1 = omc_List_mapBoolAnd(threadData, _expLst, boxvar_Expression_isConst((void*)((char*)(&(boxvar_lit_Expression_isConst).header)
+ 3))
);
1290#line 1290 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1291
1292#line 3334 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1293 if(_b1)
1294#line 3334 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1295 {
1296#line 3335 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1297 /* Pattern-matching assignment */
1298#line 3335 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1299 tmpMeta[0] = _expLst;
1300#line 3335 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1301 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);};
1302#line 3335 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1303 tmpMeta[1] = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
1304#line 3335 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1305 tmpMeta[2] = MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
1306#line 3335 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1307 _firstExp = tmpMeta[1];
1308#line 3335 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1309 _rest = tmpMeta[2];
1310#line 1310 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1311
1312#line 3336 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1313 _b2 = omc_List_map1BoolAnd(threadData, _rest, boxvar_Expression_expEqual((void*)((char*)(&(boxvar_lit_Expression_expEqual).header
) + 3))
, _firstExp);
1314#line 1314 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1315
1316#line 3337 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1317 if(_b2)
1318#line 3337 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1319 {
1320#line 3338 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1321 tmpMeta[0] = mmc_mk_cons(mmc_mk_integermmc_mk_icon(_idx), _pos);
1322#line 3338 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1323 _pos = tmpMeta[0];
1324#line 1324 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1325 }
1326 }
1327 _return: OMC_LABEL_UNUSED__attribute__((unused))
1328 return _pos;
1329}
1330PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_compareConstantExps2(threadData_t *threadData, modelica_metatype _idx, modelica_metatype _expLstLst, modelica_metatype _D_24in_pos)
1331{
1332 modelica_integer tmp1;
1333 modelica_metatype _pos = NULL((void*)0);
1334 tmp1 = mmc_unbox_integer(_idx)(((mmc_sint_t) (_idx)) >> 1);
1335 _pos = omc_EvaluateFunctions_compareConstantExps2(threadData, tmp1, _expLstLst, _D_24in_pos);
1336 /* skip box _pos; list<#Integer> */
1337 return _pos;
1338}
1339
1340PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_compareConstantExps(threadData_t *threadData, modelica_metatype _expLstLstIn)
1341{
1342 modelica_metatype _posLstOut = NULL((void*)0);
1343 modelica_integer tmp1;
1344 modelica_integer tmp2;
1345 modelica_integer tmp3;
1346 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
1347 MMC_SO()mmc_check_stackoverflow(threadData);
1348 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1349 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1350 _posLstOut = tmpMeta[0];
1351#line 3318 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1352 tmp1 = ((modelica_integer) 1); tmp2 = 1; tmp3 = listLength(listHead(_expLstLstIn)boxptr_listHead(threadData,_expLstLstIn));
1353#line 3318 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1354 if(!(((tmp2 > 0) && (tmp1 > tmp3)) || ((tmp2 < 0) && (tmp1 < tmp3))))
1355#line 3318 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1356 {
1357#line 3318 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1358 modelica_integer _i;
1359#line 3318 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1360 for(_i = ((modelica_integer) 1); in_range_integer(_i, tmp1, tmp3); _i += tmp2)
1361#line 3318 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1362 {
1363#line 3319 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1364 _posLstOut = omc_EvaluateFunctions_compareConstantExps2(threadData, _i, _expLstLstIn, _posLstOut);
1365#line 1365 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1366 }
1367 }
1368 _return: OMC_LABEL_UNUSED__attribute__((unused))
1369 return _posLstOut;
1370}
1371
1372PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_updateStatementsInElse(threadData_t *threadData, modelica_metatype _stmtLstIn, modelica_metatype _origElse)
1373{
1374 modelica_metatype _elseOut = NULL((void*)0);
1375 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
1376 MMC_SO()mmc_check_stackoverflow(threadData);
1377 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1378 // _elseOut has no default value.
1379#line 1379 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1380 { /* match expression */
1381 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
1382 tmp3_1 = _stmtLstIn;
1383 tmp3_2 = _origElse;
1384 {
1385 modelica_metatype _els = NULL((void*)0);
1386 modelica_metatype _exp = NULL((void*)0);
1387 modelica_metatype _stmts = NULL((void*)0);
1388 modelica_metatype _rest = NULL((void*)0);
1389 int tmp3;
1390 // _els has no default value.
1391 // _exp has no default value.
1392 // _stmts has no default value.
1393 // _rest has no default value.
1394 {
1395 switch (MMC_SWITCH_CAST(valueConstructor(tmp3_2))(((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) >> 2
) & 255))
) {
1396 case 4: {
1397 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1398 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1399 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1400 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;
1401 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
1402 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
1403 _stmts = tmpMeta[1];
1404 _rest = tmpMeta[2];
1405 _exp = tmpMeta[3];
1406 _els = tmpMeta[4];
1407 /* Pattern matching succeeded */
1408#line 3301 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1409 _els = omc_EvaluateFunctions_updateStatementsInElse(threadData, _rest, _els);
1410#line 1410 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1411#line 3302 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1412 tmpMeta[1] = mmc_mk_box4(4, &DAE_Else_ELSEIF__desc, _exp, _stmts, _els);
1413#line 3302 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1414 tmpMeta[0] = tmpMeta[1];
1415#line 1415 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1416 goto tmp2_done;
1417 }
1418 case 5: {
1419 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1420 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1421 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1422 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;
1423
1424 _stmts = tmpMeta[1];
1425 /* Pattern matching succeeded */
1426#line 3305 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1427 tmpMeta[1] = mmc_mk_box2(5, &DAE_Else_ELSE__desc, _stmts);
1428#line 3305 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1429 tmpMeta[0] = tmpMeta[1];
1430#line 1430 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1431 goto tmp2_done;
1432 }
1433 case 3: {
1434 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1435 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1436 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1437 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;
1438 /* Pattern matching succeeded */
1439#line 3308 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1440 tmpMeta[0] = _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3));
1441#line 1441 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1442 goto tmp2_done;
1443 }
1444 }
1445 goto tmp2_end;
1446 tmp2_end: ;
1447 }
1448 goto goto_1;
1449 goto_1:;
1450 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1451 goto tmp2_done;
1452 tmp2_done:;
1453 }
1454 }
1455 _elseOut = tmpMeta[0];
1456 _return: OMC_LABEL_UNUSED__attribute__((unused))
1457 return _elseOut;
1458}
1459
1460PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_updateStatementsInIfStmt(threadData_t *threadData, modelica_metatype _stmtLstIn, modelica_metatype _origIf)
1461{
1462 modelica_metatype _ifStmtOut = NULL((void*)0);
1463 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
1464 MMC_SO()mmc_check_stackoverflow(threadData);
1465 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1466 // _ifStmtOut has no default value.
1467#line 1467 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1468 { /* match expression */
1469 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
1470 tmp3_1 = _stmtLstIn;
1471 tmp3_2 = _origIf;
1472 {
1473 modelica_metatype _els = NULL((void*)0);
1474 modelica_metatype _exp = NULL((void*)0);
1475 modelica_metatype _source = NULL((void*)0);
1476 modelica_metatype _stmts = NULL((void*)0);
1477 modelica_metatype _rest = NULL((void*)0);
1478 volatile mmc_switch_type tmp3;
1479 int tmp4;
1480 // _els has no default value.
1481 // _exp has no default value.
1482 // _source has no default value.
1483 // _stmts has no default value.
1484 // _rest has no default value.
1485 tmp3 = 0;
1486 for (; tmp3 < 1; tmp3++) {
1487 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1488 case 0: {
1489 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1490 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1491 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1492 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;
1493 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
1494 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
1495 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(5)))))
;
1496 _stmts = tmpMeta[1];
1497 _rest = tmpMeta[2];
1498 _exp = tmpMeta[3];
1499 _els = tmpMeta[4];
1500 _source = tmpMeta[5];
1501 /* Pattern matching succeeded */
1502#line 3280 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1503 _els = omc_EvaluateFunctions_updateStatementsInElse(threadData, _rest, _els);
1504#line 1504 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1505#line 3281 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1506 tmpMeta[1] = mmc_mk_box5(6, &DAE_Statement_STMT__IF__desc, _exp, _stmts, _els, _source);
1507#line 3281 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1508 tmpMeta[0] = tmpMeta[1];
1509#line 1509 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1510 goto tmp2_done;
1511 }
1512 }
1513 goto tmp2_end;
1514 tmp2_end: ;
1515 }
1516 goto goto_1;
1517 goto_1:;
1518 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1519 goto tmp2_done;
1520 tmp2_done:;
1521 }
1522 }
1523 _ifStmtOut = tmpMeta[0];
1524 _return: OMC_LABEL_UNUSED__attribute__((unused))
1525 return _ifStmtOut;
1526}
1527
1528PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getOnlyConstantReplacements(threadData_t *threadData, modelica_metatype _replIn)
1529{
1530 modelica_metatype _replOut = NULL((void*)0);
1531 modelica_metatype _exps = NULL((void*)0);
1532 modelica_metatype _crefs = NULL((void*)0);
1533 modelica_metatype _repl = NULL((void*)0);
1534 MMC_SO()mmc_check_stackoverflow(threadData);
1535 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1536 // _replOut has no default value.
1537 // _exps has no default value.
1538 // _crefs has no default value.
1539 // _repl has no default value.
1540#line 3259 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1541 _crefs = omc_BackendVarTransform_getAllReplacements(threadData, _replIn ,&_exps);
1542#line 1542 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1543
1544#line 3260 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1545 _exps = omc_List_filterOnTrueSync(threadData, _exps, boxvar_Expression_isConst((void*)((char*)(&(boxvar_lit_Expression_isConst).header)
+ 3))
, _crefs ,&_crefs);
1546#line 1546 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1547
1548#line 3261 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1549 _repl = omc_BackendVarTransform_emptyReplacements(threadData);
1550#line 1550 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1551
1552#line 3262 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1553 _replOut = omc_BackendVarTransform_addReplacements(threadData, _repl, _crefs, _exps, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
1554#line 1554 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1555 _return: OMC_LABEL_UNUSED__attribute__((unused))
1556 return _replOut;
1557}
1558
1559PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_collectReplacements1(threadData_t *threadData, modelica_metatype _stmtsIn, modelica_metatype _replIn)
1560{
1561 modelica_metatype _replOut = NULL((void*)0);
1562 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
1563 MMC_SO()mmc_check_stackoverflow(threadData);
1564 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1565 // _replOut has no default value.
1566#line 1566 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1567 { /* matchcontinue expression */
1568 volatile modelica_metatype tmp3_1;
1569 tmp3_1 = _stmtsIn;
1570 {
1571 modelica_metatype _repl = NULL((void*)0);
1572 modelica_metatype _cref = NULL((void*)0);
1573 modelica_metatype _lhs = NULL((void*)0);
1574 modelica_metatype _rhs = NULL((void*)0);
1575 modelica_metatype _stmt = NULL((void*)0);
1576 modelica_metatype _crefs = NULL((void*)0);
1577 modelica_metatype _constCrefs = NULL((void*)0);
1578 modelica_metatype _varCrefs = NULL((void*)0);
1579 modelica_metatype _lhsLst = NULL((void*)0);
1580 modelica_metatype _rhsLst = NULL((void*)0);
1581 modelica_metatype _constExps = NULL((void*)0);
1582 modelica_metatype _rest = NULL((void*)0);
1583 volatile mmc_switch_type tmp3;
1584 int tmp4;
1585 // _repl has no default value.
1586 // _cref has no default value.
1587 // _lhs has no default value.
1588 // _rhs has no default value.
1589 // _stmt has no default value.
1590 // _crefs has no default value.
1591 // _constCrefs has no default value.
1592 // _varCrefs has no default value.
1593 // _lhsLst has no default value.
1594 // _rhsLst has no default value.
1595 // _constExps has no default value.
1596 // _rest has no default value.
1597 tmp3 = 0;
1598 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) {
1599 tmp2_top:
1600 threadData->mmc_jumper = &new_mmc_jumper;
1601 for (; tmp3 < 5; tmp3++) {
1602 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1603 case 0: {
1604 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1605 tmp3 += 3; /* Pattern matching succeeded; we may skip some cases if we fail */
1606#line 3209 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1607 tmpMeta[0] = _replIn;
1608#line 1608 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1609 goto tmp2_done;
1610 }
1611 case 1: {
1612 modelica_boolean tmp5;
1613 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1614 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1615 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1616 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;
1617 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
1618 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (4)))))
;
1619
1620 _lhs = tmpMeta[3];
1621 _rhs = tmpMeta[4];
1622 _rest = tmpMeta[2];
1623 tmp3 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
1624#line 3213 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1625 _rhs = omc_BackendVarTransform_replaceExp(threadData, _rhs, _replIn, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), NULL((void*)0));
1626#line 1626 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1627
1628#line 3214 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1629 _rhs = omc_ExpressionSimplify_simplify(threadData, _rhs, NULL((void*)0));
1630#line 1630 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1631
1632#line 3215 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1633 /* Pattern-matching assignment */
1634#line 3215 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1635 tmp5 = omc_Expression_isConst(threadData, _rhs);
1636#line 3215 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1637 if (1 != tmp5) goto goto_1;
1638#line 1638 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1639
1640#line 3216 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1641 _cref = omc_Expression_expCref(threadData, _lhs);
1642#line 1642 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1643
1644#line 3217 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1645 _repl = omc_BackendVarTransform_addReplacement(threadData, _replIn, _cref, _rhs, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
1646#line 1646 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1647#line 3218 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1648 tmpMeta[0] = omc_EvaluateFunctions_collectReplacements1(threadData, _rest, _repl);
1649#line 1649 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1650 goto tmp2_done;
1651 }
1652 case 2: {
1653 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1654 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1655 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1656 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;
1657 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
1658 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (4)))))
;
1659
1660 _lhsLst = tmpMeta[3];
1661 _rhs = tmpMeta[4];
1662 _rest = tmpMeta[2];
1663 /* Pattern matching succeeded */
1664#line 3223 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1665 _rhs = omc_BackendVarTransform_replaceExp(threadData, _rhs, _replIn, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), NULL((void*)0));
1666#line 1666 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1667
1668#line 3224 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1669 _rhs = omc_ExpressionSimplify_simplify(threadData, _rhs, NULL((void*)0));
1670#line 1670 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1671
1672#line 3225 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1673 _rhsLst = omc_Expression_getComplexContents(threadData, _rhs);
1674#line 1674 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1675
1676#line 3226 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1677 _crefs = omc_List_map(threadData, _lhsLst, boxvar_Expression_expCref((void*)((char*)(&(boxvar_lit_Expression_expCref).header)
+ 3))
);
1678#line 1678 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1679
1680#line 3227 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1681 _constExps = omc_List_filterOnTrueSync(threadData, _rhsLst, boxvar_Expression_isConst((void*)((char*)(&(boxvar_lit_Expression_isConst).header)
+ 3))
, _crefs ,&_constCrefs);
1682#line 1682 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1683
1684#line 3228 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1685 omc_List_filterOnTrueSync(threadData, _rhsLst, boxvar_Expression_isNotConst((void*)((char*)(&(boxvar_lit_Expression_isNotConst).header
) + 3))
, _crefs ,&_varCrefs);
1686#line 1686 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1687
1688#line 3229 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1689 _repl = omc_BackendVarTransform_addReplacements(threadData, _replIn, _constCrefs, _constExps, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
1690#line 1690 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1691
1692#line 3230 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1693 omc_BackendVarTransform_removeReplacements(threadData, _repl, _varCrefs, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
1694#line 1694 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1695#line 3231 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1696 tmpMeta[0] = omc_EvaluateFunctions_collectReplacements1(threadData, _rest, _repl);
1697#line 1697 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1698 goto tmp2_done;
1699 }
1700 case 3: {
1701 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1702 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1703 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1704 _stmt = tmpMeta[1];
1705 _rest = tmpMeta[2];
1706 /* Pattern matching succeeded */
1707#line 3236 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1708 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1709#line 3236 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1710 _lhsLst = omc_EvaluateFunctions_getStatementLHS(threadData, _stmt, tmpMeta[1]);
1711#line 1711 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1712
1713#line 3237 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1714 _crefs = omc_List_map(threadData, _lhsLst, boxvar_Expression_expCref((void*)((char*)(&(boxvar_lit_Expression_expCref).header)
+ 3))
);
1715#line 1715 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1716
1717#line 3238 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1718 omc_BackendVarTransform_removeReplacements(threadData, _replIn, _crefs, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
1719#line 1719 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1720#line 3239 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1721 tmpMeta[0] = omc_EvaluateFunctions_collectReplacements1(threadData, _rest, _replIn);
1722#line 1722 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1723 goto tmp2_done;
1724 }
1725 case 4: {
1726
1727 /* Pattern matching succeeded */
1728#line 3244 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1729 fputs(MMC_STRINGDATA(_OMC_LIT11)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT11).header) + 3))) - 3)))->data)
,stdoutstdout);
1730#line 1730 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1731#line 3245 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1732 goto goto_1;
1733#line 1733 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1734 goto tmp2_done;
1735 }
1736 }
1737 goto tmp2_end;
1738 tmp2_end: ;
1739 }
1740 goto goto_1;
1741 tmp2_done:
1742 (void)tmp3;
1743 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1744 goto tmp2_done2;
1745 goto_1:;
1746 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1747 if (++tmp3 < 5) {
1748 goto tmp2_top;
1749 }
1750 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1751 tmp2_done2:;
1752 }
1753 }
1754 _replOut = tmpMeta[0];
1755 _return: OMC_LABEL_UNUSED__attribute__((unused))
1756 return _replOut;
1757}
1758
1759PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_collectReplacements(threadData_t *threadData, modelica_metatype _stmtsIn)
1760{
1761 modelica_metatype _replOut = NULL((void*)0);
1762 modelica_metatype _repl = NULL((void*)0);
1763 MMC_SO()mmc_check_stackoverflow(threadData);
1764 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1765 // _replOut has no default value.
1766 // _repl has no default value.
1767#line 3190 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1768 _repl = omc_BackendVarTransform_emptyReplacements(threadData);
1769#line 1769 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1770
1771#line 3191 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1772 _replOut = omc_EvaluateFunctions_collectReplacements1(threadData, _stmtsIn, _repl);
1773#line 1773 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1774 _return: OMC_LABEL_UNUSED__attribute__((unused))
1775 return _replOut;
1776}
1777
1778PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_predictIfOutput(threadData_t *threadData, modelica_metatype _stmtIn, modelica_metatype _infoIn, modelica_metatype *out_infoOut)
1779{
1780 modelica_metatype _stmtsOut = NULL((void*)0);
1781 modelica_metatype _infoOut = NULL((void*)0);
1782 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
1783 MMC_SO()mmc_check_stackoverflow(threadData);
1784 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1785 // _stmtsOut has no default value.
1786 // _infoOut has no default value.
1787#line 3099 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1788
1789#line 3099 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1790
1791#line 1791 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1792 { /* matchcontinue expression */
1793 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;
1794 tmp4_1 = _stmtIn;
1795 tmp4_2 = _infoIn;
1796 {
1797 modelica_integer _idx;
1798 modelica_metatype _constantOutputs = NULL((void*)0);
1799 modelica_metatype _replIn = NULL((void*)0);
1800 modelica_metatype _replLst = NULL((void*)0);
1801 modelica_metatype _else_ = NULL((void*)0);
1802 modelica_metatype _funcTree = NULL((void*)0);
1803 modelica_metatype _stmtNew = NULL((void*)0);
1804 modelica_metatype _expLst = NULL((void*)0);
1805 modelica_metatype _outExps = NULL((void*)0);
1806 modelica_metatype _allLHS = NULL((void*)0);
1807 modelica_metatype _expLstLst = NULL((void*)0);
1808 modelica_metatype _stmts1 = NULL((void*)0);
1809 modelica_metatype _addStmts = NULL((void*)0);
1810 modelica_metatype _stmtsLst = NULL((void*)0);
1811 modelica_metatype _elseStmtsLst = NULL((void*)0);
1812 volatile mmc_switch_type tmp4;
1813 int tmp5;
1814 // _idx has no default value.
1815 // _constantOutputs has no default value.
1816 // _replIn has no default value.
1817 // _replLst has no default value.
1818 // _else_ has no default value.
1819 // _funcTree has no default value.
1820 // _stmtNew has no default value.
1821 // _expLst has no default value.
1822 // _outExps has no default value.
1823 // _allLHS has no default value.
1824 // _expLstLst has no default value.
1825 // _stmts1 has no default value.
1826 // _addStmts has no default value.
1827 // _stmtsLst has no default value.
1828 // _elseStmtsLst has no default value.
1829 tmp4 = 0;
1830 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) {
1831 tmp3_top:
1832 threadData->mmc_jumper = &new_mmc_jumper;
1833 for (; tmp4 < 2; tmp4++) {
1834 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1835 case 0: {
1836 modelica_integer tmp6;
1837 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;
1838 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
1839 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
1840 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
1841 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
1842 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(4)))))
;
1843 tmp6 = mmc_unbox_integer(tmpMeta[6])(((mmc_sint_t) (tmpMeta[6])) >> 1);
1844 _stmts1 = tmpMeta[2];
1845 _else_ = tmpMeta[3];
1846 _replIn = tmpMeta[4];
1847 _funcTree = tmpMeta[5];
1848 _idx = tmp6 /* pattern as ty=Integer */;
1849 /* Pattern matching succeeded */
1850#line 3121 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1851 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1852#line 3121 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1853 _elseStmtsLst = omc_EvaluateFunctions_getDAEelseStatemntLsts(threadData, _else_, tmpMeta[2]);
1854#line 1854 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1855
1856#line 3122 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1857 _elseStmtsLst = listReverse(_elseStmtsLst);
1858#line 1858 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1859
1860#line 3139 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1861 _stmtsLst = omc_EvaluateFunctions_evaluateFunctions__updateAllStatements(threadData, _stmts1, _elseStmtsLst, _replIn, _funcTree, _idx ,&_funcTree ,&_idx);
1862#line 1862 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1863
1864#line 3141 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1865 _replLst = omc_List_map(threadData, _stmtsLst, boxvar_EvaluateFunctions_collectReplacements((void*)((char*)(&(boxvar_lit_EvaluateFunctions_collectReplacements
).header) + 3))
);
1866#line 1866 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1867
1868#line 3146 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1869 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1870#line 3146 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1871 _expLst = omc_List_fold(threadData, omc_List_flatten(threadData, _stmtsLst), boxvar_EvaluateFunctions_getStatementLHS((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getStatementLHS
).header) + 3))
, tmpMeta[2]);
1872#line 1872 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1873
1874#line 3147 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1875 _expLst = omc_List_unique(threadData, _expLst);
1876#line 1876 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1877
1878#line 3148 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1879 _allLHS = listReverse(_expLst);
1880#line 1880 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1881
1882#line 3150 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1883 _expLstLst = omc_List_map1(threadData, _replLst, boxvar_EvaluateFunctions_replaceExps((void*)((char*)(&(boxvar_lit_EvaluateFunctions_replaceExps
).header) + 3))
, _allLHS);
1884#line 1884 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1885
1886#line 3154 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1887 _constantOutputs = omc_EvaluateFunctions_compareConstantExps(threadData, _expLstLst);
1888#line 1888 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1889
1890#line 3155 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1891 _outExps = omc_List_map1(threadData, _constantOutputs, boxvar_List_getIndexFirst((void*)((char*)(&(boxvar_lit_List_getIndexFirst).header)
+ 3))
, _allLHS);
1892#line 1892 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1893
1894#line 3156 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1895 omc_List_map(threadData, _outExps, boxvar_Expression_expCref((void*)((char*)(&(boxvar_lit_Expression_expCref).header)
+ 3))
);
1896#line 1896 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1897
1898#line 3158 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1899 _expLst = omc_List_map1(threadData, _constantOutputs, boxvar_List_getIndexFirst((void*)((char*)(&(boxvar_lit_List_getIndexFirst).header)
+ 3))
, listHead(_expLstLst)boxptr_listHead(threadData,_expLstLst));
1900#line 1900 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1901
1902#line 3161 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1903 if(omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))))
1904#line 3161 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1905 {
1906#line 3162 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1907 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))));
1908#line 3162 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1909 fputs(MMC_STRINGDATA(tmpMeta[2])(((struct mmc_string*)((void*)((char*)(tmpMeta[2]) - 3)))->
data)
,stdoutstdout);
1910#line 1910 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1911 }
1912
1913#line 3164 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1914 omc_List_intersection1OnTrue(threadData, _outExps, _allLHS, boxvar_Expression_expEqual((void*)((char*)(&(boxvar_lit_Expression_expEqual).header
) + 3))
, NULL((void*)0), NULL((void*)0));
1915#line 1915 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1916
1917#line 3170 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1918 _addStmts = omc_EvaluateFunctions_makeAssignmentMap(threadData, _outExps, _expLst);
1919#line 1919 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1920
1921#line 3171 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1922 _stmtNew = omc_EvaluateFunctions_updateStatementsInIfStmt(threadData, _stmtsLst, _stmtIn);
1923#line 1923 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1924#line 3176 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1925 tmpMeta[2] = mmc_mk_cons(_stmtNew, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
1926#line 3176 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1927 tmpMeta[3] = mmc_mk_box2(0, tmpMeta[2], _addStmts);
1928#line 3176 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1929 tmpMeta[4] = mmc_mk_box4(3, &EvaluateFunctions_FuncInfo_FUNCINFO__desc, _replIn, _funcTree, mmc_mk_integermmc_mk_icon(_idx));
1930#line 3176 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1931 tmpMeta[0+0] = tmpMeta[3];
1932#line 3176 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1933 tmpMeta[0+1] = tmpMeta[4];
1934#line 1934 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1935 goto tmp3_done;
1936 }
1937 case 1: {
1938
1939 /* Pattern matching succeeded */
1940#line 3178 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1941 tmpMeta[2] = mmc_mk_cons(_stmtIn, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
1942#line 3178 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1943 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1944#line 3178 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1945 tmpMeta[4] = mmc_mk_box2(0, tmpMeta[2], tmpMeta[3]);
1946#line 3178 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1947 tmpMeta[0+0] = tmpMeta[4];
1948#line 3178 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1949 tmpMeta[0+1] = _infoIn;
1950#line 1950 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1951 goto tmp3_done;
1952 }
1953 }
1954 goto tmp3_end;
1955 tmp3_end: ;
1956 }
1957 goto goto_2;
1958 tmp3_done:
1959 (void)tmp4;
1960 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1961 goto tmp3_done2;
1962 goto_2:;
1963 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1964 if (++tmp4 < 2) {
1965 goto tmp3_top;
1966 }
1967 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1968 tmp3_done2:;
1969 }
1970 }
1971 _stmtsOut = tmpMeta[0+0];
1972 _infoOut = tmpMeta[0+1];
1973 _return: OMC_LABEL_UNUSED__attribute__((unused))
1974 if (out_infoOut) { *out_infoOut = _infoOut; }
1975 return _stmtsOut;
1976}
1977
1978PROTECTED_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)
1979{
1980 modelica_metatype _stmtsLstOut = NULL((void*)0);
1981 modelica_metatype _funcTree = NULL((void*)0);
1982 modelica_integer _idx;
1983 modelica_metatype _repl = NULL((void*)0);
1984 modelica_metatype _stmts = NULL((void*)0);
1985 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1986 MMC_SO()mmc_check_stackoverflow(threadData);
1987 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1988 // _stmtsLstOut has no default value.
1989 _funcTree = _D_24in_funcTree;
1990 _idx = _D_24in_idx;
1991 // _repl has no default value.
1992 // _stmts has no default value.
1993#line 3075 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1994 _repl = omc_EvaluateFunctions_getOnlyConstantReplacements(threadData, _replIn);
1995#line 1995 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
1996
1997#line 3078 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
1998 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1999#line 3078 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2000 _stmts = omc_EvaluateFunctions_evaluateFunctions__updateStatement(threadData, _stmtsIn, _funcTree, _repl, _idx, tmpMeta[0] ,&_funcTree ,NULL((void*)0) ,&_idx);
2001#line 2001 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2002
2003#line 3081 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2004 tmpMeta[0] = mmc_mk_cons(_stmts, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
2005#line 3081 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2006 _stmtsLstOut = tmpMeta[0];
2007#line 2007 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2008
2009#line 3082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2010 {
2011#line 3082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2012 modelica_metatype _elseStmts;
2013#line 3082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2014 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)))))
)
2015#line 3082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2016 {
2017#line 3082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2018 _elseStmts = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
2019#line 3084 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2020 _repl = omc_EvaluateFunctions_getOnlyConstantReplacements(threadData, _replIn);
2021#line 2021 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2022
2023#line 3086 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2024 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2025#line 3086 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2026 _stmts = omc_EvaluateFunctions_evaluateFunctions__updateStatement(threadData, _elseStmts, _funcTree, _repl, _idx, tmpMeta[1] ,&_funcTree ,NULL((void*)0) ,&_idx);
2027#line 2027 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2028
2029#line 3087 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2030 tmpMeta[1] = mmc_mk_cons(_stmts, _stmtsLstOut);
2031#line 3087 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2032 _stmtsLstOut = tmpMeta[1];
2033#line 2033 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2034 }
2035 }
2036
2037#line 3089 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2038 _stmtsLstOut = listReverse(_stmtsLstOut);
2039#line 2039 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2040 _return: OMC_LABEL_UNUSED__attribute__((unused))
2041 if (out_funcTree) { *out_funcTree = _funcTree; }
2042 if (out_idx) { *out_idx = _idx; }
2043 return _stmtsLstOut;
2044}
2045PROTECTED_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)
2046{
2047 modelica_integer tmp1;
2048 modelica_integer _idx;
2049 modelica_metatype _stmtsLstOut = NULL((void*)0);
2050 tmp1 = mmc_unbox_integer(_D_24in_idx)(((mmc_sint_t) (_D_24in_idx)) >> 1);
2051 _stmtsLstOut = omc_EvaluateFunctions_evaluateFunctions__updateAllStatements(threadData, _stmtsIn, _elseStmtsLstIn, _replIn, _D_24in_funcTree, tmp1, out_funcTree, &_idx);
2052 /* skip box _stmtsLstOut; list<list<DAE.Statement>> */
2053 /* skip box _funcTree; DAE.AvlTreePathFunction.Tree */
2054 if (out_idx) { *out_idx = mmc_mk_icon(_idx); }
2055 return _stmtsLstOut;
2056}
2057
2058PROTECTED_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)
2059{
2060 modelica_metatype _mapTplOut = NULL((void*)0);
2061 modelica_metatype _outFuncTree = NULL((void*)0);
2062 modelica_integer _outIndex;
2063 modelica_metatype _repl = NULL((void*)0);
2064 modelica_metatype _algsOut = NULL((void*)0);
2065 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
2066 MMC_SO()mmc_check_stackoverflow(threadData);
2067 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2068 // _mapTplOut has no default value.
2069 // _outFuncTree has no default value.
2070 // _outIndex has no default value.
2071 // _repl has no default value.
2072 // _algsOut has no default value.
2073#line 3055 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2074 _repl = omc_BackendVarTransform_emptyReplacements(threadData);
2075#line 2075 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2076
2077#line 3057 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2078 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2079#line 3057 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2080 _algsOut = omc_EvaluateFunctions_evaluateFunctions__updateStatement(threadData, _algsIn, _inFuncTree, _repl, _inIndex, tmpMeta[0] ,&_outFuncTree ,&_repl ,&_outIndex);
2081#line 2081 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2082
2083#line 3059 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2084 tmpMeta[0] = mmc_mk_box2(0, _algsOut, _repl);
2085#line 3059 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2086 _mapTplOut = tmpMeta[0];
2087#line 2087 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2088 _return: OMC_LABEL_UNUSED__attribute__((unused))
2089 if (out_outFuncTree) { *out_outFuncTree = _outFuncTree; }
2090 if (out_outIndex) { *out_outIndex = _outIndex; }
2091 return _mapTplOut;
2092}
2093PROTECTED_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)
2094{
2095 modelica_integer tmp1;
2096 modelica_integer _outIndex;
2097 modelica_metatype _mapTplOut = NULL((void*)0);
2098 tmp1 = mmc_unbox_integer(_inIndex)(((mmc_sint_t) (_inIndex)) >> 1);
2099 _mapTplOut = omc_EvaluateFunctions_evaluateFunctions__updateStatementEmptyRepl(threadData, _algsIn, _inFuncTree, tmp1, out_outFuncTree, &_outIndex);
2100 /* skip box _mapTplOut; tuple<list<DAE.Statement>, BackendVarTransform.VariableReplacements> */
2101 /* skip box _outFuncTree; DAE.AvlTreePathFunction.Tree */
2102 if (out_outIndex) { *out_outIndex = mmc_mk_icon(_outIndex); }
2103 return _mapTplOut;
2104}
2105
2106PROTECTED_FUNCTION_STATIC modelica_integer omc_EvaluateFunctions_getScalarVarSize(threadData_t *threadData, modelica_metatype _inVar)
2107{
2108 modelica_integer _size;
2109 modelica_integer tmp1 = 0;
2110 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
2111 MMC_SO()mmc_check_stackoverflow(threadData);
2112 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2113 // _size has no default value.
2114#line 2114 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2115 { /* match expression */
2116 modelica_metatype tmp4_1;
2117 tmp4_1 = _inVar;
2118 {
2119 modelica_metatype _ty = NULL((void*)0);
2120 modelica_metatype _vl = NULL((void*)0);
2121 volatile mmc_switch_type tmp4;
2122 int tmp5;
2123 // _ty has no default value.
2124 // _vl has no default value.
2125 tmp4 = 0;
2126 for (; tmp4 < 3; tmp4++) {
2127 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2128 case 0: {
2129 modelica_integer tmp7;
2130 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
2131 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;
2132 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
2133 if (listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2134 tmpMeta[2] = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
2135 tmpMeta[3] = MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
2136
2137 _vl = tmpMeta[1];
2138 /* Pattern matching succeeded */
2139#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2140 {
2141#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2142 int tmp6;
2143#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2144 modelica_integer _D_24tmpVar5;
2145#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2146 modelica_integer _D_24tmpVar4;
2147#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2148 int tmp8;
2149#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2150 modelica_metatype _v_loopVar = 0;
2151#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2152 modelica_metatype _v;
2153#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2154 _v_loopVar = _vl;
2155#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2156 tmp6 = 0; /* intAdd lacks default-value */
2157#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2158 while(1) {
2159#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2160 tmp8 = 1;
2161#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2162 if (!listEmpty(_v_loopVar)((*(mmc_uint_t*)((void*)((char*)(_v_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
2163#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2164 _v = MMC_CAR(_v_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_v_loopVar) - 3
))) + (1)))))
;
2165#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2166 _v_loopVar = MMC_CDR(_v_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_v_loopVar) - 3
))) + (2)))))
;
2167#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2168 tmp8--;
2169#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2170 }
2171#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2172 if (tmp8 == 0) {
2173#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2174 _D_24tmpVar4 = omc_EvaluateFunctions_getScalarVarSize(threadData, _v);
2175#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2176 if(tmp6)
2177#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2178 {
2179#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2180 _D_24tmpVar5 = _D_24tmpVar4 + _D_24tmpVar5;
2181#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2182 }
2183#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2184 else
2185#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2186 {
2187#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2188 _D_24tmpVar5 = _D_24tmpVar4;
2189#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2190 tmp6 = 1;
2191#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2192 }
2193#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2194 } else if (tmp8 == 1) {
2195#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2196 break;
2197#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2198 } else {
2199#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2200 goto goto_2;
2201#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2202 }
2203#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2204 }
2205#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2206 if (!tmp6) goto goto_2;
2207#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2208 tmp7 = _D_24tmpVar5;
2209#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2210 }
2211#line 3028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2212 tmp1 = tmp7;
2213#line 2213 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2214 goto tmp3_done;
2215 }
2216 case 1: {
2217 modelica_integer tmp10;
2218 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
2219 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;
2220
2221 _ty = tmpMeta[0];
2222 /* Pattern matching succeeded */
2223#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2224 {
2225#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2226 int tmp9;
2227#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2228 modelica_integer _D_24tmpVar7;
2229#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2230 modelica_integer _D_24tmpVar6;
2231#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2232 int tmp11;
2233#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2234 modelica_metatype _sz_loopVar = 0;
2235#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2236 modelica_metatype _sz;
2237#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2238 _sz_loopVar = omc_DAEUtil_expTypeArrayDimensions(threadData, _ty);
2239#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2240 tmp9 = 0; /* intMul lacks default-value */
2241#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2242 while(1) {
2243#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2244 tmp11 = 1;
2245#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2246 if (!listEmpty(_sz_loopVar)((*(mmc_uint_t*)((void*)((char*)(_sz_loopVar) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) {
2247#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2248 _sz = MMC_CAR(_sz_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_sz_loopVar) - 3
))) + (1)))))
;
2249#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2250 _sz_loopVar = MMC_CDR(_sz_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_sz_loopVar) - 3
))) + (2)))))
;
2251#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2252 tmp11--;
2253#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2254 }
2255#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2256 if (tmp11 == 0) {
2257#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2258 _D_24tmpVar6 = mmc_unbox_integer(_sz)(((mmc_sint_t) (_sz)) >> 1);
2259#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2260 if(tmp9)
2261#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2262 {
2263#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2264 _D_24tmpVar7 = (_D_24tmpVar6) * (_D_24tmpVar7);
2265#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2266 }
2267#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2268 else
2269#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2270 {
2271#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2272 _D_24tmpVar7 = _D_24tmpVar6;
2273#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2274 tmp9 = 1;
2275#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2276 }
2277#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2278 } else if (tmp11 == 1) {
2279#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2280 break;
2281#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2282 } else {
2283#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2284 goto goto_2;
2285#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2286 }
2287#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2288 }
2289#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2290 if (!tmp9) goto goto_2;
2291#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2292 tmp10 = _D_24tmpVar7;
2293#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2294 }
2295#line 3031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2296 tmp1 = tmp10;
2297#line 2297 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2298 goto tmp3_done;
2299 }
2300 case 2: {
2301
2302 /* Pattern matching succeeded */
2303#line 3033 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2304 tmp1 = ((modelica_integer) 1);
2305#line 2305 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2306 goto tmp3_done;
2307 }
2308 }
2309 goto tmp3_end;
2310 tmp3_end: ;
2311 }
2312 goto goto_2;
2313 goto_2:;
2314 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2315 goto tmp3_done;
2316 tmp3_done:;
2317 }
2318 }
2319 _size = tmp1;
2320 _return: OMC_LABEL_UNUSED__attribute__((unused))
2321 return _size;
2322}
2323PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_getScalarVarSize(threadData_t *threadData, modelica_metatype _inVar)
2324{
2325 modelica_integer _size;
2326 modelica_metatype out_size;
2327 _size = omc_EvaluateFunctions_getScalarVarSize(threadData, _inVar);
2328 out_size = mmc_mk_icon(_size);
2329 return out_size;
2330}
2331
2332PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getVarLstFromType(threadData_t *threadData, modelica_metatype _tyIn)
2333{
2334 modelica_metatype _varsOut = NULL((void*)0);
2335 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
2336 MMC_SO()mmc_check_stackoverflow(threadData);
2337 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2338 // _varsOut has no default value.
2339#line 2339 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2340 { /* match expression */
2341 modelica_metatype tmp3_1;
2342 tmp3_1 = _tyIn;
2343 {
2344 modelica_metatype _varLst = NULL((void*)0);
2345 modelica_metatype _tyLst = NULL((void*)0);
2346 volatile mmc_switch_type tmp3;
2347 int tmp4;
2348 // _varLst has no default value.
2349 // _tyLst has no default value.
2350 tmp3 = 0;
2351 for (; tmp3 < 4; tmp3++) {
2352 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2353 case 0: {
2354 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;
2355 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2356 if (listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2357 tmpMeta[2] = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
2358 tmpMeta[3] = MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
2359
2360 _tyLst = tmpMeta[1];
2361 /* Pattern matching succeeded */
2362#line 3009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2363 {
2364#line 3009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2365 modelica_metatype _D_24tmpVar9;
2366#line 3009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2367 modelica_metatype _D_24tmpVar8;
2368#line 3009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2369 int tmp5;
2370#line 3009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2371 modelica_metatype _ty_loopVar = 0;
2372#line 3009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2373 modelica_metatype _ty;
2374#line 3009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2375 _ty_loopVar = _tyLst;
2376#line 3009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2377 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2378#line 3009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2379 _D_24tmpVar9 = tmpMeta[2]; /* defaultValue */
2380#line 3009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2381 while(1) {
2382#line 3009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2383 tmp5 = 1;
2384#line 3009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2385 if (!listEmpty(_ty_loopVar)((*(mmc_uint_t*)((void*)((char*)(_ty_loopVar) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) {
2386#line 3009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2387 _ty = MMC_CAR(_ty_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_ty_loopVar) - 3
))) + (1)))))
;
2388#line 3009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2389 _ty_loopVar = MMC_CDR(_ty_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_ty_loopVar) - 3
))) + (2)))))
;
2390#line 3009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2391 tmp5--;
2392#line 3009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2393 }
2394#line 3009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2395 if (tmp5 == 0) {
2396#line 3009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2397 _D_24tmpVar8 = omc_EvaluateFunctions_getVarLstFromType(threadData, _ty);
2398#line 3009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2399 _D_24tmpVar9 = listAppend(_D_24tmpVar8, _D_24tmpVar9);
2400#line 3009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2401 } else if (tmp5 == 1) {
2402#line 3009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2403 break;
2404#line 3009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2405 } else {
2406#line 3009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2407 goto goto_1;
2408#line 3009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2409 }
2410#line 3009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2411 }
2412#line 3009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2413 tmpMeta[1] = _D_24tmpVar9;
2414#line 3009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2415 }
2416#line 3009 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2417 tmpMeta[0] = tmpMeta[1];
2418#line 2418 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2419 goto tmp2_done;
2420 }
2421 case 1: {
2422 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;
2423 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
2424
2425 _varLst = tmpMeta[1];
2426 /* Pattern matching succeeded */
2427#line 3011 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2428 tmpMeta[0] = _varLst;
2429#line 2429 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2430 goto tmp2_done;
2431 }
2432 case 2: {
2433 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;
2434 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
2435
2436 _varLst = tmpMeta[1];
2437 /* Pattern matching succeeded */
2438#line 3012 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2439 tmpMeta[0] = _varLst;
2440#line 2440 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2441 goto tmp2_done;
2442 }
2443 case 3: {
2444
2445 /* Pattern matching succeeded */
2446#line 3013 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2447 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2448#line 3013 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2449 tmpMeta[0] = tmpMeta[1];
2450#line 2450 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2451 goto tmp2_done;
2452 }
2453 }
2454 goto tmp2_end;
2455 tmp2_end: ;
2456 }
2457 goto goto_1;
2458 goto_1:;
2459 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2460 goto tmp2_done;
2461 tmp2_done:;
2462 }
2463 }
2464 _varsOut = tmpMeta[0];
2465 _return: OMC_LABEL_UNUSED__attribute__((unused))
2466 return _varsOut;
2467}
2468
2469PROTECTED_FUNCTION_STATIC modelica_integer omc_EvaluateFunctions_getScalarExpSize(threadData_t *threadData, modelica_metatype _inExp)
2470{
2471 modelica_integer _size;
2472 modelica_integer tmp1 = 0;
2473 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
2474 MMC_SO()mmc_check_stackoverflow(threadData);
2475 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2476 // _size has no default value.
2477#line 2477 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2478 { /* match expression */
2479 modelica_metatype tmp4_1;
2480 tmp4_1 = _inExp;
2481 {
2482 modelica_metatype _cref = NULL((void*)0);
2483 modelica_metatype _exps = NULL((void*)0);
2484 modelica_metatype _vl = NULL((void*)0);
2485 modelica_metatype _tyl = NULL((void*)0);
2486 modelica_integer _exps_len;
2487 volatile mmc_switch_type tmp4;
2488 int tmp5;
2489 // _cref has no default value.
2490 // _exps has no default value.
2491 // _vl has no default value.
2492 // _tyl has no default value.
2493 // _exps_len has no default value.
2494 tmp4 = 0;
2495 for (; tmp4 < 6; tmp4++) {
2496 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2497 case 0: {
2498 modelica_integer tmp7;
2499 modelica_integer tmp10;
2500 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;
2501 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2502 if (listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2503 tmpMeta[1] = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
2504 tmpMeta[2] = MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2505 _exps = tmpMeta[0];
2506 /* Pattern matching succeeded */
2507#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2508 {
2509#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2510 int tmp6;
2511#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2512 modelica_integer _D_24tmpVar11;
2513#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2514 modelica_integer _D_24tmpVar10;
2515#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2516 int tmp8;
2517#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2518 modelica_metatype _exp_loopVar = 0;
2519#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2520 modelica_metatype _exp;
2521#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2522 _exp_loopVar = _exps;
2523#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2524 tmp6 = 0; /* intAdd lacks default-value */
2525#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2526 while(1) {
2527#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2528 tmp8 = 1;
2529#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2530 while (!listEmpty(_exp_loopVar)((*(mmc_uint_t*)((void*)((char*)(_exp_loopVar) - 3))) == (((0
) << 10) + (((0) & 255) << 2)))
) {
2531#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2532 _exp = MMC_CAR(_exp_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_exp_loopVar) -
3))) + (1)))))
;
2533#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2534 _exp_loopVar = MMC_CDR(_exp_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_exp_loopVar) -
3))) + (2)))))
;
2535#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2536 if (omc_Expression_isNotWild(threadData, _exp)) {
2537#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2538 tmp8--;
2539#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2540 break;
2541#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2542 }
2543#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2544 }
2545#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2546 if (tmp8 == 0) {
2547#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2548 _D_24tmpVar10 = ((modelica_integer) 1);
2549#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2550 if(tmp6)
2551#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2552 {
2553#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2554 _D_24tmpVar11 = _D_24tmpVar10 + _D_24tmpVar11;
2555#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2556 }
2557#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2558 else
2559#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2560 {
2561#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2562 _D_24tmpVar11 = _D_24tmpVar10;
2563#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2564 tmp6 = 1;
2565#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2566 }
2567#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2568 } else if (tmp8 == 1) {
2569#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2570 break;
2571#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2572 } else {
2573#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2574 goto goto_2;
2575#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2576 }
2577#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2578 }
2579#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2580 if (!tmp6) goto goto_2;
2581#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2582 tmp7 = _D_24tmpVar11;
2583#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2584 }
2585#line 2961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2586 _exps_len = tmp7;
2587#line 2587 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2588
2589#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2590 {
2591#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2592 int tmp9;
2593#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2594 modelica_integer _D_24tmpVar13;
2595#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2596 modelica_integer _D_24tmpVar12;
2597#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2598 int tmp11;
2599#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2600 modelica_metatype _exp_loopVar = 0;
2601#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2602 modelica_metatype _exp;
2603#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2604 _exp_loopVar = _exps;
2605#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2606 tmp9 = 0; /* intAdd lacks default-value */
2607#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2608 while(1) {
2609#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2610 tmp11 = 1;
2611#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2612 if (!listEmpty(_exp_loopVar)((*(mmc_uint_t*)((void*)((char*)(_exp_loopVar) - 3))) == (((0
) << 10) + (((0) & 255) << 2)))
) {
2613#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2614 _exp = MMC_CAR(_exp_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_exp_loopVar) -
3))) + (1)))))
;
2615#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2616 _exp_loopVar = MMC_CDR(_exp_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_exp_loopVar) -
3))) + (2)))))
;
2617#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2618 tmp11--;
2619#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2620 }
2621#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2622 if (tmp11 == 0) {
2623#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2624 _D_24tmpVar12 = omc_EvaluateFunctions_getScalarExpSize(threadData, _exp);
2625#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2626 if(tmp9)
2627#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2628 {
2629#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2630 _D_24tmpVar13 = _D_24tmpVar12 + _D_24tmpVar13;
2631#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2632 }
2633#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2634 else
2635#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2636 {
2637#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2638 _D_24tmpVar13 = _D_24tmpVar12;
2639#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2640 tmp9 = 1;
2641#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2642 }
2643#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2644 } else if (tmp11 == 1) {
2645#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2646 break;
2647#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2648 } else {
2649#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2650 goto goto_2;
2651#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2652 }
2653#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2654 }
2655#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2656 if (!tmp9) goto goto_2;
2657#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2658 tmp10 = _D_24tmpVar13;
2659#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2660 }
2661#line 2962 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2662 _size = tmp10;
2663#line 2663 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2664#line 2963 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2665 tmp1 = modelica_integer_max((modelica_integer)(_size),(modelica_integer)(_exps_len));
2666#line 2666 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2667 goto tmp3_done;
2668 }
2669 case 1: {
2670 modelica_integer tmp13;
2671 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;
2672 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
2673 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;
2674 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
2675 if (listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2676 tmpMeta[2] = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
2677 tmpMeta[3] = MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
2678
2679 _vl = tmpMeta[1];
2680 /* Pattern matching succeeded */
2681#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2682 {
2683#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2684 int tmp12;
2685#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2686 modelica_integer _D_24tmpVar15;
2687#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2688 modelica_integer _D_24tmpVar14;
2689#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2690 int tmp14;
2691#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2692 modelica_metatype _v_loopVar = 0;
2693#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2694 modelica_metatype _v;
2695#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2696 _v_loopVar = _vl;
2697#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2698 tmp12 = 0; /* intAdd lacks default-value */
2699#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2700 while(1) {
2701#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2702 tmp14 = 1;
2703#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2704 if (!listEmpty(_v_loopVar)((*(mmc_uint_t*)((void*)((char*)(_v_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
2705#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2706 _v = MMC_CAR(_v_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_v_loopVar) - 3
))) + (1)))))
;
2707#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2708 _v_loopVar = MMC_CDR(_v_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_v_loopVar) - 3
))) + (2)))))
;
2709#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2710 tmp14--;
2711#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2712 }
2713#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2714 if (tmp14 == 0) {
2715#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2716 _D_24tmpVar14 = omc_EvaluateFunctions_getScalarVarSize(threadData, _v);
2717#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2718 if(tmp12)
2719#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2720 {
2721#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2722 _D_24tmpVar15 = _D_24tmpVar14 + _D_24tmpVar15;
2723#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2724 }
2725#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2726 else
2727#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2728 {
2729#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2730 _D_24tmpVar15 = _D_24tmpVar14;
2731#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2732 tmp12 = 1;
2733#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2734 }
2735#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2736 } else if (tmp14 == 1) {
2737#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2738 break;
2739#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2740 } else {
2741#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2742 goto goto_2;
2743#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2744 }
2745#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2746 }
2747#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2748 if (!tmp12) goto goto_2;
2749#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2750 tmp13 = _D_24tmpVar15;
2751#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2752 }
2753#line 2968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2754 tmp1 = tmp13;
2755#line 2755 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2756 goto tmp3_done;
2757 }
2758 case 2: {
2759 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;
2760 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2761
2762 _cref = tmpMeta[0];
2763 /* Pattern matching succeeded */
2764#line 2973 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2765 tmp1 = (omc_ComponentReference_isArrayElement(threadData, _cref)?listLength(omc_ComponentReference_expandCref(threadData, _cref, 1)):((modelica_integer) 1));
2766#line 2766 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2767 goto tmp3_done;
2768 }
2769 case 3: {
2770 modelica_integer tmp16;
2771 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;
2772 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
2773 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2774 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;
2775 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
2776 if (listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2777 tmpMeta[3] = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
2778 tmpMeta[4] = MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
2779
2780 _vl = tmpMeta[2];
2781 /* Pattern matching succeeded */
2782#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2783 {
2784#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2785 int tmp15;
2786#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2787 modelica_integer _D_24tmpVar17;
2788#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2789 modelica_integer _D_24tmpVar16;
2790#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2791 int tmp17;
2792#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2793 modelica_metatype _v_loopVar = 0;
2794#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2795 modelica_metatype _v;
2796#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2797 _v_loopVar = _vl;
2798#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2799 tmp15 = 0; /* intAdd lacks default-value */
2800#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2801 while(1) {
2802#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2803 tmp17 = 1;
2804#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2805 if (!listEmpty(_v_loopVar)((*(mmc_uint_t*)((void*)((char*)(_v_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
2806#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2807 _v = MMC_CAR(_v_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_v_loopVar) - 3
))) + (1)))))
;
2808#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2809 _v_loopVar = MMC_CDR(_v_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_v_loopVar) - 3
))) + (2)))))
;
2810#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2811 tmp17--;
2812#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2813 }
2814#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2815 if (tmp17 == 0) {
2816#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2817 _D_24tmpVar16 = omc_EvaluateFunctions_getScalarVarSize(threadData, _v);
2818#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2819 if(tmp15)
2820#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2821 {
2822#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2823 _D_24tmpVar17 = _D_24tmpVar16 + _D_24tmpVar17;
2824#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2825 }
2826#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2827 else
2828#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2829 {
2830#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2831 _D_24tmpVar17 = _D_24tmpVar16;
2832#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2833 tmp15 = 1;
2834#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2835 }
2836#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2837 } else if (tmp17 == 1) {
2838#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2839 break;
2840#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2841 } else {
2842#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2843 goto goto_2;
2844#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2845 }
2846#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2847 }
2848#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2849 if (!tmp15) goto goto_2;
2850#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2851 tmp16 = _D_24tmpVar17;
2852#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2853 }
2854#line 2979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2855 tmp1 = tmp16;
2856#line 2856 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2857 goto tmp3_done;
2858 }
2859 case 4: {
2860 modelica_integer tmp19;
2861 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;
2862 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
2863 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2864 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;
2865 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
2866 if (listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2867 tmpMeta[3] = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
2868 tmpMeta[4] = MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
2869
2870 _tyl = tmpMeta[2];
2871 /* Pattern matching succeeded */
2872#line 2983 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2873 _size = ((modelica_integer) 0);
2874#line 2874 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2875
2876#line 2984 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2877 {
2878#line 2984 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2879 modelica_metatype _ty;
2880#line 2984 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2881 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)))))
)
2882#line 2984 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2883 {
2884#line 2984 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2885 _ty = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
2886#line 2985 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2887 _vl = omc_EvaluateFunctions_getVarLstFromType(threadData, _ty);
2888#line 2888 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2889
2890#line 2987 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2891 if((!listEmpty(_vl)((*(mmc_uint_t*)((void*)((char*)(_vl) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
))
2892#line 2987 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2893 {
2894#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2895 {
2896#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2897 int tmp18;
2898#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2899 modelica_integer _D_24tmpVar19;
2900#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2901 modelica_integer _D_24tmpVar18;
2902#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2903 int tmp20;
2904#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2905 modelica_metatype _v_loopVar = 0;
2906#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2907 modelica_metatype _v;
2908#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2909 _v_loopVar = _vl;
2910#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2911 tmp18 = 0; /* intAdd lacks default-value */
2912#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2913 while(1) {
2914#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2915 tmp20 = 1;
2916#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2917 if (!listEmpty(_v_loopVar)((*(mmc_uint_t*)((void*)((char*)(_v_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
2918#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2919 _v = MMC_CAR(_v_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_v_loopVar) - 3
))) + (1)))))
;
2920#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2921 _v_loopVar = MMC_CDR(_v_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_v_loopVar) - 3
))) + (2)))))
;
2922#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2923 tmp20--;
2924#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2925 }
2926#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2927 if (tmp20 == 0) {
2928#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2929 _D_24tmpVar18 = omc_EvaluateFunctions_getScalarVarSize(threadData, _v);
2930#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2931 if(tmp18)
2932#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2933 {
2934#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2935 _D_24tmpVar19 = _D_24tmpVar18 + _D_24tmpVar19;
2936#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2937 }
2938#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2939 else
2940#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2941 {
2942#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2943 _D_24tmpVar19 = _D_24tmpVar18;
2944#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2945 tmp18 = 1;
2946#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2947 }
2948#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2949 } else if (tmp20 == 1) {
2950#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2951 break;
2952#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2953 } else {
2954#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2955 goto goto_2;
2956#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2957 }
2958#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2959 }
2960#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2961 if (!tmp18) goto goto_2;
2962#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2963 tmp19 = _D_24tmpVar19;
2964#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2965 }
2966#line 2988 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2967 _size = _size + tmp19;
2968#line 2968 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2969 }
2970 }
2971 }
2972#line 2991 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2973 tmp1 = _size;
2974#line 2974 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2975 goto tmp3_done;
2976 }
2977 case 5: {
2978
2979 /* Pattern matching succeeded */
2980#line 2994 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
2981 tmp1 = ((modelica_integer) 0);
2982#line 2982 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
2983 goto tmp3_done;
2984 }
2985 }
2986 goto tmp3_end;
2987 tmp3_end: ;
2988 }
2989 goto goto_2;
2990 goto_2:;
2991 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2992 goto tmp3_done;
2993 tmp3_done:;
2994 }
2995 }
2996 _size = tmp1;
2997 _return: OMC_LABEL_UNUSED__attribute__((unused))
2998 return _size;
2999}
3000PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_getScalarExpSize(threadData_t *threadData, modelica_metatype _inExp)
3001{
3002 modelica_integer _size;
3003 modelica_metatype out_size;
3004 _size = omc_EvaluateFunctions_getScalarExpSize(threadData, _inExp);
3005 out_size = mmc_mk_icon(_size);
3006 return out_size;
3007}
3008
3009DLLExport
3010modelica_metatype omc_EvaluateFunctions_getRecordScalars(threadData_t *threadData, modelica_metatype _crefIn)
3011{
3012 modelica_metatype _crefsOut = NULL((void*)0);
3013 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
3014 MMC_SO()mmc_check_stackoverflow(threadData);
3015 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3016 // _crefsOut has no default value.
3017#line 3017 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3018 { /* matchcontinue expression */
3019 {
3020 volatile mmc_switch_type tmp3;
3021 int tmp4;
3022 tmp3 = 0;
3023 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) {
3024 tmp2_top:
3025 threadData->mmc_jumper = &new_mmc_jumper;
3026 for (; tmp3 < 2; tmp3++) {
3027 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3028 case 0: {
3029 /* Pattern matching succeeded */
3030#line 2938 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3031 _crefsOut = omc_ComponentReference_expandCref(threadData, _crefIn, 1);
3032#line 3032 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3033#line 3033 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3034 goto tmp2_done;
3035 }
3036 case 1: {
3037 /* Pattern matching succeeded */
3038#line 2940 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3039 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3040#line 2940 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3041 _crefsOut = tmpMeta[0];
3042#line 3042 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3043#line 3043 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3044 goto tmp2_done;
3045 }
3046 }
3047 goto tmp2_end;
3048 tmp2_end: ;
3049 }
3050 goto goto_1;
3051 tmp2_done:
3052 (void)tmp3;
3053 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3054 goto tmp2_done2;
3055 goto_1:;
3056 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3057 if (++tmp3 < 2) {
3058 goto tmp2_top;
3059 }
3060 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3061 tmp2_done2:;
3062 }
3063 }
3064 ;
3065 _return: OMC_LABEL_UNUSED__attribute__((unused))
3066 return _crefsOut;
3067}
3068
3069PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_setTypesForScalarCrefs(threadData_t *threadData, modelica_metatype _allCrefs, modelica_metatype _types)
3070{
3071 modelica_metatype _crefsOut = NULL((void*)0);
3072 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3073 MMC_SO()mmc_check_stackoverflow(threadData);
3074 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3075 // _crefsOut has no default value.
3076#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3077 {
3078#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3079 modelica_metatype _D_24tmpVar21;
3080#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3081 modelica_metatype* tmp1;
3082#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3083 modelica_metatype _D_24tmpVar20;
3084#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3085 int tmp2;
3086#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3087 modelica_metatype _ty_loopVar = 0;
3088#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3089 modelica_metatype _ty;
3090#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3091 modelica_metatype _cr_loopVar = 0;
3092#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3093 modelica_metatype _cr;
3094#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3095 _ty_loopVar = _types;
3096#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3097 _cr_loopVar = _allCrefs;
3098#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3099 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3100#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3101 _D_24tmpVar21 = tmpMeta[1]; /* defaultValue */
3102#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3103 tmp1 = &_D_24tmpVar21;
3104#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3105 while(1) {
3106#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3107 tmp2 = 2;
3108#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3109 if (!listEmpty(_ty_loopVar)((*(mmc_uint_t*)((void*)((char*)(_ty_loopVar) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) {
3110#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3111 _ty = MMC_CAR(_ty_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_ty_loopVar) - 3
))) + (1)))))
;
3112#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3113 _ty_loopVar = MMC_CDR(_ty_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_ty_loopVar) - 3
))) + (2)))))
;
3114#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3115 tmp2--;
3116#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3117 }if (!listEmpty(_cr_loopVar)((*(mmc_uint_t*)((void*)((char*)(_cr_loopVar) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) {
3118#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3119 _cr = MMC_CAR(_cr_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_cr_loopVar) - 3
))) + (1)))))
;
3120#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3121 _cr_loopVar = MMC_CDR(_cr_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_cr_loopVar) - 3
))) + (2)))))
;
3122#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3123 tmp2--;
3124#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3125 }
3126#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3127 if (tmp2 == 0) {
3128#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3129 _D_24tmpVar20 = omc_ComponentReference_crefSetLastType(threadData, _cr, _ty);
3130#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3131 *tmp1 = mmc_mk_cons(_D_24tmpVar20,0);
3132#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3133 tmp1 = &MMC_CDR(*tmp1)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp1) - 3))) +
(2)))))
;
3134#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3135 } else if (tmp2 == 2) {
3136#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3137 break;
3138#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3139 } else {
3140#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3141 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3142#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3143 }
3144#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3145 }
3146#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3147 *tmp1 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
3148#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3149 tmpMeta[0] = _D_24tmpVar21;
3150#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3151 }
3152#line 2929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3153 _crefsOut = tmpMeta[0];
3154#line 3154 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3155 _return: OMC_LABEL_UNUSED__attribute__((unused))
3156 return _crefsOut;
3157}
3158
3159PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_isNotComplexVar(threadData_t *threadData, modelica_metatype _inElem)
3160{
3161 modelica_boolean _b;
3162 modelica_boolean tmp1 = 0;
3163 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3164 MMC_SO()mmc_check_stackoverflow(threadData);
3165 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3166 // _b has no default value.
3167#line 3167 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3168 { /* matchcontinue expression */
3169 volatile modelica_metatype tmp4_1;
3170 tmp4_1 = _inElem;
3171 {
3172 modelica_metatype _dimints = NULL((void*)0);
3173 modelica_metatype _dims = NULL((void*)0);
3174 volatile mmc_switch_type tmp4;
3175 int tmp5;
3176 // _dimints has no default value.
3177 // _dims has no default value.
3178 tmp4 = 0;
3179 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) {
3180 tmp3_top:
3181 threadData->mmc_jumper = &new_mmc_jumper;
3182 for (; tmp4 < 5; tmp4++) {
3183 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3184 case 0: {
3185 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;
3186 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(7)))))
;
3187 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;
3188
3189 tmp4 += 3; /* Pattern matching succeeded; we may skip some cases if we fail */
3190#line 2903 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3191 tmp1 = 0;
3192#line 3192 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3193 goto tmp3_done;
3194 }
3195 case 1: {
3196 modelica_boolean tmp6;
3197 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;
3198 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(7)))))
;
3199 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;
3200 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(9)))))
;
3201
3202 _dims = tmpMeta[1];
3203 tmp4 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
3204#line 2907 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3205 _dimints = omc_List_map(threadData, _dims, boxvar_Expression_dimensionSize((void*)((char*)(&(boxvar_lit_Expression_dimensionSize).header
) + 3))
);
3206#line 3206 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3207
3208#line 2908 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3209 /* Pattern-matching assignment */
3210#line 2908 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3211 tmp6 = (mmc_unbox_integer(listHead(_dimints))(((mmc_sint_t) (boxptr_listHead(threadData,_dimints))) >>
1)
!= ((modelica_integer) 0));
3212#line 2908 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3213 if (1 != tmp6) goto goto_2;
3214#line 3214 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3215#line 2909 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3216 tmp1 = 0;
3217#line 3217 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3218 goto tmp3_done;
3219 }
3220 case 2: {
3221 modelica_boolean tmp7;
3222 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;
3223 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(7)))))
;
3224 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;
3225 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(9)))))
;
3226
3227 _dims = tmpMeta[1];
3228 tmp4 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
3229#line 2914 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3230 _dimints = omc_List_map(threadData, _dims, boxvar_Expression_dimensionSize((void*)((char*)(&(boxvar_lit_Expression_dimensionSize).header
) + 3))
);
3231#line 3231 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3232
3233#line 2915 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3234 /* Pattern-matching assignment */
3235#line 2915 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3236 tmp7 = (mmc_unbox_integer(listHead(_dimints))(((mmc_sint_t) (boxptr_listHead(threadData,_dimints))) >>
1)
!= ((modelica_integer) 0));
3237#line 2915 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3238 if (1 != tmp7) goto goto_2;
3239#line 3239 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3240#line 2916 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3241 tmp1 = 0;
3242#line 3242 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3243 goto tmp3_done;
3244 }
3245 case 3: {
3246 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;
3247 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(7)))))
;
3248 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;
3249
3250 /* Pattern matching succeeded */
3251#line 2919 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3252 tmp1 = 0;
3253#line 3253 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3254 goto tmp3_done;
3255 }
3256 case 4: {
3257
3258 /* Pattern matching succeeded */
3259#line 2920 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3260 tmp1 = 1;
3261#line 3261 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3262 goto tmp3_done;
3263 }
3264 }
3265 goto tmp3_end;
3266 tmp3_end: ;
3267 }
3268 goto goto_2;
3269 tmp3_done:
3270 (void)tmp4;
3271 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3272 goto tmp3_done2;
3273 goto_2:;
3274 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3275 if (++tmp4 < 5) {
3276 goto tmp3_top;
3277 }
3278 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3279 tmp3_done2:;
3280 }
3281 }
3282 _b = tmp1;
3283 _return: OMC_LABEL_UNUSED__attribute__((unused))
3284 return _b;
3285}
3286PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_isNotComplexVar(threadData_t *threadData, modelica_metatype _inElem)
3287{
3288 modelica_boolean _b;
3289 modelica_metatype out_b;
3290 _b = omc_EvaluateFunctions_isNotComplexVar(threadData, _inElem);
3291 out_b = mmc_mk_icon(_b);
3292 return out_b;
3293}
3294
3295PROTECTED_FUNCTION_STATIC modelica_string omc_EvaluateFunctions_subsLstString(threadData_t *threadData, modelica_metatype _subs)
3296{
3297 modelica_string _s = NULL((void*)0);
3298 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3299 MMC_SO()mmc_check_stackoverflow(threadData);
3300 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3301 // _s has no default value.
3302#line 2890 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3303 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))));
3304#line 2890 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3305 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)));
3306#line 2890 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3307 _s = tmpMeta[1];
3308#line 3308 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3309 _return: OMC_LABEL_UNUSED__attribute__((unused))
3310 return _s;
3311}
3312
3313PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_expandDimension(threadData_t *threadData, modelica_metatype _dims, modelica_metatype _subsIn)
3314{
3315 modelica_metatype _subsOut = NULL((void*)0);
3316 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
3317 MMC_SO()mmc_check_stackoverflow(threadData);
3318 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3319 // _subsOut has no default value.
3320#line 3320 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3321 { /* match expression */
3322 modelica_metatype tmp3_1;
3323 tmp3_1 = _dims;
3324 {
3325 modelica_integer _size;
3326 modelica_metatype _range = NULL((void*)0);
3327 modelica_metatype _dim = NULL((void*)0);
3328 modelica_metatype _sub = NULL((void*)0);
3329 modelica_metatype _rest = NULL((void*)0);
3330 modelica_metatype _subs = NULL((void*)0);
3331 modelica_metatype _subsLst = NULL((void*)0);
3332 modelica_metatype _subsLst1 = NULL((void*)0);
3333 modelica_metatype _subFold = NULL((void*)0);
3334 volatile mmc_switch_type tmp3;
3335 int tmp4;
3336 // _size has no default value.
3337 // _range has no default value.
3338 // _dim has no default value.
3339 // _sub has no default value.
3340 // _rest has no default value.
3341 // _subs has no default value.
3342 // _subsLst has no default value.
3343 // _subsLst1 has no default value.
3344 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3345 _subFold = tmpMeta[1];
3346 tmp3 = 0;
3347 for (; tmp3 < 2; tmp3++) {
3348 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3349 case 0: {
3350 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3351 tmpMeta[2] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
3352 tmpMeta[3] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3353 _dim = tmpMeta[2];
3354 _rest = tmpMeta[3];
3355 /* Pattern matching succeeded */
3356#line 2870 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3357 _size = omc_Expression_dimensionSize(threadData, _dim);
3358#line 3358 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3359
3360#line 2871 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3361 _range = omc_List_intRange(threadData, _size);
3362#line 3362 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3363
3364#line 2872 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3365 _subs = omc_List_map(threadData, _range, boxvar_Expression_intSubscript((void*)((char*)(&(boxvar_lit_Expression_intSubscript).header
) + 3))
);
3366#line 3366 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3367
3368#line 2873 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3369 _subsLst = omc_List_map(threadData, _subs, boxvar_List_create((void*)((char*)(&(boxvar_lit_List_create).header) + 3)));
3370#line 3370 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3371
3372#line 2874 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3373 {
3374#line 2874 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3375 modelica_metatype _sub;
3376#line 2874 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3377 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)))))
)
3378#line 2874 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3379 {
3380#line 2874 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3381 _sub = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
3382#line 2875 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3383 _subsLst1 = omc_List_map1r(threadData, _subsLst, boxvar_listAppend((void*)((char*)(&(boxvar_lit_listAppend).header) + 3)), _sub);
3384#line 3384 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3385
3386#line 2876 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3387 /* Pattern-matching assignment */
3388#line 2876 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3389 tmpMeta[3] = listAppend(_subFold, _subsLst1);
3390#line 2876 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3391 _subFold = tmpMeta[3];
3392#line 3392 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3393 }
3394 }
3395
3396#line 2878 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3397 if(listEmpty(_subsIn)((*(mmc_uint_t*)((void*)((char*)(_subsIn) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
)
3398#line 2878 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3399 {
3400#line 2878 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3401 _subFold = _subsLst;
3402#line 3402 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3403 }
3404#line 2879 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3405 /* Tail recursive call */
3406#line 2879 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3407 _dims = _rest;
3408#line 2879 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3409 _subsIn = _subFold;
3410#line 2879 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3411 goto _tailrecursive;
3412#line 2879 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3413 /* TODO: Make sure any eventual dead code below is never generated */
3414#line 3414 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3415 goto tmp2_done;
3416 }
3417 case 1: {
3418 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3419 /* Pattern matching succeeded */
3420#line 2882 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3421 tmpMeta[0] = _subsIn;
3422#line 3422 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3423 goto tmp2_done;
3424 }
3425 }
3426 goto tmp2_end;
3427 tmp2_end: ;
3428 }
3429 goto goto_1;
3430 goto_1:;
3431 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3432 goto tmp2_done;
3433 tmp2_done:;
3434 }
3435 }
3436 _subsOut = tmpMeta[0];
3437 _return: OMC_LABEL_UNUSED__attribute__((unused))
3438 return _subsOut;
3439}
3440
3441PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getScalarsForComplexVar(threadData_t *threadData, modelica_metatype _inElem)
3442{
3443 modelica_metatype _crefsOut = NULL((void*)0);
3444 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
3445 MMC_SO()mmc_check_stackoverflow(threadData);
3446 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3447 // _crefsOut has no default value.
3448#line 3448 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3449 { /* matchcontinue expression */
3450 volatile modelica_metatype tmp3_1;
3451 tmp3_1 = _inElem;
3452 {
3453 modelica_metatype _dims = NULL((void*)0);
3454 modelica_metatype _subslst = NULL((void*)0);
3455 modelica_metatype _subslst1 = NULL((void*)0);
3456 modelica_metatype _subslst2 = NULL((void*)0);
3457 modelica_metatype _cref = NULL((void*)0);
3458 modelica_metatype _dimensions = NULL((void*)0);
3459 modelica_metatype _dimensions2 = NULL((void*)0);
3460 modelica_metatype _varLst = NULL((void*)0);
3461 modelica_metatype _crefs = NULL((void*)0);
3462 modelica_metatype _crefLst = NULL((void*)0);
3463 modelica_metatype _types = NULL((void*)0);
3464 modelica_metatype _names = NULL((void*)0);
3465 volatile mmc_switch_type tmp3;
3466 int tmp4;
3467 // _dims has no default value.
3468 // _subslst has no default value.
3469 // _subslst1 has no default value.
3470 // _subslst2 has no default value.
3471 // _cref has no default value.
3472 // _dimensions has no default value.
3473 // _dimensions2 has no default value.
3474 // _varLst has no default value.
3475 // _crefs has no default value.
3476 // _crefLst has no default value.
3477 // _types has no default value.
3478 // _names has no default value.
3479 tmp3 = 0;
3480 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) {
3481 tmp2_top:
3482 threadData->mmc_jumper = &new_mmc_jumper;
3483 for (; tmp3 < 8; tmp3++) {
3484 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3485 case 0: {
3486 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;
3487 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3488 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(7)))))
;
3489 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;
3490 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
3491
3492 _cref = tmpMeta[1];
3493 _varLst = tmpMeta[3];
3494 tmp3 += 6; /* Pattern matching succeeded; we may skip some cases if we fail */
3495#line 2787 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3496 _names = omc_List_map(threadData, _varLst, boxvar_DAEUtil_typeVarIdent((void*)((char*)(&(boxvar_lit_DAEUtil_typeVarIdent).header
) + 3))
);
3497#line 3497 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3498
3499#line 2789 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3500 _types = omc_List_map(threadData, _varLst, boxvar_DAEUtil_varType((void*)((char*)(&(boxvar_lit_DAEUtil_varType).header) + 3
))
);
3501#line 3501 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3502
3503#line 2790 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3504 _crefs = omc_List_map1(threadData, _names, boxvar_ComponentReference_appendStringCref((void*)((char*)(&(boxvar_lit_ComponentReference_appendStringCref
).header) + 3))
, _cref);
3505#line 3505 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3506
3507#line 2791 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3508 _crefs = omc_EvaluateFunctions_setTypesForScalarCrefs(threadData, _crefs, _types);
3509#line 3509 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3510
3511#line 2792 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3512 _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))));
3513#line 3513 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3514#line 2793 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3515 tmpMeta[0] = omc_List_flatten(threadData, _crefLst);
3516#line 3516 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3517 goto tmp2_done;
3518 }
3519 case 1: {
3520 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;
3521 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3522 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(7)))))
;
3523 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;
3524 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(9)))))
;
3525
3526 _cref = tmpMeta[1];
3527 _dims = tmpMeta[3];
3528 tmp3 += 5; /* Pattern matching succeeded; we may skip some cases if we fail */
3529#line 2799 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3530 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3531#line 2799 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3532 _subslst = omc_EvaluateFunctions_expandDimension(threadData, _dims, tmpMeta[1]);
3533#line 3533 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3534#line 2800 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3535 tmpMeta[0] = omc_List_map1r(threadData, _subslst, boxvar_ComponentReference_subscriptCref((void*)((char*)(&(boxvar_lit_ComponentReference_subscriptCref
).header) + 3))
, _cref);
3536#line 3536 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3537 goto tmp2_done;
3538 }
3539 case 2: {
3540 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;
3541 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3542 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(7)))))
;
3543 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;
3544 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(9)))))
;
3545
3546 _cref = tmpMeta[1];
3547 _dims = tmpMeta[3];
3548 tmp3 += 4; /* Pattern matching succeeded; we may skip some cases if we fail */
3549#line 2806 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3550 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3551#line 2806 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3552 _subslst = omc_EvaluateFunctions_expandDimension(threadData, _dims, tmpMeta[1]);
3553#line 3553 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3554#line 2807 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3555 tmpMeta[0] = omc_List_map1r(threadData, _subslst, boxvar_ComponentReference_subscriptCref((void*)((char*)(&(boxvar_lit_ComponentReference_subscriptCref
).header) + 3))
, _cref);
3556#line 3556 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3557 goto tmp2_done;
3558 }
3559 case 3: {
3560 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;
3561 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3562 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(7)))))
;
3563 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;
3564 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
3565 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;
3566 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (3)))))
;
3567 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
3568
3569 _cref = tmpMeta[1];
3570 _dimensions2 = tmpMeta[4];
3571 _dimensions = tmpMeta[5];
3572 /* Pattern matching succeeded */
3573#line 2813 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3574 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3575#line 2813 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3576 _subslst1 = omc_EvaluateFunctions_expandDimension(threadData, _dimensions, tmpMeta[1]);
3577#line 3577 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3578
3579#line 2814 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3580 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3581#line 2814 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3582 _subslst2 = omc_EvaluateFunctions_expandDimension(threadData, _dimensions2, tmpMeta[1]);
3583#line 3583 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3584
3585#line 2815 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3586 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3587#line 2815 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3588 _subslst = tmpMeta[1];
3589#line 3589 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3590
3591#line 2816 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3592 {
3593#line 2816 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3594 modelica_metatype _subs;
3595#line 2816 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3596 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)))))
)
3597#line 2816 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3598 {
3599#line 2816 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3600 _subs = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
3601#line 2817 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3602 {
3603#line 2817 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3604 modelica_metatype _subs2;
3605#line 2817 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3606 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)))))
)
3607#line 2817 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3608 {
3609#line 2817 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3610 _subs2 = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
3611#line 2818 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3612 tmpMeta[3] = mmc_mk_cons(listAppend(_subs, _subs2), _subslst);
3613#line 2818 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3614 _subslst = tmpMeta[3];
3615#line 3615 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3616 }
3617 }
3618 }
3619 }
3620#line 2821 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3621 tmpMeta[0] = omc_List_map1r(threadData, _subslst, boxvar_ComponentReference_subscriptCref((void*)((char*)(&(boxvar_lit_ComponentReference_subscriptCref
).header) + 3))
, _cref);
3622#line 3622 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3623 goto tmp2_done;
3624 }
3625 case 4: {
3626 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;
3627 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3628 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(7)))))
;
3629 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;
3630 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
3631
3632 _cref = tmpMeta[1];
3633 _dimensions = tmpMeta[3];
3634 tmp3 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
3635#line 2827 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3636 if(omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))))
3637#line 2827 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3638 {
3639#line 2828 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3640 tmpMeta[1] = mmc_mk_cons(_cref, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3641#line 2828 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3642 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))));
3643#line 2828 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3644 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)));
3645#line 2828 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3646 fputs(MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
,stdoutstdout);
3647#line 3647 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3648 }
3649#line 2830 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3650 tmpMeta[0] = omc_ComponentReference_expandArrayCref(threadData, _cref, _dimensions);
3651#line 3651 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3652 goto tmp2_done;
3653 }
3654 case 5: {
3655 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;
3656 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3657 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(7)))))
;
3658 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;
3659
3660 _cref = tmpMeta[1];
3661 tmp3 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
3662#line 2835 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3663 if(omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))))
3664#line 2835 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3665 {
3666#line 2836 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3667 tmpMeta[1] = mmc_mk_cons(_cref, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3668#line 2836 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3669 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))));
3670#line 2836 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3671 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)));
3672#line 2836 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3673 fputs(MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
,stdoutstdout);
3674#line 3674 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3675 }
3676#line 2838 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3677 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3678#line 2838 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3679 tmpMeta[0] = tmpMeta[1];
3680#line 3680 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3681 goto tmp2_done;
3682 }
3683 case 6: {
3684 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;
3685 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3686 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(7)))))
;
3687 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;
3688
3689 _cref = tmpMeta[1];
3690 /* Pattern matching succeeded */
3691#line 2842 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3692 if(omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))))
3693#line 2842 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3694 {
3695#line 2843 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3696 tmpMeta[1] = mmc_mk_cons(_cref, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3697#line 2843 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3698 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))));
3699#line 2843 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3700 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)));
3701#line 2843 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3702 fputs(MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
,stdoutstdout);
3703#line 3703 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3704 }
3705#line 2845 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3706 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3707#line 2845 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3708 tmpMeta[0] = tmpMeta[1];
3709#line 3709 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3710 goto tmp2_done;
3711 }
3712 case 7: {
3713
3714 /* Pattern matching succeeded */
3715#line 2849 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3716 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3717#line 2849 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3718 tmpMeta[0] = tmpMeta[1];
3719#line 3719 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3720 goto tmp2_done;
3721 }
3722 }
3723 goto tmp2_end;
3724 tmp2_end: ;
3725 }
3726 goto goto_1;
3727 tmp2_done:
3728 (void)tmp3;
3729 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3730 goto tmp2_done2;
3731 goto_1:;
3732 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3733 if (++tmp3 < 8) {
3734 goto tmp2_top;
3735 }
3736 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3737 tmp2_done2:;
3738 }
3739 }
3740 _crefsOut = tmpMeta[0];
3741 _return: OMC_LABEL_UNUSED__attribute__((unused))
3742 return _crefsOut;
3743}
3744
3745PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_expType(threadData_t *threadData, modelica_metatype _eIn)
3746{
3747 modelica_metatype _tOut = NULL((void*)0);
3748 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
3749 MMC_SO()mmc_check_stackoverflow(threadData);
3750 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3751 // _tOut has no default value.
3752#line 3752 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3753 { /* matchcontinue expression */
3754 volatile modelica_metatype tmp3_1;
3755 tmp3_1 = _eIn;
3756 {
3757 modelica_metatype _t = NULL((void*)0);
3758 volatile mmc_switch_type tmp3;
3759 int tmp4;
3760 // _t has no default value.
3761 tmp3 = 0;
3762 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) {
3763 tmp2_top:
3764 threadData->mmc_jumper = &new_mmc_jumper;
3765 for (; tmp3 < 2; tmp3++) {
3766 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3767 case 0: {
3768 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;
3769 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
3770 _t = tmpMeta[1];
3771 /* Pattern matching succeeded */
3772#line 2754 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3773 tmpMeta[0] = _t;
3774#line 3774 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3775 goto tmp2_done;
3776 }
3777 case 1: {
3778
3779 /* Pattern matching succeeded */
3780#line 2758 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3781 tmpMeta[1] = stringAppend(_OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)),omc_ExpressionDump_printExpStr(threadData, _eIn));
3782#line 2758 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3783 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)));
3784#line 2758 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3785 fputs(MMC_STRINGDATA(tmpMeta[2])(((struct mmc_string*)((void*)((char*)(tmpMeta[2]) - 3)))->
data)
,stdoutstdout);
3786#line 3786 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3787#line 2759 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3788 goto goto_1;
3789#line 3789 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3790 goto tmp2_done;
3791 }
3792 }
3793 goto tmp2_end;
3794 tmp2_end: ;
3795 }
3796 goto goto_1;
3797 tmp2_done:
3798 (void)tmp3;
3799 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3800 goto tmp2_done2;
3801 goto_1:;
3802 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3803 if (++tmp3 < 2) {
3804 goto tmp2_top;
3805 }
3806 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3807 tmp2_done2:;
3808 }
3809 }
3810 _tOut = tmpMeta[0];
3811 _return: OMC_LABEL_UNUSED__attribute__((unused))
3812 return _tOut;
3813}
3814
3815PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_equationToStmt(threadData_t *threadData, modelica_metatype _eqIn)
3816{
3817 modelica_metatype _stmtOut = NULL((void*)0);
3818 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
3819 MMC_SO()mmc_check_stackoverflow(threadData);
3820 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3821 // _stmtOut has no default value.
3822#line 3822 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3823 { /* matchcontinue expression */
3824 volatile modelica_metatype tmp3_1;
3825 tmp3_1 = _eqIn;
3826 {
3827 modelica_metatype _source = NULL((void*)0);
3828 modelica_metatype _lhs = NULL((void*)0);
3829 modelica_metatype _rhs = NULL((void*)0);
3830 modelica_metatype _typ = NULL((void*)0);
3831 volatile mmc_switch_type tmp3;
3832 int tmp4;
3833 // _source has no default value.
3834 // _lhs has no default value.
3835 // _rhs has no default value.
3836 // _typ has no default value.
3837 tmp3 = 0;
3838 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) {
3839 tmp2_top:
3840 threadData->mmc_jumper = &new_mmc_jumper;
3841 for (; tmp3 < 2; tmp3++) {
3842 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3843 case 0: {
3844 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;
3845 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3846 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
3847 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
3848
3849 _lhs = tmpMeta[1];
3850 _rhs = tmpMeta[2];
3851 _source = tmpMeta[3];
3852 /* Pattern matching succeeded */
3853#line 2736 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3854 _typ = omc_EvaluateFunctions_expType(threadData, _lhs);
3855#line 3855 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3856#line 2737 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3857 tmpMeta[1] = mmc_mk_box5(3, &DAE_Statement_STMT__ASSIGN__desc, _typ, _lhs, _rhs, _source);
3858#line 2737 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3859 tmpMeta[0] = tmpMeta[1];
3860#line 3860 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3861 goto tmp2_done;
3862 }
3863 case 1: {
3864
3865 /* Pattern matching succeeded */
3866#line 2741 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3867 tmpMeta[1] = mmc_mk_cons(_eqIn, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3868#line 2741 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3869 tmpMeta[2] = stringAppend(_OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)),omc_BackendDump_dumpEqnsStr(threadData, tmpMeta[1]));
3870#line 2741 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3871 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)));
3872#line 2741 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3873 fputs(MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
,stdoutstdout);
3874#line 3874 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3875#line 2742 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3876 goto goto_1;
3877#line 3877 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3878 goto tmp2_done;
3879 }
3880 }
3881 goto tmp2_end;
3882 tmp2_end: ;
3883 }
3884 goto goto_1;
3885 tmp2_done:
3886 (void)tmp3;
3887 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3888 goto tmp2_done2;
3889 goto_1:;
3890 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3891 if (++tmp3 < 2) {
3892 goto tmp2_top;
3893 }
3894 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3895 tmp2_done2:;
3896 }
3897 }
3898 _stmtOut = tmpMeta[0];
3899 _return: OMC_LABEL_UNUSED__attribute__((unused))
3900 return _stmtOut;
3901}
3902
3903PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_evaluateConstantFunctionWrapper(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_boolean *out_cont, modelica_metatype *out_outTpl)
3904{
3905 modelica_metatype _outExp = NULL((void*)0);
3906 modelica_boolean _cont;
3907 modelica_metatype _outTpl = NULL((void*)0);
3908 modelica_boolean tmp1_c1 __attribute__((unused)) = 0;
3909 modelica_metatype tmpMeta[10] __attribute__((unused)) = {0};
3910 MMC_SO()mmc_check_stackoverflow(threadData);
3911 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3912 // _outExp has no default value.
3913 // _cont has no default value.
3914 // _outTpl has no default value.
3915#line 2701 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3916
3917#line 2701 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3918
3919#line 2701 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3920
3921#line 3921 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3922 { /* matchcontinue expression */
3923 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;
3924 tmp4_1 = _inExp;
3925 tmp4_2 = _inTpl;
3926 {
3927 modelica_integer _idx;
3928 modelica_metatype _rhs = NULL((void*)0);
3929 modelica_metatype _lhs = NULL((void*)0);
3930 modelica_metatype _funcs = NULL((void*)0);
3931 modelica_metatype _addEqs = NULL((void*)0);
3932 modelica_metatype _stmts = NULL((void*)0);
3933 modelica_metatype _stmtsIn = NULL((void*)0);
3934 modelica_metatype _tpl = NULL((void*)0);
3935 volatile mmc_switch_type tmp4;
3936 int tmp5;
3937 // _idx has no default value.
3938 // _rhs has no default value.
3939 // _lhs has no default value.
3940 // _funcs has no default value.
3941 // _addEqs has no default value.
3942 // _stmts has no default value.
3943 // _stmtsIn has no default value.
3944 // _tpl has no default value.
3945 tmp4 = 0;
3946 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) {
3947 tmp3_top:
3948 threadData->mmc_jumper = &new_mmc_jumper;
3949 for (; tmp4 < 3; tmp4++) {
3950 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3951 case 0: {
3952 modelica_integer tmp6;
3953 modelica_integer tmp7;
3954 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;
3955 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
3956 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
3957 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
3958 tmp6 = mmc_unbox_integer(tmpMeta[5])(((mmc_sint_t) (tmpMeta[5])) >> 1);
3959 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(4)))))
;
3960 _lhs = tmpMeta[3];
3961 _funcs = tmpMeta[4];
3962 _idx = tmp6 /* pattern as ty=Integer */;
3963 _stmtsIn = tmpMeta[6];
3964 tmp4 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
3965#line 2711 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3966 /* Pattern-matching assignment */
3967#line 2711 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3968 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3969#line 2711 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3970 tmpMeta[4] = omc_EvaluateFunctions_evaluateConstantFunction(threadData, _inExp, _lhs, _funcs, _idx, tmpMeta[3]);
3971#line 2711 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3972 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (1)))))
;
3973#line 2711 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3974 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
3975#line 2711 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3976 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (3)))))
;
3977#line 2711 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3978 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (4)))))
;
3979#line 2711 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3980 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (5)))))
;
3981#line 2711 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3982 tmp7 = mmc_unbox_integer(tmpMeta[9])(((mmc_sint_t) (tmpMeta[9])) >> 1);
3983#line 2711 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3984 _rhs = tmpMeta[5];
3985#line 2711 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3986 _lhs = tmpMeta[6];
3987#line 2711 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3988 _addEqs = tmpMeta[7];
3989#line 2711 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3990 _funcs = tmpMeta[8];
3991#line 2711 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3992 _idx = tmp7 /* pattern as ty=Integer */;
3993#line 3993 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3994
3995#line 2712 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
3996 _stmts = omc_List_map(threadData, _addEqs, boxvar_EvaluateFunctions_equationToStmt((void*)((char*)(&(boxvar_lit_EvaluateFunctions_equationToStmt
).header) + 3))
);
3997#line 3997 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
3998
3999#line 2713 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4000 /* Pattern-matching assignment */
4001#line 2713 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4002 tmpMeta[3] = listAppend(_stmts, _stmtsIn);
4003#line 2713 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4004 _stmts = tmpMeta[3];
4005#line 4005 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4006#line 2714 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4007 tmpMeta[3] = mmc_mk_box4(0, _lhs, _funcs, mmc_mk_integermmc_mk_icon(_idx), _stmts);
4008#line 2714 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4009 tmpMeta[0+0] = _rhs;
4010#line 2714 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4011 tmp1_c1 = 1;
4012#line 2714 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4013 tmpMeta[0+2] = tmpMeta[3];
4014#line 4014 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4015 goto tmp3_done;
4016 }
4017 case 1: {
4018 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;
4019 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
4020
4021 _rhs = tmpMeta[3];
4022 /* Pattern matching succeeded */
4023#line 2718 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4024 _rhs = omc_EvaluateFunctions_evaluateConstantFunctionWrapper(threadData, _rhs, _inTpl ,NULL((void*)0) ,&_tpl);
4025#line 4025 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4026#line 2719 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4027 tmpMeta[0+0] = _rhs;
4028#line 2719 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4029 tmp1_c1 = 1;
4030#line 2719 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4031 tmpMeta[0+2] = _tpl;
4032#line 4032 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4033 goto tmp3_done;
4034 }
4035 case 2: {
4036
4037 /* Pattern matching succeeded */
4038#line 2721 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4039 tmpMeta[0+0] = _inExp;
4040#line 2721 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4041 tmp1_c1 = 0;
4042#line 2721 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4043 tmpMeta[0+2] = _inTpl;
4044#line 4044 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4045 goto tmp3_done;
4046 }
4047 }
4048 goto tmp3_end;
4049 tmp3_end: ;
4050 }
4051 goto goto_2;
4052 tmp3_done:
4053 (void)tmp4;
4054 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
4055 goto tmp3_done2;
4056 goto_2:;
4057 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
4058 if (++tmp4 < 3) {
4059 goto tmp3_top;
4060 }
4061 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4062 tmp3_done2:;
4063 }
4064 }
4065 _outExp = tmpMeta[0+0];
4066 _cont = tmp1_c1;
4067 _outTpl = tmpMeta[0+2];
4068 _return: OMC_LABEL_UNUSED__attribute__((unused))
4069 if (out_cont) { *out_cont = _cont; }
4070 if (out_outTpl) { *out_outTpl = _outTpl; }
4071 return _outExp;
4072}
4073PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_evaluateConstantFunctionWrapper(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_metatype *out_cont, modelica_metatype *out_outTpl)
4074{
4075 modelica_boolean _cont;
4076 modelica_metatype _outExp = NULL((void*)0);
4077 _outExp = omc_EvaluateFunctions_evaluateConstantFunctionWrapper(threadData, _inExp, _inTpl, &_cont, out_outTpl);
4078 /* skip box _outExp; DAE.Exp */
4079 if (out_cont) { *out_cont = mmc_mk_icon(_cont); }
4080 /* skip box _outTpl; tuple<DAE.Exp, DAE.AvlTreePathFunction.Tree, #Integer, list<DAE.Statement>> */
4081 return _outExp;
4082}
4083
4084PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getDAEelseStatemntLsts(threadData_t *threadData, modelica_metatype _elseIn, modelica_metatype _stmtLstsIn)
4085{
4086 modelica_metatype _stmtLstsOut = NULL((void*)0);
4087 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
4088 MMC_SO()mmc_check_stackoverflow(threadData);
4089 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4090 // _stmtLstsOut has no default value.
4091#line 4091 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4092 { /* match expression */
4093 modelica_metatype tmp3_1;
4094 tmp3_1 = _elseIn;
4095 {
4096 modelica_metatype _else1 = NULL((void*)0);
4097 modelica_metatype _stmts = NULL((void*)0);
4098 modelica_metatype _stmtsLst = NULL((void*)0);
4099 int tmp3;
4100 // _else1 has no default value.
4101 // _stmts has no default value.
4102 // _stmtsLst has no default value.
4103 {
4104 switch (MMC_SWITCH_CAST(valueConstructor(tmp3_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> 2
) & 255))
) {
4105 case 4: {
4106 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;
4107 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
4108 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
4109 _stmts = tmpMeta[1];
4110 _else1 = tmpMeta[2];
4111 /* Pattern matching succeeded */
4112#line 2679 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4113 tmpMeta[1] = mmc_mk_cons(_stmts, _stmtLstsIn);
4114#line 2679 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4115 _stmtsLst = tmpMeta[1];
4116#line 4116 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4117#line 2680 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4118 /* Tail recursive call */
4119#line 2680 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4120 _elseIn = _else1;
4121#line 2680 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4122 _stmtLstsIn = _stmtsLst;
4123#line 2680 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4124 goto _tailrecursive;
4125#line 2680 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4126 /* TODO: Make sure any eventual dead code below is never generated */
4127#line 4127 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4128 goto tmp2_done;
4129 }
4130 case 5: {
4131 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;
4132 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
4133 _stmts = tmpMeta[1];
4134 /* Pattern matching succeeded */
4135#line 2685 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4136 tmpMeta[1] = mmc_mk_cons(_stmts, _stmtLstsIn);
4137#line 2685 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4138 tmpMeta[0] = tmpMeta[1];
4139#line 4139 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4140 goto tmp2_done;
4141 }
4142 default:
4143 tmp2_default: OMC_LABEL_UNUSED__attribute__((unused)); {
4144
4145 /* Pattern matching succeeded */
4146#line 2688 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4147 tmpMeta[0] = _stmtLstsIn;
4148#line 4148 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4149 goto tmp2_done;
4150 }
4151 }
4152 goto tmp2_end;
4153 tmp2_end: ;
4154 }
4155 goto goto_1;
4156 goto_1:;
4157 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4158 goto tmp2_done;
4159 tmp2_done:;
4160 }
4161 }
4162 _stmtLstsOut = tmpMeta[0];
4163 _return: OMC_LABEL_UNUSED__attribute__((unused))
4164 return _stmtLstsOut;
4165}
4166
4167PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getStatementsOutputs(threadData_t *threadData, modelica_metatype _statements, modelica_metatype _funcTree)
4168{
4169 modelica_metatype _outputs = NULL((void*)0);
4170 modelica_metatype _lhs_expl = NULL((void*)0);
4171 modelica_metatype _lhs_set = NULL((void*)0);
4172 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
4173 MMC_SO()mmc_check_stackoverflow(threadData);
4174 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4175 // _outputs has no default value.
4176 // _lhs_expl has no default value.
4177 // _lhs_set has no default value.
4178#line 2657 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4179 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4180#line 2657 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4181 _lhs_expl = omc_List_fold1(threadData, _statements, boxvar_EvaluateFunctions_getStatementLHSScalar((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getStatementLHSScalar
).header) + 3))
, _funcTree, tmpMeta[0]);
4182#line 4182 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4183
4184#line 2660 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4185 _lhs_set = omc_HashSetExp_emptyHashSetSized(threadData, omc_Util_nextPrime(threadData, listLength(_lhs_expl)));
4186#line 4186 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4187
4188#line 2661 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4189 _lhs_set = omc_List_fold(threadData, _lhs_expl, boxvar_BaseHashSet_add((void*)((char*)(&(boxvar_lit_BaseHashSet_add).header) + 3
))
, _lhs_set);
4190#line 4190 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4191
4192#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4193 {
4194#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4195 modelica_metatype _D_24tmpVar23;
4196#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4197 modelica_metatype* tmp1;
4198#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4199 modelica_metatype _D_24tmpVar22;
4200#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4201 int tmp2;
4202#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4203 modelica_metatype _e_loopVar = 0;
4204#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4205 modelica_metatype _e;
4206#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4207 _e_loopVar = omc_BaseHashSet_hashSetList(threadData, _lhs_set);
4208#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4209 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4210#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4211 _D_24tmpVar23 = tmpMeta[1]; /* defaultValue */
4212#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4213 tmp1 = &_D_24tmpVar23;
4214#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4215 while(1) {
4216#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4217 tmp2 = 1;
4218#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4219 if (!listEmpty(_e_loopVar)((*(mmc_uint_t*)((void*)((char*)(_e_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
4220#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4221 _e = MMC_CAR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (1)))))
;
4222#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4223 _e_loopVar = MMC_CDR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (2)))))
;
4224#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4225 tmp2--;
4226#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4227 }
4228#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4229 if (tmp2 == 0) {
4230#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4231 _D_24tmpVar22 = omc_Expression_expCref(threadData, _e);
4232#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4233 *tmp1 = mmc_mk_cons(_D_24tmpVar22,0);
4234#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4235 tmp1 = &MMC_CDR(*tmp1)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp1) - 3))) +
(2)))))
;
4236#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4237 } else if (tmp2 == 1) {
4238#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4239 break;
4240#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4241 } else {
4242#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4243 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4244#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4245 }
4246#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4247 }
4248#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4249 *tmp1 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
4250#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4251 tmpMeta[0] = _D_24tmpVar23;
4252#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4253 }
4254#line 2663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4255 _outputs = tmpMeta[0];
4256#line 4256 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4257 _return: OMC_LABEL_UNUSED__attribute__((unused))
4258 return _outputs;
4259}
4260
4261PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getStatementLHSScalar(threadData_t *threadData, modelica_metatype _stmt, modelica_metatype _funcTree, modelica_metatype _expsIn)
4262{
4263 modelica_metatype _lhs = NULL((void*)0);
4264 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
4265 MMC_SO()mmc_check_stackoverflow(threadData);
4266 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4267 // _lhs has no default value.
4268#line 4268 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4269 { /* matchcontinue expression */
4270 volatile modelica_metatype tmp3_1;
4271 tmp3_1 = _stmt;
4272 {
4273 modelica_metatype _path = NULL((void*)0);
4274 modelica_metatype _lhsCref = NULL((void*)0);
4275 modelica_metatype _exp = NULL((void*)0);
4276 modelica_metatype _func = NULL((void*)0);
4277 modelica_metatype _outputCrefs = NULL((void*)0);
4278 modelica_metatype _algs = NULL((void*)0);
4279 modelica_metatype _elements = NULL((void*)0);
4280 modelica_metatype _expLst = NULL((void*)0);
4281 modelica_metatype _stmtLst1 = NULL((void*)0);
4282 modelica_metatype _stmtLstLst = NULL((void*)0);
4283 volatile mmc_switch_type tmp3;
4284 int tmp4;
4285 // _path has no default value.
4286 // _lhsCref has no default value.
4287 // _exp has no default value.
4288 // _func has no default value.
4289 // _outputCrefs has no default value.
4290 // _algs has no default value.
4291 // _elements has no default value.
4292 // _expLst has no default value.
4293 // _stmtLst1 has no default value.
4294 // _stmtLstLst has no default value.
4295 tmp3 = 0;
4296 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) {
4297 tmp2_top:
4298 threadData->mmc_jumper = &new_mmc_jumper;
4299 for (; tmp3 < 3; tmp3++) {
4300 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
4301 case 0: {
4302 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;
4303 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
4304 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
4305 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;
4306 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
4307
4308 _exp = tmpMeta[1];
4309 _path = tmpMeta[3];
4310 tmp3 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
4311#line 2617 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4312 /* Pattern-matching assignment */
4313#line 2617 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4314 tmpMeta[1] = omc_DAE_AvlTreePathFunction_get(threadData, _funcTree, _path);
4315#line 2617 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4316 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;
4317#line 2617 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4318 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
4319#line 2617 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4320 _func = tmpMeta[2];
4321#line 4321 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4322
4323#line 2618 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4324 _elements = omc_DAEUtil_getFunctionElements(threadData, _func);
4325#line 4325 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4326
4327#line 2619 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4328 _algs = omc_List_filterOnTrue(threadData, _elements, boxvar_DAEUtil_isAlgorithm((void*)((char*)(&(boxvar_lit_DAEUtil_isAlgorithm).header
) + 3))
);
4329#line 4329 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4330
4331#line 2620 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4332 _stmtLstLst = omc_List_map(threadData, _algs, boxvar_DAEUtil_getStatement((void*)((char*)(&(boxvar_lit_DAEUtil_getStatement).header
) + 3))
);
4333#line 4333 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4334
4335#line 2621 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4336 _stmtLst1 = omc_List_flatten(threadData, _stmtLstLst);
4337#line 4337 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4338
4339#line 2622 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4340 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4341#line 2622 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4342 _expLst = omc_List_fold1(threadData, _stmtLst1, boxvar_EvaluateFunctions_getStatementLHSScalar((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getStatementLHSScalar
).header) + 3))
, _funcTree, tmpMeta[1]);
4343#line 4343 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4344
4345#line 2623 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4346 _outputCrefs = omc_List_map(threadData, _expLst, boxvar_Expression_expCref((void*)((char*)(&(boxvar_lit_Expression_expCref).header)
+ 3))
);
4347#line 4347 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4348
4349#line 2625 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4350 _lhsCref = omc_Expression_expCref(threadData, _exp);
4351#line 4351 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4352
4353#line 2626 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4354 _outputCrefs = omc_List_filterOnTrue(threadData, _outputCrefs, boxvar_ComponentReference_crefIsNotIdent((void*)((char*)(&(boxvar_lit_ComponentReference_crefIsNotIdent
).header) + 3))
);
4355#line 4355 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4356
4357#line 2627 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4358 _outputCrefs = omc_List_map(threadData, _outputCrefs, boxvar_ComponentReference_crefStripFirstIdent((void*)((char*)(&(boxvar_lit_ComponentReference_crefStripFirstIdent
).header) + 3))
);
4359#line 4359 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4360
4361#line 2628 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4362 _outputCrefs = omc_List_map1(threadData, _outputCrefs, boxvar_ComponentReference_joinCrefsR((void*)((char*)(&(boxvar_lit_ComponentReference_joinCrefsR
).header) + 3))
, _lhsCref);
4363#line 4363 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4364
4365#line 2630 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4366 _expLst = omc_List_map(threadData, _outputCrefs, boxvar_Expression_crefExp((void*)((char*)(&(boxvar_lit_Expression_crefExp).header)
+ 3))
);
4367#line 4367 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4368#line 2631 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4369 tmpMeta[0] = listAppend(_expLst, _expsIn);
4370#line 4370 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4371 goto tmp2_done;
4372 }
4373 case 1: {
4374 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;
4375 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
4376
4377 _exp = tmpMeta[1];
4378 /* Pattern matching succeeded */
4379#line 2636 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4380 _expLst = omc_Expression_getComplexContents(threadData, _exp);
4381#line 4381 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4382#line 2637 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4383 tmpMeta[0] = listAppend(_expLst, _expsIn);
4384#line 4384 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4385 goto tmp2_done;
4386 }
4387 case 2: {
4388
4389 /* Pattern matching succeeded */
4390#line 2642 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4391 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4392#line 2642 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4393 _expLst = omc_EvaluateFunctions_getStatementLHS(threadData, _stmt, tmpMeta[1]);
4394#line 4394 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4395#line 2643 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4396 tmpMeta[0] = listAppend(_expLst, _expsIn);
4397#line 4397 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4398 goto tmp2_done;
4399 }
4400 }
4401 goto tmp2_end;
4402 tmp2_end: ;
4403 }
4404 goto goto_1;
4405 tmp2_done:
4406 (void)tmp3;
4407 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
4408 goto tmp2_done2;
4409 goto_1:;
4410 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
4411 if (++tmp3 < 3) {
4412 goto tmp2_top;
4413 }
4414 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4415 tmp2_done2:;
4416 }
4417 }
4418 _lhs = tmpMeta[0];
4419 _return: OMC_LABEL_UNUSED__attribute__((unused))
4420 return _lhs;
4421}
4422
4423PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_getStatementLHS(threadData_t *threadData, modelica_metatype _stmt, modelica_metatype _expsIn)
4424{
4425 modelica_metatype _lhs = NULL((void*)0);
4426 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
4427 MMC_SO()mmc_check_stackoverflow(threadData);
4428 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4429 // _lhs has no default value.
4430#line 4430 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4431 { /* match expression */
4432 modelica_metatype tmp3_1;
4433 tmp3_1 = _stmt;
4434 {
4435 modelica_metatype _else_ = NULL((void*)0);
4436 modelica_metatype _exp = NULL((void*)0);
4437 modelica_metatype _stmt1 = NULL((void*)0);
4438 modelica_metatype _expLst = NULL((void*)0);
4439 modelica_metatype _stmtLst1 = NULL((void*)0);
4440 modelica_metatype _stmtLst2 = NULL((void*)0);
4441 modelica_metatype _stmtLstLst = NULL((void*)0);
4442 volatile mmc_switch_type tmp3;
4443 int tmp4;
4444 // _else_ has no default value.
4445 // _exp has no default value.
4446 // _stmt1 has no default value.
4447 // _expLst has no default value.
4448 // _stmtLst1 has no default value.
4449 // _stmtLst2 has no default value.
4450 // _stmtLstLst has no default value.
4451 tmp3 = 0;
4452 for (; tmp3 < 17; tmp3++) {
4453 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
4454 case 0: {
4455 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;
4456 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
4457
4458 _exp = tmpMeta[1];
4459 /* Pattern matching succeeded */
4460#line 2510 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4461 tmpMeta[1] = mmc_mk_cons(_exp, _expsIn);
4462#line 2510 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4463 tmpMeta[0] = tmpMeta[1];
4464#line 4464 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4465 goto tmp2_done;
4466 }
4467 case 1: {
4468 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;
4469 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
4470
4471 _expLst = tmpMeta[1];
4472 /* Pattern matching succeeded */
4473#line 2514 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4474 /* Pattern-matching assignment */
4475#line 2514 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4476 tmpMeta[1] = listAppend(_expLst, _expsIn);
4477#line 2514 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4478 _expLst = tmpMeta[1];
4479#line 4479 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4480#line 2515 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4481 tmpMeta[0] = _expLst;
4482#line 4482 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4483 goto tmp2_done;
4484 }
4485 case 2: {
4486 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;
4487 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
4488
4489 _exp = tmpMeta[1];
4490 /* Pattern matching succeeded */
4491#line 2517 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4492 tmpMeta[1] = mmc_mk_cons(_exp, _expsIn);
4493#line 2517 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4494 tmpMeta[0] = tmpMeta[1];
4495#line 4495 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4496 goto tmp2_done;
4497 }
4498 case 3: {
4499 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;
4500 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
4501 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
4502
4503 _stmtLst1 = tmpMeta[1];
4504 _else_ = tmpMeta[2];
4505 /* Pattern matching succeeded */
4506#line 2520 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4507 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4508#line 2520 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4509 _stmtLstLst = omc_EvaluateFunctions_getDAEelseStatemntLsts(threadData, _else_, tmpMeta[1]);
4510#line 4510 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4511
4512#line 2521 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4513 _stmtLst2 = omc_List_flatten(threadData, _stmtLstLst);
4514#line 4514 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4515
4516#line 2522 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4517 /* Pattern-matching assignment */
4518#line 2522 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4519 tmpMeta[1] = listAppend(_stmtLst1, _stmtLst2);
4520#line 2522 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4521 _stmtLst1 = tmpMeta[1];
4522#line 4522 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4523#line 2523 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4524 tmpMeta[0] = omc_List_fold(threadData, _stmtLst1, boxvar_EvaluateFunctions_getStatementLHS((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getStatementLHS
).header) + 3))
, _expsIn);
4525#line 4525 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4526 goto tmp2_done;
4527 }
4528 case 4: {
4529 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;
4530 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(7)))))
;
4531
4532 _stmtLst1 = tmpMeta[1];
4533 /* Pattern matching succeeded */
4534#line 2527 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4535 tmpMeta[0] = omc_List_fold(threadData, _stmtLst1, boxvar_EvaluateFunctions_getStatementLHS((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getStatementLHS
).header) + 3))
, _expsIn);
4536#line 4536 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4537 goto tmp2_done;
4538 }
4539 case 5: {
4540 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;
4541 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(7)))))
;
4542
4543 _stmtLst1 = tmpMeta[1];
4544 /* Pattern matching succeeded */
4545#line 2531 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4546 tmpMeta[0] = omc_List_fold(threadData, _stmtLst1, boxvar_EvaluateFunctions_getStatementLHS((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getStatementLHS
).header) + 3))
, _expsIn);
4547#line 4547 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4548 goto tmp2_done;
4549 }
4550 case 6: {
4551 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;
4552 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
4553
4554 _stmtLst1 = tmpMeta[1];
4555 /* Pattern matching succeeded */
4556#line 2535 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4557 tmpMeta[0] = omc_List_fold(threadData, _stmtLst1, boxvar_EvaluateFunctions_getStatementLHS((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getStatementLHS
).header) + 3))
, _expsIn);
4558#line 4558 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4559 goto tmp2_done;
4560 }
4561 case 7: {
4562 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;
4563 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
4564 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
4565 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;
4566 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
4567
4568 _stmtLst1 = tmpMeta[1];
4569 _stmt1 = tmpMeta[3];
4570 /* Pattern matching succeeded */
4571#line 2539 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4572 if(omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))))
4573#line 2539 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4574 {
4575#line 2540 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4576 tmpMeta[1] = stringAppend(_OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)),omc_DAEDump_ppStatementStr(threadData, _stmt));
4577#line 2540 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4578 fputs(MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
,stdoutstdout);
4579#line 4579 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4580 }
4581
4582#line 2542 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4583 _expLst = omc_List_fold(threadData, _stmtLst1, boxvar_EvaluateFunctions_getStatementLHS((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getStatementLHS
).header) + 3))
, _expsIn);
4584#line 4584 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4585#line 2543 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4586 /* Tail recursive call */
4587#line 2543 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4588 _stmt = _stmt1;
4589#line 2543 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4590 _expsIn = _expLst;
4591#line 2543 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4592 goto _tailrecursive;
4593#line 2543 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4594 /* TODO: Make sure any eventual dead code below is never generated */
4595#line 4595 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4596 goto tmp2_done;
4597 }
4598 case 8: {
4599 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;
4600 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
4601 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
4602 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;
4603
4604 _stmtLst1 = tmpMeta[1];
4605 /* Pattern matching succeeded */
4606#line 2547 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4607 if(omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))))
4608#line 2547 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4609 {
4610#line 2548 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4611 tmpMeta[1] = stringAppend(_OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)),omc_DAEDump_ppStatementStr(threadData, _stmt));
4612#line 2548 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4613 fputs(MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
,stdoutstdout);
4614#line 4614 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4615 }
4616#line 2550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4617 tmpMeta[0] = omc_List_fold(threadData, _stmtLst1, boxvar_EvaluateFunctions_getStatementLHS((void*)((char*)(&(boxvar_lit_EvaluateFunctions_getStatementLHS
).header) + 3))
, _expsIn);
4618#line 4618 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4619 goto tmp2_done;
4620 }
4621 case 9: {
4622 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;
4623
4624 /* Pattern matching succeeded */
4625#line 2555 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4626 tmpMeta[0] = _expsIn;
4627#line 4627 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4628 goto tmp2_done;
4629 }
4630 case 10: {
4631 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;
4632
4633 /* Pattern matching succeeded */
4634#line 2558 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4635 if(omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))))
4636#line 2558 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4637 {
4638#line 2559 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4639 tmpMeta[1] = stringAppend(_OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)),omc_DAEDump_ppStatementStr(threadData, _stmt));
4640#line 2559 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4641 fputs(MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
,stdoutstdout);
4642#line 4642 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4643 }
4644#line 2561 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4645 goto goto_1;
4646#line 4646 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4647 goto tmp2_done;
4648 }
4649 case 11: {
4650 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;
4651
4652 /* Pattern matching succeeded */
4653#line 2564 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4654 if(omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))))
4655#line 2564 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4656 {
4657#line 2565 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4658 tmpMeta[1] = stringAppend(_OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)),omc_DAEDump_ppStatementStr(threadData, _stmt));
4659#line 2565 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4660 fputs(MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
,stdoutstdout);
4661#line 4661 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4662 }
4663#line 2567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4664 goto goto_1;
4665#line 4665 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4666 goto tmp2_done;
4667 }
4668 case 12: {
4669 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;
4670
4671 /* Pattern matching succeeded */
4672#line 2569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4673 tmpMeta[0] = _expsIn;
4674#line 4674 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4675 goto tmp2_done;
4676 }
4677 case 13: {
4678 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;
4679
4680 /* Pattern matching succeeded */
4681#line 2572 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4682 if(omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))))
4683#line 2572 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4684 {
4685#line 2573 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4686 tmpMeta[1] = stringAppend(_OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)),omc_DAEDump_ppStatementStr(threadData, _stmt));
4687#line 2573 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4688 fputs(MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
,stdoutstdout);
4689#line 4689 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4690 }
4691#line 2575 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4692 goto goto_1;
4693#line 4693 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4694 goto tmp2_done;
4695 }
4696 case 14: {
4697 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;
4698
4699 /* Pattern matching succeeded */
4700#line 2578 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4701 if(omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))))
4702#line 2578 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4703 {
4704#line 2579 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4705 tmpMeta[1] = stringAppend(_OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)),omc_DAEDump_ppStatementStr(threadData, _stmt));
4706#line 2579 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4707 fputs(MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
,stdoutstdout);
4708#line 4708 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4709 }
4710#line 2581 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4711 goto goto_1;
4712#line 4712 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4713 goto tmp2_done;
4714 }
4715 case 15: {
4716 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;
4717
4718 /* Pattern matching succeeded */
4719#line 2584 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4720 if(omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))))
4721#line 2584 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4722 {
4723#line 2585 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4724 tmpMeta[1] = stringAppend(_OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)),omc_DAEDump_ppStatementStr(threadData, _stmt));
4725#line 2585 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4726 fputs(MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
,stdoutstdout);
4727#line 4727 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4728 }
4729#line 2587 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4730 goto goto_1;
4731#line 4731 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4732 goto tmp2_done;
4733 }
4734 case 16: {
4735
4736 /* Pattern matching succeeded */
4737#line 2590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4738 tmpMeta[1] = stringAppend(_OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)),omc_DAEDump_ppStatementStr(threadData, _stmt));
4739#line 2590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4740 fputs(MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
,stdoutstdout);
4741#line 4741 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4742#line 2591 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4743 goto goto_1;
4744#line 4744 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4745 goto tmp2_done;
4746 }
4747 }
4748 goto tmp2_end;
4749 tmp2_end: ;
4750 }
4751 goto goto_1;
4752 goto_1:;
4753 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4754 goto tmp2_done;
4755 tmp2_done:;
4756 }
4757 }
4758 _lhs = tmpMeta[0];
4759 _return: OMC_LABEL_UNUSED__attribute__((unused))
4760 return _lhs;
4761}
4762
4763PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_replaceExps(threadData_t *threadData, modelica_metatype _replIn, modelica_metatype _expsIn)
4764{
4765 modelica_metatype _expsOut = NULL((void*)0);
4766 MMC_SO()mmc_check_stackoverflow(threadData);
4767 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4768 // _expsOut has no default value.
4769#line 2491 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4770 _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));
4771#line 4771 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4772 _return: OMC_LABEL_UNUSED__attribute__((unused))
4773 return _expsOut;
4774}
4775
4776PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_equationToStatement(threadData_t *threadData, modelica_metatype _eqIn)
4777{
4778 modelica_metatype _stmtOut = NULL((void*)0);
4779 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
4780 MMC_SO()mmc_check_stackoverflow(threadData);
4781 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4782 // _stmtOut has no default value.
4783#line 4783 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4784 { /* match expression */
4785 modelica_metatype tmp3_1;
4786 tmp3_1 = _eqIn;
4787 {
4788 modelica_metatype _source = NULL((void*)0);
4789 modelica_metatype _rhs = NULL((void*)0);
4790 modelica_metatype _lhs = NULL((void*)0);
4791 modelica_metatype _typ = NULL((void*)0);
4792 volatile mmc_switch_type tmp3;
4793 int tmp4;
4794 // _source has no default value.
4795 // _rhs has no default value.
4796 // _lhs has no default value.
4797 // _typ has no default value.
4798 tmp3 = 0;
4799 for (; tmp3 < 2; tmp3++) {
4800 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
4801 case 0: {
4802 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;
4803 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
4804 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
4805 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
4806
4807 _lhs = tmpMeta[1];
4808 _rhs = tmpMeta[2];
4809 _source = tmpMeta[3];
4810 /* Pattern matching succeeded */
4811#line 2475 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4812 _typ = omc_Expression_typeof(threadData, _lhs);
4813#line 4813 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4814#line 2476 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4815 tmpMeta[1] = mmc_mk_box5(3, &DAE_Statement_STMT__ASSIGN__desc, _typ, _lhs, _rhs, _source);
4816#line 2476 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4817 tmpMeta[0] = tmpMeta[1];
4818#line 4818 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4819 goto tmp2_done;
4820 }
4821 case 1: {
4822
4823 /* Pattern matching succeeded */
4824#line 2480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4825 fputs(MMC_STRINGDATA(_OMC_LIT33)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT33).header) + 3))) - 3)))->data)
,stdoutstdout);
4826#line 4826 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4827#line 2481 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4828 goto goto_1;
4829#line 4829 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4830 goto tmp2_done;
4831 }
4832 }
4833 goto tmp2_end;
4834 tmp2_end: ;
4835 }
4836 goto goto_1;
4837 goto_1:;
4838 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4839 goto tmp2_done;
4840 tmp2_done:;
4841 }
4842 }
4843 _stmtOut = tmpMeta[0];
4844 _return: OMC_LABEL_UNUSED__attribute__((unused))
4845 return _stmtOut;
4846}
4847
4848PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_addTplReplacements(threadData_t *threadData, modelica_metatype _replIn, modelica_metatype _e1, modelica_metatype _e2)
4849{
4850 modelica_metatype _replOut = NULL((void*)0);
4851 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
4852 MMC_SO()mmc_check_stackoverflow(threadData);
4853 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4854 // _replOut has no default value.
4855#line 4855 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4856 { /* matchcontinue expression */
4857 {
4858 modelica_metatype _tplLHS = NULL((void*)0);
4859 modelica_metatype _tplRHS = NULL((void*)0);
4860 modelica_metatype _crefs = NULL((void*)0);
4861 volatile mmc_switch_type tmp3;
4862 int tmp4;
4863 // _tplLHS has no default value.
4864 // _tplRHS has no default value.
4865 // _crefs has no default value.
4866 tmp3 = 0;
4867 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) {
4868 tmp2_top:
4869 threadData->mmc_jumper = &new_mmc_jumper;
4870 for (; tmp3 < 2; tmp3++) {
4871 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
4872 case 0: {
4873 /* Pattern matching succeeded */
4874#line 2451 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4875 _tplRHS = omc_DAEUtil_getTupleExps(threadData, _e1);
4876#line 4876 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4877
4878#line 2452 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4879 _tplLHS = omc_DAEUtil_getTupleExps(threadData, _e2);
4880#line 4880 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4881
4882#line 2453 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4883 _crefs = omc_List_map(threadData, _tplLHS, boxvar_Expression_expCref((void*)((char*)(&(boxvar_lit_Expression_expCref).header)
+ 3))
);
4884#line 4884 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4885#line 2454 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4886 tmpMeta[0] = omc_BackendVarTransform_addReplacements(threadData, _replIn, _crefs, _tplRHS, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
4887#line 4887 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4888 goto tmp2_done;
4889 }
4890 case 1: {
4891 /* Pattern matching succeeded */
4892#line 2458 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4893 tmpMeta[0] = _replIn;
4894#line 4894 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4895 goto tmp2_done;
4896 }
4897 }
4898 goto tmp2_end;
4899 tmp2_end: ;
4900 }
4901 goto goto_1;
4902 tmp2_done:
4903 (void)tmp3;
4904 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
4905 goto tmp2_done2;
4906 goto_1:;
4907 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
4908 if (++tmp3 < 2) {
4909 goto tmp2_top;
4910 }
4911 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4912 tmp2_done2:;
4913 }
4914 }
4915 _replOut = tmpMeta[0];
4916 _return: OMC_LABEL_UNUSED__attribute__((unused))
4917 return _replOut;
4918}
4919
4920PROTECTED_FUNCTION_STATIC modelica_metatype omc_EvaluateFunctions_evaluateElse(threadData_t *threadData, modelica_metatype _elseIn, modelica_metatype _info, modelica_boolean *out_isElse)
4921{
4922 modelica_metatype _stmtsOut = NULL((void*)0);
4923 modelica_boolean _isElse;
4924 modelica_boolean tmp1_c1 __attribute__((unused)) = 0;
4925 modelica_metatype tmpMeta[8] __attribute__((unused)) = {0};
4926 MMC_SO()mmc_check_stackoverflow(threadData);
4927 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4928 // _stmtsOut has no default value.
4929 // _isElse has no default value.
4930#line 2402 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4931
4932#line 2402 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4933
4934#line 4934 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4935 { /* match expression */
4936 modelica_metatype tmp4_1;modelica_metatype tmp4_2;
4937 tmp4_1 = _elseIn;
4938 tmp4_2 = _info;
4939 {
4940 modelica_boolean _isCon;
4941 modelica_boolean _isElseIf;
4942 modelica_integer _idx;
4943 modelica_metatype _replIn = NULL((void*)0);
4944 modelica_metatype _expIf = NULL((void*)0);
4945 modelica_metatype _exp1 = NULL((void*)0);
4946 modelica_metatype _else_ = NULL((void*)0);
4947 modelica_metatype _funcTree = NULL((void*)0);
4948 modelica_metatype _stmts = NULL((void*)0);
4949 int tmp4;
4950 // _isCon has no default value.
4951 // _isElseIf has no default value.
4952 // _idx has no default value.
4953 // _replIn has no default value.
4954 // _expIf has no default value.
4955 // _exp1 has no default value.
4956 // _else_ has no default value.
4957 // _funcTree has no default value.
4958 // _stmts has no default value.
4959 {
4960 switch (MMC_SWITCH_CAST(valueConstructor(tmp4_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> 2
) & 255))
) {
4961 case 4: {
4962 modelica_integer tmp5;
4963 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;
4964 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
4965 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
4966 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
4967 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
4968 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
4969 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(4)))))
;
4970 tmp5 = mmc_unbox_integer(tmpMeta[7])(((mmc_sint_t) (tmpMeta[7])) >> 1);
4971 _expIf = tmpMeta[2];
4972 _stmts = tmpMeta[3];
4973 _else_ = tmpMeta[4];
4974 _replIn = tmpMeta[5];
4975 _funcTree = tmpMeta[6];
4976 _idx = tmp5 /* pattern as ty=Integer */;
4977 /* Pattern matching succeeded */
4978#line 2414 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4979 if(omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))))
4980#line 2414 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4981 {
4982#line 2415 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4983 fputs(MMC_STRINGDATA(_OMC_LIT34)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT34).header) + 3))) - 3)))->data)
,stdoutstdout);
4984#line 4984 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4985 }
4986
4987#line 2417 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4988 /* Pattern-matching tuple assignment */
4989#line 2417 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4990 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4991#line 2417 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4992 tmpMeta[3] = mmc_mk_box4(0, _expIf, _funcTree, mmc_mk_integermmc_mk_icon(_idx), tmpMeta[2]);
4993#line 2417 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4994 tmpMeta[4] = omc_Expression_traverseExpTopDown(threadData, _expIf, boxvar_EvaluateFunctions_evaluateConstantFunctionWrapper((void*)((char*)(&(boxvar_lit_EvaluateFunctions_evaluateConstantFunctionWrapper
).header) + 3))
, tmpMeta[3], NULL((void*)0));
4995#line 2417 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
4996 _exp1 = tmpMeta[4];
4997#line 4997 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
4998
4999#line 2418 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5000 _exp1 = omc_BackendVarTransform_replaceExp(threadData, _exp1, _replIn, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), NULL((void*)0));
5001#line 5001 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5002
5003#line 2419 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5004 _exp1 = omc_ExpressionSimplify_simplify(threadData, _exp1, NULL((void*)0));
5005#line 5005 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5006
5007#line 2420 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5008 _isCon = omc_Expression_isConst(threadData, _exp1);
5009#line 5009 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5010
5011#line 2421 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5012 _isElseIf = (_isCon?omc_Expression_toBool(threadData, _exp1):0);
5013#line 5013 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5014
5015#line 2422 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5016 if((_isCon && (!_isElseIf)))
5017#line 2422 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5018 {
5019#line 2423 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5020 _stmts = omc_EvaluateFunctions_evaluateElse(threadData, _else_, _info ,&_isElseIf);
5021#line 5021 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5022 }
5023#line 2425 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5024 tmpMeta[0+0] = _stmts;
5025#line 2425 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5026 tmp1_c1 = _isElseIf;
5027#line 5027 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5028 goto tmp3_done;
5029 }
5030 case 5: {
5031 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;
5032 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
5033
5034 _stmts = tmpMeta[2];
5035 /* Pattern matching succeeded */
5036#line 2430 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5037 tmpMeta[0+0] = _stmts;
5038#line 2430 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5039 tmp1_c1 = 1;
5040#line 5040 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5041 goto tmp3_done;
5042 }
5043 case 3: {
5044 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;
5045
5046 /* Pattern matching succeeded */
5047#line 2433 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5048 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
5049#line 2433 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5050 tmpMeta[0+0] = tmpMeta[2];
5051#line 2433 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5052 tmp1_c1 = 1;
5053#line 5053 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5054 goto tmp3_done;
5055 }
5056 }
5057 goto tmp3_end;
5058 tmp3_end: ;
5059 }
5060 goto goto_2;
5061 goto_2:;
5062 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5063 goto tmp3_done;
5064 tmp3_done:;
5065 }
5066 }
5067 _stmtsOut = tmpMeta[0+0];
5068 _isElse = tmp1_c1;
5069 _return: OMC_LABEL_UNUSED__attribute__((unused))
5070 if (out_isElse) { *out_isElse = _isElse; }
5071 return _stmtsOut;
5072}
5073PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_EvaluateFunctions_evaluateElse(threadData_t *threadData, modelica_metatype _elseIn, modelica_metatype _info, modelica_metatype *out_isElse)
5074{
5075 modelica_boolean _isElse;
5076 modelica_metatype _stmtsOut = NULL((void*)0);
5077 _stmtsOut = omc_EvaluateFunctions_evaluateElse(threadData, _elseIn, _info, &_isElse);
5078 /* skip box _stmtsOut; list<DAE.Statement> */
5079 if (out_isElse) { *out_isElse = mmc_mk_icon(_isElse); }
5080 return _stmtsOut;
5081}
5082
5083PROTECTED_FUNCTION_STATIC modelica_boolean omc_EvaluateFunctions_evaluateIfStatement(threadData_t *threadData, modelica_metatype _stmtIn, modelica_metatype _info, modelica_metatype *out_stmtsOut, modelica_metatype *out_replOut)
5084{
5085 modelica_boolean _isEval;
5086 modelica_metatype _stmtsOut = NULL((void*)0);
5087 modelica_metatype _replOut = NULL((void*)0);
5088 modelica_boolean tmp1_c0 __attribute__((unused)) = 0;
5089 modelica_metatype tmpMeta[9] __attribute__((unused)) = {0};
5090 MMC_SO()mmc_check_stackoverflow(threadData);
5091 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5092 // _isEval has no default value.
5093 // _stmtsOut has no default value.
5094 // _replOut has no default value.
5095#line 2332 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5096
5097#line 2332 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5098
5099#line 2332 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5100
5101#line 5101 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5102 { /* matchcontinue expression */
5103 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;
5104 tmp4_1 = _stmtIn;
5105 tmp4_2 = _info;
5106 {
5107 modelica_boolean _isIf;
5108 modelica_boolean _isCon;
5109 modelica_boolean _isElse;
5110 modelica_boolean _eval;
5111 modelica_integer _idx;
5112 modelica_metatype _repl = NULL((void*)0);
5113 modelica_metatype _replIn = NULL((void*)0);
5114 modelica_metatype _else_ = NULL((void*)0);
5115 modelica_metatype _expIf = NULL((void*)0);
5116 modelica_metatype _exp1 = NULL((void*)0);
5117 modelica_metatype _funcTree = NULL((void*)0);
5118 modelica_metatype _stmtsIf = NULL((void*)0);
5119 modelica_metatype _stmts1 = NULL((void*)0);
5120 modelica_metatype _stmtsElse = NULL((void*)0);
5121 volatile mmc_switch_type tmp4;
5122 int tmp5;
5123 // _isIf has no default value.
5124 // _isCon has no default value.
5125 // _isElse has no default value.
5126 // _eval has no default value.
5127 // _idx has no default value.
5128 // _repl has no default value.
5129 // _replIn has no default value.
5130 // _else_ has no default value.
5131 // _expIf has no default value.
5132 // _exp1 has no default value.
5133 // _funcTree has no default value.
5134 // _stmtsIf has no default value.
5135 // _stmts1 has no default value.
5136 // _stmtsElse has no default value.
5137 tmp4 = 0;
5138 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) {
5139 tmp3_top:
5140 threadData->mmc_jumper = &new_mmc_jumper;
5141 for (; tmp4 < 2; tmp4++) {
5142 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
5143 case 0: {
5144 modelica_integer tmp6;
5145 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;
5146 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
5147 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
5148 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
5149 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
5150 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
5151 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(4)))))
;
5152 tmp6 = mmc_unbox_integer(tmpMeta[8])(((mmc_sint_t) (tmpMeta[8])) >> 1);
5153 _expIf = tmpMeta[3];
5154 _stmtsIf = tmpMeta[4];
5155 _else_ = tmpMeta[5];
5156 _replIn = tmpMeta[6];
5157 _funcTree = tmpMeta[7];
5158 _idx = tmp6 /* pattern as ty=Integer */;
5159 /* Pattern matching succeeded */
5160#line 2344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5161 if(omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))))
5162#line 2344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5163 {
5164#line 2345 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5165 fputs(MMC_STRINGDATA(_OMC_LIT35)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT35).header) + 3))) - 3)))->data)
,stdoutstdout);
5166#line 5166 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5167 }
5168
5169#line 2347 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5170 _exp1 = omc_BackendVarTransform_replaceExp(threadData, _expIf, _replIn, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), NULL((void*)0));
5171#line 5171 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5172
5173#line 2348 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5174 /* Pattern-matching tuple assignment */
5175#line 2348 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5176 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
5177#line 2348 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5178 tmpMeta[4] = mmc_mk_box4(0, _exp1, _funcTree, mmc_mk_integermmc_mk_icon(_idx), tmpMeta[3]);
5179#line 2348 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5180 tmpMeta[5] = omc_Expression_traverseExpTopDown(threadData, _exp1, boxvar_EvaluateFunctions_evaluateConstantFunctionWrapper((void*)((char*)(&(boxvar_lit_EvaluateFunctions_evaluateConstantFunctionWrapper
).header) + 3))
, tmpMeta[4], NULL((void*)0));
5181#line 2348 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5182 _exp1 = tmpMeta[5];
5183#line 5183 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5184
5185#line 2349 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5186 _exp1 = omc_BackendVarTransform_replaceExp(threadData, _exp1, _replIn, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), NULL((void*)0));
5187#line 5187 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5188
5189#line 2350 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5190 _exp1 = omc_ExpressionSimplify_simplify(threadData, _exp1, NULL((void*)0));
5191#line 5191 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5192
5193#line 2351 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5194 _isCon = omc_Expression_isConst(threadData, _exp1);
5195#line 5195 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5196
5197#line 2352 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5198 _isIf = (_isCon?omc_Expression_toBool(threadData, _exp1):0);
5199#line 5199 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5200
5201#line 2355 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5202 if(omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))))
5203#line 2355 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5204 {
5205#line 2356 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5206 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))));
5207#line 2356 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5208 tmpMeta[4] = stringAppend(tmpMeta[3],_OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)));
5209#line 2356 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5210 tmpMeta[5] = stringAppend(tmpMeta[4],(_isIf?_OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)):_OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3))));
5211#line 2356 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5212 tmpMeta[6] = stringAppend(tmpMeta[5],_OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)));
5213#line 2356 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5214 fputs(MMC_STRINGDATA(tmpMeta[6])(((struct mmc_string*)((void*)((char*)(tmpMeta[6]) - 3)))->
data)
,stdoutstdout);
5215#line 5215 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5216 }
5217
5218#line 2358 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5219 if((_isIf && _isCon))
5220#line 2358 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5221 {
5222#line 2359 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5223 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
5224#line 2359 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5225 _stmts1 = omc_EvaluateFunctions_evaluateFunctions__updateStatement(threadData, _stmtsIf, _funcTree, _replIn, _idx, tmpMeta[3] ,&_funcTree ,&_repl ,&_idx);
5226#line 5226 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5227 }
5228 else
5229 {
5230#line 2361 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5231 tmpMeta[3] = mmc_mk_cons(_stmtIn, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
5232#line 2361 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5233 _stmts1 = tmpMeta[3];
5234#line 5234 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5235
5236#line 2362 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5237 _repl = _replIn;
5238#line 5238 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5239 }
5240
5241#line 2366 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5242 if((omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))) && (!_isIf)))
5243#line 2366 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5244 {
5245#line 2367 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5246 fputs(MMC_STRINGDATA(_OMC_LIT40)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT40).header) + 3))) - 3)))->data)
,stdoutstdout);
5247#line 5247 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5248 }
5249
5250#line 2369 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5251 if((_isCon && (!_isIf)))
5252#line 2369 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5253 {
5254#line 2370 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5255 _stmtsElse = omc_EvaluateFunctions_evaluateElse(threadData, _else_, _info ,&_isElse);
5256#line 5256 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5257 }
5258 else
5259 {
5260#line 2372 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5261 tmpMeta[3] = mmc_mk_cons(_stmtIn, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
5262#line 2372 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5263 _stmtsElse = tmpMeta[3];
5264#line 5264 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5265
5266#line 2373 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5267 _isElse = 0;
5268#line 5268 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5269 }
5270
5271#line 2375 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5272 if((omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))) && (!_isIf)))
5273#line 2375 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5274 {
5275#line 2376 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5276 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))));
5277#line 2376 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5278 tmpMeta[4] = stringAppend(tmpMeta[3],_OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)));
5279#line 2376 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5280 fputs(MMC_STRINGDATA(tmpMeta[4])(((struct mmc_string*)((void*)((char*)(tmpMeta[4]) - 3)))->
data)
,stdoutstdout);
5281#line 5281 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5282 }
5283
5284#line 2378 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5285 if((_isCon && _isElse))
5286#line 2378 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5287 {
5288#line 2379 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5289 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
5290#line 2379 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5291 _stmts1 = omc_EvaluateFunctions_evaluateFunctions__updateStatement(threadData, _stmtsElse, _funcTree, _replIn, _idx, tmpMeta[3] ,&_funcTree ,&_repl ,&_idx);
5292#line 5292 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5293 }
5294
5295#line 2382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5296 _eval = (_isCon && (_isIf || _isElse));
5297#line 5297 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5298#line 2383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5299 tmp1_c0 = _eval;
5300#line 2383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5301 tmpMeta[0+1] = _stmts1;
5302#line 2383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5303 tmpMeta[0+2] = _repl;
5304#line 5304 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5305 goto tmp3_done;
5306 }
5307 case 1: {
5308
5309 /* Pattern matching succeeded */
5310#line 2387 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5311 if(omc_Flags_isSet(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))))
5312#line 2387 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5313 {
5314#line 2388 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5315 fputs(MMC_STRINGDATA(_OMC_LIT42)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT42).header) + 3))) - 3)))->data)
,stdoutstdout);
5316#line 5316 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/EvaluateFunctions.c"
5317 }
5318#line 2390 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/BackEnd/EvaluateFunctions.mo"
5319 goto goto_2;