Notification: Performance of loadModel(Modelica): time 1.488/1.488, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.069e-05/1.083e-05, allocations: 1.406 kB / 249 MB, free: 19.09 MB / 216.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.061/0.06109, allocations: 44.35 MB / 293.3 MB, free: 7.672 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2408/0.302, allocations: 87.27 MB / 380.6 MB, free: 4.895 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/0.3023, allocations: 92.97 kB / 380.7 MB, free: 4.879 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.2354/0.5378, allocations: 64.82 MB / 445.5 MB, free: 4.594 MB / 344.6 MB Notification: Performance of Transformations before backend: time 0.0001389/0.538, allocations: 72 kB / 445.6 MB, free: 4.523 MB / 344.6 MB Notification: Performance of Generate backend data structure: time 0.007065/0.5452, allocations: 3.171 MB / 448.8 MB, free: 1.293 MB / 344.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.5453, allocations: 12.03 kB / 448.8 MB, free: 1.281 MB / 344.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01107/0.5564, allocations: 1.629 MB / 450.4 MB, free: 15.64 MB / 360.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005583/0.5621, allocations: 2.064 MB / 452.5 MB, free: 13.52 MB / 360.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.5623, allocations: 119.9 kB / 452.6 MB, free: 13.41 MB / 360.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000728/0.5631, allocations: 195.9 kB / 452.8 MB, free: 13.21 MB / 360.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008879/0.572, allocations: 4.53 MB / 457.3 MB, free: 8.68 MB / 360.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01306/0.5852, allocations: 7.582 MB / 464.9 MB, free: 120 kB / 360.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001215/0.5854, allocations: 51.56 kB / 464.9 MB, free: 68 kB / 360.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005264/0.586, allocations: 28 kB / 465 MB, free: 40 kB / 360.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001086/0.5872, allocations: 0.8325 MB / 465.8 MB, free: 15.2 MB / 376.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1573/0.7446, allocations: 38.26 MB / 0.4922 GB, free: 108.1 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.7464, allocations: 1.362 MB / 0.4936 GB, free: 107.4 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006548/0.7472, allocations: 446.8 kB / 0.494 GB, free: 107.4 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003381/0.7476, allocations: 339 kB / 0.4943 GB, free: 107.1 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.7477, allocations: 51.22 kB / 0.4944 GB, free: 107.1 MB / 392.6 MB Notification: Performance of pre-optimization done (n=87): time 6.355e-06/0.7477, allocations: 0 / 0.4944 GB, free: 107.1 MB / 392.6 MB Notification: Performance of matching and sorting (n=87): time 0.003744/0.7515, allocations: 1.266 MB / 0.4956 GB, free: 107 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.7517, allocations: 195.9 kB / 0.4958 GB, free: 106.8 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005983/0.7577, allocations: 3.124 MB / 0.4988 GB, free: 106.6 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001238/0.758, allocations: 28.8 kB / 0.4989 GB, free: 106.6 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0018/0.7598, allocations: 2.702 MB / 0.5015 GB, free: 105.2 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.000444/0.7604, allocations: 387.5 kB / 0.5019 GB, free: 105.1 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003165/0.7608, allocations: 0 / 0.5019 GB, free: 105.1 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0003353/0.7611, allocations: 0.5296 MB / 0.5024 GB, free: 104.7 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00238/0.7636, allocations: 1.212 MB / 0.5036 GB, free: 104.7 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004067/0.7678, allocations: 4.88 MB / 0.5083 GB, free: 99.88 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004278/0.7721, allocations: 2.482 MB / 0.5108 GB, free: 99.88 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000102/0.7723, allocations: 38.12 kB / 0.5108 GB, free: 99.88 MB / 392.6 MB Notification: Performance of matching and sorting (n=685) (initialization): time 0.01246/0.7849, allocations: 5.137 MB / 0.5158 GB, free: 99.43 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.785, allocations: 4.594 kB / 0.5158 GB, free: 99.43 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001611/0.7852, allocations: 138.4 kB / 0.516 GB, free: 99.43 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002074/0.7855, allocations: 193.5 kB / 0.5161 GB, free: 99.43 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004741/0.7903, allocations: 1.223 MB / 0.5173 GB, free: 99.3 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001758/0.7906, allocations: 258.8 kB / 0.5176 GB, free: 99.25 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005603/0.7962, allocations: 0.6256 MB / 0.5182 GB, free: 98.88 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009116/0.7972, allocations: 345.1 kB / 0.5185 GB, free: 98.88 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.7974, allocations: 80.97 kB / 0.5186 GB, free: 98.8 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006268/0.7981, allocations: 298.5 kB / 0.5189 GB, free: 98.64 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.7995, allocations: 0.4993 MB / 0.5194 GB, free: 98.55 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.784e-05/0.7997, allocations: 11.69 kB / 0.5194 GB, free: 98.55 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.7997, allocations: 0 / 0.5194 GB, free: 98.55 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.7998, allocations: 7.25 kB / 0.5194 GB, free: 98.55 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007077/0.8069, allocations: 2.975 MB / 0.5223 GB, free: 97.97 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/0.8071, allocations: 10.62 kB / 0.5223 GB, free: 97.96 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008254/0.8079, allocations: 118.8 kB / 0.5224 GB, free: 97.96 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.425e-05/0.808, allocations: 7.156 kB / 0.5224 GB, free: 97.96 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.257e-05/0.8082, allocations: 9.812 kB / 0.5224 GB, free: 97.96 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.069e-05/0.8082, allocations: 10.06 kB / 0.5224 GB, free: 97.96 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.451e-06/0.8083, allocations: 11.14 kB / 0.5225 GB, free: 97.95 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002895/0.8112, allocations: 2.468 MB / 0.5249 GB, free: 96.79 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/0.8124, allocations: 437 kB / 0.5253 GB, free: 96.52 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004523/0.8129, allocations: 7.25 kB / 0.5253 GB, free: 96.52 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001644/0.8146, allocations: 30.47 kB / 0.5253 GB, free: 96.51 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.8148, allocations: 41.34 kB / 0.5254 GB, free: 96.51 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.278e-05/0.815, allocations: 26.31 kB / 0.5254 GB, free: 96.51 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.00418/0.8192, allocations: 2.149 MB / 0.5275 GB, free: 96.36 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.005835/0.8251, allocations: 0.8121 MB / 0.5283 GB, free: 96.2 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002606/0.8255, allocations: 100.7 kB / 0.5284 GB, free: 96.13 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.005231/0.8308, allocations: 2.8 MB / 0.5311 GB, free: 95.84 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 7.543e-06/0.8309, allocations: 0 / 0.5311 GB, free: 95.84 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0007452/0.8317, allocations: 427.9 kB / 0.5315 GB, free: 95.82 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/0.8339, allocations: 334.3 kB / 0.5318 GB, free: 95.8 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/0.8473, allocations: 5.792 MB / 0.5375 GB, free: 94.44 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005568/0.853, allocations: 3.159 MB / 0.5406 GB, free: 93.24 MB / 392.6 MB Notification: Performance of SimCode: time 3.003e-06/0.8531, allocations: 0 / 0.5406 GB, free: 93.24 MB / 392.6 MB Notification: Performance of Templates: time 0.126/0.9791, allocations: 22.98 MB / 0.563 GB, free: 81.65 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.o Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.c In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.c:2: ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.c:998:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_eqFunction_722(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.c:999:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_eqFunction_723(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.c:1000:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_eqFunction_724(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.c:1004:19: warning: implicit declaration of function 'O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_eqFunction_721' is invalid in C99 [-Wimplicit-function-declaration] Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_eqFunction_721(data, threadData); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.c:1004:18: error: invalid operands to binary expression ('void' and 'int') Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_eqFunction_721(data, threadData); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.c:1006:19: warning: implicit declaration of function 'O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_eqFunction_722' is invalid in C99 [-Wimplicit-function-declaration] Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_eqFunction_722(data, threadData); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.c:1006:18: error: invalid operands to binary expression ('void' and 'int') Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_eqFunction_722(data, threadData); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.c:1008:19: warning: implicit declaration of function 'O2_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces_eqFunction_723' is invalid in C99 [-Wimplicit-function-declaration] Modelica_3_2_2_-O2_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_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.o] Error 1