Notification: Performance of loadModel(Modelica): time 1.467/1.467, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.222e-05/1.229e-05, allocations: 1.031 kB / 247.6 MB, free: 4.434 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07365/0.07377, allocations: 44.36 MB / 292 MB, free: 9.008 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2375/0.3114, allocations: 87.94 MB / 379.9 MB, free: 4.809 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.3117, allocations: 93.19 kB / 380 MB, free: 4.793 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.4471/0.7589, allocations: 118.4 MB / 498.5 MB, free: 172 kB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0003798/0.7594, allocations: 127.9 kB / 498.6 MB, free: 44 kB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.1452/0.9046, allocations: 6.436 MB / 0.4932 GB, free: 102.6 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.9048, allocations: 7.531 kB / 0.4932 GB, free: 102.6 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04902/0.9539, allocations: 9.005 MB / 0.502 GB, free: 102.2 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02454/0.9785, allocations: 8.653 MB / 0.5104 GB, free: 101.4 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002949/0.9789, allocations: 185.6 kB / 0.5106 GB, free: 101.4 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002306/0.9813, allocations: 350.5 kB / 0.5109 GB, free: 101.4 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01796/0.9993, allocations: 9.187 MB / 0.5199 GB, free: 101.4 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02633/1.026, allocations: 13.31 MB / 0.5329 GB, free: 98.23 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003431/1.026, allocations: 86.42 kB / 0.533 GB, free: 98.22 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001889/1.028, allocations: 36.31 kB / 0.533 GB, free: 98.22 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002542/1.031, allocations: 1.538 MB / 0.5345 GB, free: 98.21 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08525/1.116, allocations: 64.5 MB / 0.5975 GB, free: 56.5 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009966/1.126, allocations: 7.175 MB / 0.6045 GB, free: 49.89 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007693/1.134, allocations: 5.504 MB / 0.6099 GB, free: 44.82 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02696/1.161, allocations: 14.16 MB / 0.6237 GB, free: 32.52 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.119e-05/1.161, allocations: 78.84 kB / 0.6238 GB, free: 32.43 MB / 392.6 MB Notification: Performance of pre-optimization done (n=340): time 1.097e-05/1.161, allocations: 0 / 0.6238 GB, free: 32.43 MB / 392.6 MB Notification: Performance of matching and sorting (n=604): time 0.3741/1.535, allocations: 72.7 MB / 0.6948 GB, free: 91.14 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.233e-05/1.536, allocations: 267.4 kB / 0.6951 GB, free: 90.89 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007444/1.543, allocations: 4.043 MB / 0.699 GB, free: 90.5 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.001497/1.545, allocations: 28.42 kB / 0.699 GB, free: 90.46 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.002405/1.547, allocations: 3.551 MB / 0.7025 GB, free: 88.38 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.002938/1.55, allocations: 2.04 MB / 0.7045 GB, free: 87.08 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001669/1.552, allocations: 0 / 0.7045 GB, free: 87.08 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0005733/1.553, allocations: 0.7153 MB / 0.7052 GB, free: 86.76 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0143/1.567, allocations: 8.579 MB / 0.7136 GB, free: 86.01 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01707/1.584, allocations: 12.75 MB / 0.726 GB, free: 77.27 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01811/1.602, allocations: 10.59 MB / 0.7364 GB, free: 73.48 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001148/1.603, allocations: 47 kB / 0.7364 GB, free: 73.48 MB / 392.6 MB Notification: Performance of matching and sorting (n=1257) (initialization): time 0.1226/1.725, allocations: 38.55 MB / 0.774 GB, free: 52.5 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/1.725, allocations: 7.031 kB / 0.7741 GB, free: 52.5 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000176/1.726, allocations: 144 kB / 0.7742 GB, free: 52.36 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09211/1.818, allocations: 20.86 MB / 0.7946 GB, free: 33.81 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006636/1.825, allocations: 1.477 MB / 0.796 GB, free: 32.34 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4067/2.231, allocations: 126.3 MB / 0.9193 GB, free: 35.78 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01343/2.245, allocations: 410.5 kB / 0.9197 GB, free: 35.5 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002611/2.248, allocations: 0.5383 MB / 0.9203 GB, free: 35.02 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.001152/2.249, allocations: 78.06 kB / 0.9203 GB, free: 34.95 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001903/2.251, allocations: 0.5477 MB / 0.9209 GB, free: 34.39 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2426/2.493, allocations: 35.32 MB / 0.9554 GB, free: 82.9 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001223/2.494, allocations: 56 kB / 0.9554 GB, free: 82.9 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001058/2.494, allocations: 65.5 kB / 0.9555 GB, free: 82.9 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.24e-05/2.494, allocations: 31.56 kB / 0.9555 GB, free: 82.9 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1477/2.642, allocations: 55.09 MB / 1.009 GB, free: 72.75 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.916e-05/2.642, allocations: 3.688 kB / 1.009 GB, free: 72.75 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002143/2.644, allocations: 269.8 kB / 1.01 GB, free: 72.73 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0867/2.731, allocations: 20.12 MB / 1.029 GB, free: 62.64 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001797/2.733, allocations: 11.98 kB / 1.029 GB, free: 62.63 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3754/3.108, allocations: 116.9 MB / 1.143 GB, free: 62.36 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.705e-06/3.108, allocations: 0 / 1.143 GB, free: 62.36 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.126/3.234, allocations: 47.82 MB / 1.19 GB, free: 29.93 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00696/3.242, allocations: 2.339 MB / 1.192 GB, free: 27.82 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003055/3.245, allocations: 8 kB / 1.192 GB, free: 27.81 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008987/3.254, allocations: 260.6 kB / 1.193 GB, free: 27.67 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002204/3.256, allocations: 277.4 kB / 1.193 GB, free: 27.51 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001219/3.257, allocations: 143.8 kB / 1.193 GB, free: 27.38 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.1462/3.404, allocations: 3.293 MB / 1.196 GB, free: 78.4 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.01503/3.419, allocations: 2.839 MB / 1.199 GB, free: 78.4 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002664/3.419, allocations: 107.3 kB / 1.199 GB, free: 78.35 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.04631/3.466, allocations: 22.85 MB / 1.221 GB, free: 77.6 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/3.466, allocations: 0 / 1.221 GB, free: 77.6 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.03027/3.496, allocations: 12.43 MB / 1.234 GB, free: 76.96 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005309/3.501, allocations: 0.5295 MB / 1.234 GB, free: 76.94 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05661/3.558, allocations: 21.41 MB / 1.255 GB, free: 72.91 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01074/3.569, allocations: 5.342 MB / 1.26 GB, free: 71.26 MB / 392.6 MB Notification: Performance of SimCode: time 3.492e-06/3.569, allocations: 1.594 kB / 1.26 GB, free: 71.26 MB / 392.6 MB Notification: Performance of Templates: time 0.6241/4.193, allocations: 211.7 MB / 1.467 GB, free: 62.66 MB / 408.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile clang -fPIC -O2 -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_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.o Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.c In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.c:2: ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.c:506:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1_eqFunction_1743(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.c:506:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1_eqFunction_1743(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.c:507:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1_eqFunction_1744(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.c:507:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1_eqFunction_1744(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.c:508:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.o] Error 1