Notification: Performance of loadModel(Modelica): time 1.506/1.506, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.02e-05/1.034e-05, allocations: 2.094 kB / 247.5 MB, free: 4.535 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06124/0.06132, allocations: 44.35 MB / 291.9 MB, free: 9.133 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2311/0.2926, allocations: 79.85 MB / 371.7 MB, free: 6.977 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.2929, allocations: 91.5 kB / 371.8 MB, free: 6.973 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1837/0.4767, allocations: 49.41 MB / 421.2 MB, free: 11.54 MB / 328.6 MB Notification: Performance of Transformations before backend: time 8.227e-05/0.4769, allocations: 48 kB / 421.3 MB, free: 11.49 MB / 328.6 MB Notification: Performance of Generate backend data structure: time 0.004797/0.4817, allocations: 2.405 MB / 423.7 MB, free: 9.16 MB / 328.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.4819, allocations: 8.031 kB / 423.7 MB, free: 9.152 MB / 328.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009798/0.4917, allocations: 1.455 MB / 425.1 MB, free: 7.691 MB / 328.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003744/0.4956, allocations: 1.379 MB / 426.5 MB, free: 6.273 MB / 328.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.4958, allocations: 96 kB / 426.6 MB, free: 6.18 MB / 328.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008685/0.4967, allocations: 175.9 kB / 426.8 MB, free: 6.008 MB / 328.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008083/0.5049, allocations: 4.126 MB / 430.9 MB, free: 1.879 MB / 328.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01213/0.5171, allocations: 6.789 MB / 437.7 MB, free: 10.19 MB / 344.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001326/0.5173, allocations: 55.47 kB / 437.7 MB, free: 10.14 MB / 344.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004739/0.5179, allocations: 28 kB / 437.8 MB, free: 10.11 MB / 344.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001114/0.519, allocations: 0.789 MB / 438.6 MB, free: 9.32 MB / 344.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03415/0.5533, allocations: 34.7 MB / 473.3 MB, free: 5.578 MB / 376.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002545/0.5559, allocations: 1.631 MB / 474.9 MB, free: 3.777 MB / 376.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/0.5572, allocations: 0.6646 MB / 475.6 MB, free: 3.094 MB / 376.6 MB Notification: Performance of preOpt evalFunc (simulation): time 5.343e-05/0.5573, allocations: 11.97 kB / 475.6 MB, free: 3.086 MB / 376.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.5574, allocations: 62.42 kB / 475.6 MB, free: 3.016 MB / 376.6 MB Notification: Performance of pre-optimization done (n=112): time 7.543e-06/0.5574, allocations: 0 / 475.6 MB, free: 3.016 MB / 376.6 MB Notification: Performance of matching and sorting (n=112): time 0.01401/0.5715, allocations: 3.138 MB / 478.8 MB, free: 15.86 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.5717, allocations: 221.6 kB / 479 MB, free: 15.59 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004518/0.5763, allocations: 2.402 MB / 481.4 MB, free: 13.17 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001706/0.5766, allocations: 26.08 kB / 481.4 MB, free: 13.14 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.001535/0.5781, allocations: 2.374 MB / 483.8 MB, free: 10.73 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006912/0.5789, allocations: 0.4901 MB / 484.3 MB, free: 10.23 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003049/0.5793, allocations: 3.938 kB / 484.3 MB, free: 10.23 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0003583/0.5797, allocations: 0.5812 MB / 484.9 MB, free: 9.637 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002531/0.5823, allocations: 1.393 MB / 486.2 MB, free: 8.238 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005007/0.5874, allocations: 5.011 MB / 491.3 MB, free: 1.371 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008167/0.5956, allocations: 3.395 MB / 494.7 MB, free: 13.98 MB / 408.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.081e-05/0.5958, allocations: 36 kB / 494.7 MB, free: 13.94 MB / 408.6 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.01614/0.612, allocations: 6.152 MB / 0.4891 GB, free: 7.785 MB / 408.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.6121, allocations: 4 kB / 0.4891 GB, free: 7.781 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003265/0.6125, allocations: 132 kB / 0.4892 GB, free: 7.652 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001925/0.6128, allocations: 188 kB / 0.4894 GB, free: 7.469 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005856/0.6187, allocations: 1.4 MB / 0.4908 GB, free: 6.066 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001861/0.619, allocations: 255 kB / 0.491 GB, free: 5.816 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005293/0.6243, allocations: 0.6213 MB / 0.4916 GB, free: 5.188 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008938/0.6253, allocations: 371.9 kB / 0.492 GB, free: 4.828 MB / 408.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001509/0.6255, allocations: 79.28 kB / 0.4921 GB, free: 4.75 MB / 408.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005302/0.6261, allocations: 229 kB / 0.4923 GB, free: 4.523 MB / 408.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003328/0.6295, allocations: 0.9786 MB / 0.4932 GB, free: 3.535 MB / 408.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.02e-05/0.6297, allocations: 11.91 kB / 0.4932 GB, free: 3.523 MB / 408.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.592e-05/0.6297, allocations: 12.22 kB / 0.4933 GB, free: 3.512 MB / 408.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/0.6298, allocations: 7.984 kB / 0.4933 GB, free: 3.504 MB / 408.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006018/0.6359, allocations: 2.525 MB / 0.4957 GB, free: 0.9414 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.636, allocations: 7.938 kB / 0.4957 GB, free: 0.9336 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001981/0.638, allocations: 267.8 kB / 0.496 GB, free: 0.6719 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003822/0.6385, allocations: 77.67 kB / 0.4961 GB, free: 0.5898 MB / 408.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001375/0.6387, allocations: 31.97 kB / 0.4961 GB, free: 0.5586 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1214/0.7601, allocations: 2.99 MB / 0.499 GB, free: 152.3 MB / 408.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.822e-06/0.7602, allocations: 7.594 kB / 0.499 GB, free: 152.3 MB / 408.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006873/0.7672, allocations: 3.262 MB / 0.5022 GB, free: 151.6 MB / 408.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005486/0.7678, allocations: 285.9 kB / 0.5025 GB, free: 151.6 MB / 408.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003935/0.7683, allocations: 27.88 kB / 0.5025 GB, free: 151.6 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.7697, allocations: 14.97 kB / 0.5025 GB, free: 151.6 MB / 408.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.7699, allocations: 55.52 kB / 0.5026 GB, free: 151.6 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/0.7701, allocations: 53.19 kB / 0.5026 GB, free: 151.6 MB / 408.6 MB Notification: Performance of sort global known variables: time 0.002877/0.773, allocations: 1.552 MB / 0.5041 GB, free: 151.4 MB / 408.6 MB Notification: Performance of remove unused functions: time 0.005478/0.7786, allocations: 0.7263 MB / 0.5049 GB, free: 151.4 MB / 408.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003169/0.779, allocations: 117.3 kB / 0.505 GB, free: 151.3 MB / 408.6 MB Notification: Performance of simCode: created initialization part: time 0.005718/0.7848, allocations: 3.203 MB / 0.5081 GB, free: 151.3 MB / 408.6 MB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/0.7849, allocations: 7.812 kB / 0.5081 GB, free: 151.3 MB / 408.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001433/0.7864, allocations: 0.8187 MB / 0.5089 GB, free: 151.1 MB / 408.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.788, allocations: 192.6 kB / 0.5091 GB, free: 151.1 MB / 408.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01164/0.7997, allocations: 6.041 MB / 0.515 GB, free: 149.6 MB / 408.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003747/0.8036, allocations: 2.646 MB / 0.5176 GB, free: 148.8 MB / 408.6 MB Notification: Performance of SimCode: time 2.934e-06/0.8037, allocations: 4 kB / 0.5176 GB, free: 148.8 MB / 408.6 MB Notification: Performance of Templates: time 0.1311/0.9348, allocations: 21.86 MB / 0.5389 GB, free: 147.3 MB / 408.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.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_Elementary_PointGravityWithPointMasses -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.o Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.c In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.c:2: ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.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.Elementary.PointGravityWithPointMasses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.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.Elementary.PointGravityWithPointMasses.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.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.Elementary.PointGravityWithPointMasses.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_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.Elementary.PointGravityWithPointMasses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.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.Elementary.PointGravityWithPointMasses.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.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.Elementary.PointGravityWithPointMasses.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_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.Elementary.PointGravityWithPointMasses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.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.Elementary.PointGravityWithPointMasses.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.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_Elementary_PointGravityWithPointMasses_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.Elementary.PointGravityWithPointMasses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.c:1415:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_eqFunction_759(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.c:1416:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_eqFunction_760(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.c:1417:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_eqFunction_761(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.c:1418:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_eqFunction_762(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.c:1419:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_eqFunction_763(DATA* data, threadData_t *threadData); ^ ; 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.Elementary.PointGravityWithPointMasses.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.o] Error 1