Notification: Performance of loadModel(Modelica): time 1.482/1.482, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.124e-05/1.131e-05, allocations: 1.25 kB / 247.5 MB, free: 4.59 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0622/0.06228, allocations: 44.36 MB / 291.8 MB, free: 9.156 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2402/0.3025, allocations: 84.24 MB / 376.1 MB, free: 5.801 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.3029, allocations: 91.83 kB / 376.2 MB, free: 5.781 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.2212/0.5242, allocations: 54.7 MB / 430.9 MB, free: 2.902 MB / 328.6 MB Notification: Performance of Transformations before backend: time 0.0001032/0.5244, allocations: 48 kB / 430.9 MB, free: 2.855 MB / 328.6 MB Notification: Performance of Generate backend data structure: time 0.01273/0.5371, allocations: 2.79 MB / 433.7 MB, free: 16 kB / 328.6 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.5373, allocations: 11.97 kB / 433.7 MB, free: 4 kB / 328.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01251/0.5499, allocations: 1.619 MB / 435.3 MB, free: 14.38 MB / 344.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01242/0.5624, allocations: 3.624 MB / 439 MB, free: 10.73 MB / 344.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.5627, allocations: 76 kB / 439 MB, free: 10.65 MB / 344.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001087/0.5638, allocations: 155.9 kB / 439.2 MB, free: 10.5 MB / 344.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00858/0.5725, allocations: 4.128 MB / 443.3 MB, free: 6.367 MB / 344.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01271/0.5853, allocations: 6.305 MB / 449.6 MB, free: 15.34 MB / 360.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001197/0.5855, allocations: 43.62 kB / 449.7 MB, free: 15.3 MB / 360.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000686/0.5862, allocations: 24 kB / 449.7 MB, free: 15.27 MB / 360.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001197/0.5875, allocations: 0.7343 MB / 450.4 MB, free: 14.54 MB / 360.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03933/0.6269, allocations: 31.68 MB / 482.1 MB, free: 13.97 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003137/0.6302, allocations: 2.034 MB / 484.1 MB, free: 11.8 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002029/0.6323, allocations: 1.141 MB / 485.3 MB, free: 10.64 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008819/0.6412, allocations: 4.168 MB / 489.5 MB, free: 6.293 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.6413, allocations: 46.94 kB / 489.5 MB, free: 6.238 MB / 392.6 MB Notification: Performance of pre-optimization done (n=105): time 7.752e-06/0.6414, allocations: 0 / 489.5 MB, free: 6.238 MB / 392.6 MB Notification: Performance of matching and sorting (n=118): time 0.1766/0.818, allocations: 8.93 MB / 498.4 MB, free: 94.54 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.8182, allocations: 137.9 kB / 498.6 MB, free: 94.39 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003715/0.8219, allocations: 2.144 MB / 0.489 GB, free: 94.11 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002662/0.8223, allocations: 25.7 kB / 0.489 GB, free: 94.08 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.001404/0.8238, allocations: 2.014 MB / 0.491 GB, free: 93.02 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.000589/0.8245, allocations: 483.1 kB / 0.4914 GB, free: 92.81 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003557/0.8249, allocations: 3.906 kB / 0.4914 GB, free: 92.81 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.000373/0.8253, allocations: 0.5417 MB / 0.492 GB, free: 92.49 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003077/0.8284, allocations: 1.57 MB / 0.4935 GB, free: 92.48 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00442/0.833, allocations: 4.41 MB / 0.4978 GB, free: 88.76 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005781/0.8389, allocations: 2.829 MB / 0.5006 GB, free: 88.75 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.437e-05/0.839, allocations: 29.5 kB / 0.5006 GB, free: 88.75 MB / 392.6 MB Notification: Performance of matching and sorting (n=600) (initialization): time 0.01918/0.8583, allocations: 6.581 MB / 0.507 GB, free: 88.27 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.8584, allocations: 7.266 kB / 0.507 GB, free: 88.27 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008839/0.8673, allocations: 2.62 MB / 0.5096 GB, free: 88.22 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007437/0.8748, allocations: 1.419 MB / 0.511 GB, free: 88.19 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004376/0.8793, allocations: 1.023 MB / 0.512 GB, free: 88.09 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01478/0.8942, allocations: 7.43 MB / 0.5192 GB, free: 85.46 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005506/0.8998, allocations: 233.5 kB / 0.5194 GB, free: 85.45 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008844/0.9008, allocations: 292.2 kB / 0.5197 GB, free: 85.45 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001784/0.901, allocations: 76.78 kB / 0.5198 GB, free: 85.37 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005301/0.9016, allocations: 211.8 kB / 0.52 GB, free: 85.25 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01006/0.9118, allocations: 2.876 MB / 0.5228 GB, free: 85.15 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009506/0.9214, allocations: 2.557 MB / 0.5253 GB, free: 85.06 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.458e-05/0.9215, allocations: 7.625 kB / 0.5253 GB, free: 85.06 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.598e-05/0.9216, allocations: 10.94 kB / 0.5253 GB, free: 85.06 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01839/0.94, allocations: 6.142 MB / 0.5313 GB, free: 83.39 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.851e-05/0.9401, allocations: 1.125 kB / 0.5313 GB, free: 83.39 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/0.9414, allocations: 150 kB / 0.5315 GB, free: 83.38 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007397/0.9489, allocations: 1.35 MB / 0.5328 GB, free: 83.16 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002651/0.9493, allocations: 25.5 kB / 0.5328 GB, free: 83.16 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01531/0.9647, allocations: 7.746 MB / 0.5404 GB, free: 76.94 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009222/0.9657, allocations: 1.361 MB / 0.5417 GB, free: 75.5 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01244/0.9782, allocations: 4.981 MB / 0.5466 GB, free: 71.33 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006243/0.979, allocations: 277.8 kB / 0.5468 GB, free: 71.05 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006013/0.9796, allocations: 4 kB / 0.5468 GB, free: 71.04 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002018/0.9817, allocations: 76.64 kB / 0.5469 GB, free: 71 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003841/0.9822, allocations: 53.94 kB / 0.547 GB, free: 70.96 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001998/0.9825, allocations: 44.25 kB / 0.547 GB, free: 70.93 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.002874/0.9854, allocations: 1.418 MB / 0.5484 GB, free: 69.67 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.00545/0.991, allocations: 0.6755 MB / 0.549 GB, free: 69 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003195/0.9914, allocations: 119.6 kB / 0.5492 GB, free: 68.9 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.008828/1, allocations: 4.145 MB / 0.5532 GB, free: 65.16 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.984e-06/1, allocations: 4 kB / 0.5532 GB, free: 65.15 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.004082/1.005, allocations: 1.605 MB / 0.5548 GB, free: 63.71 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/1.006, allocations: 192.9 kB / 0.555 GB, free: 63.53 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/1.02, allocations: 5.478 MB / 0.5603 GB, free: 58.68 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004991/1.025, allocations: 2.499 MB / 0.5627 GB, free: 56.67 MB / 392.6 MB Notification: Performance of SimCode: time 2.794e-06/1.025, allocations: 0 / 0.5627 GB, free: 56.67 MB / 392.6 MB Notification: Performance of Templates: time 0.113/1.138, allocations: 27.8 MB / 0.5899 GB, free: 31.05 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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_SpringWithMass -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.o Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.c In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.c:2: ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.SpringWithMass.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.SpringWithMass.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.SpringWithMass.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass_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.SpringWithMass.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.SpringWithMass.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.SpringWithMass.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass_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.SpringWithMass.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.SpringWithMass.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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_SpringWithMass_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.SpringWithMass.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.c:286:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass_eqFunction_608(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.c:286:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass_eqFunction_608(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.c:287:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass_eqFunction_607(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.c:287:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass_eqFunction_607(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.c:288:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass_eqFunction_606(DATA*,threadData_t*); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.o] Error 1