Notification: Performance of loadModel(Modelica): time 1.505/1.505, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.939e-06/9.01e-06, allocations: 1.375 kB / 247.7 MB, free: 4.391 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06096/0.06104, allocations: 44.36 MB / 292 MB, free: 8.969 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2447/0.3058, allocations: 91.95 MB / 384 MB, free: 3.727 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.3062, allocations: 92.72 kB / 384.1 MB, free: 3.711 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.3898/0.696, allocations: 102.6 MB / 486.6 MB, free: 12.08 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0002875/0.6964, allocations: 108 kB / 486.7 MB, free: 11.98 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.01696/0.7135, allocations: 5.224 MB / 492 MB, free: 6.68 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.7136, allocations: 12.03 kB / 492 MB, free: 6.668 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03802/0.7517, allocations: 6.571 MB / 498.5 MB, free: 80 kB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1808/0.9326, allocations: 6.877 MB / 0.4936 GB, free: 61.22 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002617/0.933, allocations: 177.1 kB / 0.4937 GB, free: 61.22 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001942/0.935, allocations: 323.8 kB / 0.4941 GB, free: 61.21 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01564/0.9507, allocations: 7.797 MB / 0.5017 GB, free: 61.18 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02268/0.9735, allocations: 11.55 MB / 0.5129 GB, free: 58.12 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003049/0.9739, allocations: 80.7 kB / 0.513 GB, free: 58.12 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001705/0.9757, allocations: 31.25 kB / 0.5131 GB, free: 58.12 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001703/0.9774, allocations: 1.209 MB / 0.5142 GB, free: 58.11 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0686/1.046, allocations: 57.2 MB / 0.5701 GB, free: 21.76 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005265/1.051, allocations: 3.608 MB / 0.5736 GB, free: 19.86 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003832/1.055, allocations: 2.56 MB / 0.5761 GB, free: 18.72 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01639/1.072, allocations: 7.981 MB / 0.5839 GB, free: 14.41 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/1.072, allocations: 53.78 kB / 0.584 GB, free: 14.36 MB / 392.6 MB Notification: Performance of pre-optimization done (n=192): time 9.708e-06/1.072, allocations: 3.938 kB / 0.584 GB, free: 14.36 MB / 392.6 MB Notification: Performance of matching and sorting (n=218): time 0.05206/1.124, allocations: 18.06 MB / 0.6016 GB, free: 1.75 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/1.124, allocations: 205.2 kB / 0.6018 GB, free: 1.508 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0124/1.137, allocations: 3.962 MB / 0.6057 GB, free: 14.83 MB / 408.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0003468/1.137, allocations: 25.7 kB / 0.6057 GB, free: 14.8 MB / 408.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.002283/1.14, allocations: 3.466 MB / 0.6091 GB, free: 11.69 MB / 408.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.001097/1.141, allocations: 0.8109 MB / 0.6099 GB, free: 10.96 MB / 408.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004758/1.141, allocations: 0 / 0.6099 GB, free: 10.96 MB / 408.6 MB Notification: Performance of setup shared object (initialization): time 0.000366/1.142, allocations: 0.5958 MB / 0.6105 GB, free: 10.45 MB / 408.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004368/1.146, allocations: 2.17 MB / 0.6126 GB, free: 8.492 MB / 408.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007041/1.153, allocations: 6.26 MB / 0.6187 GB, free: 0.6016 MB / 408.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009026/1.163, allocations: 3.791 MB / 0.6224 GB, free: 13.68 MB / 424.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.982e-05/1.163, allocations: 44 kB / 0.6224 GB, free: 13.64 MB / 424.6 MB Notification: Performance of matching and sorting (n=887) (initialization): time 0.02219/1.185, allocations: 8.156 MB / 0.6304 GB, free: 6.52 MB / 424.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/1.185, allocations: 4 kB / 0.6304 GB, free: 6.516 MB / 424.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002931/1.186, allocations: 148 kB / 0.6305 GB, free: 6.371 MB / 424.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006144/1.192, allocations: 0.9243 MB / 0.6314 GB, free: 5.629 MB / 424.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01283/1.205, allocations: 1.546 MB / 0.633 GB, free: 4.277 MB / 424.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1814/1.386, allocations: 6.881 MB / 0.6397 GB, free: 78.9 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007015/1.393, allocations: 205.9 kB / 0.6399 GB, free: 78.9 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001289/1.395, allocations: 415.6 kB / 0.6403 GB, free: 78.9 MB / 424.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002782/1.395, allocations: 75.28 kB / 0.6403 GB, free: 78.82 MB / 424.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009003/1.396, allocations: 397.7 kB / 0.6407 GB, free: 78.82 MB / 424.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008502/1.405, allocations: 3.434 MB / 0.6441 GB, free: 78.68 MB / 424.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.437e-05/1.405, allocations: 25.97 kB / 0.6441 GB, free: 78.68 MB / 424.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.389e-05/1.405, allocations: 3.969 kB / 0.6441 GB, free: 78.68 MB / 424.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.702e-05/1.405, allocations: 11.56 kB / 0.6441 GB, free: 78.68 MB / 424.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02115/1.426, allocations: 8.199 MB / 0.6521 GB, free: 78.25 MB / 424.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.458e-05/1.426, allocations: 8.156 kB / 0.6521 GB, free: 78.25 MB / 424.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002525/1.429, allocations: 325.3 kB / 0.6524 GB, free: 78.25 MB / 424.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003193/1.432, allocations: 0.6691 MB / 0.6531 GB, free: 78.23 MB / 424.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003706/1.433, allocations: 11.02 kB / 0.6531 GB, free: 78.23 MB / 424.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0093/1.442, allocations: 6.039 MB / 0.659 GB, free: 75.77 MB / 424.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.543e-06/1.442, allocations: 0 / 0.659 GB, free: 75.77 MB / 424.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01156/1.454, allocations: 6.258 MB / 0.6651 GB, free: 75.18 MB / 424.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002108/1.456, allocations: 0.7012 MB / 0.6658 GB, free: 75.08 MB / 424.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001027/1.457, allocations: 3.938 kB / 0.6658 GB, free: 75.08 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002935/1.46, allocations: 55.73 kB / 0.6658 GB, free: 75.08 MB / 424.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005614/1.461, allocations: 102.4 kB / 0.6659 GB, free: 75.08 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000202/1.461, allocations: 56.45 kB / 0.666 GB, free: 75.08 MB / 424.6 MB Notification: Performance of sort global known variables: time 0.005693/1.467, allocations: 2.533 MB / 0.6685 GB, free: 74.9 MB / 424.6 MB Notification: Performance of remove unused functions: time 0.007735/1.475, allocations: 1.008 MB / 0.6695 GB, free: 74.9 MB / 424.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000281/1.475, allocations: 106.7 kB / 0.6696 GB, free: 74.85 MB / 424.6 MB Notification: Performance of simCode: created initialization part: time 0.01048/1.486, allocations: 5.436 MB / 0.6749 GB, free: 74.61 MB / 424.6 MB Notification: Performance of simCode: created event and clocks part: time 7.542e-06/1.486, allocations: 3.781 kB / 0.6749 GB, free: 74.61 MB / 424.6 MB Notification: Performance of simCode: created simulation system equations: time 0.003877/1.49, allocations: 1.864 MB / 0.6767 GB, free: 74.39 MB / 424.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003185/1.493, allocations: 432.4 kB / 0.6771 GB, free: 74.37 MB / 424.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02367/1.517, allocations: 9.339 MB / 0.6862 GB, free: 72.61 MB / 424.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009868/1.527, allocations: 4.405 MB / 0.6905 GB, free: 71.79 MB / 424.6 MB Notification: Performance of SimCode: time 2.863e-06/1.527, allocations: 0 / 0.6905 GB, free: 71.79 MB / 424.6 MB Notification: Performance of Templates: time 0.1504/1.677, allocations: 42.45 MB / 0.732 GB, free: 56.75 MB / 424.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