Notification: Performance of loadModel(Modelica): time 1.508/1.508, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.429e-06/9.498e-06, allocations: 1.281 kB / 247.5 MB, free: 4.535 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06268/0.06276, allocations: 44.36 MB / 291.9 MB, free: 9.09 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2422/0.305, allocations: 91.99 MB / 383.9 MB, free: 3.863 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.3054, allocations: 91.94 kB / 384 MB, free: 3.848 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.2778/0.5832, allocations: 71.37 MB / 455.4 MB, free: 11.46 MB / 360.6 MB Notification: Performance of Transformations before backend: time 0.0001477/0.5834, allocations: 64 kB / 455.4 MB, free: 11.4 MB / 360.6 MB Notification: Performance of Generate backend data structure: time 0.01015/0.5936, allocations: 3.413 MB / 458.8 MB, free: 7.926 MB / 360.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.5938, allocations: 8.031 kB / 458.8 MB, free: 7.918 MB / 360.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01292/0.6068, allocations: 1.855 MB / 460.7 MB, free: 6.055 MB / 360.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01295/0.6198, allocations: 3.952 MB / 464.6 MB, free: 2.055 MB / 360.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002069/0.6201, allocations: 116 kB / 464.8 MB, free: 1.941 MB / 360.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001459/0.6216, allocations: 215.9 kB / 465 MB, free: 1.73 MB / 360.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01234/0.634, allocations: 5.652 MB / 470.6 MB, free: 12.07 MB / 376.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01746/0.6516, allocations: 8.607 MB / 479.2 MB, free: 2.5 MB / 376.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001548/0.6518, allocations: 51.56 kB / 479.3 MB, free: 2.449 MB / 376.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001017/0.6529, allocations: 31.91 kB / 479.3 MB, free: 2.418 MB / 376.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001766/0.6547, allocations: 1.028 MB / 480.3 MB, free: 1.387 MB / 376.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1705/0.8253, allocations: 44.07 MB / 0.5121 GB, free: 100.8 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003952/0.8293, allocations: 2.697 MB / 0.5147 GB, free: 100.2 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002703/0.8321, allocations: 1.796 MB / 0.5165 GB, free: 100.1 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01086/0.8431, allocations: 5.592 MB / 0.522 GB, free: 98.55 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.8432, allocations: 51.41 kB / 0.522 GB, free: 98.52 MB / 392.6 MB Notification: Performance of pre-optimization done (n=139): time 7.752e-06/0.8433, allocations: 3 kB / 0.522 GB, free: 98.52 MB / 392.6 MB Notification: Performance of matching and sorting (n=156): time 0.04928/0.8926, allocations: 15.12 MB / 0.5368 GB, free: 96.05 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.8927, allocations: 146.4 kB / 0.5369 GB, free: 95.89 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004957/0.8978, allocations: 2.632 MB / 0.5395 GB, free: 95.52 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0003006/0.8982, allocations: 25.7 kB / 0.5395 GB, free: 95.49 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.001644/0.8999, allocations: 2.629 MB / 0.5421 GB, free: 93.66 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007069/0.9007, allocations: 0.5967 MB / 0.5427 GB, free: 93.22 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004148/0.9011, allocations: 0 / 0.5427 GB, free: 93.22 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0003107/0.9015, allocations: 0.541 MB / 0.5432 GB, free: 92.82 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003502/0.9051, allocations: 1.84 MB / 0.545 GB, free: 92.2 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005183/0.9104, allocations: 5.32 MB / 0.5502 GB, free: 86.86 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005519/0.916, allocations: 3.107 MB / 0.5532 GB, free: 85.99 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.99e-05/0.9162, allocations: 34.41 kB / 0.5533 GB, free: 85.99 MB / 392.6 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.01867/0.9349, allocations: 7.271 MB / 0.5604 GB, free: 83.94 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.935, allocations: 7.844 kB / 0.5604 GB, free: 83.94 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001386/0.9352, allocations: 126.5 kB / 0.5605 GB, free: 83.94 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00546/0.9407, allocations: 1.21 MB / 0.5617 GB, free: 83.77 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006033/0.9469, allocations: 1.289 MB / 0.5629 GB, free: 83.61 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/0.9581, allocations: 5.779 MB / 0.5686 GB, free: 80.92 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006931/0.9652, allocations: 219.7 kB / 0.5688 GB, free: 80.89 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001176/0.9665, allocations: 345.3 kB / 0.5691 GB, free: 80.85 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002129/0.9667, allocations: 80.62 kB / 0.5692 GB, free: 80.77 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000678/0.9675, allocations: 268 kB / 0.5694 GB, free: 80.63 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009076/0.9766, allocations: 3.107 MB / 0.5725 GB, free: 79.15 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.857e-05/0.9768, allocations: 16 kB / 0.5725 GB, free: 79.13 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.858e-05/0.9769, allocations: 4 kB / 0.5725 GB, free: 79.13 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.703e-05/0.977, allocations: 7.266 kB / 0.5725 GB, free: 79.13 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01713/0.9941, allocations: 6.568 MB / 0.5789 GB, free: 73.89 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.046e-05/0.9943, allocations: 4 kB / 0.5789 GB, free: 73.89 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00175/0.9961, allocations: 223.2 kB / 0.5791 GB, free: 73.7 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005187/1.001, allocations: 1.027 MB / 0.5801 GB, free: 73.02 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003117/1.002, allocations: 4 kB / 0.5801 GB, free: 73.02 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01449/1.016, allocations: 5.36 MB / 0.5854 GB, free: 68.3 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/1.016, allocations: 0 / 0.5854 GB, free: 68.3 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01868/1.035, allocations: 5.509 MB / 0.5907 GB, free: 63.57 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001483/1.037, allocations: 0.5375 MB / 0.5913 GB, free: 63.05 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005981/1.038, allocations: 0 / 0.5913 GB, free: 63.05 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002388/1.04, allocations: 65.33 kB / 0.5913 GB, free: 63.01 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003997/1.04, allocations: 63.02 kB / 0.5914 GB, free: 62.98 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001757/1.041, allocations: 47.09 kB / 0.5914 GB, free: 62.94 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.003617/1.044, allocations: 1.731 MB / 0.5931 GB, free: 61.43 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.01019/1.055, allocations: 0.771 MB / 0.5939 GB, free: 60.66 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003668/1.055, allocations: 110.7 kB / 0.594 GB, free: 60.56 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.01147/1.067, allocations: 4.443 MB / 0.5983 GB, free: 56.54 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.067, allocations: 0 / 0.5983 GB, free: 56.54 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002815/1.07, allocations: 1.428 MB / 0.5997 GB, free: 55.23 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/1.072, allocations: 252.3 kB / 0.6 GB, free: 55.01 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01719/1.089, allocations: 6.553 MB / 0.6064 GB, free: 49.19 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006565/1.096, allocations: 3.134 MB / 0.6094 GB, free: 46.74 MB / 392.6 MB Notification: Performance of SimCode: time 2.444e-06/1.096, allocations: 0 / 0.6094 GB, free: 46.74 MB / 392.6 MB Notification: Performance of Templates: time 0.08322/1.179, allocations: 32.26 MB / 0.6409 GB, free: 16.16 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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_PendulumWithSpringDamper -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.o Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.c In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.c:2: ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.PendulumWithSpringDamper.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.PendulumWithSpringDamper.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.PendulumWithSpringDamper.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper_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.PendulumWithSpringDamper.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.PendulumWithSpringDamper.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.PendulumWithSpringDamper.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper_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.PendulumWithSpringDamper.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.PendulumWithSpringDamper.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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_PendulumWithSpringDamper_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.PendulumWithSpringDamper.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.c:1901:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper_eqFunction_728(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.c:1902:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper_eqFunction_729(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.c:1903:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper_eqFunction_731(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.c:1904:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper_eqFunction_733(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.c:1905:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper_eqFunction_735(DATA* data, threadData_t *threadData); ^ ; fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.o] Error 1