Notification: Performance of loadModel(Modelica): time 2.01/2.01, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.149e-06/9.428e-06, allocations: 1.188 kB / 247.6 MB, free: 4.5 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0626/0.06268, allocations: 44.36 MB / 291.9 MB, free: 9.062 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2426/0.3054, allocations: 85.23 MB / 377.2 MB, free: 5.594 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.3058, allocations: 93.44 kB / 377.2 MB, free: 5.574 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.2737/0.5796, allocations: 74.88 MB / 452.1 MB, free: 14.27 MB / 360.6 MB Notification: Performance of Transformations before backend: time 0.0001462/0.5798, allocations: 81.17 kB / 452.2 MB, free: 14.19 MB / 360.6 MB Notification: Performance of Generate backend data structure: time 0.01476/0.5946, allocations: 3.949 MB / 456.2 MB, free: 10.18 MB / 360.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.5948, allocations: 8.031 kB / 456.2 MB, free: 10.18 MB / 360.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01285/0.6077, allocations: 1.839 MB / 458 MB, free: 8.328 MB / 360.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01383/0.6216, allocations: 4.374 MB / 462.4 MB, free: 3.941 MB / 360.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.6219, allocations: 140 kB / 462.5 MB, free: 3.805 MB / 360.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001302/0.6232, allocations: 240 kB / 462.7 MB, free: 3.57 MB / 360.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01236/0.6357, allocations: 5.866 MB / 468.6 MB, free: 13.7 MB / 376.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01774/0.6535, allocations: 9.162 MB / 477.8 MB, free: 3.457 MB / 376.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001384/0.6537, allocations: 59.41 kB / 477.8 MB, free: 3.398 MB / 376.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007672/0.6546, allocations: 32 kB / 477.9 MB, free: 3.367 MB / 376.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00159/0.6562, allocations: 1.051 MB / 478.9 MB, free: 2.316 MB / 376.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1779/0.8342, allocations: 48.3 MB / 0.5149 GB, free: 96.02 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003352/0.8376, allocations: 2.213 MB / 0.517 GB, free: 95.36 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002366/0.8401, allocations: 1.351 MB / 0.5183 GB, free: 95.33 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009797/0.85, allocations: 4.176 MB / 0.5224 GB, free: 94.29 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.8502, allocations: 44.81 kB / 0.5225 GB, free: 94.25 MB / 392.6 MB Notification: Performance of pre-optimization done (n=131): time 9.358e-06/0.8502, allocations: 4.812 kB / 0.5225 GB, free: 94.25 MB / 392.6 MB Notification: Performance of matching and sorting (n=138): time 0.02428/0.8746, allocations: 8.859 MB / 0.5311 GB, free: 91.74 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.8747, allocations: 144 kB / 0.5313 GB, free: 91.58 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005105/0.8799, allocations: 2.968 MB / 0.5341 GB, free: 91.25 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002488/0.8802, allocations: 25.7 kB / 0.5342 GB, free: 91.22 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.001697/0.882, allocations: 2.971 MB / 0.5371 GB, free: 89.43 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.000611/0.8826, allocations: 0.5732 MB / 0.5376 GB, free: 89.12 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000313/0.883, allocations: 0 / 0.5376 GB, free: 89.12 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0003507/0.8834, allocations: 0.5664 MB / 0.5382 GB, free: 88.81 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003282/0.8868, allocations: 1.872 MB / 0.54 GB, free: 88.79 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005338/0.8922, allocations: 5.865 MB / 0.5457 GB, free: 83.57 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005725/0.898, allocations: 3.307 MB / 0.549 GB, free: 83.36 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001041/0.8982, allocations: 42.47 kB / 0.549 GB, free: 83.36 MB / 392.6 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.02199/0.9202, allocations: 7.855 MB / 0.5567 GB, free: 81.09 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.9204, allocations: 3.531 kB / 0.5567 GB, free: 81.09 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008823/0.9292, allocations: 2.653 MB / 0.5593 GB, free: 80.42 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006827/0.9361, allocations: 1.445 MB / 0.5607 GB, free: 80.18 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005666/0.9419, allocations: 1.366 MB / 0.562 GB, free: 80.01 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006691/0.9487, allocations: 5.377 MB / 0.5673 GB, free: 76.34 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006638/0.9554, allocations: 272 kB / 0.5675 GB, free: 76.31 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009915/0.9565, allocations: 400 kB / 0.5679 GB, free: 76.26 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.0002309/0.9568, allocations: 79.19 kB / 0.568 GB, free: 76.18 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005538/0.9574, allocations: 297.5 kB / 0.5683 GB, free: 76.02 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008847/0.9663, allocations: 2.845 MB / 0.5711 GB, free: 75.16 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008542/0.9749, allocations: 2.449 MB / 0.5734 GB, free: 74.48 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.165e-05/0.9751, allocations: 5.281 kB / 0.5735 GB, free: 74.48 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-05/0.9752, allocations: 3.938 kB / 0.5735 GB, free: 74.48 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006131/0.9814, allocations: 2.744 MB / 0.5761 GB, free: 72.91 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/0.9815, allocations: 0 / 0.5761 GB, free: 72.91 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/0.9827, allocations: 163.6 kB / 0.5763 GB, free: 72.78 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006724/0.9895, allocations: 1.35 MB / 0.5776 GB, free: 71.81 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002843/0.9899, allocations: 15.7 kB / 0.5776 GB, free: 71.8 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007865/0.9978, allocations: 5.575 MB / 0.5831 GB, free: 66.57 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009013/0.9988, allocations: 1.362 MB / 0.5844 GB, free: 65.12 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01178/1.011, allocations: 5.063 MB / 0.5893 GB, free: 60.75 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008129/1.012, allocations: 344.1 kB / 0.5897 GB, free: 60.4 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006354/1.012, allocations: 7.469 kB / 0.5897 GB, free: 60.39 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002198/1.015, allocations: 81.02 kB / 0.5898 GB, free: 60.34 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000231/1.015, allocations: 70.34 kB / 0.5898 GB, free: 60.3 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001643/1.015, allocations: 43.56 kB / 0.5899 GB, free: 60.27 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.003665/1.019, allocations: 1.95 MB / 0.5918 GB, free: 58.57 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.006752/1.026, allocations: 0.8603 MB / 0.5926 GB, free: 57.72 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002478/1.026, allocations: 102.5 kB / 0.5927 GB, free: 57.62 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.01068/1.037, allocations: 5.017 MB / 0.5976 GB, free: 53.08 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.006e-06/1.037, allocations: 4 kB / 0.5976 GB, free: 53.07 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.005067/1.042, allocations: 1.827 MB / 0.5994 GB, free: 51.42 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002055/1.044, allocations: 272.2 kB / 0.5997 GB, free: 51.18 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01727/1.062, allocations: 7.257 MB / 0.6067 GB, free: 44.73 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006308/1.068, allocations: 3.356 MB / 0.61 GB, free: 42.13 MB / 392.6 MB Notification: Performance of SimCode: time 3.003e-06/1.068, allocations: 0 / 0.61 GB, free: 42.13 MB / 392.6 MB Notification: Performance of Templates: time 0.1353/1.203, allocations: 33.88 MB / 0.6431 GB, free: 11.88 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.o Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.c:433:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_eqFunction_820(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.c:433:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_eqFunction_820(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.c:434:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_eqFunction_819(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.c:434:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_eqFunction_819(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.c:435:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.o] Error 1