Notification: Performance of loadModel(Modelica): time 1.553/1.553, allocations: 194.5 MB / 200.7 MB, free: 8.328 MB / 174.2 MB Notification: Performance of FrontEnd - loaded program: time 8.171e-06/8.242e-06, allocations: 0 / 247.4 MB, free: 9.43 MB / 206.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06081/0.06089, allocations: 44.34 MB / 291.7 MB, free: 12.99 MB / 254.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2243/0.2853, allocations: 76.88 MB / 368.6 MB, free: 3.387 MB / 286.2 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/0.2856, allocations: 76.55 kB / 368.7 MB, free: 3.371 MB / 286.2 MB Notification: Performance of FrontEnd: time 0.05039/0.3361, allocations: 11.2 MB / 379.9 MB, free: 12.22 MB / 302.2 MB Notification: Performance of Transformations before backend: time 2.898e-05/0.3362, allocations: 9.406 kB / 379.9 MB, free: 12.21 MB / 302.2 MB Notification: Performance of Generate backend data structure: time 0.001551/0.3378, allocations: 0.7149 MB / 380.6 MB, free: 11.48 MB / 302.2 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.338, allocations: 12.03 kB / 380.6 MB, free: 11.47 MB / 302.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005795/0.3386, allocations: 59.42 kB / 380.6 MB, free: 11.41 MB / 302.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006078/0.3393, allocations: 330.6 kB / 381 MB, free: 11.09 MB / 302.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/0.3395, allocations: 80.17 kB / 381 MB, free: 10.99 MB / 302.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.3397, allocations: 31.25 kB / 381.1 MB, free: 10.96 MB / 302.2 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00135/0.3411, allocations: 0.5221 MB / 381.6 MB, free: 10.59 MB / 302.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000985/0.3421, allocations: 466.2 kB / 382.1 MB, free: 10.24 MB / 302.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/0.3422, allocations: 7.469 kB / 382.1 MB, free: 10.24 MB / 302.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.319e-05/0.3424, allocations: 0 / 382.1 MB, free: 10.24 MB / 302.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.3425, allocations: 12 kB / 382.1 MB, free: 10.23 MB / 302.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0027/0.3452, allocations: 1.084 MB / 383.2 MB, free: 9.344 MB / 302.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007294/0.346, allocations: 373.5 kB / 383.5 MB, free: 9.094 MB / 302.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005202/0.3466, allocations: 267.4 kB / 383.8 MB, free: 8.934 MB / 302.2 MB Notification: Performance of preOpt evalFunc (simulation): time 6.53e-05/0.3468, allocations: 14.38 kB / 383.8 MB, free: 8.922 MB / 302.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.3468, allocations: 38.03 kB / 383.8 MB, free: 8.883 MB / 302.2 MB Notification: Performance of pre-optimization done (n=63): time 4.4e-06/0.3469, allocations: 0 / 383.8 MB, free: 8.883 MB / 302.2 MB Notification: Performance of matching and sorting (n=71): time 0.005715/0.3527, allocations: 1.863 MB / 385.7 MB, free: 7.312 MB / 302.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.3528, allocations: 81.77 kB / 385.8 MB, free: 7.215 MB / 302.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.3532, allocations: 219.1 kB / 386 MB, free: 7.027 MB / 302.2 MB Notification: Performance of collectPreVariables (initialization): time 9.952e-05/0.3533, allocations: 32.94 kB / 386 MB, free: 6.992 MB / 302.2 MB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.3535, allocations: 136.2 kB / 386.2 MB, free: 6.863 MB / 302.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.3537, allocations: 229.7 kB / 386.4 MB, free: 6.664 MB / 302.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.518e-05/0.3539, allocations: 4 kB / 386.4 MB, free: 6.66 MB / 302.2 MB Notification: Performance of setup shared object (initialization): time 0.0002699/0.3542, allocations: 350.7 kB / 386.7 MB, free: 6.324 MB / 302.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000514/0.3548, allocations: 224 kB / 386.9 MB, free: 6.195 MB / 302.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005371/0.3553, allocations: 290.9 kB / 387.2 MB, free: 6 MB / 302.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000753/0.3562, allocations: 218 kB / 387.4 MB, free: 5.852 MB / 302.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.33e-06/0.3562, allocations: 4.031 kB / 387.4 MB, free: 5.848 MB / 302.2 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002114/0.3584, allocations: 0.751 MB / 388.2 MB, free: 5.293 MB / 302.2 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.3585, allocations: 4 kB / 388.2 MB, free: 5.289 MB / 302.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/0.3586, allocations: 0 / 388.2 MB, free: 5.289 MB / 302.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/0.36, allocations: 414.7 kB / 388.6 MB, free: 4.977 MB / 302.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005947/0.3606, allocations: 94.92 kB / 388.7 MB, free: 4.887 MB / 302.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00187/0.3626, allocations: 1.075 MB / 389.8 MB, free: 4.008 MB / 302.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008324/0.3635, allocations: 75.98 kB / 389.8 MB, free: 3.934 MB / 302.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.3637, allocations: 35.61 kB / 389.9 MB, free: 3.902 MB / 302.2 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.0001465/0.3639, allocations: 83.12 kB / 390 MB, free: 3.824 MB / 302.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.3641, allocations: 39.53 kB / 390 MB, free: 3.785 MB / 302.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002147/0.3663, allocations: 0.7695 MB / 390.8 MB, free: 3.23 MB / 302.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.3664, allocations: 8 kB / 390.8 MB, free: 3.223 MB / 302.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.682e-06/0.3665, allocations: 0 / 390.8 MB, free: 3.223 MB / 302.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.3666, allocations: 3.984 kB / 390.8 MB, free: 3.219 MB / 302.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004187/0.3708, allocations: 1.54 MB / 392.3 MB, free: 2.02 MB / 302.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.079e-06/0.3709, allocations: 4 kB / 392.3 MB, free: 2.016 MB / 302.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006038/0.3716, allocations: 99.75 kB / 392.4 MB, free: 1.922 MB / 302.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001231/0.3729, allocations: 389.5 kB / 392.8 MB, free: 1.621 MB / 302.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/0.3731, allocations: 15.22 kB / 392.8 MB, free: 1.609 MB / 302.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/0.3748, allocations: 1.035 MB / 393.9 MB, free: 0.7422 MB / 302.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/0.3749, allocations: 0 / 393.9 MB, free: 0.7422 MB / 302.2 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003045/0.378, allocations: 1.158 MB / 395 MB, free: 15.88 MB / 318.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005294/0.3786, allocations: 172.7 kB / 395.2 MB, free: 15.71 MB / 318.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.3789, allocations: 7.062 kB / 395.2 MB, free: 15.71 MB / 318.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000718/0.3796, allocations: 72 kB / 395.3 MB, free: 15.64 MB / 318.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002535/0.38, allocations: 102.4 kB / 395.4 MB, free: 15.55 MB / 318.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.332e-05/0.3801, allocations: 27.05 kB / 395.4 MB, free: 15.54 MB / 318.2 MB Notification: Performance of sort global known variables: time 0.0002238/0.3804, allocations: 181.8 kB / 395.6 MB, free: 15.39 MB / 318.2 MB Notification: Performance of remove unused functions: time 0.0007815/0.3812, allocations: 127.9 kB / 395.7 MB, free: 15.27 MB / 318.2 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002227/0.3815, allocations: 112.1 kB / 395.8 MB, free: 15.16 MB / 318.2 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.3831, allocations: 0.6037 MB / 396.4 MB, free: 14.73 MB / 318.2 MB Notification: Performance of simCode: created event and clocks part: time 5.517e-06/0.3832, allocations: 0 / 396.4 MB, free: 14.73 MB / 318.2 MB Notification: Performance of simCode: created simulation system equations: time 0.0008523/0.3841, allocations: 337.3 kB / 396.7 MB, free: 14.5 MB / 318.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005554/0.3847, allocations: 28.23 kB / 396.8 MB, free: 14.47 MB / 318.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.3871, allocations: 0.728 MB / 397.5 MB, free: 13.82 MB / 318.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005164/0.3877, allocations: 0.8787 MB / 398.4 MB, free: 12.92 MB / 318.2 MB Notification: Performance of SimCode: time 2.095e-06/0.3878, allocations: 0 / 398.4 MB, free: 12.92 MB / 318.2 MB Notification: Performance of Templates: time 0.06589/0.4538, allocations: 8.838 MB / 407.2 MB, free: 4.094 MB / 318.2 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.makefile clang -fPIC -O1 -march=native -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2 -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_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.o Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: variable has incomplete type 'void' static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: expected ';' after top level declarator Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:171:33: error: unknown type name 'MEASURE_TIME' static void fmtInit(DATA* data, MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:175:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:198:63: error: unknown type name 'MEASURE_TIME' static void fmtEmitStep(DATA* data, threadData_t *threadData, MEASURE_TIME* mt, SOLVER_INFO* solverInfo) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:239:5: warning: implicit declaration of function 'overwriteOldSimulationData' is invalid in C99 [-Wimplicit-function-declaration] overwriteOldSimulationData(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:240:5: warning: implicit declaration of function 'storePreValues' is invalid in C99 [-Wimplicit-function-declaration] storePreValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:241:5: warning: implicit declaration of function 'storeOldValues' is invalid in C99 [-Wimplicit-function-declaration] storeOldValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:259:3: warning: implicit declaration of function 'printAllVarsDebug' is invalid in C99 [-Wimplicit-function-declaration] printAllVarsDebug(data, 0, LOG_DEBUG); /* ??? */ ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:263:22: error: unknown type name 'MEASURE_TIME' static void fmtClose(MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:291:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:308:3: warning: implicit declaration of function 'restoreOldValues' is invalid in C99 [-Wimplicit-function-declaration] restoreOldValues(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:311:3: warning: implicit declaration of function 'updateDiscreteSystem' is invalid in C99 [-Wimplicit-function-declaration] updateDiscreteSystem(data, threadData); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_performSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: expected ';' after top level declarator int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_performQSSSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: expected ';' after top level declarator int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_input_function(DATA *data, threadData_t *threadData) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:317:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_eqFunction_98(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:317:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_eqFunction_98(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:318:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_eqFunction_99(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:318:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_eqFunction_99(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:319:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_eqFunction_100(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_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.o] Error 1