Notification: Performance of loadModel(Modelica): time 1.493/1.493, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.94e-06/9.009e-06, allocations: 1.031 kB / 247.3 MB, free: 4.734 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05923/0.0593, allocations: 44.36 MB / 291.7 MB, free: 9.305 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.825/4.884, allocations: 2.614 GB / 2.898 GB, free: 34.32 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002039/4.885, allocations: 73.89 kB / 2.898 GB, free: 34.29 MB / 392.6 MB Notification: Performance of FrontEnd: time 0.5507/5.435, allocations: 104.1 MB / 3 GB, free: 64.62 MB / 392.6 MB Notification: Performance of Transformations before backend: time 1.781e-05/5.435, allocations: 3.688 kB / 3 GB, free: 64.62 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.006576/5.442, allocations: 1.17 MB / 3.001 GB, free: 63.77 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/5.442, allocations: 8.031 kB / 3.001 GB, free: 63.77 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007882/5.443, allocations: 55.14 kB / 3.001 GB, free: 63.73 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/5.443, allocations: 228.8 kB / 3.002 GB, free: 63.48 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/5.443, allocations: 4 kB / 3.002 GB, free: 63.48 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.657e-05/5.444, allocations: 8 kB / 3.002 GB, free: 63.47 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000524/5.444, allocations: 215.5 kB / 3.002 GB, free: 63.28 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/5.445, allocations: 204.8 kB / 3.002 GB, free: 63.08 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/5.445, allocations: 7.984 kB / 3.002 GB, free: 63.07 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.513e-05/5.445, allocations: 7.938 kB / 3.002 GB, free: 63.07 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.521e-06/5.445, allocations: 4 kB / 3.002 GB, free: 63.06 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/5.446, allocations: 1.175 MB / 3.003 GB, free: 61.89 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/5.447, allocations: 128.8 kB / 3.003 GB, free: 61.75 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/5.447, allocations: 84.48 kB / 3.003 GB, free: 61.66 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1161/5.563, allocations: 47.2 MB / 3.049 GB, free: 14.52 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/5.563, allocations: 42.69 kB / 3.049 GB, free: 14.47 MB / 392.6 MB Notification: Performance of pre-optimization done (n=23): time 5.169e-06/5.563, allocations: 0 / 3.049 GB, free: 14.47 MB / 392.6 MB Notification: Performance of matching and sorting (n=33): time 0.005026/5.568, allocations: 1.088 MB / 3.05 GB, free: 13.47 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/5.568, allocations: 110.9 kB / 3.051 GB, free: 13.34 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.1e-05/5.569, allocations: 104.8 kB / 3.051 GB, free: 13.23 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/5.569, allocations: 25.7 kB / 3.051 GB, free: 13.2 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 4.009e-05/5.569, allocations: 104.5 kB / 3.051 GB, free: 13.1 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 8.842e-05/5.569, allocations: 121.4 kB / 3.051 GB, free: 12.99 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/5.569, allocations: 0 / 3.051 GB, free: 12.99 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 7.208e-05/5.569, allocations: 322.5 kB / 3.051 GB, free: 12.67 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/5.569, allocations: 108 kB / 3.051 GB, free: 12.57 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/5.57, allocations: 162.7 kB / 3.052 GB, free: 12.39 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005869/5.57, allocations: 135.5 kB / 3.052 GB, free: 12.27 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.422e-06/5.571, allocations: 0 / 3.052 GB, free: 12.27 MB / 392.6 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001695/5.572, allocations: 435.5 kB / 3.052 GB, free: 11.89 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/5.572, allocations: 7.938 kB / 3.052 GB, free: 11.89 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/5.572, allocations: 4.219 kB / 3.052 GB, free: 11.88 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002408/5.573, allocations: 40.27 kB / 3.052 GB, free: 11.85 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006882/5.573, allocations: 86.94 kB / 3.052 GB, free: 11.78 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004517/5.574, allocations: 0.5638 MB / 3.053 GB, free: 11.2 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005019/5.575, allocations: 19.5 kB / 3.053 GB, free: 11.18 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.336e-05/5.575, allocations: 16 kB / 3.053 GB, free: 11.17 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 6.691e-05/5.575, allocations: 79.19 kB / 3.053 GB, free: 11.09 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005923/5.575, allocations: 96.92 kB / 3.053 GB, free: 11.02 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002441/5.578, allocations: 1.388 MB / 3.054 GB, free: 9.762 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.319e-05/5.578, allocations: 15.64 kB / 3.054 GB, free: 9.754 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.753e-06/5.578, allocations: 4 kB / 3.054 GB, free: 9.75 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.917e-06/5.578, allocations: 0 / 3.054 GB, free: 9.75 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002945/5.581, allocations: 1.702 MB / 3.056 GB, free: 8.188 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/5.581, allocations: 0 / 3.056 GB, free: 8.188 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006211/5.582, allocations: 90.67 kB / 3.056 GB, free: 8.117 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003007/5.582, allocations: 59.34 kB / 3.056 GB, free: 8.07 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.763e-05/5.582, allocations: 11.89 kB / 3.056 GB, free: 8.062 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004087/5.583, allocations: 0.6135 MB / 3.057 GB, free: 7.438 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.378e-06/5.583, allocations: 4.031 kB / 3.057 GB, free: 7.434 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002505/5.586, allocations: 1.783 MB / 3.058 GB, free: 5.711 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 6.726e-05/5.586, allocations: 108.6 kB / 3.059 GB, free: 5.586 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.04e-05/5.586, allocations: 11.84 kB / 3.059 GB, free: 5.578 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005967/5.587, allocations: 19.84 kB / 3.059 GB, free: 5.562 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.773e-05/5.587, allocations: 31.47 kB / 3.059 GB, free: 5.543 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.182e-05/5.587, allocations: 15.66 kB / 3.059 GB, free: 5.531 MB / 392.6 MB Notification: Performance of sort global known variables: time 4.952e-05/5.587, allocations: 95.11 kB / 3.059 GB, free: 5.441 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.003853/5.591, allocations: 0.9818 MB / 3.06 GB, free: 4.484 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.007236/5.598, allocations: 1.306 MB / 3.061 GB, free: 3.336 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.001285/5.6, allocations: 0.6632 MB / 3.062 GB, free: 2.711 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.076e-06/5.6, allocations: 4.062 kB / 3.062 GB, free: 2.707 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0008945/5.601, allocations: 0.6196 MB / 3.062 GB, free: 2.129 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008808/5.602, allocations: 68.95 kB / 3.062 GB, free: 2.082 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/5.604, allocations: 1.009 MB / 3.063 GB, free: 1.137 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004576/5.605, allocations: 0.8415 MB / 3.064 GB, free: 328 kB / 392.6 MB Notification: Performance of SimCode: time 2.235e-06/5.605, allocations: 288 / 3.064 GB, free: 328 kB / 392.6 MB Notification: Performance of Templates: time 0.2489/5.854, allocations: 29.55 MB / 3.093 GB, free: 78.43 MB / 408.6 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