Notification: Performance of loadModel(Modelica): time 1.518/1.518, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.055e-05/1.083e-05, allocations: 2.094 kB / 247.3 MB, free: 4.738 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06114/0.06121, allocations: 44.36 MB / 291.7 MB, free: 9.293 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2258/0.2871, allocations: 73.98 MB / 365.7 MB, free: 7.098 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001796/0.2874, allocations: 69.19 kB / 365.8 MB, free: 7.094 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.02067/0.3081, allocations: 4.374 MB / 370.1 MB, free: 6.738 MB / 296.6 MB Notification: Performance of Transformations before backend: time 2.591e-05/0.3083, allocations: 7.906 kB / 370.1 MB, free: 6.734 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001418/0.3098, allocations: 0.6128 MB / 370.7 MB, free: 6.281 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3099, allocations: 11.66 kB / 370.8 MB, free: 6.281 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.31, allocations: 31.62 kB / 370.8 MB, free: 6.266 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003729/0.3105, allocations: 266.7 kB / 371 MB, free: 6.035 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.3106, allocations: 6.5 kB / 371.1 MB, free: 6.035 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.643e-05/0.3107, allocations: 11.78 kB / 371.1 MB, free: 6.035 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004723/0.3112, allocations: 170.2 kB / 371.2 MB, free: 6.031 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004994/0.3118, allocations: 213.3 kB / 371.4 MB, free: 5.977 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.3118, allocations: 0 / 371.4 MB, free: 5.977 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.26e-05/0.3119, allocations: 4.594 kB / 371.4 MB, free: 5.973 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.312, allocations: 3.844 kB / 371.5 MB, free: 5.973 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002615/0.3147, allocations: 0.9922 MB / 372.4 MB, free: 5.523 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.3151, allocations: 116 kB / 372.6 MB, free: 5.504 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004049/0.3156, allocations: 148.5 kB / 372.7 MB, free: 5.492 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.3157, allocations: 3.969 kB / 372.7 MB, free: 5.492 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003266/0.316, allocations: 162.6 kB / 372.9 MB, free: 5.41 MB / 296.6 MB Notification: Performance of pre-optimization done (n=21): time 3.981e-06/0.3161, allocations: 0 / 372.9 MB, free: 5.41 MB / 296.6 MB Notification: Performance of matching and sorting (n=21): time 0.0005463/0.3167, allocations: 197.3 kB / 373.1 MB, free: 5.363 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.3168, allocations: 106.7 kB / 373.2 MB, free: 5.238 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.3171, allocations: 188.1 kB / 373.3 MB, free: 5.141 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/0.3172, allocations: 30.38 kB / 373.4 MB, free: 5.109 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 7.354e-05/0.3173, allocations: 138.1 kB / 373.5 MB, free: 5 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 6.9e-05/0.3174, allocations: 71.73 kB / 373.6 MB, free: 4.953 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.3175, allocations: 0 / 373.6 MB, free: 4.953 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.3177, allocations: 329.9 kB / 373.9 MB, free: 20.64 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.3179, allocations: 78.25 kB / 374 MB, free: 20.64 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.3182, allocations: 104.7 kB / 374.1 MB, free: 20.6 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.3185, allocations: 75.98 kB / 374.2 MB, free: 20.59 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.191e-06/0.3186, allocations: 4 kB / 374.2 MB, free: 20.59 MB / 312.6 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005778/0.3192, allocations: 232.4 kB / 374.4 MB, free: 20.54 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.3193, allocations: 8.375 kB / 374.4 MB, free: 20.54 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.892e-06/0.3193, allocations: 0 / 374.4 MB, free: 20.54 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3194, allocations: 3.875 kB / 374.4 MB, free: 20.54 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003328/0.3228, allocations: 366.1 kB / 374.8 MB, free: 20.51 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005683/0.3286, allocations: 3.013 MB / 377.8 MB, free: 17.73 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006493/0.3293, allocations: 66.95 kB / 377.8 MB, free: 17.7 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.281e-05/0.3294, allocations: 11.69 kB / 377.8 MB, free: 17.7 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 5.909e-05/0.3296, allocations: 79.19 kB / 377.9 MB, free: 17.62 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.328e-05/0.3297, allocations: 23.34 kB / 377.9 MB, free: 17.61 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.704e-05/0.3298, allocations: 32.83 kB / 378 MB, free: 17.6 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3299, allocations: 0 / 378 MB, free: 17.6 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.006e-06/0.3299, allocations: 7.812 kB / 378 MB, free: 17.6 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.286e-06/0.33, allocations: 0 / 378 MB, free: 17.6 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.3315, allocations: 0.741 MB / 378.7 MB, free: 17.12 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.588e-06/0.3316, allocations: 0 / 378.7 MB, free: 17.12 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003199/0.3349, allocations: 352.2 kB / 379.1 MB, free: 17.01 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.66e-06/0.335, allocations: 3.875 kB / 379.1 MB, free: 17.01 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-05/0.3351, allocations: 7.797 kB / 379.1 MB, free: 17 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005418/0.3405, allocations: 3.003 MB / 382.1 MB, free: 14.23 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.238e-06/0.3406, allocations: 7.938 kB / 382.1 MB, free: 14.23 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007593/0.3415, allocations: 435.8 kB / 382.5 MB, free: 14.02 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 7.019e-05/0.3416, allocations: 104.5 kB / 382.6 MB, free: 13.91 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.278e-05/0.3417, allocations: 11.81 kB / 382.6 MB, free: 13.9 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005852/0.3424, allocations: 54.89 kB / 382.7 MB, free: 13.88 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.3425, allocations: 27.52 kB / 382.7 MB, free: 13.87 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.304e-05/0.3426, allocations: 11.86 kB / 382.7 MB, free: 13.86 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001564/0.3429, allocations: 158 kB / 382.9 MB, free: 13.78 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0006783/0.3436, allocations: 85.75 kB / 383 MB, free: 13.76 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000101/0.3438, allocations: 80.81 kB / 383 MB, free: 13.7 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.004362/0.3482, allocations: 0.5876 MB / 383.6 MB, free: 13.53 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 6.355e-06/0.3483, allocations: 0 / 383.6 MB, free: 13.53 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.004105/0.3525, allocations: 491.5 kB / 384.1 MB, free: 13.4 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/0.3531, allocations: 27.67 kB / 384.1 MB, free: 13.39 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.355, allocations: 424.6 kB / 384.5 MB, free: 13.15 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003077/0.3554, allocations: 0.7828 MB / 385.3 MB, free: 12.41 MB / 312.6 MB Notification: Performance of SimCode: time 2.095e-06/0.3554, allocations: 4 kB / 385.3 MB, free: 12.41 MB / 312.6 MB Notification: Performance of Templates: time 0.02984/0.3853, allocations: 3.306 MB / 388.6 MB, free: 10.72 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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_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_-O1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.o Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:134:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_eqFunction_37(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:134:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_eqFunction_37(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:298:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_eqFunction_47(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:298:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_eqFunction_47(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:507:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.o] Error 1