Notification: Performance of loadModel(Modelica): time 1.549/1.549, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.429e-06/9.568e-06, allocations: 1.031 kB / 247.5 MB, free: 4.539 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07989/0.07997, allocations: 44.35 MB / 291.9 MB, free: 9.109 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2471/0.3272, allocations: 90.11 MB / 382 MB, free: 4.277 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.3275, allocations: 93.19 kB / 382.1 MB, free: 4.262 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.2762/0.6038, allocations: 69.32 MB / 451.4 MB, free: 15.46 MB / 360.6 MB Notification: Performance of Transformations before backend: time 0.0001884/0.6041, allocations: 68 kB / 451.5 MB, free: 15.39 MB / 360.6 MB Notification: Performance of Generate backend data structure: time 0.01023/0.6144, allocations: 3.322 MB / 454.8 MB, free: 12.01 MB / 360.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.6145, allocations: 12.03 kB / 454.8 MB, free: 12 MB / 360.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01216/0.6267, allocations: 1.684 MB / 456.5 MB, free: 10.3 MB / 360.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01339/0.6402, allocations: 4.076 MB / 460.6 MB, free: 6.164 MB / 360.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/0.6405, allocations: 112 kB / 460.7 MB, free: 6.055 MB / 360.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001401/0.642, allocations: 203.9 kB / 460.9 MB, free: 5.855 MB / 360.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01091/0.653, allocations: 5.182 MB / 466.1 MB, free: 0.668 MB / 360.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01719/0.6703, allocations: 8.083 MB / 474.1 MB, free: 7.605 MB / 376.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001784/0.6706, allocations: 59.45 kB / 474.2 MB, free: 7.547 MB / 376.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001197/0.6718, allocations: 28 kB / 474.2 MB, free: 7.52 MB / 376.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00139/0.6733, allocations: 0.9225 MB / 475.2 MB, free: 6.594 MB / 376.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1697/0.843, allocations: 41.62 MB / 0.5047 GB, free: 102.2 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003564/0.8467, allocations: 2.54 MB / 0.5071 GB, free: 101.6 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002407/0.8492, allocations: 1.534 MB / 0.5086 GB, free: 101.5 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009545/0.8588, allocations: 5.14 MB / 0.5137 GB, free: 99.77 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.859, allocations: 43.28 kB / 0.5137 GB, free: 99.73 MB / 392.6 MB Notification: Performance of pre-optimization done (n=114): time 7.752e-06/0.859, allocations: 0 / 0.5137 GB, free: 99.73 MB / 392.6 MB Notification: Performance of matching and sorting (n=123): time 0.02637/0.8855, allocations: 10.62 MB / 0.5241 GB, free: 97.32 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.8856, allocations: 150 kB / 0.5242 GB, free: 97.16 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004922/0.8906, allocations: 2.832 MB / 0.527 GB, free: 96.85 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002327/0.8909, allocations: 29.52 kB / 0.527 GB, free: 96.82 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.001541/0.8925, allocations: 2.613 MB / 0.5296 GB, free: 95.29 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005508/0.8931, allocations: 0.4896 MB / 0.53 GB, free: 95.03 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003348/0.8935, allocations: 1.781 kB / 0.53 GB, free: 95.03 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0003204/0.8939, allocations: 0.5325 MB / 0.5306 GB, free: 94.71 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002893/0.8969, allocations: 1.625 MB / 0.5321 GB, free: 94.7 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004604/0.9015, allocations: 5.127 MB / 0.5372 GB, free: 89.87 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004948/0.9066, allocations: 2.9 MB / 0.54 GB, free: 89.07 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.143e-05/0.9068, allocations: 38.31 kB / 0.54 GB, free: 89.07 MB / 392.6 MB Notification: Performance of matching and sorting (n=709) (initialization): time 0.01391/0.9207, allocations: 6.011 MB / 0.5459 GB, free: 87.36 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.9209, allocations: 7.031 kB / 0.5459 GB, free: 87.36 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001496/0.9211, allocations: 133.2 kB / 0.546 GB, free: 87.36 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008249/0.9219, allocations: 337 kB / 0.5463 GB, free: 87.32 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006203/0.9282, allocations: 1.284 MB / 0.5476 GB, free: 87.16 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002678/0.931, allocations: 2.224 MB / 0.5498 GB, free: 85.56 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005636/0.9367, allocations: 161.1 kB / 0.5499 GB, free: 85.54 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00097/0.9378, allocations: 348.3 kB / 0.5503 GB, free: 85.5 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001719/0.938, allocations: 75.28 kB / 0.5503 GB, free: 85.43 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006091/0.9387, allocations: 286.4 kB / 0.5506 GB, free: 85.27 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00561/0.9444, allocations: 2.19 MB / 0.5527 GB, free: 84.56 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.335e-05/0.9445, allocations: 11.59 kB / 0.5528 GB, free: 84.56 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/0.9446, allocations: 3.969 kB / 0.5528 GB, free: 84.56 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.221e-05/0.9447, allocations: 10.59 kB / 0.5528 GB, free: 84.56 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01353/0.9582, allocations: 5.18 MB / 0.5578 GB, free: 82.73 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/0.9584, allocations: 10.92 kB / 0.5578 GB, free: 82.73 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/0.9598, allocations: 158 kB / 0.558 GB, free: 82.72 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003245/0.9631, allocations: 0.6434 MB / 0.5586 GB, free: 82.6 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001876/0.9634, allocations: 11.25 kB / 0.5586 GB, free: 82.6 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006658/0.9701, allocations: 4.203 MB / 0.5627 GB, free: 80.23 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.473e-06/0.9702, allocations: 3.594 kB / 0.5627 GB, free: 80.23 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009289/0.9796, allocations: 4.303 MB / 0.5669 GB, free: 78.4 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/0.9811, allocations: 0.4928 MB / 0.5674 GB, free: 78.08 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005905/0.9817, allocations: 8.641 kB / 0.5674 GB, free: 78.08 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001848/0.9836, allocations: 33.25 kB / 0.5675 GB, free: 78.08 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/0.9839, allocations: 54.38 kB / 0.5675 GB, free: 78.07 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/0.9841, allocations: 42.14 kB / 0.5676 GB, free: 78.05 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.003402/0.9876, allocations: 1.889 MB / 0.5694 GB, free: 76.45 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.005948/0.9936, allocations: 0.6968 MB / 0.5701 GB, free: 75.75 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000264/0.994, allocations: 105.1 kB / 0.5702 GB, free: 75.66 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.006827/1.001, allocations: 3.825 MB / 0.5739 GB, free: 72.19 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.635e-06/1.001, allocations: 1.812 kB / 0.5739 GB, free: 72.19 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001771/1.003, allocations: 1.052 MB / 0.5749 GB, free: 71.22 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/1.005, allocations: 285.3 kB / 0.5752 GB, free: 70.98 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01435/1.019, allocations: 5.87 MB / 0.5809 GB, free: 65.7 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005653/1.025, allocations: 3.064 MB / 0.5839 GB, free: 63.3 MB / 392.6 MB Notification: Performance of SimCode: time 2.095e-06/1.025, allocations: 0 / 0.5839 GB, free: 63.3 MB / 392.6 MB Notification: Performance of Templates: time 0.08937/1.115, allocations: 28.06 MB / 0.6113 GB, free: 40.61 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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_InitSpringConstant -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.o Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.c In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.c:2: ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.InitSpringConstant.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.InitSpringConstant.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.InitSpringConstant.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_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.InitSpringConstant.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.InitSpringConstant.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.InitSpringConstant.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_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.InitSpringConstant.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.InitSpringConstant.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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_InitSpringConstant_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.InitSpringConstant.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.c:1461:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_eqFunction_694(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.c:1462:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_eqFunction_695(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.c:1463:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_eqFunction_697(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.c:1464:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_eqFunction_699(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.c:1465:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_eqFunction_702(DATA* data, threadData_t *threadData); ^ ; fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.o] Error 1