Notification: Performance of loadModel(Modelica): time 1.608/1.608, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.069e-05/1.083e-05, allocations: 1.219 kB / 247.6 MB, free: 4.434 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05951/0.0596, allocations: 44.36 MB / 292 MB, free: 9.02 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2385/0.2982, allocations: 87.95 MB / 379.9 MB, free: 4.801 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.2985, allocations: 88.53 kB / 380 MB, free: 4.785 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.4518/0.7504, allocations: 118.4 MB / 498.4 MB, free: 184 kB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0003653/0.7509, allocations: 135.9 kB / 498.6 MB, free: 48 kB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.1444/0.8953, allocations: 6.434 MB / 0.4932 GB, free: 103.2 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.8955, allocations: 10 kB / 0.4932 GB, free: 103.2 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04801/0.9435, allocations: 9.004 MB / 0.502 GB, free: 102.8 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02471/0.9683, allocations: 8.647 MB / 0.5104 GB, free: 102 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002825/0.9687, allocations: 183 kB / 0.5106 GB, free: 102 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002264/0.9711, allocations: 350.8 kB / 0.5109 GB, free: 101.9 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01775/0.9889, allocations: 9.193 MB / 0.5199 GB, free: 101.9 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0262/1.015, allocations: 13.31 MB / 0.5329 GB, free: 98.79 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002997/1.016, allocations: 89.67 kB / 0.533 GB, free: 98.78 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001453/1.017, allocations: 34.66 kB / 0.533 GB, free: 98.78 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002311/1.019, allocations: 1.543 MB / 0.5345 GB, free: 98.77 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08511/1.105, allocations: 64.49 MB / 0.5975 GB, free: 56.61 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01/1.115, allocations: 7.172 MB / 0.6045 GB, free: 49.98 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007192/1.122, allocations: 5.504 MB / 0.6099 GB, free: 44.91 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02758/1.15, allocations: 14.16 MB / 0.6237 GB, free: 32.61 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.14e-05/1.15, allocations: 71.34 kB / 0.6238 GB, free: 32.53 MB / 392.6 MB Notification: Performance of pre-optimization done (n=340): time 1.159e-05/1.15, allocations: 0 / 0.6238 GB, free: 32.53 MB / 392.6 MB Notification: Performance of matching and sorting (n=604): time 0.373/1.523, allocations: 72.71 MB / 0.6948 GB, free: 91.59 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.24e-05/1.523, allocations: 267 kB / 0.695 GB, free: 91.33 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007512/1.531, allocations: 4.041 MB / 0.699 GB, free: 90.94 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.001449/1.532, allocations: 29.05 kB / 0.699 GB, free: 90.91 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.002342/1.535, allocations: 3.557 MB / 0.7025 GB, free: 88.82 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.002987/1.538, allocations: 2.029 MB / 0.7045 GB, free: 87.53 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001693/1.54, allocations: 0 / 0.7045 GB, free: 87.53 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0006205/1.54, allocations: 0.7191 MB / 0.7052 GB, free: 87.2 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.015/1.555, allocations: 8.58 MB / 0.7136 GB, free: 86.12 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01696/1.572, allocations: 12.75 MB / 0.726 GB, free: 77.38 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01792/1.59, allocations: 10.59 MB / 0.7363 GB, free: 73.6 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000121/1.591, allocations: 44.62 kB / 0.7364 GB, free: 73.59 MB / 392.6 MB Notification: Performance of matching and sorting (n=1257) (initialization): time 0.1214/1.712, allocations: 38.55 MB / 0.774 GB, free: 52.53 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/1.712, allocations: 4 kB / 0.774 GB, free: 52.53 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001828/1.713, allocations: 146.5 kB / 0.7742 GB, free: 52.39 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09248/1.805, allocations: 20.86 MB / 0.7946 GB, free: 33.75 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006379/1.812, allocations: 1.478 MB / 0.796 GB, free: 32.27 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3979/2.21, allocations: 126.3 MB / 0.9193 GB, free: 35.73 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01378/2.223, allocations: 401.7 kB / 0.9197 GB, free: 35.46 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002641/2.226, allocations: 0.5438 MB / 0.9203 GB, free: 34.98 MB / 392.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.001246/2.228, allocations: 83.12 kB / 0.9203 GB, free: 34.9 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001962/2.23, allocations: 0.5438 MB / 0.9209 GB, free: 34.35 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2498/2.479, allocations: 35.34 MB / 0.9554 GB, free: 82.97 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001243/2.48, allocations: 57.12 kB / 0.9554 GB, free: 82.97 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-05/2.48, allocations: 63.16 kB / 0.9555 GB, free: 82.97 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.835e-05/2.48, allocations: 29.78 kB / 0.9555 GB, free: 82.97 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1506/2.631, allocations: 55.09 MB / 1.009 GB, free: 72.76 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.559e-05/2.631, allocations: 3.406 kB / 1.009 GB, free: 72.76 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002077/2.633, allocations: 266.9 kB / 1.01 GB, free: 72.75 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.08627/2.719, allocations: 20.12 MB / 1.029 GB, free: 62.55 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00163/2.721, allocations: 11.98 kB / 1.029 GB, free: 62.54 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3778/3.099, allocations: 116.9 MB / 1.143 GB, free: 63.31 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.102e-06/3.099, allocations: 0 / 1.143 GB, free: 63.31 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1299/3.229, allocations: 47.82 MB / 1.19 GB, free: 29.89 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006875/3.236, allocations: 2.338 MB / 1.192 GB, free: 27.78 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002959/3.239, allocations: 3.906 kB / 1.192 GB, free: 27.77 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008816/3.248, allocations: 275.1 kB / 1.193 GB, free: 27.62 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002156/3.25, allocations: 263.8 kB / 1.193 GB, free: 27.47 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001163/3.251, allocations: 151 kB / 1.193 GB, free: 27.33 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.1469/3.398, allocations: 3.332 MB / 1.196 GB, free: 78.6 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.01488/3.413, allocations: 2.832 MB / 1.199 GB, free: 78.6 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002576/3.414, allocations: 107.7 kB / 1.199 GB, free: 78.55 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.04624/3.46, allocations: 22.85 MB / 1.221 GB, free: 77.8 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 8.102e-06/3.46, allocations: 0 / 1.221 GB, free: 77.8 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.02899/3.489, allocations: 12.43 MB / 1.234 GB, free: 77.16 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004879/3.494, allocations: 0.5229 MB / 1.234 GB, free: 77.14 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05478/3.549, allocations: 21.4 MB / 1.255 GB, free: 73.04 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0101/3.559, allocations: 5.344 MB / 1.26 GB, free: 71.38 MB / 392.6 MB Notification: Performance of SimCode: time 2.584e-06/3.559, allocations: 0 / 1.26 GB, free: 71.38 MB / 392.6 MB Notification: Performance of Templates: time 0.7119/4.271, allocations: 211.7 MB / 1.467 GB, free: 62.54 MB / 408.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