Notification: Performance of loadModel(Modelica): time 1.592/1.592, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.013e-05/1.013e-05, allocations: 1.125 kB / 247.3 MB, free: 4.734 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06135/0.06144, allocations: 44.36 MB / 291.7 MB, free: 9.305 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2301/0.2916, allocations: 75.5 MB / 367.2 MB, free: 7.039 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/0.2919, allocations: 69.41 kB / 367.3 MB, free: 7.035 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.04344/0.3355, allocations: 9.549 MB / 376.8 MB, free: 4.938 MB / 296.6 MB Notification: Performance of Transformations before backend: time 2.081e-05/0.3356, allocations: 3.969 kB / 376.8 MB, free: 4.938 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001139/0.3368, allocations: 0.606 MB / 377.4 MB, free: 4.441 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3369, allocations: 7.875 kB / 377.4 MB, free: 4.441 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004699/0.3374, allocations: 58.55 kB / 377.5 MB, free: 4.418 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004478/0.3379, allocations: 287.9 kB / 377.8 MB, free: 4.168 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.3381, allocations: 75.55 kB / 377.8 MB, free: 4.102 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.452e-05/0.3383, allocations: 27.39 kB / 377.9 MB, free: 4.094 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008539/0.3392, allocations: 403.9 kB / 378.3 MB, free: 4.031 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000692/0.3399, allocations: 342.3 kB / 378.6 MB, free: 3.91 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.34, allocations: 0 / 378.6 MB, free: 3.91 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.329e-05/0.3401, allocations: 3.875 kB / 378.6 MB, free: 3.91 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.3402, allocations: 7.75 kB / 378.6 MB, free: 3.91 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001721/0.342, allocations: 0.8325 MB / 379.4 MB, free: 3.43 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005649/0.3426, allocations: 289.5 kB / 379.7 MB, free: 3.395 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003745/0.3431, allocations: 186.7 kB / 379.9 MB, free: 3.379 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.855e-05/0.3432, allocations: 15.41 kB / 379.9 MB, free: 3.375 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.3433, allocations: 38.81 kB / 380 MB, free: 3.328 MB / 296.6 MB Notification: Performance of pre-optimization done (n=49): time 4.121e-06/0.3433, allocations: 0 / 380 MB, free: 3.328 MB / 296.6 MB Notification: Performance of matching and sorting (n=55): time 0.003701/0.3471, allocations: 1.418 MB / 381.4 MB, free: 2.664 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.3472, allocations: 85.2 kB / 381.5 MB, free: 2.57 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.3475, allocations: 186.4 kB / 381.6 MB, free: 2.457 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 5.615e-05/0.3477, allocations: 29.14 kB / 381.7 MB, free: 2.426 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/0.3478, allocations: 122.6 kB / 381.8 MB, free: 2.32 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.348, allocations: 170.4 kB / 382 MB, free: 2.191 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.3481, allocations: 0 / 382 MB, free: 2.191 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3483, allocations: 347.2 kB / 382.3 MB, free: 17.86 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/0.3487, allocations: 161.2 kB / 382.4 MB, free: 17.86 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003841/0.3492, allocations: 194.4 kB / 382.6 MB, free: 17.81 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005008/0.3497, allocations: 158.2 kB / 382.8 MB, free: 17.79 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.212e-06/0.3498, allocations: 0 / 382.8 MB, free: 17.79 MB / 312.6 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001302/0.3512, allocations: 0.5125 MB / 383.3 MB, free: 17.69 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.3513, allocations: 7.875 kB / 383.3 MB, free: 17.68 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.3513, allocations: 7.844 kB / 383.3 MB, free: 17.68 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009491/0.3523, allocations: 237 kB / 383.6 MB, free: 17.63 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004721/0.3529, allocations: 76.22 kB / 383.6 MB, free: 17.61 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004348/0.3573, allocations: 2.422 MB / 386 MB, free: 16.12 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000537/0.3579, allocations: 31.28 kB / 386.1 MB, free: 16.11 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.529e-05/0.3581, allocations: 26.58 kB / 386.1 MB, free: 16.1 MB / 312.6 MB Warning: There are iteration variables with default zero start attribute. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.3583, allocations: 79.19 kB / 386.2 MB, free: 16.02 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.3584, allocations: 35.16 kB / 386.2 MB, free: 16 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.3586, allocations: 41.2 kB / 386.3 MB, free: 15.99 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.102e-06/0.3587, allocations: 7.562 kB / 386.3 MB, free: 15.99 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3587, allocations: 0 / 386.3 MB, free: 15.99 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.08e-06/0.3588, allocations: 3.984 kB / 386.3 MB, free: 15.99 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/0.3613, allocations: 1.095 MB / 387.4 MB, free: 15.52 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.796e-06/0.3614, allocations: 3.906 kB / 387.4 MB, free: 15.52 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004847/0.3619, allocations: 77.84 kB / 387.4 MB, free: 15.5 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008544/0.3628, allocations: 222.3 kB / 387.7 MB, free: 15.45 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-05/0.363, allocations: 11.67 kB / 387.7 MB, free: 15.44 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003978/0.367, allocations: 2.347 MB / 390 MB, free: 13.94 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.286e-06/0.3671, allocations: 0 / 390 MB, free: 13.94 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001724/0.3689, allocations: 0.826 MB / 390.8 MB, free: 13.7 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/0.3692, allocations: 156.2 kB / 391 MB, free: 13.57 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.61e-05/0.3694, allocations: 3.781 kB / 391 MB, free: 13.57 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004815/0.3699, allocations: 27 kB / 391 MB, free: 13.57 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.3701, allocations: 59.42 kB / 391.1 MB, free: 13.53 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.09e-05/0.3702, allocations: 27.2 kB / 391.1 MB, free: 13.52 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.000172/0.3705, allocations: 146 kB / 391.3 MB, free: 13.44 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0008915/0.3714, allocations: 131.9 kB / 391.4 MB, free: 13.43 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002099/0.3717, allocations: 104.9 kB / 391.5 MB, free: 13.36 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.3731, allocations: 0.5406 MB / 392 MB, free: 13.21 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 4.261e-06/0.3732, allocations: 0 / 392 MB, free: 13.21 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0007917/0.374, allocations: 364.1 kB / 392.4 MB, free: 13.07 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/0.3745, allocations: 16.58 kB / 392.4 MB, free: 13.07 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.3764, allocations: 0.6089 MB / 393 MB, free: 12.76 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004894/0.377, allocations: 0.837 MB / 393.8 MB, free: 12 MB / 312.6 MB Notification: Performance of SimCode: time 2.654e-06/0.3771, allocations: 0 / 393.8 MB, free: 12 MB / 312.6 MB Notification: Performance of Templates: time 0.05518/0.4323, allocations: 7.302 MB / 401.1 MB, free: 8.316 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.makefile clang -fPIC -O2 -march=native -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.o Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:2: ./Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: variable has incomplete type 'void' static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: expected ';' after top level declarator Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:171:33: error: unknown type name 'MEASURE_TIME' static void fmtInit(DATA* data, MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:175:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:198:63: error: unknown type name 'MEASURE_TIME' static void fmtEmitStep(DATA* data, threadData_t *threadData, MEASURE_TIME* mt, SOLVER_INFO* solverInfo) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:239:5: warning: implicit declaration of function 'overwriteOldSimulationData' is invalid in C99 [-Wimplicit-function-declaration] overwriteOldSimulationData(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:240:5: warning: implicit declaration of function 'storePreValues' is invalid in C99 [-Wimplicit-function-declaration] storePreValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:241:5: warning: implicit declaration of function 'storeOldValues' is invalid in C99 [-Wimplicit-function-declaration] storeOldValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:259:3: warning: implicit declaration of function 'printAllVarsDebug' is invalid in C99 [-Wimplicit-function-declaration] printAllVarsDebug(data, 0, LOG_DEBUG); /* ??? */ ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:263:22: error: unknown type name 'MEASURE_TIME' static void fmtClose(MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:291:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:308:3: warning: implicit declaration of function 'restoreOldValues' is invalid in C99 [-Wimplicit-function-declaration] restoreOldValues(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:311:3: warning: implicit declaration of function 'updateDiscreteSystem' is invalid in C99 [-Wimplicit-function-declaration] updateDiscreteSystem(data, threadData); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_performSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: expected ';' after top level declarator int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_performQSSSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: expected ';' after top level declarator int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_input_function(DATA *data, threadData_t *threadData) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:305:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_eqFunction_97(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:305:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_eqFunction_97(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:306:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_eqFunction_98(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:306:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_eqFunction_98(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:307:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_eqFunction_99(DATA*,threadData_t*); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.o] Error 1