Notification: Performance of loadModel(Modelica): time 1.506/1.506, allocations: 194.5 MB / 200.7 MB, free: 5.145 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.429e-06/9.638e-06, allocations: 1.219 kB / 247.6 MB, free: 4.414 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06025/0.06032, allocations: 44.37 MB / 292 MB, free: 8.941 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2578/0.3182, allocations: 91.96 MB / 384 MB, free: 3.68 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.3185, allocations: 94.22 kB / 384.1 MB, free: 3.664 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.4344/0.753, allocations: 102.6 MB / 486.6 MB, free: 12.03 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0002932/0.7534, allocations: 112 kB / 486.7 MB, free: 11.92 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.01693/0.7704, allocations: 5.224 MB / 492 MB, free: 6.621 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.7705, allocations: 8.031 kB / 492 MB, free: 6.613 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03882/0.8094, allocations: 6.567 MB / 498.5 MB, free: 28 kB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1814/0.9909, allocations: 6.885 MB / 0.4936 GB, free: 61.01 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002732/0.9913, allocations: 172 kB / 0.4937 GB, free: 61.01 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002059/0.9934, allocations: 324.7 kB / 0.4941 GB, free: 61 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01601/1.01, allocations: 7.8 MB / 0.5017 GB, free: 60.97 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02329/1.033, allocations: 11.55 MB / 0.513 GB, free: 57.91 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003002/1.033, allocations: 74.41 kB / 0.513 GB, free: 57.91 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001672/1.035, allocations: 38.34 kB / 0.5131 GB, free: 57.91 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001653/1.037, allocations: 1.207 MB / 0.5142 GB, free: 57.89 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06878/1.106, allocations: 57.19 MB / 0.5701 GB, free: 21.5 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005253/1.111, allocations: 3.614 MB / 0.5736 GB, free: 19.6 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003994/1.115, allocations: 2.562 MB / 0.5761 GB, free: 18.46 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01691/1.132, allocations: 7.979 MB / 0.5839 GB, free: 14.15 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/1.132, allocations: 60.92 kB / 0.584 GB, free: 14.09 MB / 392.6 MB Notification: Performance of pre-optimization done (n=192): time 9.219e-06/1.132, allocations: 0 / 0.584 GB, free: 14.09 MB / 392.6 MB Notification: Performance of matching and sorting (n=218): time 0.05078/1.183, allocations: 18.06 MB / 0.6016 GB, free: 1.309 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.606e-05/1.183, allocations: 211.2 kB / 0.6018 GB, free: 1.066 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01635/1.2, allocations: 4.138 MB / 0.6058 GB, free: 14.84 MB / 408.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0003547/1.2, allocations: 25.7 kB / 0.6059 GB, free: 14.8 MB / 408.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.002536/1.203, allocations: 3.465 MB / 0.6093 GB, free: 11.69 MB / 408.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009353/1.204, allocations: 0.8108 MB / 0.61 GB, free: 10.96 MB / 408.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005355/1.204, allocations: 0 / 0.61 GB, free: 10.96 MB / 408.6 MB Notification: Performance of setup shared object (initialization): time 0.000405/1.205, allocations: 0.5933 MB / 0.6106 GB, free: 10.45 MB / 408.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004365/1.209, allocations: 2.173 MB / 0.6127 GB, free: 8.492 MB / 408.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007028/1.216, allocations: 6.26 MB / 0.6189 GB, free: 0.6133 MB / 408.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009288/1.226, allocations: 3.788 MB / 0.6226 GB, free: 13.68 MB / 424.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001033/1.226, allocations: 44 kB / 0.6226 GB, free: 13.64 MB / 424.6 MB Notification: Performance of matching and sorting (n=887) (initialization): time 0.02009/1.246, allocations: 8.158 MB / 0.6306 GB, free: 6.52 MB / 424.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/1.246, allocations: 4 kB / 0.6306 GB, free: 6.516 MB / 424.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000335/1.247, allocations: 148 kB / 0.6307 GB, free: 6.371 MB / 424.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003629/1.25, allocations: 0.919 MB / 0.6316 GB, free: 5.633 MB / 424.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007355/1.258, allocations: 1.545 MB / 0.6331 GB, free: 4.281 MB / 424.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1772/1.435, allocations: 6.886 MB / 0.6398 GB, free: 79.02 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006912/1.442, allocations: 209.1 kB / 0.64 GB, free: 79.02 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00116/1.443, allocations: 414.6 kB / 0.6404 GB, free: 79.02 MB / 424.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002714/1.444, allocations: 82.06 kB / 0.6405 GB, free: 78.95 MB / 424.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008752/1.445, allocations: 397.6 kB / 0.6409 GB, free: 78.95 MB / 424.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008685/1.453, allocations: 3.423 MB / 0.6442 GB, free: 78.81 MB / 424.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.78e-05/1.454, allocations: 21.44 kB / 0.6443 GB, free: 78.81 MB / 424.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-05/1.454, allocations: 7.938 kB / 0.6443 GB, free: 78.81 MB / 424.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-05/1.454, allocations: 9.844 kB / 0.6443 GB, free: 78.81 MB / 424.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01923/1.473, allocations: 8.205 MB / 0.6523 GB, free: 78.38 MB / 424.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-05/1.473, allocations: 0 / 0.6523 GB, free: 78.38 MB / 424.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002496/1.476, allocations: 329.2 kB / 0.6526 GB, free: 78.38 MB / 424.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003441/1.479, allocations: 0.6697 MB / 0.6533 GB, free: 78.36 MB / 424.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000378/1.48, allocations: 13.25 kB / 0.6533 GB, free: 78.36 MB / 424.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01001/1.49, allocations: 6.043 MB / 0.6592 GB, free: 75.9 MB / 424.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.8e-06/1.49, allocations: 1.875 kB / 0.6592 GB, free: 75.9 MB / 424.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01187/1.502, allocations: 6.256 MB / 0.6653 GB, free: 75.3 MB / 424.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002101/1.504, allocations: 0.6964 MB / 0.666 GB, free: 75.21 MB / 424.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001158/1.505, allocations: 3.625 kB / 0.666 GB, free: 75.21 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002973/1.508, allocations: 55.83 kB / 0.666 GB, free: 75.21 MB / 424.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005367/1.509, allocations: 103.2 kB / 0.6661 GB, free: 75.21 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002278/1.509, allocations: 58.53 kB / 0.6662 GB, free: 75.21 MB / 424.6 MB Notification: Performance of sort global known variables: time 0.005751/1.515, allocations: 2.532 MB / 0.6686 GB, free: 75.03 MB / 424.6 MB Notification: Performance of remove unused functions: time 0.007808/1.523, allocations: 1.009 MB / 0.6696 GB, free: 75.03 MB / 424.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002695/1.523, allocations: 104 kB / 0.6697 GB, free: 74.97 MB / 424.6 MB Notification: Performance of simCode: created initialization part: time 0.01066/1.534, allocations: 5.436 MB / 0.675 GB, free: 74.73 MB / 424.6 MB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/1.534, allocations: 5.078 kB / 0.675 GB, free: 74.73 MB / 424.6 MB Notification: Performance of simCode: created simulation system equations: time 0.003902/1.538, allocations: 1.868 MB / 0.6769 GB, free: 74.52 MB / 424.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003159/1.542, allocations: 431 kB / 0.6773 GB, free: 74.5 MB / 424.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02414/1.566, allocations: 9.329 MB / 0.6864 GB, free: 72.74 MB / 424.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01013/1.576, allocations: 4.4 MB / 0.6907 GB, free: 71.91 MB / 424.6 MB Notification: Performance of SimCode: time 2.794e-06/1.576, allocations: 0 / 0.6907 GB, free: 71.91 MB / 424.6 MB Notification: Performance of Templates: time 0.1817/1.758, allocations: 42.45 MB / 0.7321 GB, free: 56.41 MB / 424.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile clang -fPIC -O2 -march=native -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_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_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.o Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.c In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.c:2: ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.c:2618:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint_eqFunction_900(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.c:2619:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint_eqFunction_902(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.c:2620:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint_eqFunction_904(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.c:2621:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint_eqFunction_921(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.c:2622:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.o] Error 1