Notification: Performance of loadModel(Modelica): time 1.592/1.592, allocations: 194.5 MB / 200.7 MB, free: 5.184 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.381e-06/8.52e-06, allocations: 1.188 kB / 247.3 MB, free: 4.738 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06224/0.06232, allocations: 44.37 MB / 291.7 MB, free: 9.32 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2299/0.2924, allocations: 74.89 MB / 366.6 MB, free: 6.961 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.2927, allocations: 77.48 kB / 366.7 MB, free: 6.957 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.03991/0.3327, allocations: 8.912 MB / 375.6 MB, free: 5.254 MB / 296.6 MB Notification: Performance of Transformations before backend: time 1.998e-05/0.3328, allocations: 3.812 kB / 375.6 MB, free: 5.254 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.0009906/0.3338, allocations: 0.5662 MB / 376.2 MB, free: 4.777 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.334, allocations: 11.66 kB / 376.2 MB, free: 4.777 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004654/0.3345, allocations: 46.86 kB / 376.2 MB, free: 4.758 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/0.335, allocations: 277 kB / 376.5 MB, free: 4.512 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.3352, allocations: 82.36 kB / 376.6 MB, free: 4.441 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.019e-05/0.3353, allocations: 15.5 kB / 376.6 MB, free: 4.441 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007429/0.3361, allocations: 361 kB / 376.9 MB, free: 4.387 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005953/0.3368, allocations: 315.7 kB / 377.2 MB, free: 4.262 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.3369, allocations: 3.906 kB / 377.2 MB, free: 4.258 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.931e-05/0.337, allocations: 0 / 377.2 MB, free: 4.258 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.337, allocations: 11.69 kB / 377.3 MB, free: 4.254 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002188/0.3393, allocations: 1.102 MB / 378.4 MB, free: 3.586 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004896/0.3399, allocations: 264.8 kB / 378.6 MB, free: 3.539 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002949/0.3402, allocations: 156.3 kB / 378.8 MB, free: 3.52 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.471e-05/0.3403, allocations: 15.34 kB / 378.8 MB, free: 3.516 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.3404, allocations: 37.88 kB / 378.8 MB, free: 3.473 MB / 296.6 MB Notification: Performance of pre-optimization done (n=43): time 4.261e-06/0.3405, allocations: 0 / 378.8 MB, free: 3.473 MB / 296.6 MB Notification: Performance of matching and sorting (n=45): time 0.003269/0.3438, allocations: 1.229 MB / 380 MB, free: 2.844 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.639e-05/0.344, allocations: 84.8 kB / 380.1 MB, free: 18.75 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.3443, allocations: 188.5 kB / 380.3 MB, free: 18.63 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 6.279e-05/0.3444, allocations: 29.67 kB / 380.3 MB, free: 18.6 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 8.171e-05/0.3446, allocations: 127.2 kB / 380.5 MB, free: 18.48 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.3447, allocations: 140.4 kB / 380.6 MB, free: 18.38 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.3448, allocations: 7.75 kB / 380.6 MB, free: 18.38 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.345, allocations: 332.1 kB / 380.9 MB, free: 18.05 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003014/0.3454, allocations: 142.9 kB / 381.1 MB, free: 18.04 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003349/0.3458, allocations: 195.2 kB / 381.3 MB, free: 17.98 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000461/0.3463, allocations: 140.2 kB / 381.4 MB, free: 17.95 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.701e-06/0.3463, allocations: 3.938 kB / 381.4 MB, free: 17.95 MB / 312.6 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001242/0.3476, allocations: 474.5 kB / 381.9 MB, free: 17.86 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/0.3477, allocations: 11.66 kB / 381.9 MB, free: 17.85 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.3478, allocations: 0 / 381.9 MB, free: 17.85 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009328/0.3488, allocations: 238.4 kB / 382.1 MB, free: 17.8 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/0.3492, allocations: 50.59 kB / 382.2 MB, free: 17.79 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004529/0.3538, allocations: 2.482 MB / 384.6 MB, free: 16.26 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000438/0.3544, allocations: 23.14 kB / 384.7 MB, free: 16.26 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.74e-05/0.3545, allocations: 19.17 kB / 384.7 MB, free: 16.25 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.3547, allocations: 83.28 kB / 384.8 MB, free: 16.17 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.3549, allocations: 31.22 kB / 384.8 MB, free: 16.16 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.792e-05/0.355, allocations: 33.34 kB / 384.8 MB, free: 16.15 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.429e-06/0.3551, allocations: 7.828 kB / 384.8 MB, free: 16.15 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3551, allocations: 0 / 384.8 MB, free: 16.15 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.962e-06/0.3552, allocations: 3.781 kB / 384.8 MB, free: 16.15 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.3574, allocations: 0.9446 MB / 385.8 MB, free: 15.73 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.937e-06/0.3575, allocations: 0 / 385.8 MB, free: 15.73 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003682/0.3579, allocations: 45.97 kB / 385.8 MB, free: 15.72 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008637/0.3588, allocations: 221.8 kB / 386 MB, free: 15.67 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-05/0.3589, allocations: 11.48 kB / 386.1 MB, free: 15.66 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004202/0.3632, allocations: 2.414 MB / 388.5 MB, free: 14.16 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/0.3633, allocations: 3.844 kB / 388.5 MB, free: 14.16 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001472/0.3649, allocations: 0.7182 MB / 389.2 MB, free: 13.93 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/0.3652, allocations: 142.5 kB / 389.3 MB, free: 13.81 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.191e-05/0.3653, allocations: 7.5 kB / 389.3 MB, free: 13.81 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004292/0.3658, allocations: 19.61 kB / 389.4 MB, free: 13.8 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.366, allocations: 49.75 kB / 389.4 MB, free: 13.78 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.854e-05/0.3661, allocations: 23.3 kB / 389.4 MB, free: 13.77 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001609/0.3663, allocations: 142.4 kB / 389.6 MB, free: 13.68 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0009192/0.3673, allocations: 122 kB / 389.7 MB, free: 13.68 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001939/0.3676, allocations: 105.4 kB / 389.8 MB, free: 13.61 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.3688, allocations: 0.4916 MB / 390.3 MB, free: 13.45 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 4.47e-06/0.3689, allocations: 0 / 390.3 MB, free: 13.45 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0006359/0.3695, allocations: 323.7 kB / 390.6 MB, free: 13.32 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004452/0.3701, allocations: 20.95 kB / 390.6 MB, free: 13.32 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.3716, allocations: 0.5237 MB / 391.1 MB, free: 13.04 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003958/0.3721, allocations: 0.8183 MB / 392 MB, free: 12.27 MB / 312.6 MB Notification: Performance of SimCode: time 3.353e-06/0.3722, allocations: 3.75 kB / 392 MB, free: 12.27 MB / 312.6 MB Notification: Performance of Templates: time 0.0662/0.4385, allocations: 6.849 MB / 398.8 MB, free: 8.82 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