Notification: Performance of loadModel(Modelica): time 1.491/1.491, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.104e-05/1.118e-05, allocations: 1.906 kB / 248 MB, free: 4.137 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06025/0.06033, allocations: 44.36 MB / 292.3 MB, free: 8.68 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2395/0.3, allocations: 86.24 MB / 378.6 MB, free: 5.242 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.3003, allocations: 92.22 kB / 378.6 MB, free: 5.227 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.809/1.109, allocations: 178.5 MB / 0.544 GB, free: 67.07 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0003814/1.11, allocations: 161.3 kB / 0.5442 GB, free: 67.07 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.02872/1.139, allocations: 8.143 MB / 0.5521 GB, free: 63.84 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/1.139, allocations: 9.156 kB / 0.5522 GB, free: 63.84 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02756/1.166, allocations: 3.551 MB / 0.5556 GB, free: 63.2 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03715/1.204, allocations: 13.14 MB / 0.5685 GB, free: 59.8 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004478/1.204, allocations: 276 kB / 0.5687 GB, free: 59.53 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003278/1.208, allocations: 0.511 MB / 0.5692 GB, free: 59.02 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02588/1.234, allocations: 13.23 MB / 0.5821 GB, free: 47.04 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03588/1.27, allocations: 18.65 MB / 0.6004 GB, free: 26.81 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004309/1.27, allocations: 130.9 kB / 0.6005 GB, free: 26.68 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002004/1.272, allocations: 48 kB / 0.6005 GB, free: 26.63 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003834/1.276, allocations: 2.226 MB / 0.6027 GB, free: 24.4 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2548/1.531, allocations: 91.62 MB / 0.6922 GB, free: 74.26 MB / 424.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/1.542, allocations: 7.027 MB / 0.699 GB, free: 73.59 MB / 424.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008646/1.551, allocations: 6.113 MB / 0.705 GB, free: 73.53 MB / 424.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00412/1.555, allocations: 2.232 MB / 0.7072 GB, free: 71.56 MB / 424.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.029e-05/1.555, allocations: 70.72 kB / 0.7072 GB, free: 71.52 MB / 424.6 MB Notification: Performance of pre-optimization done (n=314): time 1.117e-05/1.555, allocations: 3.844 kB / 0.7073 GB, free: 71.52 MB / 424.6 MB Notification: Performance of matching and sorting (n=411): time 0.5944/2.15, allocations: 126.9 MB / 0.8311 GB, free: 120.6 MB / 424.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.712e-05/2.15, allocations: 203.9 kB / 0.8313 GB, free: 120.5 MB / 424.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01159/2.161, allocations: 5.628 MB / 0.8368 GB, free: 120.1 MB / 424.6 MB Notification: Performance of collectPreVariables (initialization): time 0.001069/2.162, allocations: 25.7 kB / 0.8368 GB, free: 120.1 MB / 424.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.003982/2.167, allocations: 5.326 MB / 0.842 GB, free: 118 MB / 424.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.002444/2.169, allocations: 1.523 MB / 0.8435 GB, free: 117.1 MB / 424.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001546/2.171, allocations: 0 / 0.8435 GB, free: 117.1 MB / 424.6 MB Notification: Performance of setup shared object (initialization): time 0.0009066/2.172, allocations: 0.7776 MB / 0.8443 GB, free: 116.8 MB / 424.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01197/2.184, allocations: 6.609 MB / 0.8507 GB, free: 116.8 MB / 424.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01495/2.199, allocations: 12.82 MB / 0.8633 GB, free: 108.8 MB / 424.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.07097/2.27, allocations: 22.09 MB / 0.8848 GB, free: 105.2 MB / 424.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001844/2.27, allocations: 62.41 kB / 0.8849 GB, free: 105.2 MB / 424.6 MB Notification: Performance of matching and sorting (n=1451) (initialization): time 0.1331/2.403, allocations: 39.78 MB / 0.9237 GB, free: 90.99 MB / 424.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/2.403, allocations: 8.031 kB / 0.9237 GB, free: 90.98 MB / 424.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08758/2.491, allocations: 24.84 MB / 0.948 GB, free: 71.55 MB / 424.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04807/2.539, allocations: 9.992 MB / 0.9578 GB, free: 64.36 MB / 424.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01143/2.551, allocations: 2.481 MB / 0.9602 GB, free: 61.95 MB / 424.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.276/2.827, allocations: 50.29 MB / 1.009 GB, free: 102.3 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01652/2.844, allocations: 0.7909 MB / 1.01 GB, free: 102.3 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002843/2.847, allocations: 0.7377 MB / 1.011 GB, free: 102.3 MB / 424.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.001082/2.848, allocations: 79.12 kB / 1.011 GB, free: 102.3 MB / 424.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00229/2.85, allocations: 0.6319 MB / 1.011 GB, free: 102.3 MB / 424.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02636/2.877, allocations: 8.088 MB / 1.019 GB, free: 101.6 MB / 424.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1082/2.985, allocations: 31.41 MB / 1.05 GB, free: 94.04 MB / 424.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.277e-05/2.985, allocations: 29.97 kB / 1.05 GB, free: 94.04 MB / 424.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.044e-05/2.985, allocations: 22.22 kB / 1.05 GB, free: 94.04 MB / 424.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1532/3.138, allocations: 50.53 MB / 1.099 GB, free: 66.15 MB / 424.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.03e-05/3.139, allocations: 7.469 kB / 1.099 GB, free: 66.15 MB / 424.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003968/3.143, allocations: 0.5337 MB / 1.1 GB, free: 65.73 MB / 424.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04334/3.186, allocations: 9.419 MB / 1.109 GB, free: 56.84 MB / 424.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001259/3.187, allocations: 83.88 kB / 1.109 GB, free: 56.75 MB / 424.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2805/3.468, allocations: 47.12 MB / 1.155 GB, free: 101 MB / 424.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001976/3.47, allocations: 2.762 MB / 1.158 GB, free: 98.41 MB / 424.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1218/3.592, allocations: 40.99 MB / 1.198 GB, free: 91.15 MB / 424.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001978/3.594, allocations: 0.6451 MB / 1.199 GB, free: 91.02 MB / 424.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003058/3.597, allocations: 22.16 kB / 1.199 GB, free: 91.02 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008062/3.605, allocations: 357.2 kB / 1.199 GB, free: 91.02 MB / 424.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001631/3.607, allocations: 247.6 kB / 1.199 GB, free: 90.99 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00123/3.608, allocations: 212.2 kB / 1.199 GB, free: 90.96 MB / 424.6 MB Notification: Performance of sort global known variables: time 0.009262/3.618, allocations: 3.816 MB / 1.203 GB, free: 89.6 MB / 424.6 MB Notification: Performance of remove unused functions: time 0.01586/3.634, allocations: 2.431 MB / 1.206 GB, free: 89.6 MB / 424.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003783/3.634, allocations: 128 kB / 1.206 GB, free: 89.54 MB / 424.6 MB Notification: Performance of simCode: created initialization part: time 0.03106/3.665, allocations: 16.39 MB / 1.222 GB, free: 81.29 MB / 424.6 MB Notification: Performance of simCode: created event and clocks part: time 9.219e-06/3.665, allocations: 3.719 kB / 1.222 GB, free: 81.29 MB / 424.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0134/3.679, allocations: 7.222 MB / 1.229 GB, free: 74.76 MB / 424.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005912/3.685, allocations: 0.6436 MB / 1.229 GB, free: 74.23 MB / 424.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06067/3.746, allocations: 20.92 MB / 1.25 GB, free: 56.27 MB / 424.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01661/3.762, allocations: 6.743 MB / 1.256 GB, free: 51.24 MB / 424.6 MB Notification: Performance of SimCode: time 2.444e-06/3.763, allocations: 4 kB / 1.256 GB, free: 51.24 MB / 424.6 MB Notification: Performance of Templates: time 0.3912/4.154, allocations: 126.4 MB / 1.38 GB, free: 66.21 MB / 424.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.makefile clang -fPIC -O1 -march=native -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=9 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.o Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: variable has incomplete type 'void' static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: expected ';' after top level declarator Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:171:33: error: unknown type name 'MEASURE_TIME' static void fmtInit(DATA* data, MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:175:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:198:63: error: unknown type name 'MEASURE_TIME' static void fmtEmitStep(DATA* data, threadData_t *threadData, MEASURE_TIME* mt, SOLVER_INFO* solverInfo) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:239:5: warning: implicit declaration of function 'overwriteOldSimulationData' is invalid in C99 [-Wimplicit-function-declaration] overwriteOldSimulationData(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:240:5: warning: implicit declaration of function 'storePreValues' is invalid in C99 [-Wimplicit-function-declaration] storePreValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:241:5: warning: implicit declaration of function 'storeOldValues' is invalid in C99 [-Wimplicit-function-declaration] storeOldValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:259:3: warning: implicit declaration of function 'printAllVarsDebug' is invalid in C99 [-Wimplicit-function-declaration] printAllVarsDebug(data, 0, LOG_DEBUG); /* ??? */ ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:263:22: error: unknown type name 'MEASURE_TIME' static void fmtClose(MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:291:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:308:3: warning: implicit declaration of function 'restoreOldValues' is invalid in C99 [-Wimplicit-function-declaration] restoreOldValues(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:311:3: warning: implicit declaration of function 'updateDiscreteSystem' is invalid in C99 [-Wimplicit-function-declaration] updateDiscreteSystem(data, threadData); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2_performSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: expected ';' after top level declarator int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2_performQSSSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: expected ';' after top level declarator int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2_input_function(DATA *data, threadData_t *threadData) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.c:649:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2_eqFunction_1603(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.c:649:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2_eqFunction_1603(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.c:650:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2_eqFunction_1602(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.c:650:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2_eqFunction_1602(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.c:651:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2_eqFunction_1601(DATA*,threadData_t*); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.o] Error 1