Notification: Performance of loadModel(Modelica): time 1.502/1.502, allocations: 194.5 MB / 200.7 MB, free: 5.152 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.034e-05/1.048e-05, allocations: 2.625 kB / 247.5 MB, free: 4.508 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06014/0.06024, allocations: 44.36 MB / 291.9 MB, free: 9.102 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2445/0.3049, allocations: 90.11 MB / 382 MB, free: 4.395 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.3053, allocations: 93.22 kB / 382.1 MB, free: 4.379 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.2747/0.58, allocations: 69.32 MB / 451.4 MB, free: 15.46 MB / 360.6 MB Notification: Performance of Transformations before backend: time 0.0001858/0.5803, allocations: 72 kB / 451.5 MB, free: 15.39 MB / 360.6 MB Notification: Performance of Generate backend data structure: time 0.01056/0.5909, allocations: 3.322 MB / 454.8 MB, free: 12.02 MB / 360.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.5911, allocations: 8.031 kB / 454.8 MB, free: 12.01 MB / 360.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01182/0.6029, allocations: 1.692 MB / 456.5 MB, free: 10.3 MB / 360.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01306/0.6161, allocations: 4.068 MB / 460.6 MB, free: 6.172 MB / 360.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001729/0.6164, allocations: 116 kB / 460.7 MB, free: 6.059 MB / 360.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001386/0.6178, allocations: 203.9 kB / 460.9 MB, free: 5.859 MB / 360.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01066/0.6286, allocations: 5.182 MB / 466.1 MB, free: 0.6719 MB / 360.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01611/0.6448, allocations: 8.087 MB / 474.1 MB, free: 7.602 MB / 376.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001526/0.645, allocations: 55.47 kB / 474.2 MB, free: 7.547 MB / 376.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000935/0.646, allocations: 32 kB / 474.2 MB, free: 7.516 MB / 376.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00157/0.6477, allocations: 0.9264 MB / 475.2 MB, free: 6.586 MB / 376.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1669/0.8146, allocations: 41.61 MB / 0.5047 GB, free: 102.5 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003601/0.8183, allocations: 2.537 MB / 0.5071 GB, free: 101.9 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002254/0.8207, allocations: 1.536 MB / 0.5086 GB, free: 101.8 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01013/0.8309, allocations: 5.146 MB / 0.5137 GB, free: 100.1 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.831, allocations: 44.5 kB / 0.5137 GB, free: 100 MB / 392.6 MB Notification: Performance of pre-optimization done (n=114): time 7.543e-06/0.8311, allocations: 0 / 0.5137 GB, free: 100 MB / 392.6 MB Notification: Performance of matching and sorting (n=123): time 0.02691/0.8581, allocations: 10.62 MB / 0.5241 GB, free: 97.6 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.8582, allocations: 142 kB / 0.5242 GB, free: 97.44 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005379/0.8636, allocations: 2.834 MB / 0.527 GB, free: 97.13 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002427/0.864, allocations: 25.7 kB / 0.527 GB, free: 97.1 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.00173/0.8658, allocations: 2.622 MB / 0.5296 GB, free: 95.57 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005893/0.8665, allocations: 498.8 kB / 0.53 GB, free: 95.3 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003676/0.8669, allocations: 3.938 kB / 0.53 GB, free: 95.3 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0003358/0.8673, allocations: 0.5357 MB / 0.5306 GB, free: 94.98 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003217/0.8706, allocations: 1.622 MB / 0.5321 GB, free: 94.97 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004816/0.8755, allocations: 5.127 MB / 0.5372 GB, free: 90.04 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005143/0.8807, allocations: 2.89 MB / 0.54 GB, free: 89.24 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.373e-05/0.8809, allocations: 37.19 kB / 0.54 GB, free: 89.24 MB / 392.6 MB Notification: Performance of matching and sorting (n=709) (initialization): time 0.01427/0.8952, allocations: 6.017 MB / 0.5459 GB, free: 87.55 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.8953, allocations: 11.45 kB / 0.5459 GB, free: 87.55 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001655/0.8956, allocations: 126.1 kB / 0.546 GB, free: 87.55 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008396/0.8965, allocations: 342.3 kB / 0.5463 GB, free: 87.5 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005871/0.9024, allocations: 1.287 MB / 0.5476 GB, free: 87.35 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002892/0.9054, allocations: 2.219 MB / 0.5498 GB, free: 85.75 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005841/0.9113, allocations: 170.8 kB / 0.5499 GB, free: 85.73 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001122/0.9125, allocations: 347.4 kB / 0.5503 GB, free: 85.69 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001989/0.9128, allocations: 75.28 kB / 0.5503 GB, free: 85.61 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006516/0.9135, allocations: 283.3 kB / 0.5506 GB, free: 85.46 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005904/0.9195, allocations: 2.189 MB / 0.5527 GB, free: 84.74 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.319e-05/0.9197, allocations: 15.28 kB / 0.5528 GB, free: 84.74 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-05/0.9198, allocations: 6.938 kB / 0.5528 GB, free: 84.74 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.312e-05/0.9198, allocations: 7.5 kB / 0.5528 GB, free: 84.74 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01471/0.9346, allocations: 5.181 MB / 0.5578 GB, free: 82.92 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-05/0.9347, allocations: 3.656 kB / 0.5578 GB, free: 82.92 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.936, allocations: 159.4 kB / 0.558 GB, free: 82.9 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003053/0.9392, allocations: 0.6499 MB / 0.5586 GB, free: 82.78 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002362/0.9395, allocations: 3.844 kB / 0.5586 GB, free: 82.78 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007241/0.9468, allocations: 4.21 MB / 0.5627 GB, free: 80.41 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.823e-06/0.9469, allocations: 1.594 kB / 0.5627 GB, free: 80.41 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009484/0.9565, allocations: 4.304 MB / 0.5669 GB, free: 78.59 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/0.958, allocations: 498.8 kB / 0.5674 GB, free: 78.12 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007951/0.9589, allocations: 7.75 kB / 0.5674 GB, free: 78.12 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002053/0.9611, allocations: 34.23 kB / 0.5675 GB, free: 78.1 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003142/0.9615, allocations: 56.02 kB / 0.5675 GB, free: 78.06 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/0.9617, allocations: 39.55 kB / 0.5675 GB, free: 78.03 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.003759/0.9655, allocations: 1.886 MB / 0.5694 GB, free: 76.39 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.006192/0.9718, allocations: 0.6968 MB / 0.5701 GB, free: 75.7 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002985/0.9722, allocations: 105.8 kB / 0.5702 GB, free: 75.6 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.007242/0.9795, allocations: 3.827 MB / 0.5739 GB, free: 72.13 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 7.962e-06/0.9796, allocations: 0 / 0.5739 GB, free: 72.13 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001914/0.9816, allocations: 1.05 MB / 0.5749 GB, free: 71.16 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002194/0.9839, allocations: 288.5 kB / 0.5752 GB, free: 70.92 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0146/0.9986, allocations: 5.871 MB / 0.5809 GB, free: 65.64 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006139/1.005, allocations: 3.067 MB / 0.5839 GB, free: 63.24 MB / 392.6 MB Notification: Performance of SimCode: time 3.562e-06/1.005, allocations: 0 / 0.5839 GB, free: 63.24 MB / 392.6 MB Notification: Performance of Templates: time 0.09305/1.098, allocations: 28.06 MB / 0.6113 GB, free: 40.54 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.o Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.c:1461:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_eqFunction_694(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.c:1462:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_eqFunction_695(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.c:1463:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_eqFunction_697(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.c:1464:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_eqFunction_699(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.c:1465:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_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_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.o] Error 1