Notification: Performance of loadModel(Modelica): time 1.507/1.507, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.076e-05/1.089e-05, allocations: 1.25 kB / 249 MB, free: 19.07 MB / 216.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05966/0.05974, allocations: 44.36 MB / 293.3 MB, free: 7.645 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2384/0.2983, allocations: 87.26 MB / 380.6 MB, free: 5.074 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.2986, allocations: 95.06 kB / 380.7 MB, free: 5.059 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.2371/0.5358, allocations: 64.85 MB / 445.6 MB, free: 4.527 MB / 344.6 MB Notification: Performance of Transformations before backend: time 0.0001606/0.5361, allocations: 71.94 kB / 445.6 MB, free: 4.457 MB / 344.6 MB Notification: Performance of Generate backend data structure: time 0.008169/0.5443, allocations: 3.168 MB / 448.8 MB, free: 1.23 MB / 344.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.5444, allocations: 11.97 kB / 448.8 MB, free: 1.219 MB / 344.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01178/0.5563, allocations: 1.629 MB / 450.4 MB, free: 15.58 MB / 360.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006035/0.5624, allocations: 2.064 MB / 452.5 MB, free: 13.46 MB / 360.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/0.5627, allocations: 119.9 kB / 452.6 MB, free: 13.34 MB / 360.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001251/0.564, allocations: 192 kB / 452.8 MB, free: 13.16 MB / 360.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009545/0.5736, allocations: 4.522 MB / 457.3 MB, free: 8.629 MB / 360.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01489/0.5886, allocations: 7.59 MB / 464.9 MB, free: 60 kB / 360.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001325/0.5889, allocations: 47.56 kB / 465 MB, free: 12 kB / 360.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008975/0.5899, allocations: 32.05 kB / 465 MB, free: 15.98 MB / 376.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001199/0.5911, allocations: 0.8324 MB / 465.8 MB, free: 15.14 MB / 376.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1946/0.7858, allocations: 38.26 MB / 0.4923 GB, free: 60.02 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.7876, allocations: 1.357 MB / 0.4936 GB, free: 59.32 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007165/0.7884, allocations: 444.8 kB / 0.494 GB, free: 59.27 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003496/0.7888, allocations: 350.5 kB / 0.4944 GB, free: 58.99 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.7889, allocations: 43.69 kB / 0.4944 GB, free: 58.95 MB / 392.6 MB Notification: Performance of pre-optimization done (n=87): time 6.495e-06/0.789, allocations: 0 / 0.4944 GB, free: 58.95 MB / 392.6 MB Notification: Performance of matching and sorting (n=87): time 0.003863/0.7929, allocations: 1.266 MB / 0.4956 GB, free: 58.92 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.7931, allocations: 189.7 kB / 0.4958 GB, free: 58.7 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005508/0.7986, allocations: 3.123 MB / 0.4989 GB, free: 58.47 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001191/0.7989, allocations: 28.36 kB / 0.4989 GB, free: 58.44 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.00172/0.8006, allocations: 2.705 MB / 0.5015 GB, free: 57.07 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004324/0.8011, allocations: 391.4 kB / 0.5019 GB, free: 56.92 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/0.8015, allocations: 0 / 0.5019 GB, free: 56.92 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0003109/0.8019, allocations: 0.5262 MB / 0.5024 GB, free: 56.61 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002091/0.804, allocations: 1.213 MB / 0.5036 GB, free: 56.59 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003513/0.8076, allocations: 4.879 MB / 0.5084 GB, free: 51.75 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004299/0.812, allocations: 2.492 MB / 0.5108 GB, free: 51.73 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000102/0.8122, allocations: 37.75 kB / 0.5108 GB, free: 51.73 MB / 392.6 MB Notification: Performance of matching and sorting (n=685) (initialization): time 0.01268/0.8249, allocations: 5.135 MB / 0.5159 GB, free: 51.28 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.8251, allocations: 7.125 kB / 0.5159 GB, free: 51.28 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001724/0.8253, allocations: 132.5 kB / 0.516 GB, free: 51.28 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002112/0.8256, allocations: 193.8 kB / 0.5162 GB, free: 51.28 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004801/0.8304, allocations: 1.215 MB / 0.5174 GB, free: 51.16 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001696/0.8307, allocations: 259.3 kB / 0.5176 GB, free: 51.11 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00559/0.8364, allocations: 0.6225 MB / 0.5182 GB, free: 50.73 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008866/0.8373, allocations: 345.9 kB / 0.5185 GB, free: 50.73 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.8375, allocations: 85.09 kB / 0.5186 GB, free: 50.66 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005541/0.8381, allocations: 301.1 kB / 0.5189 GB, free: 50.49 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.8394, allocations: 0.4947 MB / 0.5194 GB, free: 50.41 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.239e-05/0.8396, allocations: 7.5 kB / 0.5194 GB, free: 50.41 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.8396, allocations: 5.156 kB / 0.5194 GB, free: 50.41 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.8397, allocations: 3.281 kB / 0.5194 GB, free: 50.41 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006489/0.8462, allocations: 2.981 MB / 0.5223 GB, free: 49.82 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/0.8463, allocations: 3.938 kB / 0.5223 GB, free: 49.82 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007478/0.8471, allocations: 119.2 kB / 0.5224 GB, free: 49.82 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.39e-05/0.8472, allocations: 3.969 kB / 0.5224 GB, free: 49.82 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.719e-05/0.8473, allocations: 13.23 kB / 0.5225 GB, free: 49.82 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.097e-05/0.8474, allocations: 10.66 kB / 0.5225 GB, free: 49.81 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.823e-06/0.8475, allocations: 10.86 kB / 0.5225 GB, free: 49.81 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002738/0.8503, allocations: 2.476 MB / 0.5249 GB, free: 48.64 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000945/0.8513, allocations: 444.2 kB / 0.5253 GB, free: 48.36 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004047/0.8518, allocations: 7.688 kB / 0.5253 GB, free: 48.36 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/0.8533, allocations: 21.91 kB / 0.5253 GB, free: 48.36 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.8535, allocations: 48.61 kB / 0.5254 GB, free: 48.35 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.998e-05/0.8536, allocations: 25.27 kB / 0.5254 GB, free: 48.35 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.003806/0.8575, allocations: 2.152 MB / 0.5275 GB, free: 48.21 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.005552/0.8631, allocations: 0.803 MB / 0.5283 GB, free: 48.04 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002559/0.8635, allocations: 99.75 kB / 0.5284 GB, free: 47.98 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.005656/0.8692, allocations: 2.804 MB / 0.5311 GB, free: 47.68 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/0.8694, allocations: 4.625 kB / 0.5311 GB, free: 47.68 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0008183/0.8702, allocations: 421.9 kB / 0.5315 GB, free: 47.67 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/0.8725, allocations: 331.8 kB / 0.5319 GB, free: 47.65 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01453/0.8871, allocations: 5.787 MB / 0.5375 GB, free: 46.32 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00645/0.8937, allocations: 3.163 MB / 0.5406 GB, free: 45.49 MB / 392.6 MB Notification: Performance of SimCode: time 2.375e-06/0.8938, allocations: 0 / 0.5406 GB, free: 45.49 MB / 392.6 MB Notification: Performance of Templates: time 0.127/1.021, allocations: 22.98 MB / 0.563 GB, free: 31.97 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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_Surfaces -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.o Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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.Surfaces.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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.Surfaces.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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.Surfaces.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_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.Surfaces.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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.Surfaces.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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.Surfaces.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_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.Surfaces.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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.Surfaces.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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_Surfaces_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.Surfaces.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.c:998:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_eqFunction_722(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.c:999:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_eqFunction_723(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.c:1000:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_eqFunction_724(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.c:1004:19: warning: implicit declaration of function 'O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_eqFunction_721' is invalid in C99 [-Wimplicit-function-declaration] Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_eqFunction_721(data, threadData); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.c:1004:18: error: invalid operands to binary expression ('void' and 'int') Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_eqFunction_721(data, threadData); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.c:1006:19: warning: implicit declaration of function 'O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_eqFunction_722' is invalid in C99 [-Wimplicit-function-declaration] Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_eqFunction_722(data, threadData); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.c:1006:18: error: invalid operands to binary expression ('void' and 'int') Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_eqFunction_722(data, threadData); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.c:1008:19: warning: implicit declaration of function 'O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_eqFunction_723' is invalid in C99 [-Wimplicit-function-declaration] Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_eqFunction_723(data, threadData); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 9 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.o] Error 1