Notification: Performance of loadModel(Modelica): time 1.536/1.536, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.138e-05/1.152e-05, allocations: 1.125 kB / 247.3 MB, free: 4.758 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06875/0.06885, allocations: 44.36 MB / 291.7 MB, free: 9.301 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.24/0.3089, allocations: 75.49 MB / 367.2 MB, free: 7.047 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.3093, allocations: 76.7 kB / 367.3 MB, free: 7.043 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.04612/0.3554, allocations: 9.543 MB / 376.8 MB, free: 4.945 MB / 296.6 MB Notification: Performance of Transformations before backend: time 2.947e-05/0.3556, allocations: 7.875 kB / 376.8 MB, free: 4.945 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001947/0.3577, allocations: 0.6012 MB / 377.4 MB, free: 4.453 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.3578, allocations: 11.75 kB / 377.4 MB, free: 4.453 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008333/0.3588, allocations: 54.97 kB / 377.5 MB, free: 4.426 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005198/0.3594, allocations: 289.2 kB / 377.8 MB, free: 4.176 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001954/0.3597, allocations: 75.39 kB / 377.8 MB, free: 4.109 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.3599, allocations: 23 kB / 377.9 MB, free: 4.109 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001528/0.3615, allocations: 404.2 kB / 378.3 MB, free: 4.043 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.3628, allocations: 342.1 kB / 378.6 MB, free: 3.926 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.974e-05/0.363, allocations: 3.984 kB / 378.6 MB, free: 3.922 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.493e-05/0.3632, allocations: 3.938 kB / 378.6 MB, free: 3.918 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.3633, allocations: 7.812 kB / 378.6 MB, free: 3.918 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002651/0.366, allocations: 0.8392 MB / 379.4 MB, free: 3.438 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.3672, allocations: 288 kB / 379.7 MB, free: 3.398 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006657/0.368, allocations: 185.2 kB / 379.9 MB, free: 3.387 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 4.177e-05/0.3682, allocations: 4.281 kB / 379.9 MB, free: 3.387 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.3683, allocations: 42.06 kB / 380 MB, free: 3.34 MB / 296.6 MB Notification: Performance of pre-optimization done (n=49): time 6.007e-06/0.3683, allocations: 0 / 380 MB, free: 3.34 MB / 296.6 MB Notification: Performance of matching and sorting (n=55): time 0.005527/0.3739, allocations: 1.419 MB / 381.4 MB, free: 2.676 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.3741, allocations: 85.36 kB / 381.5 MB, free: 2.582 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.3744, allocations: 187.1 kB / 381.6 MB, free: 2.469 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 5.357e-05/0.3745, allocations: 25.7 kB / 381.7 MB, free: 2.438 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 8.206e-05/0.3746, allocations: 125.8 kB / 381.8 MB, free: 18.33 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.3748, allocations: 178 kB / 382 MB, free: 18.2 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.3749, allocations: 0 / 382 MB, free: 18.2 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0004311/0.3754, allocations: 346.6 kB / 382.3 MB, free: 17.87 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004079/0.3759, allocations: 153.4 kB / 382.5 MB, free: 17.86 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003864/0.3763, allocations: 202 kB / 382.6 MB, free: 17.82 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005101/0.3769, allocations: 155.6 kB / 382.8 MB, free: 17.8 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.702e-06/0.377, allocations: 0 / 382.8 MB, free: 17.8 MB / 312.6 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001316/0.3783, allocations: 0.5179 MB / 383.3 MB, free: 17.7 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.3784, allocations: 7.75 kB / 383.3 MB, free: 17.69 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.3785, allocations: 0 / 383.3 MB, free: 17.69 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009658/0.3795, allocations: 234.8 kB / 383.6 MB, free: 17.64 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005045/0.3801, allocations: 79.94 kB / 383.6 MB, free: 17.62 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005041/0.3852, allocations: 2.422 MB / 386.1 MB, free: 16.13 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008236/0.3862, allocations: 31.47 kB / 386.1 MB, free: 16.12 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/0.3865, allocations: 23.45 kB / 386.1 MB, free: 16.11 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.000176/0.3868, allocations: 87.23 kB / 386.2 MB, free: 16.03 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.3869, allocations: 31.19 kB / 386.2 MB, free: 16.01 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.3871, allocations: 38.81 kB / 386.3 MB, free: 16 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.242e-06/0.3872, allocations: 3.875 kB / 386.3 MB, free: 16 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.657e-06/0.3872, allocations: 0 / 386.3 MB, free: 16 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.3873, allocations: 7.859 kB / 386.3 MB, free: 16 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002522/0.3899, allocations: 1.097 MB / 387.4 MB, free: 15.53 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.006e-06/0.39, allocations: 0 / 387.4 MB, free: 15.53 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005226/0.3906, allocations: 77.59 kB / 387.4 MB, free: 15.51 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008524/0.3915, allocations: 218.4 kB / 387.7 MB, free: 15.46 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.573e-05/0.3916, allocations: 11.58 kB / 387.7 MB, free: 15.46 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004003/0.3957, allocations: 2.345 MB / 390 MB, free: 13.96 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.727e-06/0.3958, allocations: 3.938 kB / 390 MB, free: 13.95 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001743/0.3976, allocations: 0.8328 MB / 390.9 MB, free: 13.71 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/0.3979, allocations: 148.5 kB / 391 MB, free: 13.59 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.3981, allocations: 9.953 kB / 391 MB, free: 13.58 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005389/0.3987, allocations: 36.03 kB / 391 MB, free: 13.57 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.3989, allocations: 56.34 kB / 391.1 MB, free: 13.54 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-05/0.399, allocations: 19.42 kB / 391.1 MB, free: 13.53 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001663/0.3992, allocations: 143.7 kB / 391.3 MB, free: 13.45 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0008829/0.4002, allocations: 131.4 kB / 391.4 MB, free: 13.44 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001762/0.4004, allocations: 101 kB / 391.5 MB, free: 13.37 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.4017, allocations: 0.5388 MB / 392 MB, free: 13.22 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.981e-06/0.4018, allocations: 0 / 392 MB, free: 13.22 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0007857/0.4027, allocations: 368.2 kB / 392.4 MB, free: 13.09 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.4032, allocations: 21.55 kB / 392.4 MB, free: 13.08 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.405, allocations: 0.6096 MB / 393 MB, free: 12.77 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006436/0.4057, allocations: 0.8304 MB / 393.8 MB, free: 12.01 MB / 312.6 MB Notification: Performance of SimCode: time 2.305e-06/0.4058, allocations: 1.344 kB / 393.8 MB, free: 12.01 MB / 312.6 MB Notification: Performance of Templates: time 0.05389/0.4597, allocations: 7.295 MB / 401.1 MB, free: 8.34 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.makefile clang -fPIC -O1 -march=native -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.o Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: variable has incomplete type 'void' static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: expected ';' after top level declarator Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:171:33: error: unknown type name 'MEASURE_TIME' static void fmtInit(DATA* data, MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:175:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:198:63: error: unknown type name 'MEASURE_TIME' static void fmtEmitStep(DATA* data, threadData_t *threadData, MEASURE_TIME* mt, SOLVER_INFO* solverInfo) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:239:5: warning: implicit declaration of function 'overwriteOldSimulationData' is invalid in C99 [-Wimplicit-function-declaration] overwriteOldSimulationData(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:240:5: warning: implicit declaration of function 'storePreValues' is invalid in C99 [-Wimplicit-function-declaration] storePreValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:241:5: warning: implicit declaration of function 'storeOldValues' is invalid in C99 [-Wimplicit-function-declaration] storeOldValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:259:3: warning: implicit declaration of function 'printAllVarsDebug' is invalid in C99 [-Wimplicit-function-declaration] printAllVarsDebug(data, 0, LOG_DEBUG); /* ??? */ ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:263:22: error: unknown type name 'MEASURE_TIME' static void fmtClose(MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:291:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:308:3: warning: implicit declaration of function 'restoreOldValues' is invalid in C99 [-Wimplicit-function-declaration] restoreOldValues(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:311:3: warning: implicit declaration of function 'updateDiscreteSystem' is invalid in C99 [-Wimplicit-function-declaration] updateDiscreteSystem(data, threadData); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_performSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: expected ';' after top level declarator int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_performQSSSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: expected ';' after top level declarator int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_input_function(DATA *data, threadData_t *threadData) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:305:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_eqFunction_97(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:305:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_eqFunction_97(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:306:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_eqFunction_98(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:306:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_eqFunction_98(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:307:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_eqFunction_99(DATA*,threadData_t*); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.o] Error 1