Notification: Performance of loadModel(Modelica): time 1.592/1.592, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.988e-06/1.006e-05, allocations: 2.219 kB / 247.6 MB, free: 4.441 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05978/0.05986, allocations: 44.36 MB / 292 MB, free: 8.988 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2389/0.2989, allocations: 87.95 MB / 379.9 MB, free: 4.852 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.2992, allocations: 93.22 kB / 380 MB, free: 4.836 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.495/0.7943, allocations: 118.4 MB / 498.4 MB, free: 156 kB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0003724/0.7948, allocations: 131.9 kB / 498.6 MB, free: 24 kB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.1744/0.9693, allocations: 6.439 MB / 0.4932 GB, free: 55.18 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.9694, allocations: 8.938 kB / 0.4932 GB, free: 55.18 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04767/1.017, allocations: 9.01 MB / 0.502 GB, free: 54.75 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02377/1.041, allocations: 8.643 MB / 0.5104 GB, free: 53.92 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002859/1.041, allocations: 184.8 kB / 0.5106 GB, free: 53.92 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002286/1.044, allocations: 348.5 kB / 0.5109 GB, free: 53.91 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01789/1.062, allocations: 9.188 MB / 0.5199 GB, free: 53.88 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02619/1.088, allocations: 13.32 MB / 0.5329 GB, free: 50.76 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003251/1.088, allocations: 86.06 kB / 0.533 GB, free: 50.75 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001901/1.09, allocations: 36.59 kB / 0.533 GB, free: 50.75 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00236/1.093, allocations: 1.542 MB / 0.5345 GB, free: 50.73 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08876/1.182, allocations: 64.5 MB / 0.5975 GB, free: 24.11 MB / 408.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01001/1.192, allocations: 7.168 MB / 0.6045 GB, free: 17.49 MB / 408.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007599/1.2, allocations: 5.502 MB / 0.6099 GB, free: 12.42 MB / 408.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02937/1.229, allocations: 14.17 MB / 0.6237 GB, free: 104 kB / 408.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.075e-05/1.229, allocations: 71.81 kB / 0.6238 GB, free: 24 kB / 408.6 MB Notification: Performance of pre-optimization done (n=340): time 1.222e-05/1.229, allocations: 0 / 0.6238 GB, free: 24 kB / 408.6 MB Notification: Performance of matching and sorting (n=604): time 0.4385/1.668, allocations: 74.11 MB / 0.6962 GB, free: 77.95 MB / 424.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.904e-05/1.668, allocations: 266.3 kB / 0.6964 GB, free: 77.69 MB / 424.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007836/1.676, allocations: 4.034 MB / 0.7004 GB, free: 77.3 MB / 424.6 MB Notification: Performance of collectPreVariables (initialization): time 0.001565/1.678, allocations: 25.7 kB / 0.7004 GB, free: 77.27 MB / 424.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.002354/1.68, allocations: 3.561 MB / 0.7039 GB, free: 75.07 MB / 424.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.002974/1.683, allocations: 2.037 MB / 0.7059 GB, free: 73.77 MB / 424.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001789/1.685, allocations: 0 / 0.7059 GB, free: 73.77 MB / 424.6 MB Notification: Performance of setup shared object (initialization): time 0.0007032/1.686, allocations: 0.7161 MB / 0.7066 GB, free: 73.45 MB / 424.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01522/1.701, allocations: 8.573 MB / 0.7149 GB, free: 71.45 MB / 424.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01913/1.72, allocations: 12.75 MB / 0.7274 GB, free: 62.71 MB / 424.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01967/1.74, allocations: 10.59 MB / 0.7377 GB, free: 55.91 MB / 424.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001714/1.74, allocations: 40 kB / 0.7378 GB, free: 55.88 MB / 424.6 MB Notification: Performance of matching and sorting (n=1257) (initialization): time 0.123/1.863, allocations: 38.55 MB / 0.7754 GB, free: 26.56 MB / 424.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/1.864, allocations: 4.656 kB / 0.7754 GB, free: 26.55 MB / 424.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001943/1.864, allocations: 145.6 kB / 0.7756 GB, free: 26.41 MB / 424.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09172/1.956, allocations: 20.87 MB / 0.7959 GB, free: 6.039 MB / 424.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006592/1.962, allocations: 1.478 MB / 0.7974 GB, free: 4.559 MB / 424.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4323/2.395, allocations: 126 MB / 0.9204 GB, free: 20.1 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0136/2.408, allocations: 411.6 kB / 0.9208 GB, free: 19.82 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002603/2.411, allocations: 0.5442 MB / 0.9213 GB, free: 19.34 MB / 424.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.001077/2.412, allocations: 79.28 kB / 0.9214 GB, free: 19.26 MB / 424.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001996/2.414, allocations: 0.5438 MB / 0.922 GB, free: 18.71 MB / 424.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2872/2.702, allocations: 35.22 MB / 0.9563 GB, free: 76.71 MB / 440.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001354/2.702, allocations: 59.5 kB / 0.9564 GB, free: 76.71 MB / 440.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001073/2.702, allocations: 67.08 kB / 0.9565 GB, free: 76.71 MB / 440.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.163e-05/2.702, allocations: 29.86 kB / 0.9565 GB, free: 76.71 MB / 440.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1477/2.85, allocations: 55.09 MB / 1.01 GB, free: 73.3 MB / 440.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.266e-05/2.85, allocations: 0 / 1.01 GB, free: 73.3 MB / 440.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002058/2.852, allocations: 269 kB / 1.011 GB, free: 73.29 MB / 440.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0858/2.938, allocations: 20.12 MB / 1.03 GB, free: 69.16 MB / 440.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001745/2.94, allocations: 3.938 kB / 1.03 GB, free: 69.16 MB / 440.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4255/3.365, allocations: 116.6 MB / 1.144 GB, free: 79.62 MB / 440.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-06/3.366, allocations: 0 / 1.144 GB, free: 79.62 MB / 440.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1275/3.493, allocations: 47.81 MB / 1.191 GB, free: 69.02 MB / 440.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0077/3.501, allocations: 2.338 MB / 1.193 GB, free: 67.92 MB / 440.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003246/3.504, allocations: 2.719 kB / 1.193 GB, free: 67.92 MB / 440.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009201/3.514, allocations: 270 kB / 1.193 GB, free: 67.92 MB / 440.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002359/3.516, allocations: 268 kB / 1.194 GB, free: 67.88 MB / 440.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001715/3.518, allocations: 141.1 kB / 1.194 GB, free: 67.84 MB / 440.6 MB Notification: Performance of sort global known variables: time 0.007346/3.525, allocations: 2.783 MB / 1.196 GB, free: 66.85 MB / 440.6 MB Notification: Performance of remove unused functions: time 0.01722/3.543, allocations: 2.836 MB / 1.199 GB, free: 66.71 MB / 440.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002715/3.543, allocations: 109.8 kB / 1.199 GB, free: 66.63 MB / 440.6 MB Notification: Performance of simCode: created initialization part: time 0.04685/3.59, allocations: 22.85 MB / 1.222 GB, free: 46.36 MB / 440.6 MB Notification: Performance of simCode: created event and clocks part: time 7.892e-06/3.59, allocations: 0 / 1.222 GB, free: 46.36 MB / 440.6 MB Notification: Performance of simCode: created simulation system equations: time 0.02943/3.62, allocations: 12.44 MB / 1.234 GB, free: 35.27 MB / 440.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005702/3.625, allocations: 0.512 MB / 1.234 GB, free: 34.84 MB / 440.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06046/3.686, allocations: 21.41 MB / 1.255 GB, free: 15.71 MB / 440.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01189/3.698, allocations: 5.347 MB / 1.26 GB, free: 11.68 MB / 440.6 MB Notification: Performance of SimCode: time 4.051e-06/3.698, allocations: 0 / 1.26 GB, free: 11.68 MB / 440.6 MB Notification: Performance of Templates: time 0.7391/4.437, allocations: 211.7 MB / 1.467 GB, free: 88.51 MB / 472.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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_MultiBody_Examples_Loops_Fourbar1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.o Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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.MultiBody.Examples.Loops.Fourbar1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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.MultiBody.Examples.Loops.Fourbar1.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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.MultiBody.Examples.Loops.Fourbar1.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1_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.MultiBody.Examples.Loops.Fourbar1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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.MultiBody.Examples.Loops.Fourbar1.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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.MultiBody.Examples.Loops.Fourbar1.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1_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.MultiBody.Examples.Loops.Fourbar1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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.MultiBody.Examples.Loops.Fourbar1.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1_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.MultiBody.Examples.Loops.Fourbar1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.c:506:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1_eqFunction_1743(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.c:506:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1_eqFunction_1743(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.c:507:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1_eqFunction_1744(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.c:507:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1_eqFunction_1744(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.c:508:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1_eqFunction_1745(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.MultiBody.Examples.Loops.Fourbar1.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.o] Error 1