Notification: Performance of loadModel(Modelica): time 1.498/1.498, allocations: 194.5 MB / 200.7 MB, free: 7.359 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 9.428e-06/9.569e-06, allocations: 1.312 kB / 247.3 MB, free: 5.531 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06266/0.06274, allocations: 44.36 MB / 291.7 MB, free: 11.72 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2979/0.3607, allocations: 72.6 MB / 364.3 MB, free: 7.418 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/0.3612, allocations: 75.97 kB / 364.4 MB, free: 7.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 0.02314/0.3845, allocations: 3.77 MB / 368.1 MB, free: 7.141 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.731e-05/0.3846, allocations: 7.75 kB / 368.1 MB, free: 7.141 MB / 298.7 MB Notification: Performance of Generate backend data structure: time 0.001081/0.3858, allocations: 0.4967 MB / 368.6 MB, free: 6.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.3859, allocations: 7.75 kB / 368.6 MB, free: 6.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.3861, allocations: 31.25 kB / 368.7 MB, free: 6.715 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004262/0.3866, allocations: 225.2 kB / 368.9 MB, free: 6.496 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.3868, allocations: 9.203 kB / 368.9 MB, free: 6.496 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.535e-05/0.3869, allocations: 23.25 kB / 368.9 MB, free: 6.488 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005937/0.3876, allocations: 132.7 kB / 369.1 MB, free: 6.484 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006235/0.3883, allocations: 173.3 kB / 369.2 MB, free: 6.441 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.457e-05/0.3884, allocations: 3.875 kB / 369.2 MB, free: 6.441 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.869e-05/0.3885, allocations: 0 / 369.2 MB, free: 6.441 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.3886, allocations: 5.062 kB / 369.2 MB, free: 6.441 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.3908, allocations: 0.6981 MB / 369.9 MB, free: 6.121 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005468/0.3915, allocations: 126.7 kB / 370.1 MB, free: 6.098 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003105/0.3919, allocations: 92.12 kB / 370.1 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.392, allocations: 3.875 kB / 370.2 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.3921, allocations: 34.12 kB / 370.2 MB, free: 6.051 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 4.889e-06/0.3922, allocations: 3.938 kB / 370.2 MB, free: 6.047 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.002187/0.3945, allocations: 0.7632 MB / 371 MB, free: 5.551 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.3946, allocations: 56.48 kB / 371 MB, free: 5.488 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.3949, allocations: 129.7 kB / 371.1 MB, free: 5.391 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.395, allocations: 25.7 kB / 371.2 MB, free: 5.359 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.445e-05/0.3952, allocations: 134.6 kB / 371.3 MB, free: 5.254 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.3954, allocations: 106.3 kB / 371.4 MB, free: 5.184 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.067e-05/0.3955, allocations: 0 / 371.4 MB, free: 5.184 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.3958, allocations: 332.7 kB / 371.7 MB, free: 20.87 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.3961, allocations: 55.06 kB / 371.8 MB, free: 20.87 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.3965, allocations: 92.62 kB / 371.9 MB, free: 20.83 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.3969, allocations: 69.55 kB / 371.9 MB, free: 20.83 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.33e-06/0.397, allocations: 0 / 371.9 MB, free: 20.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007794/0.3978, allocations: 206.2 kB / 372.1 MB, free: 20.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.3979, allocations: 12.73 kB / 372.1 MB, free: 20.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.398, allocations: 0 / 372.1 MB, free: 20.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.738e-05/0.3982, allocations: 3.844 kB / 372.1 MB, free: 20.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007653/0.399, allocations: 85.09 kB / 372.2 MB, free: 20.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.3991, allocations: 1.125 kB / 372.2 MB, free: 20.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003744/0.3996, allocations: 14.47 kB / 372.2 MB, free: 20.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.3997, allocations: 11.19 kB / 372.3 MB, free: 20.76 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.962e-05/0.3999, allocations: 75.28 kB / 372.3 MB, free: 20.69 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.4001, allocations: 24.97 kB / 372.4 MB, free: 20.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.4003, allocations: 17.69 kB / 372.4 MB, free: 20.67 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.4004, allocations: 7.781 kB / 372.4 MB, free: 20.67 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.4005, allocations: 7.938 kB / 372.4 MB, free: 20.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.4006, allocations: 5.562 kB / 372.4 MB, free: 20.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.4024, allocations: 0.554 MB / 372.9 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.403e-06/0.4025, allocations: 0 / 372.9 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008658/0.4035, allocations: 82.06 kB / 373 MB, free: 20.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.25e-05/0.4036, allocations: 3.906 kB / 373 MB, free: 20.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.093e-05/0.4037, allocations: 11.16 kB / 373 MB, free: 20.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.845e-06/0.4038, allocations: 0 / 373 MB, free: 20.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/0.4039, allocations: 1.266 kB / 373 MB, free: 20.36 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001025/0.405, allocations: 412.2 kB / 373.4 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.4052, allocations: 88.8 kB / 373.5 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.033e-05/0.4054, allocations: 3.875 kB / 373.5 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000447/0.4059, allocations: 10.69 kB / 373.5 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.996e-05/0.4061, allocations: 21.17 kB / 373.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.45e-05/0.4062, allocations: 12.33 kB / 373.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001399/0.4064, allocations: 101.6 kB / 373.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009151/0.4075, allocations: 49.75 kB / 373.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001376/0.4077, allocations: 75.08 kB / 373.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006333/0.4084, allocations: 156.6 kB / 374 MB, free: 19.9 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.378e-06/0.4085, allocations: 192 / 374 MB, free: 19.9 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002949/0.4089, allocations: 94.92 kB / 374 MB, free: 19.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007528/0.4097, allocations: 25.44 kB / 374.1 MB, free: 19.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.4121, allocations: 0.6639 MB / 374.7 MB, free: 19.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006469/0.4129, allocations: 0.786 MB / 375.5 MB, free: 18.75 MB / 314.7 MB Notification: Performance of SimCode: time 2.793e-06/0.4131, allocations: 0 / 375.5 MB, free: 18.75 MB / 314.7 MB Notification: Performance of Templates: time 0.04467/0.4578, allocations: 2.18 MB / 377.7 MB, free: 18.53 MB / 314.7 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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_Rotational_Examples_ElasticBearing -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.o Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.c In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.c:2: ./Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.ElasticBearing_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_ElasticBearing__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.ElasticBearing_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_ElasticBearing__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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.Rotational.Examples.ElasticBearing.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_ElasticBearing_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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.Rotational.Examples.ElasticBearing.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_ElasticBearing_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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.Rotational.Examples.ElasticBearing.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_ElasticBearing_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.Rotational.Examples.ElasticBearing.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_ElasticBearing_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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.Rotational.Examples.ElasticBearing.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_ElasticBearing_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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.Rotational.Examples.ElasticBearing.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_ElasticBearing_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.Rotational.Examples.ElasticBearing.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_ElasticBearing_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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.Rotational.Examples.ElasticBearing.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_ElasticBearing_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_ElasticBearing_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.Rotational.Examples.ElasticBearing.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_ElasticBearing_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_ElasticBearing_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.c:498:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_ElasticBearing_eqFunction_39(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.c:499:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_ElasticBearing_eqFunction_40(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.c:500:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_ElasticBearing_eqFunction_41(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.c:501:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_ElasticBearing_eqFunction_43(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.c:502:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_ElasticBearing_eqFunction_45(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.Rotational.Examples.ElasticBearing.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.o] Error 1