Notification: Performance of loadModel(Modelica): time 1.569/1.569, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.569e-06/9.638e-06, allocations: 1.094 kB / 247.3 MB, free: 4.742 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06057/0.06065, allocations: 44.36 MB / 291.7 MB, free: 9.316 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2243/0.2851, allocations: 73.98 MB / 365.7 MB, free: 7.051 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.2854, allocations: 72.94 kB / 365.8 MB, free: 7.047 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.0208/0.3063, allocations: 4.378 MB / 370.1 MB, free: 6.688 MB / 296.6 MB Notification: Performance of Transformations before backend: time 1.984e-05/0.3064, allocations: 3.875 kB / 370.1 MB, free: 6.688 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001402/0.3079, allocations: 0.6172 MB / 370.8 MB, free: 6.23 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.308, allocations: 7.781 kB / 370.8 MB, free: 6.23 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.317e-05/0.3081, allocations: 31.16 kB / 370.8 MB, free: 6.215 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/0.3086, allocations: 264.1 kB / 371 MB, free: 5.988 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.3087, allocations: 7.719 kB / 371.1 MB, free: 5.988 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.818e-05/0.3088, allocations: 14 kB / 371.1 MB, free: 5.988 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004515/0.3093, allocations: 159 kB / 371.2 MB, free: 5.988 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004957/0.3098, allocations: 223.2 kB / 371.4 MB, free: 5.926 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.3099, allocations: 0.8438 kB / 371.4 MB, free: 5.926 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.351e-05/0.31, allocations: 7.938 kB / 371.4 MB, free: 5.922 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.079e-06/0.3101, allocations: 3.781 kB / 371.5 MB, free: 5.922 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002518/0.3127, allocations: 0.9823 MB / 372.4 MB, free: 5.477 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.3131, allocations: 117.6 kB / 372.6 MB, free: 5.453 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004/0.3135, allocations: 153.2 kB / 372.7 MB, free: 5.441 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.3136, allocations: 5.172 kB / 372.7 MB, free: 5.441 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000297/0.314, allocations: 162.7 kB / 372.9 MB, free: 5.363 MB / 296.6 MB Notification: Performance of pre-optimization done (n=21): time 5.727e-06/0.314, allocations: 0 / 372.9 MB, free: 5.363 MB / 296.6 MB Notification: Performance of matching and sorting (n=21): time 0.0005519/0.3147, allocations: 192.3 kB / 373.1 MB, free: 5.316 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.3148, allocations: 107.3 kB / 373.2 MB, free: 5.191 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.315, allocations: 195.2 kB / 373.3 MB, free: 5.09 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/0.3151, allocations: 25.7 kB / 373.4 MB, free: 5.059 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 7.319e-05/0.3153, allocations: 141.4 kB / 373.5 MB, free: 4.949 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 6.356e-05/0.3154, allocations: 64.72 kB / 373.6 MB, free: 4.906 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.3155, allocations: 0 / 373.6 MB, free: 4.906 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3156, allocations: 337.3 kB / 373.9 MB, free: 20.59 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.3159, allocations: 72.69 kB / 374 MB, free: 20.59 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.3162, allocations: 111.2 kB / 374.1 MB, free: 20.55 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.3165, allocations: 77.53 kB / 374.2 MB, free: 20.55 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.051e-06/0.3165, allocations: 0 / 374.2 MB, free: 20.55 MB / 312.6 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005695/0.3171, allocations: 233.8 kB / 374.4 MB, free: 20.49 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3172, allocations: 7.812 kB / 374.4 MB, free: 20.49 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.962e-06/0.3173, allocations: 0 / 374.4 MB, free: 20.49 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.3174, allocations: 4.75 kB / 374.4 MB, free: 20.49 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003383/0.3208, allocations: 368.5 kB / 374.8 MB, free: 20.44 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00582/0.3267, allocations: 3.004 MB / 377.8 MB, free: 17.67 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006314/0.3275, allocations: 69.94 kB / 377.8 MB, free: 17.64 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/0.3276, allocations: 3.906 kB / 377.8 MB, free: 17.64 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 5.923e-05/0.3277, allocations: 79.19 kB / 377.9 MB, free: 17.57 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.923e-05/0.3278, allocations: 23.38 kB / 377.9 MB, free: 17.55 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.011e-05/0.3279, allocations: 34.95 kB / 378 MB, free: 17.54 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.238e-06/0.328, allocations: 7.781 kB / 378 MB, free: 17.54 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.19e-06/0.3281, allocations: 0 / 378 MB, free: 17.54 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.425e-06/0.3281, allocations: 0 / 378 MB, free: 17.54 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.3297, allocations: 0.752 MB / 378.7 MB, free: 17.05 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.518e-06/0.3298, allocations: 0 / 378.7 MB, free: 17.05 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00327/0.3331, allocations: 352.1 kB / 379.1 MB, free: 16.95 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/0.3332, allocations: 3.875 kB / 379.1 MB, free: 16.95 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.232e-05/0.3333, allocations: 0 / 379.1 MB, free: 16.95 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005515/0.3389, allocations: 3.006 MB / 382.1 MB, free: 14.17 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.286e-06/0.339, allocations: 7.812 kB / 382.1 MB, free: 14.17 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009299/0.34, allocations: 445.7 kB / 382.5 MB, free: 13.95 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 6.167e-05/0.3401, allocations: 96.78 kB / 382.6 MB, free: 13.84 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.012e-05/0.3402, allocations: 3.906 kB / 382.6 MB, free: 13.84 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006065/0.3409, allocations: 57.95 kB / 382.7 MB, free: 13.82 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.3411, allocations: 27.17 kB / 382.7 MB, free: 13.81 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.22e-05/0.3412, allocations: 7.891 kB / 382.7 MB, free: 13.8 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001581/0.3414, allocations: 157.2 kB / 382.9 MB, free: 13.72 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0006841/0.3421, allocations: 81.59 kB / 382.9 MB, free: 13.71 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 9.519e-05/0.3423, allocations: 80.83 kB / 383 MB, free: 13.65 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.004405/0.3467, allocations: 0.5876 MB / 383.6 MB, free: 13.48 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 8.311e-06/0.3469, allocations: 4.031 kB / 383.6 MB, free: 13.48 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.004138/0.351, allocations: 0.4916 MB / 384.1 MB, free: 13.34 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004749/0.3516, allocations: 27.55 kB / 384.1 MB, free: 13.33 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.3535, allocations: 417 kB / 384.5 MB, free: 13.09 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003083/0.3539, allocations: 0.784 MB / 385.3 MB, free: 12.35 MB / 312.6 MB Notification: Performance of SimCode: time 2.095e-06/0.354, allocations: 3.938 kB / 385.3 MB, free: 12.34 MB / 312.6 MB Notification: Performance of Templates: time 0.03292/0.3869, allocations: 3.313 MB / 388.6 MB, free: 10.65 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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_Electrical_Analog_Examples_ThyristorBehaviourTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.o Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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.Electrical.Analog.Examples.ThyristorBehaviourTest.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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.Electrical.Analog.Examples.ThyristorBehaviourTest.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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.Electrical.Analog.Examples.ThyristorBehaviourTest.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_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.Electrical.Analog.Examples.ThyristorBehaviourTest.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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.Electrical.Analog.Examples.ThyristorBehaviourTest.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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.Electrical.Analog.Examples.ThyristorBehaviourTest.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_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.Electrical.Analog.Examples.ThyristorBehaviourTest.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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.Electrical.Analog.Examples.ThyristorBehaviourTest.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_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.Electrical.Analog.Examples.ThyristorBehaviourTest.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:134:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_eqFunction_37(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:134:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_eqFunction_37(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:298:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_eqFunction_47(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:298:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_eqFunction_47(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:507:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_eqFunction_34(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.Electrical.Analog.Examples.ThyristorBehaviourTest.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.o] Error 1