Notification: Performance of loadModel(Modelica): time 1.493/1.493, allocations: 194.5 MB / 200.7 MB, free: 8.25 MB / 174.1 MB Notification: Performance of FrontEnd - loaded program: time 9.359e-06/9.498e-06, allocations: 4 kB / 247.3 MB, free: 9.336 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06328/0.06336, allocations: 44.36 MB / 291.7 MB, free: 12.88 MB / 254.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2221/0.2856, allocations: 75.49 MB / 367.2 MB, free: 3.938 MB / 286.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/0.2859, allocations: 79.89 kB / 367.3 MB, free: 3.922 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.04251/0.3285, allocations: 9.534 MB / 376.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.689e-05/0.3286, allocations: 12 kB / 376.8 MB, free: 14.83 MB / 302.1 MB Notification: Performance of Generate backend data structure: time 0.001431/0.3301, allocations: 0.5989 MB / 377.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3302, allocations: 8.031 kB / 377.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004683/0.3307, allocations: 59.5 kB / 377.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004322/0.3312, allocations: 290.1 kB / 377.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.3314, allocations: 76.05 kB / 377.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.236e-05/0.3315, allocations: 19.31 kB / 377.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008244/0.3324, allocations: 411.3 kB / 378.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006822/0.3332, allocations: 333.8 kB / 378.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.3332, allocations: 0 / 378.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.084e-05/0.3334, allocations: 4 kB / 378.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.3334, allocations: 12 kB / 378.6 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/0.3351, allocations: 0.8306 MB / 379.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005465/0.3357, allocations: 288.4 kB / 379.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005256/0.3363, allocations: 186.6 kB / 379.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/0.3364, allocations: 8.375 kB / 379.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.3365, allocations: 38.12 kB / 379.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 3.492e-06/0.3365, allocations: 4 kB / 379.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=55): time 0.003624/0.3402, allocations: 1.414 MB / 381.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.3403, allocations: 89.59 kB / 381.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.3406, allocations: 194 kB / 381.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.112e-05/0.3407, allocations: 25.7 kB / 381.7 MB, free: 10.6 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.923e-05/0.3409, allocations: 119.9 kB / 381.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.3411, allocations: 178.2 kB / 382 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.3412, allocations: 0 / 382 MB, free: 10.33 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000247/0.3415, allocations: 341.5 kB / 382.3 MB, free: 10 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003419/0.3419, allocations: 156.8 kB / 382.4 MB, free: 9.906 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003731/0.3423, allocations: 202.9 kB / 382.6 MB, free: 9.766 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000501/0.3429, allocations: 160 kB / 382.8 MB, free: 9.664 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.492e-06/0.3429, allocations: 0 / 382.8 MB, free: 9.664 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001278/0.3443, allocations: 0.5082 MB / 383.3 MB, free: 9.285 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3443, allocations: 11.89 kB / 383.3 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.3444, allocations: 4 kB / 383.3 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009227/0.3454, allocations: 239.7 kB / 383.6 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004718/0.3459, allocations: 67.89 kB / 383.6 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004264/0.3503, allocations: 2.504 MB / 386.1 MB, free: 6.879 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000497/0.3508, allocations: 35.94 kB / 386.2 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-05/0.351, allocations: 26.81 kB / 386.2 MB, free: 6.824 MB / 302.1 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.0001173/0.3512, allocations: 75.28 kB / 386.3 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.3513, allocations: 31.62 kB / 386.3 MB, free: 6.719 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.3515, allocations: 41.45 kB / 386.3 MB, free: 6.703 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.3516, allocations: 7.938 kB / 386.3 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.33e-06/0.3516, allocations: 4 kB / 386.3 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.73e-06/0.3517, allocations: 3.984 kB / 386.3 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002557/0.3543, allocations: 1.095 MB / 387.4 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.215e-06/0.3544, allocations: 0 / 387.4 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005117/0.355, allocations: 75.91 kB / 387.5 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000861/0.3559, allocations: 219.5 kB / 387.7 MB, free: 5.586 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.329e-05/0.356, allocations: 11.86 kB / 387.7 MB, free: 5.578 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004154/0.3602, allocations: 2.426 MB / 390.2 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.867e-06/0.3603, allocations: 0 / 390.2 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001677/0.3621, allocations: 0.8284 MB / 391 MB, free: 2.867 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/0.3624, allocations: 150.6 kB / 391.1 MB, free: 2.719 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.806e-05/0.3626, allocations: 3.875 kB / 391.1 MB, free: 2.719 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005193/0.3631, allocations: 39.94 kB / 391.2 MB, free: 2.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.3634, allocations: 47.09 kB / 391.2 MB, free: 2.641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.804e-05/0.3635, allocations: 23.67 kB / 391.3 MB, free: 2.621 MB / 302.1 MB Notification: Performance of sort global known variables: time 0.0001581/0.3637, allocations: 144.1 kB / 391.4 MB, free: 2.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008709/0.3646, allocations: 131.9 kB / 391.5 MB, free: 2.371 MB / 302.1 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003826/0.3651, allocations: 104 kB / 391.6 MB, free: 2.266 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001195/0.3663, allocations: 0.5412 MB / 392.2 MB, free: 1.859 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.981e-06/0.3664, allocations: 0 / 392.2 MB, free: 1.859 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007272/0.3672, allocations: 370.4 kB / 392.5 MB, free: 1.562 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.3677, allocations: 27.11 kB / 392.6 MB, free: 1.543 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.3694, allocations: 0.6201 MB / 393.2 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004779/0.3699, allocations: 0.8308 MB / 394 MB, free: 136 kB / 302.1 MB Notification: Performance of SimCode: time 2.025e-06/0.37, allocations: 0 / 394 MB, free: 136 kB / 302.1 MB Notification: Performance of Templates: time 0.06326/0.4333, allocations: 7.455 MB / 401.5 MB, free: 8.711 MB / 318.1 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.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_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_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.o Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:305:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_eqFunction_97(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:305:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_eqFunction_97(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:306:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_eqFunction_98(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:306:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_eqFunction_98(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:307:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.o] Error 1