Notification: Performance of loadModel(Modelica): time 1.526/1.526, allocations: 194.5 MB / 200.7 MB, free: 8.254 MB / 174.1 MB Notification: Performance of FrontEnd - loaded program: time 8.66e-06/8.8e-06, allocations: 0 / 247.3 MB, free: 9.344 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06384/0.06392, allocations: 44.36 MB / 291.7 MB, free: 12.89 MB / 254.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.662/4.726, allocations: 2.614 GB / 2.898 GB, free: 46.99 MB / 398.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/4.726, allocations: 71.34 kB / 2.898 GB, free: 46.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.5384/5.264, allocations: 104.1 MB / 3 GB, free: 77.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.851e-05/5.264, allocations: 2.969 kB / 3 GB, free: 77.86 MB / 398.1 MB Notification: Performance of Generate backend data structure: time 0.006863/5.271, allocations: 1.174 MB / 3.001 GB, free: 77.2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/5.272, allocations: 9.625 kB / 3.001 GB, free: 77.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008447/5.272, allocations: 61.23 kB / 3.001 GB, free: 77.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/5.273, allocations: 222.5 kB / 3.002 GB, free: 76.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/5.273, allocations: 5.344 kB / 3.002 GB, free: 76.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-05/5.273, allocations: 8.406 kB / 3.002 GB, free: 76.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000564/5.274, allocations: 218.8 kB / 3.002 GB, free: 76.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/5.274, allocations: 202.7 kB / 3.002 GB, free: 76.74 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/5.274, allocations: 1.312 kB / 3.002 GB, free: 76.74 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/5.274, allocations: 1.531 kB / 3.002 GB, free: 76.74 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/5.274, allocations: 4.219 kB / 3.002 GB, free: 76.74 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001609/5.276, allocations: 1.17 MB / 3.003 GB, free: 75.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/5.276, allocations: 128.4 kB / 3.003 GB, free: 75.58 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/5.277, allocations: 88.58 kB / 3.003 GB, free: 75.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1211/5.398, allocations: 47.2 MB / 3.049 GB, free: 34.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/5.398, allocations: 42.31 kB / 3.049 GB, free: 34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 3.842e-06/5.398, allocations: 4 kB / 3.049 GB, free: 33.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.005249/5.403, allocations: 1.079 MB / 3.05 GB, free: 33 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/5.403, allocations: 110.8 kB / 3.051 GB, free: 32.87 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.247e-05/5.404, allocations: 108.7 kB / 3.051 GB, free: 32.76 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.246e-05/5.404, allocations: 25.7 kB / 3.051 GB, free: 32.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/5.404, allocations: 108.4 kB / 3.051 GB, free: 32.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.205e-05/5.404, allocations: 113.5 kB / 3.051 GB, free: 32.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/5.404, allocations: 64 / 3.051 GB, free: 32.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.188e-05/5.404, allocations: 326.6 kB / 3.051 GB, free: 32.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/5.404, allocations: 112.1 kB / 3.051 GB, free: 32.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002757/5.405, allocations: 166.6 kB / 3.052 GB, free: 31.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000589/5.405, allocations: 124 kB / 3.052 GB, free: 31.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.911e-06/5.405, allocations: 4 kB / 3.052 GB, free: 31.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00173/5.407, allocations: 438.3 kB / 3.052 GB, free: 31.42 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/5.407, allocations: 12.03 kB / 3.052 GB, free: 31.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/5.407, allocations: 0 / 3.052 GB, free: 31.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002451/5.408, allocations: 36.48 kB / 3.052 GB, free: 31.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007386/5.409, allocations: 91.12 kB / 3.052 GB, free: 31.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004962/5.409, allocations: 0.5597 MB / 3.053 GB, free: 30.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005046/5.41, allocations: 19.55 kB / 3.053 GB, free: 30.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.174e-05/5.41, allocations: 16 kB / 3.053 GB, free: 30.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.529e-05/5.41, allocations: 87.28 kB / 3.053 GB, free: 30.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006282/5.411, allocations: 94.06 kB / 3.053 GB, free: 30.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002548/5.413, allocations: 1.372 MB / 3.054 GB, free: 29.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.731e-05/5.413, allocations: 19.5 kB / 3.054 GB, free: 29.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.149e-06/5.414, allocations: 0 / 3.054 GB, free: 29.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/5.414, allocations: 7.75 kB / 3.054 GB, free: 29.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003128/5.417, allocations: 1.704 MB / 3.056 GB, free: 27.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.032e-06/5.417, allocations: 4 kB / 3.056 GB, free: 27.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006319/5.418, allocations: 83.38 kB / 3.056 GB, free: 27.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003033/5.418, allocations: 64.14 kB / 3.056 GB, free: 27.6 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.343e-05/5.418, allocations: 15.8 kB / 3.056 GB, free: 27.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004083/5.418, allocations: 0.6181 MB / 3.057 GB, free: 26.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.216e-06/5.419, allocations: 0 / 3.057 GB, free: 26.96 MB / 398.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002602/5.421, allocations: 1.796 MB / 3.058 GB, free: 25.22 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.584e-05/5.421, allocations: 108.7 kB / 3.059 GB, free: 25.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.557e-05/5.422, allocations: 4 kB / 3.059 GB, free: 25.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006678/5.422, allocations: 19.69 kB / 3.059 GB, free: 25.08 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.549e-05/5.422, allocations: 27.48 kB / 3.059 GB, free: 25.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.196e-05/5.423, allocations: 23.84 kB / 3.059 GB, free: 25.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.273e-05/5.423, allocations: 91.22 kB / 3.059 GB, free: 24.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004059/5.427, allocations: 0.9743 MB / 3.06 GB, free: 24.01 MB / 398.1 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.007547/5.434, allocations: 1.32 MB / 3.061 GB, free: 22.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001267/5.436, allocations: 0.6664 MB / 3.062 GB, free: 22.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.006e-06/5.436, allocations: 0 / 3.062 GB, free: 22.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009098/5.437, allocations: 0.6151 MB / 3.062 GB, free: 21.65 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008621/5.438, allocations: 58.38 kB / 3.062 GB, free: 21.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/5.44, allocations: 1.015 MB / 3.063 GB, free: 20.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004795/5.441, allocations: 0.8382 MB / 3.064 GB, free: 19.85 MB / 398.1 MB Notification: Performance of SimCode: time 2.304e-06/5.441, allocations: 3.938 kB / 3.064 GB, free: 19.84 MB / 398.1 MB Notification: Performance of Templates: time 0.2442/5.685, allocations: 29.53 MB / 3.093 GB, free: 104.1 MB / 398.1 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Media.Examples.WaterIF97.makefile clang -fPIC -O1 -march=native -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_-O1_Modelica_Media_Examples_WaterIF97 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Media.Examples.WaterIF97.o Modelica_3.2.2_-O1_Modelica.Media.Examples.WaterIF97.c In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.WaterIF97.c:2: ./Modelica_3.2.2_-O1_Modelica.Media.Examples.WaterIF97_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Media_Examples_WaterIF97__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.WaterIF97_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Media_Examples_WaterIF97__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.WaterIF97.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: variable has incomplete type 'void' static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.WaterIF97.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_WaterIF97_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.WaterIF97.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: expected ';' after top level declarator Modelica_3.2.2_-O1_Modelica.Media.Examples.WaterIF97.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_WaterIF97_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.WaterIF97.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:171:33: error: unknown type name 'MEASURE_TIME' static void fmtInit(DATA* data, MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:175:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:198:63: error: unknown type name 'MEASURE_TIME' static void fmtEmitStep(DATA* data, threadData_t *threadData, MEASURE_TIME* mt, SOLVER_INFO* solverInfo) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:239:5: warning: implicit declaration of function 'overwriteOldSimulationData' is invalid in C99 [-Wimplicit-function-declaration] overwriteOldSimulationData(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:240:5: warning: implicit declaration of function 'storePreValues' is invalid in C99 [-Wimplicit-function-declaration] storePreValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:241:5: warning: implicit declaration of function 'storeOldValues' is invalid in C99 [-Wimplicit-function-declaration] storeOldValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:259:3: warning: implicit declaration of function 'printAllVarsDebug' is invalid in C99 [-Wimplicit-function-declaration] printAllVarsDebug(data, 0, LOG_DEBUG); /* ??? */ ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:263:22: error: unknown type name 'MEASURE_TIME' static void fmtClose(MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:291:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:308:3: warning: implicit declaration of function 'restoreOldValues' is invalid in C99 [-Wimplicit-function-declaration] restoreOldValues(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:311:3: warning: implicit declaration of function 'updateDiscreteSystem' is invalid in C99 [-Wimplicit-function-declaration] updateDiscreteSystem(data, threadData); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.WaterIF97.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_WaterIF97_performSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.WaterIF97.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_WaterIF97_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.WaterIF97.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: expected ';' after top level declarator int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.WaterIF97.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_WaterIF97_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.WaterIF97.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.WaterIF97.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_WaterIF97_performQSSSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.WaterIF97.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_WaterIF97_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.WaterIF97.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: expected ';' after top level declarator int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.WaterIF97.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_WaterIF97_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.WaterIF97.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Media_Examples_WaterIF97_input_function(DATA *data, threadData_t *threadData) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.WaterIF97.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_WaterIF97_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.WaterIF97.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Media_Examples_WaterIF97_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.WaterIF97.c:322:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Media_Examples_WaterIF97_eqFunction_62(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.WaterIF97.c:322:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Media_Examples_WaterIF97_eqFunction_62(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.WaterIF97.c:331:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Media_Examples_WaterIF97_eqFunction_63(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.WaterIF97.c:331:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Media_Examples_WaterIF97_eqFunction_63(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.WaterIF97.c:854:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Media_Examples_WaterIF97_eqFunction_51(DATA* data, threadData_t *threadData); ^ ; fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O1_Modelica.Media.Examples.WaterIF97.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Media.Examples.WaterIF97.o] Error 1