Notification: Performance of loadModel(Modelica): time 1.492/1.492, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.219e-06/9.359e-06, allocations: 1.25 kB / 247.3 MB, free: 4.734 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06255/0.06263, allocations: 44.38 MB / 291.7 MB, free: 9.305 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2276/0.2904, allocations: 72.25 MB / 364 MB, free: 7.039 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.2907, allocations: 70.19 kB / 364 MB, free: 7.035 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.01403/0.3048, allocations: 3.336 MB / 367.4 MB, free: 6.797 MB / 296.6 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.305, allocations: 7.844 kB / 367.4 MB, free: 6.793 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.0005628/0.3056, allocations: 471.1 kB / 367.8 MB, free: 6.395 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.3057, allocations: 7.719 kB / 367.8 MB, free: 6.395 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.579e-05/0.3058, allocations: 27.09 kB / 367.9 MB, free: 6.383 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.3061, allocations: 228 kB / 368.1 MB, free: 6.16 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.3062, allocations: 11.78 kB / 368.1 MB, free: 6.156 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.561e-05/0.3063, allocations: 10.97 kB / 368.1 MB, free: 6.156 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003144/0.3067, allocations: 108 kB / 368.2 MB, free: 6.152 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003457/0.3071, allocations: 169.5 kB / 368.4 MB, free: 6.098 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.3072, allocations: 8.469 kB / 368.4 MB, free: 6.09 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.3073, allocations: 0 / 368.4 MB, free: 6.09 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.3073, allocations: 7.797 kB / 368.4 MB, free: 6.086 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.3085, allocations: 0.6545 MB / 369.1 MB, free: 5.727 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.3088, allocations: 97.56 kB / 369.1 MB, free: 5.703 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.309, allocations: 59.88 kB / 369.2 MB, free: 5.695 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.309, allocations: 4 kB / 369.2 MB, free: 5.691 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.3091, allocations: 39.06 kB / 369.2 MB, free: 5.652 MB / 296.6 MB Notification: Performance of pre-optimization done (n=20): time 3.143e-06/0.3092, allocations: 0 / 369.2 MB, free: 5.652 MB / 296.6 MB Notification: Performance of matching and sorting (n=24): time 0.00152/0.3107, allocations: 0.7455 MB / 370 MB, free: 5.16 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.3108, allocations: 59.28 kB / 370.1 MB, free: 5.094 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.311, allocations: 140.9 kB / 370.2 MB, free: 5 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.3111, allocations: 25.7 kB / 370.2 MB, free: 4.969 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.3112, allocations: 136 kB / 370.3 MB, free: 4.863 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 5.385e-05/0.3113, allocations: 81.44 kB / 370.4 MB, free: 4.805 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.222e-05/0.3114, allocations: 0 / 370.4 MB, free: 4.805 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3116, allocations: 331.9 kB / 370.7 MB, free: 20.49 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.3118, allocations: 42.44 kB / 370.8 MB, free: 20.49 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.312, allocations: 102.7 kB / 370.9 MB, free: 20.44 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.3122, allocations: 56.61 kB / 370.9 MB, free: 20.43 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.073e-06/0.3122, allocations: 0 / 370.9 MB, free: 20.43 MB / 312.6 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000515/0.3128, allocations: 214.9 kB / 371.2 MB, free: 20.37 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3129, allocations: 3.875 kB / 371.2 MB, free: 20.37 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.313, allocations: 3.969 kB / 371.2 MB, free: 20.37 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002186/0.3132, allocations: 34.22 kB / 371.2 MB, free: 20.36 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/0.3136, allocations: 54.36 kB / 371.3 MB, free: 20.36 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.3151, allocations: 1.312 MB / 372.6 MB, free: 19.14 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.3153, allocations: 9.375 kB / 372.6 MB, free: 19.14 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.3154, allocations: 12.42 kB / 372.6 MB, free: 19.14 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 5.622e-05/0.3155, allocations: 75.28 kB / 372.7 MB, free: 19.07 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.586e-05/0.3157, allocations: 19.56 kB / 372.7 MB, free: 19.05 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.167e-05/0.3158, allocations: 26.38 kB / 372.7 MB, free: 19.05 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.727e-06/0.3158, allocations: 3.875 kB / 372.7 MB, free: 19.05 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.914e-06/0.3159, allocations: 0 / 372.7 MB, free: 19.05 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.705e-06/0.3159, allocations: 1.031 kB / 372.7 MB, free: 19.05 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.3171, allocations: 0.5856 MB / 373.3 MB, free: 18.7 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.3171, allocations: 0 / 373.3 MB, free: 18.7 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00032/0.3175, allocations: 49.08 kB / 373.3 MB, free: 18.7 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001733/0.3178, allocations: 41.58 kB / 373.4 MB, free: 18.69 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.3179, allocations: 0.6094 kB / 373.4 MB, free: 18.69 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/0.3192, allocations: 1.325 MB / 374.7 MB, free: 17.47 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.3193, allocations: 0 / 374.7 MB, free: 17.47 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000573/0.3199, allocations: 387.5 kB / 375.1 MB, free: 17.26 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 5.259e-05/0.32, allocations: 97.17 kB / 375.2 MB, free: 17.16 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.009e-05/0.3201, allocations: 0.5625 kB / 375.2 MB, free: 17.16 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.3204, allocations: 4.656 kB / 375.2 MB, free: 17.16 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.3205, allocations: 20.47 kB / 375.2 MB, free: 17.15 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.3206, allocations: 8.438 kB / 375.2 MB, free: 17.15 MB / 312.6 MB Notification: Performance of sort global known variables: time 8.744e-05/0.3207, allocations: 115.8 kB / 375.3 MB, free: 17.07 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.00049/0.3213, allocations: 50.59 kB / 375.4 MB, free: 17.07 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 7.899e-05/0.3214, allocations: 70.66 kB / 375.4 MB, free: 17.02 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0005223/0.322, allocations: 246.7 kB / 375.7 MB, free: 16.91 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.283e-06/0.3221, allocations: 0 / 375.7 MB, free: 16.91 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0003191/0.3224, allocations: 193.9 kB / 375.9 MB, free: 16.8 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.3229, allocations: 32.33 kB / 375.9 MB, free: 16.79 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.3242, allocations: 0.5126 MB / 376.4 MB, free: 16.48 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.3245, allocations: 0.7679 MB / 377.2 MB, free: 15.77 MB / 312.6 MB Notification: Performance of SimCode: time 2.584e-06/0.3246, allocations: 0 / 377.2 MB, free: 15.77 MB / 312.6 MB Notification: Performance of Templates: time 0.03295/0.3576, allocations: 2.287 MB / 379.5 MB, free: 15.3 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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_Rotational_Examples_FirstGrounded -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.Rotational.Examples.FirstGrounded.o Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.FirstGrounded_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_FirstGrounded__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.FirstGrounded_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_FirstGrounded__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.Rotational.Examples.FirstGrounded.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_FirstGrounded_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.Rotational.Examples.FirstGrounded.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_FirstGrounded_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.Rotational.Examples.FirstGrounded.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_FirstGrounded_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.Rotational.Examples.FirstGrounded.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_FirstGrounded_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.Rotational.Examples.FirstGrounded.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_FirstGrounded_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.Rotational.Examples.FirstGrounded.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_FirstGrounded_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.Rotational.Examples.FirstGrounded.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_FirstGrounded_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.Rotational.Examples.FirstGrounded.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_FirstGrounded_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_FirstGrounded_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.Rotational.Examples.FirstGrounded.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_FirstGrounded_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_FirstGrounded_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.c:409:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_FirstGrounded_eqFunction_40(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.c:410:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_FirstGrounded_eqFunction_42(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.c:411:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_FirstGrounded_eqFunction_43(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.c:412:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_FirstGrounded_eqFunction_46(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.c:413:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_FirstGrounded_eqFunction_48(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.Rotational.Examples.FirstGrounded.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.o] Error 1