Notification: Performance of loadModel(Modelica): time 1.52/1.52, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.569e-06/9.638e-06, allocations: 1.562 kB / 247.6 MB, free: 4.438 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06237/0.06246, allocations: 44.36 MB / 292 MB, free: 9.008 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2429/0.3054, allocations: 87.94 MB / 379.9 MB, free: 4.832 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.3058, allocations: 98.42 kB / 380 MB, free: 4.812 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.4359/0.7417, allocations: 118.4 MB / 498.5 MB, free: 212 kB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0003748/0.7422, allocations: 127.9 kB / 498.6 MB, free: 84 kB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.146/0.8882, allocations: 6.428 MB / 0.4932 GB, free: 102.9 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.8884, allocations: 9.969 kB / 0.4932 GB, free: 102.9 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04846/0.9369, allocations: 9.009 MB / 0.502 GB, free: 102.5 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02507/0.9621, allocations: 8.648 MB / 0.5104 GB, free: 101.7 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002922/0.9625, allocations: 187.2 kB / 0.5106 GB, free: 101.7 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002329/0.9649, allocations: 344.5 kB / 0.5109 GB, free: 101.7 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01811/0.9831, allocations: 9.193 MB / 0.5199 GB, free: 101.6 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.027/1.01, allocations: 13.31 MB / 0.5329 GB, free: 98.52 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003607/1.011, allocations: 85.28 kB / 0.533 GB, free: 98.51 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002139/1.013, allocations: 35.55 kB / 0.533 GB, free: 98.51 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002475/1.015, allocations: 1.545 MB / 0.5345 GB, free: 98.5 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08589/1.101, allocations: 64.48 MB / 0.5975 GB, free: 56.69 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01002/1.112, allocations: 7.183 MB / 0.6045 GB, free: 50.14 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007436/1.119, allocations: 5.505 MB / 0.6099 GB, free: 45.07 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02764/1.147, allocations: 14.16 MB / 0.6237 GB, free: 32.76 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/1.147, allocations: 68.81 kB / 0.6238 GB, free: 32.68 MB / 392.6 MB Notification: Performance of pre-optimization done (n=340): time 1.104e-05/1.147, allocations: 0 / 0.6238 GB, free: 32.68 MB / 392.6 MB Notification: Performance of matching and sorting (n=604): time 0.3717/1.519, allocations: 72.7 MB / 0.6948 GB, free: 91.34 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.526e-05/1.519, allocations: 267.4 kB / 0.695 GB, free: 91.08 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008891/1.528, allocations: 4.045 MB / 0.699 GB, free: 90.69 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.001652/1.53, allocations: 25.7 kB / 0.699 GB, free: 90.66 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.002716/1.533, allocations: 3.553 MB / 0.7025 GB, free: 88.57 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.00344/1.536, allocations: 2.036 MB / 0.7045 GB, free: 87.27 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002188/1.538, allocations: 0 / 0.7045 GB, free: 87.27 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0008796/1.539, allocations: 0.7222 MB / 0.7052 GB, free: 86.95 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01555/1.555, allocations: 8.574 MB / 0.7136 GB, free: 86.14 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01783/1.573, allocations: 12.75 MB / 0.726 GB, free: 77.39 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01917/1.592, allocations: 10.58 MB / 0.7364 GB, free: 73.61 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001363/1.593, allocations: 41.66 kB / 0.7364 GB, free: 73.61 MB / 392.6 MB Notification: Performance of matching and sorting (n=1257) (initialization): time 0.1255/1.718, allocations: 38.56 MB / 0.774 GB, free: 52.75 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/1.718, allocations: 7.531 kB / 0.7741 GB, free: 52.75 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001923/1.718, allocations: 140 kB / 0.7742 GB, free: 52.61 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09611/1.815, allocations: 20.87 MB / 0.7946 GB, free: 33.97 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006607/1.821, allocations: 1.47 MB / 0.796 GB, free: 32.5 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4101/2.232, allocations: 126 MB / 0.919 GB, free: 36.39 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01374/2.246, allocations: 407.2 kB / 0.9194 GB, free: 36.12 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002868/2.248, allocations: 0.541 MB / 0.92 GB, free: 35.64 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.00156/2.25, allocations: 79.28 kB / 0.92 GB, free: 35.56 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002548/2.253, allocations: 0.5438 MB / 0.9206 GB, free: 35.01 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2563/2.509, allocations: 35.14 MB / 0.9549 GB, free: 82.54 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001247/2.509, allocations: 59.72 kB / 0.9549 GB, free: 82.54 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001254/2.51, allocations: 65.66 kB / 0.955 GB, free: 82.54 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001006/2.51, allocations: 34.09 kB / 0.955 GB, free: 82.54 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1501/2.66, allocations: 55.09 MB / 1.009 GB, free: 72.28 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.084e-05/2.66, allocations: 0 / 1.009 GB, free: 72.28 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002248/2.662, allocations: 263.5 kB / 1.009 GB, free: 72.27 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.08774/2.75, allocations: 20.13 MB / 1.029 GB, free: 62.72 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001723/2.752, allocations: 4 kB / 1.029 GB, free: 62.71 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3823/3.134, allocations: 116.6 MB / 1.143 GB, free: 63.29 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.009e-06/3.135, allocations: 2.969 kB / 1.143 GB, free: 63.29 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1326/3.267, allocations: 47.81 MB / 1.189 GB, free: 30.52 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007253/3.275, allocations: 2.35 MB / 1.192 GB, free: 28.4 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003225/3.278, allocations: 0 / 1.192 GB, free: 28.4 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009086/3.287, allocations: 269.7 kB / 1.192 GB, free: 28.25 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0023/3.289, allocations: 268 kB / 1.192 GB, free: 28.09 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001596/3.291, allocations: 142.7 kB / 1.192 GB, free: 27.96 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.1503/3.442, allocations: 3.149 MB / 1.195 GB, free: 78.35 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.01597/3.458, allocations: 2.834 MB / 1.198 GB, free: 78.35 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002708/3.458, allocations: 105.8 kB / 1.198 GB, free: 78.29 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.04843/3.507, allocations: 22.85 MB / 1.221 GB, free: 77.55 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 7.682e-06/3.507, allocations: 0 / 1.221 GB, free: 77.55 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.02966/3.536, allocations: 12.43 MB / 1.233 GB, free: 76.91 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00544/3.542, allocations: 0.5199 MB / 1.233 GB, free: 76.89 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05964/3.602, allocations: 21.41 MB / 1.254 GB, free: 72.74 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01144/3.613, allocations: 5.346 MB / 1.259 GB, free: 71.09 MB / 392.6 MB Notification: Performance of SimCode: time 2.374e-06/3.613, allocations: 0 / 1.259 GB, free: 71.09 MB / 392.6 MB Notification: Performance of Templates: time 0.6423/4.256, allocations: 211.7 MB / 1.466 GB, free: 63.14 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