Notification: Performance of loadModel(Modelica): time 1.528/1.528, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.013e-05/1.02e-05, allocations: 1.125 kB / 247.7 MB, free: 4.414 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0611/0.06118, allocations: 44.36 MB / 292 MB, free: 8.98 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2803/0.3416, allocations: 91.96 MB / 384 MB, free: 3.824 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003986/0.3421, allocations: 92.56 kB / 384.1 MB, free: 3.809 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.4452/0.7874, allocations: 102.6 MB / 486.6 MB, free: 12.07 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0002891/0.7878, allocations: 108 kB / 486.7 MB, free: 11.97 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.01657/0.8044, allocations: 5.224 MB / 492 MB, free: 6.676 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.8046, allocations: 8.031 kB / 492 MB, free: 6.668 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03778/0.8424, allocations: 6.563 MB / 498.5 MB, free: 84 kB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1412/0.9837, allocations: 6.885 MB / 0.4936 GB, free: 107.7 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002517/0.9841, allocations: 176.8 kB / 0.4937 GB, free: 107.7 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001928/0.9861, allocations: 325.4 kB / 0.4941 GB, free: 107.7 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01559/1.002, allocations: 7.799 MB / 0.5017 GB, free: 107.7 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02306/1.025, allocations: 11.55 MB / 0.5129 GB, free: 104.6 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002668/1.025, allocations: 76.91 kB / 0.513 GB, free: 104.6 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0016/1.027, allocations: 40.81 kB / 0.5131 GB, free: 104.6 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001659/1.029, allocations: 1.203 MB / 0.5142 GB, free: 104.6 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06976/1.099, allocations: 57.19 MB / 0.5701 GB, free: 67.52 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005262/1.104, allocations: 3.606 MB / 0.5736 GB, free: 65.62 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003703/1.108, allocations: 2.563 MB / 0.5761 GB, free: 64.49 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01488/1.123, allocations: 7.999 MB / 0.5839 GB, free: 60.16 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/1.123, allocations: 51.78 kB / 0.584 GB, free: 60.11 MB / 392.6 MB Notification: Performance of pre-optimization done (n=192): time 8.52e-06/1.123, allocations: 0 / 0.584 GB, free: 60.11 MB / 392.6 MB Notification: Performance of matching and sorting (n=218): time 0.05117/1.174, allocations: 18.06 MB / 0.6016 GB, free: 50.56 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/1.174, allocations: 201.2 kB / 0.6018 GB, free: 50.32 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007363/1.182, allocations: 3.719 MB / 0.6054 GB, free: 47.04 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0003655/1.182, allocations: 25.7 kB / 0.6054 GB, free: 47.01 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.002226/1.184, allocations: 3.461 MB / 0.6088 GB, free: 43.9 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009822/1.186, allocations: 0.8084 MB / 0.6096 GB, free: 43.18 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005566/1.186, allocations: 0 / 0.6096 GB, free: 43.18 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.00041/1.187, allocations: 0.5912 MB / 0.6102 GB, free: 42.66 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00416/1.191, allocations: 2.178 MB / 0.6123 GB, free: 40.7 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006212/1.197, allocations: 6.255 MB / 0.6184 GB, free: 32.83 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006664/1.204, allocations: 3.703 MB / 0.622 GB, free: 29.66 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.464e-05/1.204, allocations: 40 kB / 0.6221 GB, free: 29.62 MB / 392.6 MB Notification: Performance of matching and sorting (n=887) (initialization): time 0.01997/1.224, allocations: 8.161 MB / 0.6301 GB, free: 22.49 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/1.224, allocations: 4 kB / 0.6301 GB, free: 22.49 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00019/1.225, allocations: 148.1 kB / 0.6302 GB, free: 22.34 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003752/1.228, allocations: 0.9215 MB / 0.6311 GB, free: 21.6 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007515/1.236, allocations: 1.543 MB / 0.6326 GB, free: 20.25 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/1.247, allocations: 6.902 MB / 0.6393 GB, free: 13.79 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006993/1.254, allocations: 209.4 kB / 0.6395 GB, free: 13.6 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001196/1.255, allocations: 414.2 kB / 0.6399 GB, free: 13.21 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002769/1.256, allocations: 75.28 kB / 0.64 GB, free: 13.13 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008829/1.257, allocations: 398.8 kB / 0.6404 GB, free: 12.74 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00823/1.265, allocations: 3.43 MB / 0.6437 GB, free: 9.902 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.543e-05/1.265, allocations: 20 kB / 0.6438 GB, free: 9.883 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.97e-05/1.265, allocations: 8 kB / 0.6438 GB, free: 9.875 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.562e-05/1.265, allocations: 15.06 kB / 0.6438 GB, free: 9.871 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02029/1.286, allocations: 8.198 MB / 0.6518 GB, free: 3.18 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-05/1.286, allocations: 4 kB / 0.6518 GB, free: 3.176 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002461/1.288, allocations: 335 kB / 0.6521 GB, free: 2.898 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003136/1.291, allocations: 0.6646 MB / 0.6528 GB, free: 2.414 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003267/1.292, allocations: 15.61 kB / 0.6528 GB, free: 2.402 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1404/1.432, allocations: 6.033 MB / 0.6587 GB, free: 94.36 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/1.432, allocations: 10.28 kB / 0.6587 GB, free: 94.36 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01207/1.445, allocations: 6.259 MB / 0.6648 GB, free: 93.77 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002088/1.447, allocations: 0.6993 MB / 0.6655 GB, free: 93.68 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001063/1.448, allocations: 3.844 kB / 0.6655 GB, free: 93.68 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002885/1.451, allocations: 52.05 kB / 0.6655 GB, free: 93.68 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004707/1.451, allocations: 102 kB / 0.6656 GB, free: 93.68 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001959/1.452, allocations: 57.42 kB / 0.6657 GB, free: 93.68 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.005265/1.457, allocations: 2.531 MB / 0.6682 GB, free: 93.5 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.007256/1.464, allocations: 1.022 MB / 0.6691 GB, free: 93.5 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002438/1.465, allocations: 97.17 kB / 0.6692 GB, free: 93.44 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.009909/1.475, allocations: 5.43 MB / 0.6745 GB, free: 93.21 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 8.591e-06/1.475, allocations: 6.594 kB / 0.6745 GB, free: 93.21 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.003708/1.479, allocations: 1.865 MB / 0.6764 GB, free: 93 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002927/1.482, allocations: 434.8 kB / 0.6768 GB, free: 92.98 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02242/1.504, allocations: 9.336 MB / 0.6859 GB, free: 91.23 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008944/1.513, allocations: 4.399 MB / 0.6902 GB, free: 90.4 MB / 392.6 MB Notification: Performance of SimCode: time 2.375e-06/1.513, allocations: 5.578 kB / 0.6902 GB, free: 90.4 MB / 392.6 MB Notification: Performance of Templates: time 0.1356/1.649, allocations: 42.46 MB / 0.7317 GB, free: 85.86 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.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_Rotational3DEffects_GearConstraint -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.o Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.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.Rotational3DEffects.GearConstraint.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.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.Rotational3DEffects.GearConstraint.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.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.Rotational3DEffects.GearConstraint.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint_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.Rotational3DEffects.GearConstraint.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.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.Rotational3DEffects.GearConstraint.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.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.Rotational3DEffects.GearConstraint.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint_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.Rotational3DEffects.GearConstraint.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.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.Rotational3DEffects.GearConstraint.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.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_Rotational3DEffects_GearConstraint_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.Rotational3DEffects.GearConstraint.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.c:2618:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint_eqFunction_900(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.c:2619:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint_eqFunction_902(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.c:2620:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint_eqFunction_904(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.c:2621:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint_eqFunction_921(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.c:2622:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint_eqFunction_925(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.Rotational3DEffects.GearConstraint.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.o] Error 1