Notification: Performance of loadModel(Modelica): time 1.487/1.487, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.104e-05/1.118e-05, allocations: 2.312 kB / 247.7 MB, free: 4.352 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06086/0.06094, allocations: 44.36 MB / 292.1 MB, free: 8.918 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2468/0.3078, allocations: 93.34 MB / 385.4 MB, free: 3.215 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.3082, allocations: 95.27 kB / 385.5 MB, free: 3.195 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.5927/0.901, allocations: 121.9 MB / 0.4956 GB, free: 72.42 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0002327/0.9013, allocations: 114.1 kB / 0.4957 GB, free: 72.42 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.01656/0.9179, allocations: 6.143 MB / 0.5017 GB, free: 70.13 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.9181, allocations: 10.59 kB / 0.5017 GB, free: 70.13 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04316/0.9613, allocations: 7.633 MB / 0.5091 GB, free: 69.71 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02191/0.9833, allocations: 7.313 MB / 0.5163 GB, free: 68.94 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002315/0.9836, allocations: 190.2 kB / 0.5164 GB, free: 68.94 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001873/0.9856, allocations: 347.5 kB / 0.5168 GB, free: 68.94 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01895/1.005, allocations: 10.39 MB / 0.5269 GB, free: 68.9 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02634/1.031, allocations: 14.31 MB / 0.5409 GB, free: 65.78 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002129/1.031, allocations: 64.66 kB / 0.541 GB, free: 65.77 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001075/1.032, allocations: 37.34 kB / 0.541 GB, free: 65.77 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002131/1.035, allocations: 1.724 MB / 0.5427 GB, free: 65.76 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08369/1.118, allocations: 62.35 MB / 0.6036 GB, free: 16.25 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006545/1.125, allocations: 4.614 MB / 0.6081 GB, free: 11.88 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005198/1.13, allocations: 3.564 MB / 0.6116 GB, free: 8.594 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03012/1.161, allocations: 15.43 MB / 0.6266 GB, free: 10.59 MB / 408.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.05e-05/1.161, allocations: 68.5 kB / 0.6267 GB, free: 10.51 MB / 408.6 MB Notification: Performance of pre-optimization done (n=292): time 1.062e-05/1.161, allocations: 0 / 0.6267 GB, free: 10.51 MB / 408.6 MB Notification: Performance of matching and sorting (n=342): time 0.2235/1.384, allocations: 29.09 MB / 0.6551 GB, free: 110.9 MB / 408.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.738e-05/1.385, allocations: 217.6 kB / 0.6553 GB, free: 110.7 MB / 408.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008404/1.393, allocations: 4.346 MB / 0.6595 GB, free: 110.3 MB / 408.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0006549/1.394, allocations: 25.7 kB / 0.6596 GB, free: 110.3 MB / 408.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.002768/1.397, allocations: 4.168 MB / 0.6636 GB, free: 108 MB / 408.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.001529/1.398, allocations: 1.231 MB / 0.6648 GB, free: 107.3 MB / 408.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008582/1.399, allocations: 3.172 kB / 0.6648 GB, free: 107.3 MB / 408.6 MB Notification: Performance of setup shared object (initialization): time 0.0005372/1.4, allocations: 0.6979 MB / 0.6655 GB, free: 107 MB / 408.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008125/1.408, allocations: 4.518 MB / 0.6699 GB, free: 107 MB / 408.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01073/1.419, allocations: 9.712 MB / 0.6794 GB, free: 100.3 MB / 408.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0116/1.431, allocations: 6.578 MB / 0.6859 GB, free: 100.2 MB / 408.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001448/1.431, allocations: 59.12 kB / 0.6859 GB, free: 100.2 MB / 408.6 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.05486/1.486, allocations: 17.64 MB / 0.7031 GB, free: 97 MB / 408.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/1.486, allocations: 3.844 kB / 0.7031 GB, free: 97 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002284/1.486, allocations: 188.3 kB / 0.7033 GB, free: 97 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03043/1.517, allocations: 5.333 MB / 0.7085 GB, free: 96.18 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01004/1.527, allocations: 2.081 MB / 0.7106 GB, free: 95.93 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0364/1.563, allocations: 20.86 MB / 0.7309 GB, free: 86.16 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01025/1.574, allocations: 315.1 kB / 0.7312 GB, free: 86.14 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001855/1.576, allocations: 0.5297 MB / 0.7317 GB, free: 86.07 MB / 408.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005135/1.576, allocations: 79.28 kB / 0.7318 GB, free: 85.99 MB / 408.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001208/1.577, allocations: 482.8 kB / 0.7323 GB, free: 85.73 MB / 408.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04176/1.619, allocations: 12 MB / 0.744 GB, free: 79.02 MB / 408.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001377/1.62, allocations: 51.89 kB / 0.7441 GB, free: 78.97 MB / 408.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.458e-05/1.62, allocations: 8 kB / 0.7441 GB, free: 78.96 MB / 408.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-05/1.62, allocations: 15 kB / 0.7441 GB, free: 78.96 MB / 408.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06088/1.681, allocations: 22.42 MB / 0.766 GB, free: 59.35 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.534e-05/1.681, allocations: 8 kB / 0.766 GB, free: 59.34 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004181/1.685, allocations: 0.5109 MB / 0.7665 GB, free: 58.83 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02628/1.711, allocations: 4.331 MB / 0.7707 GB, free: 54.52 MB / 408.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007159/1.712, allocations: 11.98 kB / 0.7707 GB, free: 54.51 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02874/1.741, allocations: 16.79 MB / 0.7871 GB, free: 37.53 MB / 408.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.355e-05/1.741, allocations: 15.84 kB / 0.7871 GB, free: 37.52 MB / 408.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1794/1.921, allocations: 17.18 MB / 0.8039 GB, free: 100.1 MB / 408.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003565/1.924, allocations: 1.189 MB / 0.8051 GB, free: 99.99 MB / 408.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001804/1.926, allocations: 9.75 kB / 0.8051 GB, free: 99.99 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004864/1.931, allocations: 129.4 kB / 0.8052 GB, free: 99.99 MB / 408.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009156/1.932, allocations: 161.5 kB / 0.8054 GB, free: 99.99 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004434/1.933, allocations: 81.84 kB / 0.8054 GB, free: 99.99 MB / 408.6 MB Notification: Performance of sort global known variables: time 0.005934/1.939, allocations: 2.909 MB / 0.8083 GB, free: 99.81 MB / 408.6 MB Notification: Performance of remove unused functions: time 0.01022/1.949, allocations: 1.472 MB / 0.8097 GB, free: 99.81 MB / 408.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002846/1.949, allocations: 100.4 kB / 0.8098 GB, free: 99.75 MB / 408.6 MB Notification: Performance of simCode: created initialization part: time 0.0184/1.968, allocations: 10.22 MB / 0.8198 GB, free: 99.59 MB / 408.6 MB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/1.968, allocations: 3.5 kB / 0.8198 GB, free: 99.59 MB / 408.6 MB Notification: Performance of simCode: created simulation system equations: time 0.007077/1.975, allocations: 3.863 MB / 0.8236 GB, free: 99.47 MB / 408.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003625/1.979, allocations: 453 kB / 0.824 GB, free: 99.45 MB / 408.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0338/2.013, allocations: 13.65 MB / 0.8373 GB, free: 97.26 MB / 408.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01223/2.025, allocations: 5.132 MB / 0.8423 GB, free: 96.4 MB / 408.6 MB Notification: Performance of SimCode: time 2.584e-06/2.025, allocations: 0 / 0.8423 GB, free: 96.4 MB / 408.6 MB Notification: Performance of Templates: time 0.2228/2.248, allocations: 76.99 MB / 0.9175 GB, free: 57.91 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