Notification: Performance of loadModel(Modelica): time 1.467/1.467, allocations: 194.5 MB / 200.7 MB, free: 8.336 MB / 174.2 MB Notification: Performance of FrontEnd - loaded program: time 1.069e-05/1.076e-05, allocations: 4 kB / 247.7 MB, free: 9.078 MB / 206.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06139/0.06147, allocations: 44.35 MB / 292.1 MB, free: 12.64 MB / 254.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2405/0.3021, allocations: 93.35 MB / 385.4 MB, free: 5.074 MB / 302.2 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.3025, allocations: 94.94 kB / 385.5 MB, free: 5.023 MB / 302.2 MB Notification: Performance of FrontEnd: time 0.5857/0.8882, allocations: 121.9 MB / 0.4955 GB, free: 76.67 MB / 398.2 MB Notification: Performance of Transformations before backend: time 0.000283/0.8886, allocations: 117.5 kB / 0.4957 GB, free: 76.67 MB / 398.2 MB Notification: Performance of Generate backend data structure: time 0.0191/0.9078, allocations: 6.151 MB / 0.5017 GB, free: 74.27 MB / 398.2 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.9079, allocations: 11.09 kB / 0.5017 GB, free: 74.27 MB / 398.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0433/0.9513, allocations: 7.627 MB / 0.5091 GB, free: 73.85 MB / 398.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02143/0.9728, allocations: 7.312 MB / 0.5163 GB, free: 73.09 MB / 398.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002978/0.9732, allocations: 188.8 kB / 0.5164 GB, free: 73.09 MB / 398.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002375/0.9757, allocations: 349.4 kB / 0.5168 GB, free: 73.08 MB / 398.2 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02006/0.9958, allocations: 10.39 MB / 0.5269 GB, free: 73.05 MB / 398.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02903/1.025, allocations: 14.32 MB / 0.5409 GB, free: 69.12 MB / 398.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003225/1.025, allocations: 68.84 kB / 0.541 GB, free: 69.12 MB / 398.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002308/1.028, allocations: 34.94 kB / 0.541 GB, free: 69.12 MB / 398.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002484/1.03, allocations: 1.727 MB / 0.5427 GB, free: 68.84 MB / 398.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08323/1.114, allocations: 62.35 MB / 0.6036 GB, free: 18.67 MB / 398.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00672/1.12, allocations: 4.612 MB / 0.6081 GB, free: 14.3 MB / 398.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005559/1.126, allocations: 3.554 MB / 0.6115 GB, free: 11.01 MB / 398.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02936/1.156, allocations: 15.42 MB / 0.6266 GB, free: 12.97 MB / 414.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/1.156, allocations: 64.12 kB / 0.6267 GB, free: 12.9 MB / 414.2 MB Notification: Performance of pre-optimization done (n=292): time 9.918e-06/1.156, allocations: 0 / 0.6267 GB, free: 12.9 MB / 414.2 MB Notification: Performance of matching and sorting (n=342): time 0.2243/1.38, allocations: 29.1 MB / 0.6551 GB, free: 121.7 MB / 414.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.99e-05/1.38, allocations: 225 kB / 0.6553 GB, free: 121.4 MB / 414.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008308/1.389, allocations: 4.336 MB / 0.6595 GB, free: 121 MB / 414.2 MB Notification: Performance of collectPreVariables (initialization): time 0.0006466/1.389, allocations: 25.7 kB / 0.6596 GB, free: 121 MB / 414.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.002877/1.392, allocations: 4.171 MB / 0.6636 GB, free: 118.8 MB / 414.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.001609/1.394, allocations: 1.228 MB / 0.6648 GB, free: 118 MB / 414.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008898/1.395, allocations: 3.906 kB / 0.6648 GB, free: 118 MB / 414.2 MB Notification: Performance of setup shared object (initialization): time 0.0006122/1.396, allocations: 0.6995 MB / 0.6655 GB, free: 117.7 MB / 414.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00839/1.404, allocations: 4.523 MB / 0.6699 GB, free: 117.7 MB / 414.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01077/1.415, allocations: 9.704 MB / 0.6794 GB, free: 111 MB / 414.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01142/1.427, allocations: 6.58 MB / 0.6858 GB, free: 110.9 MB / 414.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001614/1.427, allocations: 53.62 kB / 0.6859 GB, free: 110.9 MB / 414.2 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.05505/1.482, allocations: 17.65 MB / 0.7031 GB, free: 107.2 MB / 414.2 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/1.482, allocations: 9.75 kB / 0.7031 GB, free: 107.2 MB / 414.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00024/1.482, allocations: 184 kB / 0.7033 GB, free: 107.2 MB / 414.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03092/1.513, allocations: 5.329 MB / 0.7085 GB, free: 106.4 MB / 414.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01032/1.524, allocations: 2.08 MB / 0.7105 GB, free: 106.1 MB / 414.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03712/1.561, allocations: 20.87 MB / 0.7309 GB, free: 96.34 MB / 414.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01038/1.571, allocations: 317.3 kB / 0.7312 GB, free: 96.32 MB / 414.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001911/1.574, allocations: 0.5315 MB / 0.7317 GB, free: 95.89 MB / 414.2 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006781/1.574, allocations: 75.28 kB / 0.7318 GB, free: 95.81 MB / 414.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001232/1.576, allocations: 481.7 kB / 0.7323 GB, free: 95.34 MB / 414.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04042/1.616, allocations: 12.01 MB / 0.744 GB, free: 86.36 MB / 414.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001456/1.616, allocations: 47.89 kB / 0.744 GB, free: 86.31 MB / 414.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-05/1.616, allocations: 12 kB / 0.7441 GB, free: 86.3 MB / 414.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.805e-05/1.617, allocations: 11.25 kB / 0.7441 GB, free: 86.3 MB / 414.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06169/1.678, allocations: 22.43 MB / 0.766 GB, free: 67.2 MB / 414.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.618e-05/1.678, allocations: 11.94 kB / 0.766 GB, free: 67.2 MB / 414.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004154/1.683, allocations: 0.5108 MB / 0.7665 GB, free: 66.69 MB / 414.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02594/1.709, allocations: 4.32 MB / 0.7707 GB, free: 62.39 MB / 414.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007075/1.709, allocations: 16 kB / 0.7707 GB, free: 62.38 MB / 414.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02905/1.739, allocations: 16.79 MB / 0.7871 GB, free: 45.36 MB / 414.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.25e-05/1.739, allocations: 11.94 kB / 0.7871 GB, free: 45.35 MB / 414.2 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04316/1.782, allocations: 17.18 MB / 0.8039 GB, free: 27.88 MB / 414.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003515/1.786, allocations: 1.19 MB / 0.8051 GB, free: 26.66 MB / 414.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001745/1.787, allocations: 4.062 kB / 0.8051 GB, free: 26.66 MB / 414.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004833/1.792, allocations: 131.8 kB / 0.8052 GB, free: 26.53 MB / 414.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009412/1.793, allocations: 145.7 kB / 0.8053 GB, free: 26.39 MB / 414.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005109/1.794, allocations: 91.98 kB / 0.8054 GB, free: 26.3 MB / 414.2 MB Notification: Performance of sort global known variables: time 0.1408/1.935, allocations: 2.91 MB / 0.8083 GB, free: 112.5 MB / 414.2 MB Notification: Performance of remove unused functions: time 0.01019/1.945, allocations: 1.466 MB / 0.8097 GB, free: 112.5 MB / 414.2 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002915/1.946, allocations: 116.7 kB / 0.8098 GB, free: 112.4 MB / 414.2 MB Notification: Performance of simCode: created initialization part: time 0.01824/1.964, allocations: 10.22 MB / 0.8198 GB, free: 112.3 MB / 414.2 MB Notification: Performance of simCode: created event and clocks part: time 9.359e-06/1.964, allocations: 7.031 kB / 0.8198 GB, free: 112.3 MB / 414.2 MB Notification: Performance of simCode: created simulation system equations: time 0.006907/1.971, allocations: 3.852 MB / 0.8235 GB, free: 112.1 MB / 414.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003512/1.974, allocations: 456.3 kB / 0.824 GB, free: 112.1 MB / 414.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.033/2.008, allocations: 13.66 MB / 0.8373 GB, free: 109.9 MB / 414.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01263/2.02, allocations: 5.125 MB / 0.8423 GB, free: 109.1 MB / 414.2 MB Notification: Performance of SimCode: time 3.003e-06/2.02, allocations: 0 / 0.8423 GB, free: 109.1 MB / 414.2 MB Notification: Performance of Templates: time 0.166/2.187, allocations: 76.99 MB / 0.9175 GB, free: 69.89 MB / 414.2 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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_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_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.o Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:3892:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2_eqFunction_1246(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:3893:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2_eqFunction_1248(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:3894:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2_eqFunction_1250(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:3895:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2_eqFunction_1252(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.c:3896:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.o] Error 1