Notification: Performance of loadModel(Modelica): time 1.542/1.542, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.939e-06/9.01e-06, allocations: 1.5 kB / 248 MB, free: 4.039 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05855/0.05863, allocations: 44.37 MB / 292.4 MB, free: 8.602 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.248/0.3067, allocations: 100.8 MB / 393.2 MB, free: 0.6719 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.3071, allocations: 95 kB / 393.3 MB, free: 0.6562 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.9345/1.242, allocations: 225.4 MB / 0.6042 GB, free: 15.98 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0005198/1.242, allocations: 235.5 kB / 0.6044 GB, free: 15.75 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.04125/1.284, allocations: 12.16 MB / 0.6163 GB, free: 3.508 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/1.284, allocations: 12.03 kB / 0.6163 GB, free: 3.496 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02596/1.31, allocations: 3.468 MB / 0.6197 GB, free: 8 kB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03794/1.348, allocations: 12.15 MB / 0.6316 GB, free: 3.871 MB / 408.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007391/1.349, allocations: 391.9 kB / 0.6319 GB, free: 3.488 MB / 408.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004985/1.354, allocations: 0.695 MB / 0.6326 GB, free: 2.793 MB / 408.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2284/1.582, allocations: 22 MB / 0.6541 GB, free: 51.3 MB / 424.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05845/1.641, allocations: 26.9 MB / 0.6804 GB, free: 46.56 MB / 424.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005543/1.641, allocations: 102.2 kB / 0.6805 GB, free: 46.56 MB / 424.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00455/1.646, allocations: 50.47 kB / 0.6805 GB, free: 46.56 MB / 424.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004409/1.651, allocations: 2.718 MB / 0.6832 GB, free: 46.54 MB / 424.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1855/1.836, allocations: 119.3 MB / 0.7997 GB, free: 8.824 MB / 456.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01817/1.854, allocations: 10.3 MB / 0.8097 GB, free: 2.031 MB / 456.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2463/2.101, allocations: 11.39 MB / 0.8208 GB, free: 86.28 MB / 456.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05997/2.161, allocations: 32.72 MB / 0.8528 GB, free: 77.29 MB / 456.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.526e-05/2.161, allocations: 83.5 kB / 0.8529 GB, free: 77.25 MB / 456.6 MB Notification: Performance of pre-optimization done (n=483): time 1.355e-05/2.161, allocations: 0 / 0.8529 GB, free: 77.25 MB / 456.6 MB Notification: Performance of matching and sorting (n=708): time 0.4177/2.579, allocations: 107.6 MB / 0.9579 GB, free: 27.93 MB / 456.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.318e-05/2.579, allocations: 205.4 kB / 0.9581 GB, free: 27.7 MB / 456.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01343/2.593, allocations: 6.186 MB / 0.9642 GB, free: 22.3 MB / 456.6 MB Notification: Performance of collectPreVariables (initialization): time 0.00197/2.595, allocations: 25.7 kB / 0.9642 GB, free: 22.27 MB / 456.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.004483/2.599, allocations: 6.641 MB / 0.9707 GB, free: 16.34 MB / 456.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.003966/2.603, allocations: 2.431 MB / 0.9731 GB, free: 14.12 MB / 456.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002643/2.606, allocations: 0 / 0.9731 GB, free: 14.12 MB / 456.6 MB Notification: Performance of setup shared object (initialization): time 0.001339/2.608, allocations: 0.9113 MB / 0.9739 GB, free: 13.38 MB / 456.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02524/2.633, allocations: 10.79 MB / 0.9845 GB, free: 6.277 MB / 456.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2127/2.846, allocations: 16.8 MB / 1.001 GB, free: 74.04 MB / 456.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02546/2.871, allocations: 12.98 MB / 1.014 GB, free: 73.93 MB / 456.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002345/2.872, allocations: 67.09 kB / 1.014 GB, free: 73.93 MB / 456.6 MB Notification: Performance of matching and sorting (n=1887) (initialization): time 0.06209/2.934, allocations: 26.23 MB / 1.039 GB, free: 72.52 MB / 456.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/2.934, allocations: 3.062 kB / 1.039 GB, free: 72.52 MB / 456.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004429/2.934, allocations: 243.7 kB / 1.039 GB, free: 72.52 MB / 456.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004767/2.935, allocations: 364.3 kB / 1.04 GB, free: 72.52 MB / 456.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02747/2.962, allocations: 3.942 MB / 1.044 GB, free: 72.13 MB / 456.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004581/2.963, allocations: 483.9 kB / 1.044 GB, free: 72.03 MB / 456.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01961/2.983, allocations: 0.6906 MB / 1.045 GB, free: 72.03 MB / 456.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003892/2.987, allocations: 0.7685 MB / 1.046 GB, free: 71.91 MB / 456.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.002046/2.989, allocations: 77.31 kB / 1.046 GB, free: 71.84 MB / 456.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003288/2.992, allocations: 0.7509 MB / 1.046 GB, free: 71.84 MB / 456.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04366/3.036, allocations: 19.17 MB / 1.065 GB, free: 63.56 MB / 456.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001314/3.036, allocations: 71.62 kB / 1.065 GB, free: 63.56 MB / 456.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.759e-05/3.036, allocations: 4.531 kB / 1.065 GB, free: 63.56 MB / 456.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001236/3.037, allocations: 33.58 kB / 1.065 GB, free: 63.56 MB / 456.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08685/3.123, allocations: 39.2 MB / 1.103 GB, free: 34.85 MB / 456.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-05/3.124, allocations: 0 / 1.103 GB, free: 34.85 MB / 456.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01835/3.142, allocations: 1.767 MB / 1.105 GB, free: 33.51 MB / 456.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.931e-05/3.142, allocations: 24 kB / 1.105 GB, free: 33.48 MB / 456.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001968/3.144, allocations: 14.67 kB / 1.105 GB, free: 33.47 MB / 456.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.621e-05/3.144, allocations: 29.44 kB / 1.105 GB, free: 33.45 MB / 456.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.867e-06/3.144, allocations: 3.531 kB / 1.105 GB, free: 33.45 MB / 456.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0598/3.204, allocations: 33.06 MB / 1.138 GB, free: 3.672 MB / 456.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00848/3.213, allocations: 2.634 MB / 1.14 GB, free: 1.652 MB / 456.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00389/3.217, allocations: 4 kB / 1.14 GB, free: 1.648 MB / 456.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01102/3.228, allocations: 414.2 kB / 1.141 GB, free: 1.414 MB / 456.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002591/3.231, allocations: 320.3 kB / 1.141 GB, free: 1.23 MB / 456.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00201/3.233, allocations: 171.2 kB / 1.141 GB, free: 1.07 MB / 456.6 MB Notification: Performance of sort global known variables: time 0.02385/3.257, allocations: 4.81 MB / 1.146 GB, free: 15.12 MB / 472.6 MB Notification: Performance of remove unused functions: time 0.02251/3.279, allocations: 3.441 MB / 1.149 GB, free: 13.8 MB / 472.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.1922/3.472, allocations: 219.1 kB / 1.149 GB, free: 93.46 MB / 472.6 MB Notification: Performance of simCode: created initialization part: time 0.04105/3.513, allocations: 22.65 MB / 1.171 GB, free: 93.34 MB / 472.6 MB Notification: Performance of simCode: created event and clocks part: time 7.473e-06/3.513, allocations: 0 / 1.171 GB, free: 93.34 MB / 472.6 MB Notification: Performance of simCode: created simulation system equations: time 0.01795/3.531, allocations: 9.777 MB / 1.181 GB, free: 93.33 MB / 472.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005878/3.537, allocations: 0.616 MB / 1.182 GB, free: 93.3 MB / 472.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08323/3.62, allocations: 28.78 MB / 1.21 GB, free: 86.34 MB / 472.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03184/3.652, allocations: 8.974 MB / 1.218 GB, free: 83.73 MB / 472.6 MB Notification: Performance of SimCode: time 2.514e-06/3.652, allocations: 0 / 1.218 GB, free: 83.73 MB / 472.6 MB Notification: Performance of Templates: time 0.5869/4.239, allocations: 153.8 MB / 1.369 GB, free: 77.2 MB / 472.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.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_Loops_PlanarLoops_analytic -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.Loops.PlanarLoops_analytic.o Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.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.Loops.PlanarLoops_analytic.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.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.Loops.PlanarLoops_analytic.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.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.Loops.PlanarLoops_analytic.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic_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.Loops.PlanarLoops_analytic.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.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.Loops.PlanarLoops_analytic.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.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.Loops.PlanarLoops_analytic.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic_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.Loops.PlanarLoops_analytic.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.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.Loops.PlanarLoops_analytic.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.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_Loops_PlanarLoops_analytic_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.Loops.PlanarLoops_analytic.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.c:10543:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic_eqFunction_1861(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.c:10544:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic_eqFunction_1868(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.c:10545:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic_eqFunction_1869(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.c:10546:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic_eqFunction_1876(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.c:10550:19: warning: implicit declaration of function 'O1_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic_eqFunction_1860' is invalid in C99 [-Wimplicit-function-declaration] Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic_eqFunction_1860(data, threadData); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.c:10550:18: error: invalid operands to binary expression ('void' and 'int') Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic_eqFunction_1860(data, threadData); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.c:10552:19: warning: implicit declaration of function 'O1_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic_eqFunction_1861' is invalid in C99 [-Wimplicit-function-declaration] Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarLoops_analytic_eqFunction_1861(data, threadData); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 8 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.o] Error 1