Notification: Performance of loadModel(Modelica): time 1.514/1.514, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.848e-06/9.988e-06, allocations: 1.25 kB / 247.5 MB, free: 4.555 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0619/0.06198, allocations: 44.35 MB / 291.9 MB, free: 9.109 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2414/0.3035, allocations: 90.11 MB / 382 MB, free: 4.348 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.3039, allocations: 97.8 kB / 382.1 MB, free: 4.328 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.2635/0.5675, allocations: 69.32 MB / 451.4 MB, free: 15.45 MB / 360.6 MB Notification: Performance of Transformations before backend: time 0.0001695/0.5677, allocations: 68 kB / 451.5 MB, free: 15.38 MB / 360.6 MB Notification: Performance of Generate backend data structure: time 0.009169/0.577, allocations: 3.322 MB / 454.8 MB, free: 12 MB / 360.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.5771, allocations: 12.03 kB / 454.8 MB, free: 11.99 MB / 360.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0116/0.5888, allocations: 1.688 MB / 456.5 MB, free: 10.29 MB / 360.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01233/0.6012, allocations: 4.08 MB / 460.6 MB, free: 6.148 MB / 360.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/0.6014, allocations: 108 kB / 460.7 MB, free: 6.043 MB / 360.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001053/0.6025, allocations: 203.9 kB / 460.9 MB, free: 5.844 MB / 360.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009662/0.6122, allocations: 5.182 MB / 466.1 MB, free: 0.6523 MB / 360.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.015/0.6274, allocations: 8.087 MB / 474.1 MB, free: 7.586 MB / 376.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001483/0.6276, allocations: 59.45 kB / 474.2 MB, free: 7.527 MB / 376.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00064/0.6283, allocations: 28 kB / 474.2 MB, free: 7.5 MB / 376.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001211/0.6296, allocations: 0.9225 MB / 475.2 MB, free: 6.574 MB / 376.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1608/0.7904, allocations: 41.61 MB / 0.5047 GB, free: 102.3 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003384/0.7939, allocations: 2.542 MB / 0.5071 GB, free: 101.6 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00215/0.7961, allocations: 1.527 MB / 0.5086 GB, free: 101.6 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009371/0.8056, allocations: 5.148 MB / 0.5137 GB, free: 99.84 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.8057, allocations: 49.94 kB / 0.5137 GB, free: 99.8 MB / 392.6 MB Notification: Performance of pre-optimization done (n=114): time 8.171e-06/0.8058, allocations: 3.375 kB / 0.5137 GB, free: 99.8 MB / 392.6 MB Notification: Performance of matching and sorting (n=123): time 0.0253/0.8311, allocations: 10.62 MB / 0.5241 GB, free: 97.38 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.8313, allocations: 143.3 kB / 0.5242 GB, free: 97.22 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004706/0.836, allocations: 2.831 MB / 0.527 GB, free: 96.91 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002229/0.8364, allocations: 25.7 kB / 0.527 GB, free: 96.88 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.001465/0.8379, allocations: 2.615 MB / 0.5296 GB, free: 95.36 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005465/0.8385, allocations: 0.4916 MB / 0.53 GB, free: 95.09 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002688/0.8388, allocations: 3.188 kB / 0.53 GB, free: 95.09 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0003241/0.8392, allocations: 0.5367 MB / 0.5306 GB, free: 94.78 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00286/0.8421, allocations: 1.616 MB / 0.5321 GB, free: 94.76 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004525/0.8467, allocations: 5.135 MB / 0.5372 GB, free: 90.02 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004865/0.8517, allocations: 2.896 MB / 0.54 GB, free: 89.23 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.867e-05/0.8518, allocations: 34.44 kB / 0.54 GB, free: 89.23 MB / 392.6 MB Notification: Performance of matching and sorting (n=709) (initialization): time 0.01261/0.8645, allocations: 6.013 MB / 0.5459 GB, free: 87.51 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.8646, allocations: 6.906 kB / 0.5459 GB, free: 87.51 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001243/0.8648, allocations: 131 kB / 0.546 GB, free: 87.51 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007764/0.8656, allocations: 343 kB / 0.5463 GB, free: 87.47 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005431/0.8711, allocations: 1.289 MB / 0.5476 GB, free: 87.31 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002776/0.874, allocations: 2.221 MB / 0.5498 GB, free: 85.71 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005548/0.8796, allocations: 157.4 kB / 0.5499 GB, free: 85.7 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009042/0.8806, allocations: 346.3 kB / 0.5503 GB, free: 85.65 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001655/0.8809, allocations: 86.62 kB / 0.5503 GB, free: 85.57 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000555/0.8815, allocations: 277.8 kB / 0.5506 GB, free: 85.42 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006001/0.8875, allocations: 2.188 MB / 0.5527 GB, free: 84.71 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-05/0.8877, allocations: 15.16 kB / 0.5528 GB, free: 84.71 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.8877, allocations: 6.875 kB / 0.5528 GB, free: 84.71 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.8878, allocations: 11.11 kB / 0.5528 GB, free: 84.71 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/0.9011, allocations: 5.18 MB / 0.5578 GB, free: 82.89 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/0.9012, allocations: 6.797 kB / 0.5578 GB, free: 82.89 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/0.9025, allocations: 158.3 kB / 0.558 GB, free: 82.88 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003009/0.9056, allocations: 0.6472 MB / 0.5586 GB, free: 82.75 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001979/0.9058, allocations: 3.688 kB / 0.5586 GB, free: 82.75 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00695/0.9128, allocations: 4.207 MB / 0.5627 GB, free: 80.38 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.031e-06/0.913, allocations: 2.25 kB / 0.5627 GB, free: 80.38 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00862/0.9216, allocations: 4.306 MB / 0.5669 GB, free: 78.45 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001345/0.9231, allocations: 0.4965 MB / 0.5674 GB, free: 77.97 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005788/0.9238, allocations: 4 kB / 0.5674 GB, free: 77.96 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001652/0.9255, allocations: 27.11 kB / 0.5675 GB, free: 77.95 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.9257, allocations: 57.02 kB / 0.5675 GB, free: 77.91 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/0.9259, allocations: 38.69 kB / 0.5675 GB, free: 77.88 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.003129/0.9291, allocations: 1.891 MB / 0.5694 GB, free: 76.23 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.005561/0.9347, allocations: 0.693 MB / 0.5701 GB, free: 75.55 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000269/0.9351, allocations: 102.8 kB / 0.5702 GB, free: 75.45 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.006612/0.9418, allocations: 3.832 MB / 0.5739 GB, free: 71.98 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 7.822e-06/0.9419, allocations: 5.938 kB / 0.5739 GB, free: 71.97 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001708/0.9437, allocations: 1.046 MB / 0.5749 GB, free: 71.01 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/0.9457, allocations: 287.6 kB / 0.5752 GB, free: 70.77 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/0.9583, allocations: 5.881 MB / 0.581 GB, free: 65.48 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00486/0.9633, allocations: 3.06 MB / 0.5839 GB, free: 63.08 MB / 392.6 MB Notification: Performance of SimCode: time 2.445e-06/0.9634, allocations: 4 kB / 0.5839 GB, free: 63.08 MB / 392.6 MB Notification: Performance of Templates: time 0.1577/1.121, allocations: 28.07 MB / 0.6114 GB, free: 40.54 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