Notification: Performance of loadModel(Modelica): time 1.507/1.507, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.149e-06/9.358e-06, allocations: 1.219 kB / 247.3 MB, free: 4.738 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06038/0.06047, allocations: 44.36 MB / 291.7 MB, free: 9.312 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2312/0.2918, allocations: 74.89 MB / 366.6 MB, free: 6.988 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.2921, allocations: 74.19 kB / 366.7 MB, free: 6.984 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.04009/0.3323, allocations: 8.918 MB / 375.6 MB, free: 5.27 MB / 296.6 MB Notification: Performance of Transformations before backend: time 2.109e-05/0.3324, allocations: 3.844 kB / 375.6 MB, free: 5.27 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.00101/0.3334, allocations: 0.5647 MB / 376.1 MB, free: 4.801 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3336, allocations: 11.69 kB / 376.2 MB, free: 4.797 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004751/0.3341, allocations: 54.97 kB / 376.2 MB, free: 4.77 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004434/0.3346, allocations: 277.8 kB / 376.5 MB, free: 4.523 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.3348, allocations: 75.42 kB / 376.6 MB, free: 4.457 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.312e-05/0.3349, allocations: 19.38 kB / 376.6 MB, free: 4.457 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007541/0.3358, allocations: 363.9 kB / 376.9 MB, free: 4.398 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006025/0.3364, allocations: 312.8 kB / 377.2 MB, free: 4.273 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.3365, allocations: 7.875 kB / 377.2 MB, free: 4.27 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.965e-05/0.3366, allocations: 0 / 377.2 MB, free: 4.27 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.3367, allocations: 11.77 kB / 377.3 MB, free: 4.266 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002252/0.339, allocations: 1.107 MB / 378.4 MB, free: 3.59 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004903/0.3396, allocations: 262.1 kB / 378.6 MB, free: 3.551 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/0.34, allocations: 151.5 kB / 378.8 MB, free: 3.535 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 4.051e-05/0.3401, allocations: 3.875 kB / 378.8 MB, free: 3.535 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.3402, allocations: 42.25 kB / 378.8 MB, free: 3.492 MB / 296.6 MB Notification: Performance of pre-optimization done (n=43): time 4.54e-06/0.3402, allocations: 0 / 378.8 MB, free: 3.492 MB / 296.6 MB Notification: Performance of matching and sorting (n=45): time 0.003293/0.3436, allocations: 1.228 MB / 380 MB, free: 2.863 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.3437, allocations: 88.58 kB / 380.1 MB, free: 2.762 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.344, allocations: 186 kB / 380.3 MB, free: 18.65 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 6.237e-05/0.3442, allocations: 25.7 kB / 380.3 MB, free: 18.62 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 8.025e-05/0.3443, allocations: 127.6 kB / 380.5 MB, free: 18.5 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.3445, allocations: 147.6 kB / 380.6 MB, free: 18.39 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.3446, allocations: 0 / 380.6 MB, free: 18.39 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3447, allocations: 339.9 kB / 380.9 MB, free: 18.07 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/0.3451, allocations: 139.9 kB / 381.1 MB, free: 18.06 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003313/0.3455, allocations: 192.5 kB / 381.3 MB, free: 18 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004705/0.346, allocations: 136.1 kB / 381.4 MB, free: 17.98 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.981e-06/0.3461, allocations: 32 / 381.4 MB, free: 17.98 MB / 312.6 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001255/0.3474, allocations: 490 kB / 381.9 MB, free: 17.88 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3475, allocations: 7.875 kB / 381.9 MB, free: 17.87 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.3476, allocations: 3.938 kB / 381.9 MB, free: 17.87 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009169/0.3486, allocations: 226.4 kB / 382.1 MB, free: 17.83 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003695/0.349, allocations: 59.08 kB / 382.2 MB, free: 17.81 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004568/0.3536, allocations: 2.471 MB / 384.6 MB, free: 16.29 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004597/0.3542, allocations: 27.44 kB / 384.7 MB, free: 16.28 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-05/0.3544, allocations: 18.97 kB / 384.7 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.0001252/0.3545, allocations: 79.45 kB / 384.8 MB, free: 16.2 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.3547, allocations: 27.31 kB / 384.8 MB, free: 16.19 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.3549, allocations: 38.77 kB / 384.8 MB, free: 16.18 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.8e-06/0.355, allocations: 7.719 kB / 384.8 MB, free: 16.18 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.238e-06/0.355, allocations: 0 / 384.8 MB, free: 16.18 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.94e-06/0.3551, allocations: 7.922 kB / 384.8 MB, free: 16.17 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002241/0.3574, allocations: 0.938 MB / 385.8 MB, free: 15.75 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.101e-06/0.3575, allocations: 7.781 kB / 385.8 MB, free: 15.75 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004403/0.358, allocations: 53.58 kB / 385.8 MB, free: 15.73 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000935/0.359, allocations: 224.7 kB / 386.1 MB, free: 15.68 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.23e-05/0.3592, allocations: 3.984 kB / 386.1 MB, free: 15.68 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004533/0.3638, allocations: 2.419 MB / 388.5 MB, free: 14.17 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.774e-06/0.3639, allocations: 0 / 388.5 MB, free: 14.17 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00153/0.3655, allocations: 0.7154 MB / 389.2 MB, free: 13.96 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002262/0.3658, allocations: 142.5 kB / 389.3 MB, free: 13.84 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.366, allocations: 3.875 kB / 389.3 MB, free: 13.84 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004317/0.3665, allocations: 27.72 kB / 389.4 MB, free: 13.82 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.3667, allocations: 44.17 kB / 389.4 MB, free: 13.8 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.378e-05/0.3668, allocations: 17.33 kB / 389.4 MB, free: 13.79 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001803/0.367, allocations: 148.3 kB / 389.6 MB, free: 13.7 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0009165/0.368, allocations: 125.9 kB / 389.7 MB, free: 13.68 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001921/0.3683, allocations: 107.1 kB / 389.8 MB, free: 13.61 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.3695, allocations: 497.4 kB / 390.3 MB, free: 13.47 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.3696, allocations: 256 / 390.3 MB, free: 13.47 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0006972/0.3703, allocations: 338.1 kB / 390.6 MB, free: 13.34 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.3708, allocations: 14.67 kB / 390.6 MB, free: 13.34 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.3724, allocations: 0.5176 MB / 391.1 MB, free: 13.06 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004024/0.3729, allocations: 0.8213 MB / 392 MB, free: 12.3 MB / 312.6 MB Notification: Performance of SimCode: time 4.05e-06/0.373, allocations: 0 / 392 MB, free: 12.3 MB / 312.6 MB Notification: Performance of Templates: time 0.04799/0.421, allocations: 6.864 MB / 398.8 MB, free: 8.844 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.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_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_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.o Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.c:280:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_eqFunction_88(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.c:280:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_eqFunction_88(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.c:281:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_eqFunction_89(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.c:281:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo3_eqFunction_89(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.c:282:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3.o] Error 1