Notification: Performance of loadModel(Modelica): time 1.537/1.537, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.499e-06/9.568e-06, allocations: 1.281 kB / 247.7 MB, free: 4.359 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06178/0.06186, allocations: 44.36 MB / 292.1 MB, free: 8.949 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2441/0.3061, allocations: 93.34 MB / 385.4 MB, free: 3.406 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.3064, allocations: 94.84 kB / 385.5 MB, free: 3.391 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.6044/0.9109, allocations: 122 MB / 0.4956 GB, free: 72.3 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0002743/0.9113, allocations: 114.8 kB / 0.4957 GB, free: 72.3 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.01853/0.9299, allocations: 6.146 MB / 0.5017 GB, free: 70.01 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.93, allocations: 7.812 kB / 0.5017 GB, free: 70.01 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04324/0.9733, allocations: 7.628 MB / 0.5091 GB, free: 69.59 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02275/0.9961, allocations: 7.323 MB / 0.5163 GB, free: 68.82 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000288/0.9965, allocations: 190 kB / 0.5165 GB, free: 68.82 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00248/0.9991, allocations: 347.7 kB / 0.5168 GB, free: 68.82 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02003/1.019, allocations: 10.38 MB / 0.5269 GB, free: 68.79 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02999/1.049, allocations: 14.32 MB / 0.5409 GB, free: 65.66 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003291/1.05, allocations: 70.69 kB / 0.541 GB, free: 65.66 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002469/1.052, allocations: 34.47 kB / 0.541 GB, free: 65.66 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0025/1.055, allocations: 1.725 MB / 0.5427 GB, free: 65.64 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08881/1.144, allocations: 62.35 MB / 0.6036 GB, free: 16.38 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006825/1.151, allocations: 4.608 MB / 0.6081 GB, free: 12 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00535/1.156, allocations: 3.559 MB / 0.6116 GB, free: 8.719 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03085/1.187, allocations: 15.43 MB / 0.6266 GB, free: 10.67 MB / 408.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/1.187, allocations: 60.56 kB / 0.6267 GB, free: 10.6 MB / 408.6 MB Notification: Performance of pre-optimization done (n=292): time 1.034e-05/1.187, allocations: 0 / 0.6267 GB, free: 10.6 MB / 408.6 MB Notification: Performance of matching and sorting (n=342): time 0.2305/1.418, allocations: 29.09 MB / 0.6551 GB, free: 110.9 MB / 408.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.325e-05/1.418, allocations: 216.5 kB / 0.6553 GB, free: 110.6 MB / 408.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009216/1.427, allocations: 4.34 MB / 0.6595 GB, free: 110.2 MB / 408.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0006611/1.428, allocations: 29.5 kB / 0.6596 GB, free: 110.2 MB / 408.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.002834/1.431, allocations: 4.171 MB / 0.6636 GB, free: 108 MB / 408.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.001622/1.433, allocations: 1.227 MB / 0.6648 GB, free: 107.2 MB / 408.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/1.434, allocations: 0 / 0.6648 GB, free: 107.2 MB / 408.6 MB Notification: Performance of setup shared object (initialization): time 0.00078/1.435, allocations: 0.6964 MB / 0.6655 GB, free: 106.9 MB / 408.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008497/1.443, allocations: 4.526 MB / 0.6699 GB, free: 106.9 MB / 408.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01113/1.455, allocations: 9.706 MB / 0.6794 GB, free: 100.2 MB / 408.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01156/1.466, allocations: 6.583 MB / 0.6858 GB, free: 100.2 MB / 408.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001534/1.467, allocations: 55.55 kB / 0.6859 GB, free: 100.2 MB / 408.6 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.05413/1.521, allocations: 17.64 MB / 0.7031 GB, free: 96.93 MB / 408.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/1.521, allocations: 7.562 kB / 0.7031 GB, free: 96.93 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002264/1.521, allocations: 187.9 kB / 0.7033 GB, free: 96.93 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03134/1.553, allocations: 5.329 MB / 0.7085 GB, free: 96.11 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01013/1.563, allocations: 2.081 MB / 0.7105 GB, free: 95.86 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03667/1.6, allocations: 20.85 MB / 0.7309 GB, free: 86.09 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01032/1.61, allocations: 312.7 kB / 0.7312 GB, free: 86.07 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002031/1.612, allocations: 0.5262 MB / 0.7317 GB, free: 86 MB / 408.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006918/1.613, allocations: 85.78 kB / 0.7318 GB, free: 85.92 MB / 408.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001414/1.614, allocations: 480.8 kB / 0.7323 GB, free: 85.66 MB / 408.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04239/1.657, allocations: 12 MB / 0.744 GB, free: 79.09 MB / 408.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001479/1.657, allocations: 47.8 kB / 0.744 GB, free: 79.05 MB / 408.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.752e-05/1.657, allocations: 11.31 kB / 0.744 GB, free: 79.04 MB / 408.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.455e-05/1.657, allocations: 17.86 kB / 0.7441 GB, free: 79.04 MB / 408.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06258/1.72, allocations: 22.43 MB / 0.766 GB, free: 59.48 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.541e-05/1.72, allocations: 7.906 kB / 0.766 GB, free: 59.48 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00408/1.724, allocations: 0.5154 MB / 0.7665 GB, free: 58.96 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02566/1.75, allocations: 4.325 MB / 0.7707 GB, free: 54.66 MB / 408.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006585/1.751, allocations: 8 kB / 0.7707 GB, free: 54.65 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02842/1.779, allocations: 16.79 MB / 0.7871 GB, free: 37.68 MB / 408.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.39e-05/1.779, allocations: 11.84 kB / 0.7871 GB, free: 37.67 MB / 408.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1784/1.958, allocations: 17.18 MB / 0.8039 GB, free: 99.9 MB / 408.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00387/1.962, allocations: 1.185 MB / 0.805 GB, free: 99.8 MB / 408.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001927/1.964, allocations: 14.44 kB / 0.8051 GB, free: 99.8 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004882/1.969, allocations: 129 kB / 0.8052 GB, free: 99.8 MB / 408.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009663/1.97, allocations: 153.5 kB / 0.8053 GB, free: 99.8 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004455/1.971, allocations: 89.72 kB / 0.8054 GB, free: 99.8 MB / 408.6 MB Notification: Performance of sort global known variables: time 0.006694/1.977, allocations: 2.906 MB / 0.8082 GB, free: 99.62 MB / 408.6 MB Notification: Performance of remove unused functions: time 0.01073/1.988, allocations: 1.468 MB / 0.8097 GB, free: 99.62 MB / 408.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003074/1.989, allocations: 104.2 kB / 0.8098 GB, free: 99.57 MB / 408.6 MB Notification: Performance of simCode: created initialization part: time 0.01844/2.007, allocations: 10.23 MB / 0.8198 GB, free: 99.41 MB / 408.6 MB Notification: Performance of simCode: created event and clocks part: time 9.359e-06/2.007, allocations: 0 / 0.8198 GB, free: 99.41 MB / 408.6 MB Notification: Performance of simCode: created simulation system equations: time 0.007104/2.014, allocations: 3.855 MB / 0.8235 GB, free: 99.29 MB / 408.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003845/2.018, allocations: 451.7 kB / 0.824 GB, free: 99.27 MB / 408.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03597/2.054, allocations: 13.65 MB / 0.8373 GB, free: 97.07 MB / 408.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01313/2.068, allocations: 5.126 MB / 0.8423 GB, free: 96.21 MB / 408.6 MB Notification: Performance of SimCode: time 2.585e-06/2.068, allocations: 0 / 0.8423 GB, free: 96.21 MB / 408.6 MB Notification: Performance of Templates: time 0.1949/2.263, allocations: 77 MB / 0.9175 GB, free: 58.11 MB / 408.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.makefile clang -fPIC -O2 -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_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.o Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:2: ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:3892:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2_eqFunction_1246(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:3893:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2_eqFunction_1248(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:3894:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2_eqFunction_1250(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:3895:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2_eqFunction_1252(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:3896:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2_eqFunction_1253(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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.o] Error 1