Notification: Performance of loadModel(Modelica): time 1.625/1.625, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.041e-05/1.055e-05, allocations: 2.156 kB / 247.3 MB, free: 4.719 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06326/0.06335, allocations: 44.36 MB / 291.7 MB, free: 9.297 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2295/0.293, allocations: 75.05 MB / 366.8 MB, free: 6.762 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.2933, allocations: 71.36 kB / 366.8 MB, free: 6.758 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.03614/0.3295, allocations: 8.027 MB / 374.9 MB, free: 5.215 MB / 296.6 MB Notification: Performance of Transformations before backend: time 3.311e-05/0.3297, allocations: 17.83 kB / 374.9 MB, free: 5.211 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.002434/0.3322, allocations: 0.8546 MB / 375.7 MB, free: 4.59 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3323, allocations: 11.78 kB / 375.7 MB, free: 4.59 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002207/0.3326, allocations: 54.59 kB / 375.8 MB, free: 4.562 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007017/0.3333, allocations: 369.1 kB / 376.2 MB, free: 4.281 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.73e-05/0.3335, allocations: 11.62 kB / 376.2 MB, free: 4.281 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-05/0.3336, allocations: 27.34 kB / 376.2 MB, free: 4.277 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009786/0.3346, allocations: 367.7 kB / 376.6 MB, free: 4.262 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009114/0.3356, allocations: 408.5 kB / 377 MB, free: 4.121 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.3357, allocations: 1.094 kB / 377 MB, free: 4.121 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.81e-05/0.3358, allocations: 0 / 377 MB, free: 4.121 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.3359, allocations: 7.875 kB / 377 MB, free: 4.121 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004701/0.3407, allocations: 1.995 MB / 379 MB, free: 2.992 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005664/0.3413, allocations: 243.7 kB / 379.2 MB, free: 2.961 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004915/0.3419, allocations: 243.1 kB / 379.4 MB, free: 2.949 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 4.812e-05/0.342, allocations: 7.922 kB / 379.4 MB, free: 2.945 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005246/0.3426, allocations: 274 kB / 379.7 MB, free: 2.84 MB / 296.6 MB Notification: Performance of pre-optimization done (n=39): time 3.771e-06/0.3426, allocations: 0 / 379.7 MB, free: 2.84 MB / 296.6 MB Notification: Performance of matching and sorting (n=39): time 0.001658/0.3444, allocations: 0.5161 MB / 380.2 MB, free: 2.723 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.667e-05/0.3445, allocations: 80.95 kB / 380.3 MB, free: 18.63 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004375/0.345, allocations: 292.2 kB / 380.6 MB, free: 18.5 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 7.417e-05/0.3452, allocations: 25.7 kB / 380.6 MB, free: 18.47 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.3453, allocations: 182.9 kB / 380.8 MB, free: 18.32 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.3455, allocations: 122 kB / 380.9 MB, free: 18.23 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.3456, allocations: 0 / 380.9 MB, free: 18.23 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3458, allocations: 365.7 kB / 381.3 MB, free: 17.9 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004012/0.3463, allocations: 151.6 kB / 381.4 MB, free: 17.89 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000419/0.3468, allocations: 197.8 kB / 381.6 MB, free: 17.86 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/0.3472, allocations: 147.7 kB / 381.8 MB, free: 17.84 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.098e-06/0.3473, allocations: 0 / 381.8 MB, free: 17.84 MB / 312.6 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00153/0.3489, allocations: 0.5391 MB / 382.3 MB, free: 17.73 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.349, allocations: 7.875 kB / 382.3 MB, free: 17.73 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.219e-06/0.349, allocations: 0 / 382.3 MB, free: 17.73 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/0.3503, allocations: 336.4 kB / 382.6 MB, free: 17.65 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006882/0.351, allocations: 97.22 kB / 382.7 MB, free: 17.62 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009356/0.3604, allocations: 2.937 MB / 385.7 MB, free: 16 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009723/0.3615, allocations: 106.1 kB / 385.8 MB, free: 15.96 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.495e-05/0.3616, allocations: 19.23 kB / 385.8 MB, free: 15.95 MB / 312.6 MB Warning: There are iteration variables with default zero start attribute. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.3618, allocations: 83.09 kB / 385.9 MB, free: 15.87 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.362, allocations: 38.91 kB / 385.9 MB, free: 15.85 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/0.3622, allocations: 52.75 kB / 386 MB, free: 15.83 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.3623, allocations: 3.906 kB / 386 MB, free: 15.83 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.308e-06/0.3623, allocations: 0 / 386 MB, free: 15.83 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.8e-06/0.3624, allocations: 7.891 kB / 386 MB, free: 15.82 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007158/0.3632, allocations: 0.5087 MB / 386.5 MB, free: 15.55 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.54e-06/0.3632, allocations: 0 / 386.5 MB, free: 15.55 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006553/0.3639, allocations: 101.7 kB / 386.6 MB, free: 15.52 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00113/0.3651, allocations: 334.9 kB / 386.9 MB, free: 15.43 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-05/0.3653, allocations: 7.859 kB / 386.9 MB, free: 15.43 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008975/0.3743, allocations: 2.941 MB / 389.9 MB, free: 13.8 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.517e-06/0.3744, allocations: 0 / 389.9 MB, free: 13.8 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002143/0.3766, allocations: 0.7951 MB / 390.6 MB, free: 13.63 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003153/0.377, allocations: 170.2 kB / 390.8 MB, free: 13.5 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.3772, allocations: 3.812 kB / 390.8 MB, free: 13.5 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008766/0.3782, allocations: 85.33 kB / 390.9 MB, free: 13.47 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.3784, allocations: 42.27 kB / 390.9 MB, free: 13.45 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.524e-05/0.3785, allocations: 11.25 kB / 391 MB, free: 13.45 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0002962/0.3788, allocations: 227.9 kB / 391.2 MB, free: 13.35 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0008364/0.3797, allocations: 157.2 kB / 391.3 MB, free: 13.32 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 9.855e-05/0.3799, allocations: 79.2 kB / 391.4 MB, free: 13.27 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001972/0.3819, allocations: 0.5587 MB / 392 MB, free: 13.1 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 6.635e-06/0.382, allocations: 5.438 kB / 392 MB, free: 13.1 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.3833, allocations: 382.4 kB / 392.3 MB, free: 12.96 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000563/0.384, allocations: 54.53 kB / 392.4 MB, free: 12.94 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003574/0.3876, allocations: 0.7987 MB / 393.2 MB, free: 12.57 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004707/0.3882, allocations: 0.855 MB / 394 MB, free: 11.8 MB / 312.6 MB Notification: Performance of SimCode: time 2.235e-06/0.3883, allocations: 0 / 394 MB, free: 11.8 MB / 312.6 MB Notification: Performance of Templates: time 0.09737/0.4857, allocations: 10.23 MB / 404.3 MB, free: 6.582 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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_SimpleTriacCircuit -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.o Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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.SimpleTriacCircuit.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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.SimpleTriacCircuit.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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.SimpleTriacCircuit.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_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.SimpleTriacCircuit.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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.SimpleTriacCircuit.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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.SimpleTriacCircuit.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_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.SimpleTriacCircuit.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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.SimpleTriacCircuit.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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_SimpleTriacCircuit_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.SimpleTriacCircuit.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.c:145:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_eqFunction_68(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.c:145:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_eqFunction_68(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.c:146:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_eqFunction_69(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.c:146:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_eqFunction_69(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.c:147:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_eqFunction_70(DATA*,threadData_t*); ^ 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.SimpleTriacCircuit.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.o] Error 1