Notification: Performance of loadModel(Modelica): time 1.487/1.487, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.638e-06/9.708e-06, allocations: 1.969 kB / 247.3 MB, free: 4.746 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06212/0.0622, allocations: 44.37 MB / 291.7 MB, free: 9.293 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2272/0.2895, allocations: 74.89 MB / 366.6 MB, free: 7.012 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.2899, allocations: 74.59 kB / 366.7 MB, free: 7.008 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.03995/0.3299, allocations: 8.918 MB / 375.6 MB, free: 5.258 MB / 296.6 MB Notification: Performance of Transformations before backend: time 2.2e-05/0.33, allocations: 7.75 kB / 375.6 MB, free: 5.258 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001069/0.3311, allocations: 0.5563 MB / 376.1 MB, free: 4.789 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3313, allocations: 11.62 kB / 376.2 MB, free: 4.789 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004911/0.3318, allocations: 50.72 kB / 376.2 MB, free: 4.766 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004712/0.3323, allocations: 275.9 kB / 376.5 MB, free: 4.52 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.3325, allocations: 82.95 kB / 376.6 MB, free: 4.449 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.437e-05/0.3327, allocations: 19.52 kB / 376.6 MB, free: 4.445 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007761/0.3335, allocations: 353.7 kB / 376.9 MB, free: 4.395 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006141/0.3342, allocations: 321.2 kB / 377.2 MB, free: 4.266 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.3343, allocations: 3.906 kB / 377.2 MB, free: 4.262 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.959e-05/0.3344, allocations: 4 kB / 377.2 MB, free: 4.258 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.3345, allocations: 7.75 kB / 377.2 MB, free: 4.258 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002288/0.3368, allocations: 1.111 MB / 378.4 MB, free: 3.582 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005065/0.3374, allocations: 268.9 kB / 378.6 MB, free: 3.535 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.3378, allocations: 152.1 kB / 378.8 MB, free: 3.52 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 4.197e-05/0.3379, allocations: 7.547 kB / 378.8 MB, free: 3.52 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.338, allocations: 38.38 kB / 378.8 MB, free: 3.48 MB / 296.6 MB Notification: Performance of pre-optimization done (n=43): time 5.937e-06/0.3381, allocations: 0 / 378.8 MB, free: 3.48 MB / 296.6 MB Notification: Performance of matching and sorting (n=45): time 0.003346/0.3415, allocations: 1.226 MB / 380 MB, free: 2.852 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.3416, allocations: 84.73 kB / 380.1 MB, free: 2.754 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004561/0.3421, allocations: 184.5 kB / 380.3 MB, free: 18.64 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 7.208e-05/0.3423, allocations: 32.95 kB / 380.3 MB, free: 18.61 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 6.195e-05/0.3424, allocations: 130.8 kB / 380.5 MB, free: 18.49 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.3426, allocations: 146.7 kB / 380.6 MB, free: 18.38 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.3427, allocations: 7.359 kB / 380.6 MB, free: 18.38 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 6.251e-05/0.3428, allocations: 328.4 kB / 380.9 MB, free: 18.06 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/0.3432, allocations: 140 kB / 381.1 MB, free: 18.05 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/0.3436, allocations: 189.1 kB / 381.3 MB, free: 17.99 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004739/0.3441, allocations: 142.6 kB / 381.4 MB, free: 17.96 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.842e-06/0.3442, allocations: 0 / 381.4 MB, free: 17.96 MB / 312.6 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001276/0.3455, allocations: 485.5 kB / 381.9 MB, free: 17.86 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.3456, allocations: 7.75 kB / 381.9 MB, free: 17.86 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.3457, allocations: 0 / 381.9 MB, free: 17.86 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009626/0.3467, allocations: 231.1 kB / 382.1 MB, free: 17.81 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.3472, allocations: 58.27 kB / 382.2 MB, free: 17.8 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004105/0.3514, allocations: 2.407 MB / 384.6 MB, free: 16.29 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004472/0.3519, allocations: 23.61 kB / 384.6 MB, free: 16.29 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.278e-05/0.3521, allocations: 22.73 kB / 384.6 MB, free: 16.28 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.0001195/0.3522, allocations: 75.28 kB / 384.7 MB, free: 16.21 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.3524, allocations: 31.16 kB / 384.7 MB, free: 16.19 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.3526, allocations: 31.34 kB / 384.7 MB, free: 16.19 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.3526, allocations: 3.938 kB / 384.8 MB, free: 16.19 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.635e-06/0.3527, allocations: 3.984 kB / 384.8 MB, free: 16.18 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/0.3528, allocations: 0 / 384.8 MB, free: 16.18 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/0.3549, allocations: 0.9513 MB / 385.7 MB, free: 15.76 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.3551, allocations: 4 kB / 385.7 MB, free: 15.76 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00038/0.3555, allocations: 50.08 kB / 385.8 MB, free: 15.75 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008647/0.3564, allocations: 216.1 kB / 386 MB, free: 15.7 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.559e-05/0.3566, allocations: 11.08 kB / 386 MB, free: 15.7 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003978/0.3606, allocations: 2.348 MB / 388.3 MB, free: 14.2 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.844e-06/0.3607, allocations: 0 / 388.3 MB, free: 14.2 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001482/0.3623, allocations: 0.7191 MB / 389 MB, free: 13.98 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.3626, allocations: 145 kB / 389.2 MB, free: 13.86 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.996e-05/0.3627, allocations: 3.938 kB / 389.2 MB, free: 13.86 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000431/0.3632, allocations: 31.06 kB / 389.2 MB, free: 13.84 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.3634, allocations: 41.58 kB / 389.3 MB, free: 13.82 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.854e-05/0.3635, allocations: 14.92 kB / 389.3 MB, free: 13.81 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001591/0.3638, allocations: 146.8 kB / 389.4 MB, free: 13.73 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0008407/0.3647, allocations: 119 kB / 389.5 MB, free: 13.72 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001845/0.3649, allocations: 107.5 kB / 389.6 MB, free: 13.64 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.3661, allocations: 490.1 kB / 390.1 MB, free: 13.51 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 4.47e-06/0.3662, allocations: 0 / 390.1 MB, free: 13.51 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.000659/0.3669, allocations: 331.5 kB / 390.4 MB, free: 13.38 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.3674, allocations: 22.83 kB / 390.5 MB, free: 13.37 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.369, allocations: 0.5229 MB / 391 MB, free: 13.09 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006173/0.3697, allocations: 0.8105 MB / 391.8 MB, free: 12.33 MB / 312.6 MB Notification: Performance of SimCode: time 4.331e-06/0.3698, allocations: 1.312 kB / 391.8 MB, free: 12.33 MB / 312.6 MB Notification: Performance of Templates: time 0.03875/0.4086, allocations: 6.695 MB / 398.5 MB, free: 8.957 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.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_LossyGearDemo3 -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.LossyGearDemo3.o Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.c In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.c:2: ./Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.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.LossyGearDemo3.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.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.LossyGearDemo3.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.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.LossyGearDemo3.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_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.LossyGearDemo3.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.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.LossyGearDemo3.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.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.LossyGearDemo3.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_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.LossyGearDemo3.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.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.LossyGearDemo3.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.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_LossyGearDemo3_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.LossyGearDemo3.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.c:280:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_eqFunction_88(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.c:280:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_eqFunction_88(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.c:281:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_eqFunction_89(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.c:281:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_eqFunction_89(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.c:282:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_eqFunction_90(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.LossyGearDemo3.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.o] Error 1