Notification: Performance of loadModel(Modelica): time 1.685/1.685, allocations: 194.5 MB / 200.7 MB, free: 5.156 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.013e-05/1.027e-05, allocations: 2 kB / 247.3 MB, free: 4.723 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07607/0.07615, allocations: 44.36 MB / 291.7 MB, free: 9.285 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2907/0.367, allocations: 76.87 MB / 368.6 MB, free: 6.941 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.3674, allocations: 72.41 kB / 368.6 MB, free: 6.938 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.04793/0.4154, allocations: 11.2 MB / 379.8 MB, free: 3.887 MB / 296.6 MB Notification: Performance of Transformations before backend: time 3.318e-05/0.4155, allocations: 10.56 kB / 379.9 MB, free: 3.887 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001541/0.4171, allocations: 0.7162 MB / 380.6 MB, free: 3.34 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.4172, allocations: 11.41 kB / 380.6 MB, free: 3.34 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005325/0.4178, allocations: 65.59 kB / 380.6 MB, free: 3.309 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005712/0.4185, allocations: 322.2 kB / 381 MB, free: 3.043 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.4187, allocations: 87.42 kB / 381 MB, free: 2.969 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.4188, allocations: 27.25 kB / 381.1 MB, free: 2.969 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001179/0.4201, allocations: 0.5209 MB / 381.6 MB, free: 2.898 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009595/0.4211, allocations: 465.9 kB / 382 MB, free: 2.746 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/0.4212, allocations: 7.906 kB / 382.1 MB, free: 2.738 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.291e-05/0.4213, allocations: 7.859 kB / 382.1 MB, free: 2.734 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.4214, allocations: 11.73 kB / 382.1 MB, free: 2.73 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002636/0.4241, allocations: 1.079 MB / 383.2 MB, free: 2.18 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007334/0.4249, allocations: 376 kB / 383.5 MB, free: 2.129 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005376/0.4255, allocations: 269.7 kB / 383.8 MB, free: 2.109 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 6.188e-05/0.4257, allocations: 11 kB / 383.8 MB, free: 2.109 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.4258, allocations: 38.66 kB / 383.8 MB, free: 2.07 MB / 296.6 MB Notification: Performance of pre-optimization done (n=63): time 6.146e-06/0.4258, allocations: 0 / 383.8 MB, free: 2.07 MB / 296.6 MB Notification: Performance of matching and sorting (n=71): time 0.005511/0.4314, allocations: 1.86 MB / 385.7 MB, free: 1.289 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.4315, allocations: 89.33 kB / 385.8 MB, free: 1.191 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/0.4319, allocations: 216.4 kB / 386 MB, free: 1.078 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 8.493e-05/0.432, allocations: 33.52 kB / 386 MB, free: 1.047 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 9.464e-05/0.4322, allocations: 136.6 kB / 386.2 MB, free: 16.92 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/0.4324, allocations: 226.9 kB / 386.4 MB, free: 16.74 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.406e-05/0.4325, allocations: 0 / 386.4 MB, free: 16.74 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0004673/0.4331, allocations: 348.2 kB / 386.7 MB, free: 16.41 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005346/0.4337, allocations: 227.5 kB / 386.9 MB, free: 16.41 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005554/0.4343, allocations: 289.1 kB / 387.2 MB, free: 16.35 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007671/0.4351, allocations: 216.2 kB / 387.4 MB, free: 16.31 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.4352, allocations: 0 / 387.4 MB, free: 16.31 MB / 312.6 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002147/0.4374, allocations: 0.7481 MB / 388.2 MB, free: 16.17 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.4375, allocations: 5.344 kB / 388.2 MB, free: 16.17 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.27e-05/0.4376, allocations: 1.312 kB / 388.2 MB, free: 16.17 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/0.4391, allocations: 417.3 kB / 388.6 MB, free: 16.07 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006244/0.4398, allocations: 93.12 kB / 388.7 MB, free: 16.05 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/0.4417, allocations: 1.085 MB / 389.8 MB, free: 15.46 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007972/0.4425, allocations: 74.31 kB / 389.8 MB, free: 15.43 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.4427, allocations: 31.48 kB / 389.9 MB, free: 15.43 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.0001532/0.443, allocations: 80.44 kB / 390 MB, free: 15.35 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.4432, allocations: 39.25 kB / 390 MB, free: 15.33 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002286/0.4456, allocations: 0.7692 MB / 390.8 MB, free: 15.14 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.4457, allocations: 7.125 kB / 390.8 MB, free: 15.14 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.962e-06/0.4457, allocations: 5.406 kB / 390.8 MB, free: 15.14 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.4458, allocations: 7.922 kB / 390.8 MB, free: 15.13 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004115/0.45, allocations: 1.553 MB / 392.3 MB, free: 14.5 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.219e-06/0.4501, allocations: 1.344 kB / 392.3 MB, free: 14.5 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005966/0.4507, allocations: 87.62 kB / 392.4 MB, free: 14.48 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001304/0.4521, allocations: 389.7 kB / 392.8 MB, free: 14.39 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.596e-05/0.4523, allocations: 12.09 kB / 392.8 MB, free: 14.38 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001832/0.4542, allocations: 1.026 MB / 393.8 MB, free: 13.8 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.426e-06/0.4543, allocations: 5.562 kB / 393.8 MB, free: 13.79 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003008/0.4574, allocations: 1.158 MB / 395 MB, free: 13.46 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003611/0.4578, allocations: 179.5 kB / 395.2 MB, free: 13.32 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.458, allocations: 12.75 kB / 395.2 MB, free: 13.32 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007334/0.4588, allocations: 69.5 kB / 395.3 MB, free: 13.29 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002746/0.4592, allocations: 98.14 kB / 395.4 MB, free: 13.24 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.821e-05/0.4593, allocations: 33.16 kB / 395.4 MB, free: 13.23 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0002275/0.4596, allocations: 176.7 kB / 395.6 MB, free: 13.15 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0007725/0.4605, allocations: 125.3 kB / 395.7 MB, free: 13.14 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002132/0.4607, allocations: 110.5 kB / 395.8 MB, free: 13.07 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001617/0.4624, allocations: 0.6089 MB / 396.4 MB, free: 12.98 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.4625, allocations: 0 / 396.4 MB, free: 12.98 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0009403/0.4635, allocations: 333 kB / 396.7 MB, free: 12.95 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005531/0.4641, allocations: 27.55 kB / 396.8 MB, free: 12.93 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.4665, allocations: 0.7366 MB / 397.5 MB, free: 12.58 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006117/0.4672, allocations: 0.8789 MB / 398.4 MB, free: 11.8 MB / 312.6 MB Notification: Performance of SimCode: time 2.235e-06/0.4673, allocations: 0 / 398.4 MB, free: 11.8 MB / 312.6 MB Notification: Performance of Templates: time 0.07354/0.5409, allocations: 8.848 MB / 407.2 MB, free: 5.406 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.makefile clang -fPIC -O1 -march=native -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.o Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: variable has incomplete type 'void' static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: expected ';' after top level declarator Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:171:33: error: unknown type name 'MEASURE_TIME' static void fmtInit(DATA* data, MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:175:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:198:63: error: unknown type name 'MEASURE_TIME' static void fmtEmitStep(DATA* data, threadData_t *threadData, MEASURE_TIME* mt, SOLVER_INFO* solverInfo) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:239:5: warning: implicit declaration of function 'overwriteOldSimulationData' is invalid in C99 [-Wimplicit-function-declaration] overwriteOldSimulationData(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:240:5: warning: implicit declaration of function 'storePreValues' is invalid in C99 [-Wimplicit-function-declaration] storePreValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:241:5: warning: implicit declaration of function 'storeOldValues' is invalid in C99 [-Wimplicit-function-declaration] storeOldValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:259:3: warning: implicit declaration of function 'printAllVarsDebug' is invalid in C99 [-Wimplicit-function-declaration] printAllVarsDebug(data, 0, LOG_DEBUG); /* ??? */ ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:263:22: error: unknown type name 'MEASURE_TIME' static void fmtClose(MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:291:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:308:3: warning: implicit declaration of function 'restoreOldValues' is invalid in C99 [-Wimplicit-function-declaration] restoreOldValues(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:311:3: warning: implicit declaration of function 'updateDiscreteSystem' is invalid in C99 [-Wimplicit-function-declaration] updateDiscreteSystem(data, threadData); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_performSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: expected ';' after top level declarator int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_performQSSSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: expected ';' after top level declarator int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_input_function(DATA *data, threadData_t *threadData) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:317:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_eqFunction_98(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:317:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_eqFunction_98(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:318:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_eqFunction_99(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:318:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_eqFunction_99(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:319:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_eqFunction_100(DATA*,threadData_t*); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.o] Error 1