Notification: Performance of loadModel(Modelica): time 1.542/1.542, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.069e-05/1.076e-05, allocations: 1.062 kB / 247.6 MB, free: 4.508 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06325/0.06335, allocations: 44.36 MB / 291.9 MB, free: 9.059 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.254/0.3175, allocations: 85.22 MB / 377.1 MB, free: 5.512 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.3179, allocations: 87.31 kB / 377.2 MB, free: 5.496 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.2861/0.604, allocations: 74.91 MB / 452.1 MB, free: 14.28 MB / 360.6 MB Notification: Performance of Transformations before backend: time 0.0001701/0.6043, allocations: 76 kB / 452.2 MB, free: 14.21 MB / 360.6 MB Notification: Performance of Generate backend data structure: time 0.01556/0.6199, allocations: 3.947 MB / 456.2 MB, free: 10.21 MB / 360.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.6201, allocations: 8.031 kB / 456.2 MB, free: 10.2 MB / 360.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01345/0.6336, allocations: 1.839 MB / 458 MB, free: 8.352 MB / 360.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01465/0.6484, allocations: 4.38 MB / 462.4 MB, free: 3.953 MB / 360.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002241/0.6487, allocations: 132 kB / 462.5 MB, free: 3.824 MB / 360.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001575/0.6503, allocations: 239.9 kB / 462.7 MB, free: 3.59 MB / 360.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01308/0.6635, allocations: 5.868 MB / 468.6 MB, free: 13.72 MB / 376.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01913/0.6827, allocations: 9.155 MB / 477.8 MB, free: 3.488 MB / 376.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001857/0.683, allocations: 63.41 kB / 477.8 MB, free: 3.426 MB / 376.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00148/0.6846, allocations: 35.98 kB / 477.9 MB, free: 3.391 MB / 376.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001788/0.6864, allocations: 1.046 MB / 478.9 MB, free: 2.34 MB / 376.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1789/0.8654, allocations: 48.3 MB / 0.5149 GB, free: 95.66 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003414/0.8689, allocations: 2.212 MB / 0.517 GB, free: 95.01 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002187/0.8712, allocations: 1.345 MB / 0.5183 GB, free: 94.98 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009531/0.8808, allocations: 4.175 MB / 0.5224 GB, free: 93.94 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.881, allocations: 52.66 kB / 0.5225 GB, free: 93.9 MB / 392.6 MB Notification: Performance of pre-optimization done (n=131): time 8.032e-06/0.881, allocations: 0 / 0.5225 GB, free: 93.9 MB / 392.6 MB Notification: Performance of matching and sorting (n=138): time 0.02597/0.9071, allocations: 8.86 MB / 0.5311 GB, free: 91.39 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.9072, allocations: 151.7 kB / 0.5313 GB, free: 91.23 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005808/0.9131, allocations: 2.976 MB / 0.5342 GB, free: 90.91 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002601/0.9134, allocations: 25.7 kB / 0.5342 GB, free: 90.88 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.001934/0.9154, allocations: 2.968 MB / 0.5371 GB, free: 89.08 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007435/0.9163, allocations: 0.5639 MB / 0.5376 GB, free: 88.77 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005582/0.9169, allocations: 0 / 0.5376 GB, free: 88.77 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0004661/0.9174, allocations: 0.5734 MB / 0.5382 GB, free: 88.45 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003917/0.9214, allocations: 1.876 MB / 0.54 GB, free: 88.44 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005874/0.9274, allocations: 5.862 MB / 0.5457 GB, free: 83.21 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006021/0.9335, allocations: 3.312 MB / 0.549 GB, free: 83.03 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001181/0.9338, allocations: 44.16 kB / 0.549 GB, free: 83.03 MB / 392.6 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.02235/0.9562, allocations: 7.836 MB / 0.5567 GB, free: 80.75 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.9563, allocations: 6.859 kB / 0.5567 GB, free: 80.75 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008288/0.9647, allocations: 2.652 MB / 0.5593 GB, free: 80.09 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007051/0.9718, allocations: 1.444 MB / 0.5607 GB, free: 79.85 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00564/0.9776, allocations: 1.368 MB / 0.562 GB, free: 79.68 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007447/0.9851, allocations: 5.397 MB / 0.5673 GB, free: 76 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006998/0.9922, allocations: 266.2 kB / 0.5675 GB, free: 75.97 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00121/0.9935, allocations: 402.2 kB / 0.5679 GB, free: 75.92 MB / 392.6 MB Warning: There are iteration variables with default zero start attribute. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). Notification: Performance of prepare postOptimizeDAE: time 0.0002616/0.9939, allocations: 75.28 kB / 0.568 GB, free: 75.85 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006571/0.9946, allocations: 296.2 kB / 0.5683 GB, free: 75.68 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00896/1.004, allocations: 2.851 MB / 0.5711 GB, free: 74.82 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008869/1.013, allocations: 2.436 MB / 0.5734 GB, free: 74.15 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.179e-05/1.013, allocations: 3.25 kB / 0.5734 GB, free: 74.15 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-05/1.013, allocations: 8.484 kB / 0.5735 GB, free: 74.15 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006858/1.02, allocations: 2.751 MB / 0.5761 GB, free: 72.79 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.865e-05/1.02, allocations: 4 kB / 0.5761 GB, free: 72.79 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/1.021, allocations: 145.3 kB / 0.5763 GB, free: 72.67 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00657/1.028, allocations: 1.354 MB / 0.5776 GB, free: 71.69 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000326/1.028, allocations: 15.75 kB / 0.5776 GB, free: 71.68 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007509/1.036, allocations: 5.597 MB / 0.5831 GB, free: 66.43 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009179/1.037, allocations: 1.37 MB / 0.5844 GB, free: 64.98 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0114/1.048, allocations: 5.063 MB / 0.5894 GB, free: 60.61 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008114/1.049, allocations: 352.1 kB / 0.5897 GB, free: 60.26 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008508/1.05, allocations: 11.75 kB / 0.5897 GB, free: 60.25 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002489/1.053, allocations: 75.89 kB / 0.5898 GB, free: 60.2 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000363/1.053, allocations: 70.25 kB / 0.5899 GB, free: 60.16 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001669/1.053, allocations: 39.7 kB / 0.5899 GB, free: 60.13 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.003999/1.057, allocations: 1.954 MB / 0.5918 GB, free: 58.43 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.006915/1.064, allocations: 0.853 MB / 0.5926 GB, free: 57.58 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002634/1.065, allocations: 114.4 kB / 0.5927 GB, free: 57.48 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.01091/1.076, allocations: 5.016 MB / 0.5976 GB, free: 52.94 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/1.076, allocations: 0 / 0.5976 GB, free: 52.94 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.005414/1.081, allocations: 1.826 MB / 0.5994 GB, free: 51.28 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/1.084, allocations: 273.2 kB / 0.5997 GB, free: 51.04 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01741/1.101, allocations: 7.252 MB / 0.6068 GB, free: 44.59 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006482/1.108, allocations: 3.356 MB / 0.61 GB, free: 41.99 MB / 392.6 MB Notification: Performance of SimCode: time 2.515e-06/1.108, allocations: 0 / 0.61 GB, free: 41.99 MB / 392.6 MB Notification: Performance of Templates: time 0.1502/1.258, allocations: 33.87 MB / 0.6431 GB, free: 11.84 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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_ThreeSprings -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.o Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.c In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.c:2: ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.ThreeSprings.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.ThreeSprings.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.ThreeSprings.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_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.ThreeSprings.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.ThreeSprings.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.ThreeSprings.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_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.ThreeSprings.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.ThreeSprings.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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_ThreeSprings_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.ThreeSprings.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.c:433:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_eqFunction_820(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.c:433:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_eqFunction_820(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.c:434:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_eqFunction_819(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.c:434:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_eqFunction_819(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.c:435:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_eqFunction_818(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.ThreeSprings.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.o] Error 1