Notification: Performance of loadModel(Modelica): time 1.561/1.561, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.638e-06/9.778e-06, allocations: 2.25 kB / 247.3 MB, free: 4.734 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06482/0.0649, allocations: 44.37 MB / 291.7 MB, free: 9.301 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2196/0.2846, allocations: 71.2 MB / 362.9 MB, free: 7.059 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001646/0.2849, allocations: 67.52 kB / 363 MB, free: 7.055 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.02185/0.3068, allocations: 5.299 MB / 368.3 MB, free: 6.645 MB / 296.6 MB Notification: Performance of Transformations before backend: time 2.228e-05/0.3069, allocations: 7.562 kB / 368.3 MB, free: 6.645 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.0009216/0.3079, allocations: 0.5583 MB / 368.8 MB, free: 6.219 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.308, allocations: 7.844 kB / 368.8 MB, free: 6.219 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.199e-05/0.3082, allocations: 42.94 kB / 368.9 MB, free: 6.195 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.3085, allocations: 252.1 kB / 369.1 MB, free: 5.969 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.3086, allocations: 8.453 kB / 369.1 MB, free: 5.969 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.034e-05/0.3087, allocations: 15 kB / 369.2 MB, free: 5.969 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005018/0.3093, allocations: 214.5 kB / 369.4 MB, free: 5.965 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004864/0.3098, allocations: 207.7 kB / 369.6 MB, free: 5.926 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.3099, allocations: 0.6562 kB / 369.6 MB, free: 5.926 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.31, allocations: 7.891 kB / 369.6 MB, free: 5.918 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.3101, allocations: 7.688 kB / 369.6 MB, free: 5.918 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.3117, allocations: 0.7567 MB / 370.3 MB, free: 5.621 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003892/0.3122, allocations: 178.8 kB / 370.5 MB, free: 5.602 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003008/0.3125, allocations: 165.9 kB / 370.7 MB, free: 5.59 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.806e-05/0.3126, allocations: 4.625 kB / 370.7 MB, free: 5.59 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.3127, allocations: 44.12 kB / 370.7 MB, free: 5.547 MB / 296.6 MB Notification: Performance of pre-optimization done (n=43): time 6.007e-06/0.3128, allocations: 0 / 370.7 MB, free: 5.547 MB / 296.6 MB Notification: Performance of matching and sorting (n=63): time 0.003215/0.316, allocations: 1.471 MB / 372.2 MB, free: 4.98 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.3162, allocations: 59.81 kB / 372.2 MB, free: 4.914 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.3164, allocations: 162.9 kB / 372.4 MB, free: 4.812 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.3165, allocations: 25.7 kB / 372.4 MB, free: 4.781 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 5.497e-05/0.3166, allocations: 132.1 kB / 372.6 MB, free: 4.672 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.3168, allocations: 211.4 kB / 372.8 MB, free: 4.531 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.3169, allocations: 0 / 372.8 MB, free: 4.531 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.3171, allocations: 345.7 kB / 373.1 MB, free: 20.21 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.3174, allocations: 127 kB / 373.2 MB, free: 20.21 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002948/0.3178, allocations: 134.2 kB / 373.4 MB, free: 20.21 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003202/0.3182, allocations: 145.2 kB / 373.5 MB, free: 20.21 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.353e-06/0.3182, allocations: 0 / 373.5 MB, free: 20.21 MB / 312.6 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000792/0.3191, allocations: 406.2 kB / 373.9 MB, free: 20.14 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3192, allocations: 3.875 kB / 373.9 MB, free: 20.14 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.569e-06/0.3192, allocations: 0.6094 kB / 373.9 MB, free: 20.14 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.3193, allocations: 11.81 kB / 373.9 MB, free: 20.13 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006999/0.32, allocations: 128.5 kB / 374 MB, free: 20.12 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.429e-06/0.3201, allocations: 4.594 kB / 374 MB, free: 20.12 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/0.3205, allocations: 24.19 kB / 374.1 MB, free: 20.12 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.121e-05/0.3206, allocations: 16.31 kB / 374.1 MB, free: 20.12 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 6.984e-05/0.3207, allocations: 75.28 kB / 374.2 MB, free: 20.05 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.631e-05/0.3209, allocations: 35.84 kB / 374.2 MB, free: 20.03 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.3211, allocations: 42.47 kB / 374.2 MB, free: 20.02 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.3212, allocations: 3.906 kB / 374.2 MB, free: 20.02 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.987e-06/0.3212, allocations: 3.844 kB / 374.2 MB, free: 20.02 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.3213, allocations: 11.64 kB / 374.3 MB, free: 20.01 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002173/0.3235, allocations: 1.155 MB / 375.4 MB, free: 19.53 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.3236, allocations: 4.688 kB / 375.4 MB, free: 19.53 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007465/0.3244, allocations: 134.8 kB / 375.5 MB, free: 19.52 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-05/0.3245, allocations: 7.75 kB / 375.6 MB, free: 19.52 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.239e-05/0.3246, allocations: 8.703 kB / 375.6 MB, free: 19.52 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.069e-05/0.3247, allocations: 8.922 kB / 375.6 MB, free: 19.52 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.473e-06/0.3247, allocations: 7.812 kB / 375.6 MB, free: 19.51 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00121/0.326, allocations: 0.9875 MB / 376.6 MB, free: 18.88 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.3262, allocations: 114.5 kB / 376.7 MB, free: 18.77 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.599e-05/0.3263, allocations: 7.906 kB / 376.7 MB, free: 18.77 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004274/0.3268, allocations: 27.72 kB / 376.7 MB, free: 18.76 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.192e-05/0.3269, allocations: 47.23 kB / 376.8 MB, free: 18.75 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.093e-05/0.327, allocations: 23.03 kB / 376.8 MB, free: 18.75 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001259/0.3272, allocations: 127.9 kB / 376.9 MB, free: 18.67 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0005851/0.3279, allocations: 77.88 kB / 377 MB, free: 18.67 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001013/0.328, allocations: 69.61 kB / 377.1 MB, free: 18.61 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0007147/0.3288, allocations: 364.3 kB / 377.4 MB, free: 18.59 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 4.26e-06/0.3289, allocations: 0 / 377.4 MB, free: 18.59 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0003938/0.3293, allocations: 221 kB / 377.6 MB, free: 18.57 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006939/0.3301, allocations: 57.72 kB / 377.7 MB, free: 18.56 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.3318, allocations: 0.7973 MB / 378.5 MB, free: 18.06 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006133/0.3325, allocations: 0.8437 MB / 379.3 MB, free: 17.35 MB / 312.6 MB Notification: Performance of SimCode: time 2.165e-06/0.3325, allocations: 0 / 379.3 MB, free: 17.35 MB / 312.6 MB Notification: Performance of Templates: time 0.04078/0.3734, allocations: 4.269 MB / 383.6 MB, free: 15.34 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.ElastoGap.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_Translational_Examples_ElastoGap -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.ElastoGap.o Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.ElastoGap.c In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.ElastoGap.c:2: ./Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.ElastoGap_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_ElastoGap__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.ElastoGap_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_ElastoGap__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.ElastoGap.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.Translational.Examples.ElastoGap.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_ElastoGap_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.ElastoGap.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.Translational.Examples.ElastoGap.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_ElastoGap_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.ElastoGap.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.Translational.Examples.ElastoGap.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_ElastoGap_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.Translational.Examples.ElastoGap.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_ElastoGap_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.ElastoGap.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.Translational.Examples.ElastoGap.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_ElastoGap_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.ElastoGap.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.Translational.Examples.ElastoGap.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_ElastoGap_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.Translational.Examples.ElastoGap.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_ElastoGap_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.ElastoGap.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.Translational.Examples.ElastoGap.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_ElastoGap_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.ElastoGap.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_ElastoGap_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.Translational.Examples.ElastoGap.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_ElastoGap_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.ElastoGap.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_ElastoGap_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.ElastoGap.c:1165:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_ElastoGap_eqFunction_89(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.ElastoGap.c:1166:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_ElastoGap_eqFunction_90(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.ElastoGap.c:1167:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_ElastoGap_eqFunction_91(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.ElastoGap.c:1168:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_ElastoGap_eqFunction_92(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.ElastoGap.c:1169:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Mechanics_Translational_Examples_ElastoGap_eqFunction_93(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.Translational.Examples.ElastoGap.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Mechanics.Translational.Examples.ElastoGap.o] Error 1