Notification: Performance of loadModel(Modelica): time 1.7/1.7, allocations: 194.5 MB / 200.7 MB, free: 5.156 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.569e-06/9.638e-06, allocations: 2.156 kB / 247.5 MB, free: 4.52 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06463/0.0647, allocations: 44.36 MB / 291.9 MB, free: 9.113 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.246/0.3108, allocations: 79.85 MB / 371.7 MB, free: 7.176 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.3112, allocations: 90.84 kB / 371.8 MB, free: 7.172 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.188/0.4992, allocations: 49.4 MB / 421.2 MB, free: 11.55 MB / 328.6 MB Notification: Performance of Transformations before backend: time 9.464e-05/0.4994, allocations: 59.45 kB / 421.3 MB, free: 11.5 MB / 328.6 MB Notification: Performance of Generate backend data structure: time 0.006107/0.5056, allocations: 2.4 MB / 423.7 MB, free: 9.164 MB / 328.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.5057, allocations: 8.031 kB / 423.7 MB, free: 9.156 MB / 328.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01014/0.5159, allocations: 1.462 MB / 425.1 MB, free: 7.688 MB / 328.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003749/0.5198, allocations: 1.374 MB / 426.5 MB, free: 6.277 MB / 328.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/0.52, allocations: 96 kB / 426.6 MB, free: 6.184 MB / 328.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001123/0.5212, allocations: 179.9 kB / 426.8 MB, free: 6.008 MB / 328.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008467/0.5298, allocations: 4.114 MB / 430.9 MB, free: 1.887 MB / 328.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01351/0.5434, allocations: 6.796 MB / 437.7 MB, free: 10.19 MB / 344.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001926/0.5437, allocations: 55.47 kB / 437.7 MB, free: 10.14 MB / 344.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009427/0.5447, allocations: 28 kB / 437.8 MB, free: 10.11 MB / 344.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001019/0.5458, allocations: 0.7895 MB / 438.5 MB, free: 9.316 MB / 344.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03631/0.5822, allocations: 34.7 MB / 473.2 MB, free: 5.578 MB / 376.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002827/0.5851, allocations: 1.635 MB / 474.9 MB, free: 3.781 MB / 376.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/0.5863, allocations: 0.6605 MB / 475.5 MB, free: 3.102 MB / 376.6 MB Notification: Performance of preOpt evalFunc (simulation): time 6.635e-05/0.5864, allocations: 23.88 kB / 475.6 MB, free: 3.078 MB / 376.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.5865, allocations: 50.55 kB / 475.6 MB, free: 3.02 MB / 376.6 MB Notification: Performance of pre-optimization done (n=112): time 7.753e-06/0.5866, allocations: 0 / 475.6 MB, free: 3.02 MB / 376.6 MB Notification: Performance of matching and sorting (n=112): time 0.01392/0.6005, allocations: 3.141 MB / 478.8 MB, free: 15.86 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002965/0.6009, allocations: 225.6 kB / 479 MB, free: 15.59 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004451/0.6054, allocations: 2.394 MB / 481.4 MB, free: 13.18 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001713/0.6057, allocations: 29.7 kB / 481.4 MB, free: 13.14 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.001781/0.6076, allocations: 2.37 MB / 483.8 MB, free: 10.73 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006177/0.6083, allocations: 0.4901 MB / 484.3 MB, free: 10.23 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003963/0.6087, allocations: 7.875 kB / 484.3 MB, free: 10.23 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0003945/0.6092, allocations: 0.5774 MB / 484.8 MB, free: 9.641 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003135/0.6124, allocations: 1.397 MB / 486.2 MB, free: 8.238 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005124/0.6176, allocations: 5.011 MB / 491.3 MB, free: 1.371 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008823/0.6265, allocations: 3.387 MB / 494.6 MB, free: 13.98 MB / 408.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.191e-05/0.6267, allocations: 43.91 kB / 494.7 MB, free: 13.94 MB / 408.6 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.01697/0.6437, allocations: 6.155 MB / 0.4891 GB, free: 7.781 MB / 408.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.6439, allocations: 8 kB / 0.4891 GB, free: 7.773 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001726/0.6441, allocations: 128 kB / 0.4892 GB, free: 7.648 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002052/0.6444, allocations: 192 kB / 0.4894 GB, free: 7.461 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005959/0.6504, allocations: 1.4 MB / 0.4908 GB, free: 6.059 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001803/0.6507, allocations: 255.4 kB / 0.491 GB, free: 5.809 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005301/0.656, allocations: 0.6173 MB / 0.4916 GB, free: 5.184 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001174/0.6573, allocations: 364 kB / 0.492 GB, free: 4.828 MB / 408.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001935/0.6576, allocations: 79.28 kB / 0.4921 GB, free: 4.75 MB / 408.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005647/0.6582, allocations: 233 kB / 0.4923 GB, free: 4.52 MB / 408.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003253/0.6615, allocations: 0.9824 MB / 0.4932 GB, free: 3.527 MB / 408.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.055e-05/0.6617, allocations: 8.281 kB / 0.4932 GB, free: 3.52 MB / 408.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.935e-05/0.6618, allocations: 11.84 kB / 0.4933 GB, free: 3.508 MB / 408.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.865e-05/0.6618, allocations: 3.984 kB / 0.4933 GB, free: 3.504 MB / 408.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006139/0.668, allocations: 2.528 MB / 0.4957 GB, free: 0.9414 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/0.6681, allocations: 4 kB / 0.4957 GB, free: 0.9375 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001951/0.6701, allocations: 267.6 kB / 0.496 GB, free: 0.6758 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004091/0.6706, allocations: 81.69 kB / 0.4961 GB, free: 0.5898 MB / 408.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002068/0.6709, allocations: 31.97 kB / 0.4961 GB, free: 0.5586 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1229/0.7938, allocations: 2.987 MB / 0.499 GB, free: 152 MB / 408.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.962e-06/0.794, allocations: 3.75 kB / 0.499 GB, free: 152 MB / 408.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007211/0.8012, allocations: 3.272 MB / 0.5022 GB, free: 151.3 MB / 408.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005563/0.8019, allocations: 285.4 kB / 0.5025 GB, free: 151.2 MB / 408.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004526/0.8024, allocations: 22.27 kB / 0.5025 GB, free: 151.2 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/0.8038, allocations: 13.89 kB / 0.5025 GB, free: 151.2 MB / 408.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.8041, allocations: 61.05 kB / 0.5026 GB, free: 151.2 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.8042, allocations: 51.38 kB / 0.5026 GB, free: 151.2 MB / 408.6 MB Notification: Performance of sort global known variables: time 0.002661/0.8069, allocations: 1.554 MB / 0.5041 GB, free: 151 MB / 408.6 MB Notification: Performance of remove unused functions: time 0.005368/0.8124, allocations: 0.7187 MB / 0.5048 GB, free: 151 MB / 408.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003283/0.8128, allocations: 122.2 kB / 0.505 GB, free: 150.9 MB / 408.6 MB Notification: Performance of simCode: created initialization part: time 0.005894/0.8188, allocations: 3.209 MB / 0.5081 GB, free: 150.9 MB / 408.6 MB Notification: Performance of simCode: created event and clocks part: time 6.077e-06/0.8189, allocations: 0 / 0.5081 GB, free: 150.9 MB / 408.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001512/0.8205, allocations: 0.8241 MB / 0.5089 GB, free: 150.7 MB / 408.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.822, allocations: 188 kB / 0.5091 GB, free: 150.7 MB / 408.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/0.8348, allocations: 6.045 MB / 0.515 GB, free: 149.2 MB / 408.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004465/0.8394, allocations: 2.648 MB / 0.5176 GB, free: 148.5 MB / 408.6 MB Notification: Performance of SimCode: time 4.4e-06/0.8395, allocations: 4 kB / 0.5176 GB, free: 148.4 MB / 408.6 MB Notification: Performance of Templates: time 0.08998/0.9295, allocations: 21.88 MB / 0.5389 GB, free: 146.9 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