Notification: Performance of loadModel(Modelica): time 1.561/1.561, allocations: 194.5 MB / 200.7 MB, free: 5.156 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.027e-05/1.034e-05, allocations: 1.031 kB / 247.6 MB, free: 4.504 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06412/0.0642, allocations: 44.36 MB / 291.9 MB, free: 9.039 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2379/0.3022, allocations: 85.22 MB / 377.1 MB, free: 5.691 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.3025, allocations: 92.31 kB / 377.2 MB, free: 5.676 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.287/0.5896, allocations: 74.9 MB / 452.1 MB, free: 14.28 MB / 360.6 MB Notification: Performance of Transformations before backend: time 0.0001555/0.5898, allocations: 87.36 kB / 452.2 MB, free: 14.2 MB / 360.6 MB Notification: Performance of Generate backend data structure: time 0.01548/0.6054, allocations: 3.94 MB / 456.2 MB, free: 10.2 MB / 360.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.6055, allocations: 8.031 kB / 456.2 MB, free: 10.19 MB / 360.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01316/0.6187, allocations: 1.839 MB / 458 MB, free: 8.344 MB / 360.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01451/0.6333, allocations: 4.377 MB / 462.4 MB, free: 3.949 MB / 360.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/0.6337, allocations: 139.9 kB / 462.5 MB, free: 3.812 MB / 360.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001713/0.6354, allocations: 236 kB / 462.8 MB, free: 3.582 MB / 360.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01227/0.6478, allocations: 5.867 MB / 468.6 MB, free: 13.71 MB / 376.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01855/0.6664, allocations: 9.158 MB / 477.8 MB, free: 3.48 MB / 376.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001564/0.6667, allocations: 59.41 kB / 477.8 MB, free: 3.422 MB / 376.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001096/0.6679, allocations: 32 kB / 477.9 MB, free: 3.391 MB / 376.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001732/0.6696, allocations: 1.051 MB / 478.9 MB, free: 2.34 MB / 376.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2068/0.8765, allocations: 48.3 MB / 0.5149 GB, free: 48.88 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003434/0.8801, allocations: 2.222 MB / 0.517 GB, free: 48.22 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002345/0.8825, allocations: 1.342 MB / 0.5183 GB, free: 48.18 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009358/0.892, allocations: 4.167 MB / 0.5224 GB, free: 47.13 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.8921, allocations: 47.09 kB / 0.5225 GB, free: 47.09 MB / 392.6 MB Notification: Performance of pre-optimization done (n=131): time 8.032e-06/0.8922, allocations: 0 / 0.5225 GB, free: 47.09 MB / 392.6 MB Notification: Performance of matching and sorting (n=138): time 0.02448/0.9168, allocations: 8.871 MB / 0.5311 GB, free: 44.58 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.9169, allocations: 145.3 kB / 0.5313 GB, free: 44.43 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005416/0.9224, allocations: 2.974 MB / 0.5342 GB, free: 44.1 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002704/0.9228, allocations: 28.86 kB / 0.5342 GB, free: 44.07 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.001979/0.9248, allocations: 2.973 MB / 0.5371 GB, free: 42.27 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007218/0.9256, allocations: 0.5646 MB / 0.5376 GB, free: 41.96 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004985/0.9262, allocations: 0 / 0.5376 GB, free: 41.96 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0003751/0.9266, allocations: 0.572 MB / 0.5382 GB, free: 41.64 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003859/0.9305, allocations: 1.869 MB / 0.54 GB, free: 41.63 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005706/0.9363, allocations: 5.863 MB / 0.5457 GB, free: 36.4 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006028/0.9425, allocations: 3.308 MB / 0.549 GB, free: 36.37 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001188/0.9427, allocations: 41.7 kB / 0.549 GB, free: 36.37 MB / 392.6 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.0214/0.9642, allocations: 7.833 MB / 0.5567 GB, free: 35.53 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.9643, allocations: 11.78 kB / 0.5567 GB, free: 35.53 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009477/0.9738, allocations: 2.655 MB / 0.5593 GB, free: 35.31 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007552/0.9815, allocations: 1.444 MB / 0.5607 GB, free: 35.07 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006256/0.9878, allocations: 1.368 MB / 0.562 GB, free: 34.89 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007584/0.9955, allocations: 5.402 MB / 0.5673 GB, free: 31.22 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007033/1.003, allocations: 267.7 kB / 0.5675 GB, free: 31.2 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001432/1.004, allocations: 397 kB / 0.5679 GB, free: 31.14 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.0002701/1.005, allocations: 76.84 kB / 0.568 GB, free: 31.07 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007753/1.005, allocations: 294.2 kB / 0.5683 GB, free: 30.91 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009117/1.015, allocations: 2.856 MB / 0.5711 GB, free: 29.59 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007417/1.022, allocations: 2.433 MB / 0.5734 GB, free: 27.67 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.851e-05/1.022, allocations: 4 kB / 0.5735 GB, free: 27.66 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.01e-05/1.022, allocations: 14.64 kB / 0.5735 GB, free: 27.66 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005681/1.028, allocations: 2.75 MB / 0.5762 GB, free: 25.51 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.403e-05/1.028, allocations: 4 kB / 0.5762 GB, free: 25.51 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/1.03, allocations: 147.5 kB / 0.5763 GB, free: 25.39 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007255/1.037, allocations: 1.348 MB / 0.5776 GB, free: 24.42 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003108/1.037, allocations: 19.73 kB / 0.5776 GB, free: 24.41 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007467/1.045, allocations: 5.607 MB / 0.5831 GB, free: 19.14 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00089/1.046, allocations: 1.362 MB / 0.5844 GB, free: 17.7 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0114/1.057, allocations: 5.053 MB / 0.5894 GB, free: 13.33 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007877/1.058, allocations: 344.2 kB / 0.5897 GB, free: 12.98 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006372/1.059, allocations: 15.56 kB / 0.5897 GB, free: 12.96 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002344/1.061, allocations: 80.41 kB / 0.5898 GB, free: 12.91 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000296/1.062, allocations: 61.33 kB / 0.5898 GB, free: 12.88 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001708/1.062, allocations: 39.66 kB / 0.5899 GB, free: 12.85 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.003844/1.066, allocations: 1.954 MB / 0.5918 GB, free: 11.15 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.006544/1.072, allocations: 0.8566 MB / 0.5926 GB, free: 10.3 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000247/1.073, allocations: 106.8 kB / 0.5927 GB, free: 10.2 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.01063/1.084, allocations: 5.028 MB / 0.5976 GB, free: 5.652 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.705e-06/1.084, allocations: 0 / 0.5976 GB, free: 5.652 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.004758/1.088, allocations: 1.827 MB / 0.5994 GB, free: 3.996 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/1.091, allocations: 270.7 kB / 0.5997 GB, free: 3.75 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02634/1.117, allocations: 7.62 MB / 0.6071 GB, free: 14.01 MB / 408.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007545/1.125, allocations: 3.349 MB / 0.6104 GB, free: 11.39 MB / 408.6 MB Notification: Performance of SimCode: time 2.514e-06/1.125, allocations: 3.938 kB / 0.6104 GB, free: 11.39 MB / 408.6 MB Notification: Performance of Templates: time 0.3369/1.462, allocations: 33.87 MB / 0.6435 GB, free: 92.2 MB / 424.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