Notification: Performance of loadModel(Modelica): time 1.574/1.574, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.062e-05/1.069e-05, allocations: 2.062 kB / 247.4 MB, free: 4.734 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06801/0.06809, allocations: 44.36 MB / 291.7 MB, free: 9.281 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2429/0.3111, allocations: 75.05 MB / 366.8 MB, free: 7.012 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.3114, allocations: 77.45 kB / 366.8 MB, free: 7.008 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.03577/0.3472, allocations: 8.019 MB / 374.9 MB, free: 5.5 MB / 296.6 MB Notification: Performance of Transformations before backend: time 3.401e-05/0.3474, allocations: 12.75 kB / 374.9 MB, free: 5.5 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.00226/0.3497, allocations: 0.8612 MB / 375.7 MB, free: 4.879 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.3499, allocations: 11.62 kB / 375.7 MB, free: 4.879 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/0.3501, allocations: 58.72 kB / 375.8 MB, free: 4.848 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006532/0.3508, allocations: 370.8 kB / 376.2 MB, free: 4.566 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.695e-05/0.3509, allocations: 15.66 kB / 376.2 MB, free: 4.566 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.086e-05/0.3511, allocations: 23.48 kB / 376.2 MB, free: 4.562 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009674/0.3521, allocations: 363.9 kB / 376.6 MB, free: 4.551 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009087/0.3531, allocations: 410.4 kB / 377 MB, free: 4.406 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.3532, allocations: 7.891 kB / 377 MB, free: 4.402 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-05/0.3533, allocations: 0 / 377 MB, free: 4.402 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.3534, allocations: 7.75 kB / 377 MB, free: 4.402 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004557/0.358, allocations: 1.992 MB / 379 MB, free: 3.273 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005537/0.3587, allocations: 234.5 kB / 379.2 MB, free: 3.25 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004978/0.3592, allocations: 246.2 kB / 379.4 MB, free: 3.238 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 4.323e-05/0.3593, allocations: 7.875 kB / 379.4 MB, free: 3.234 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005395/0.3599, allocations: 272.7 kB / 379.7 MB, free: 3.129 MB / 296.6 MB Notification: Performance of pre-optimization done (n=39): time 3.911e-06/0.36, allocations: 0 / 379.7 MB, free: 3.129 MB / 296.6 MB Notification: Performance of matching and sorting (n=39): time 0.001662/0.3617, allocations: 0.5101 MB / 380.2 MB, free: 3.016 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.3618, allocations: 84.97 kB / 380.3 MB, free: 2.918 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004304/0.3623, allocations: 297.3 kB / 380.6 MB, free: 2.793 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 8.514e-05/0.3625, allocations: 25.7 kB / 380.6 MB, free: 2.762 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.3627, allocations: 180.4 kB / 380.8 MB, free: 18.61 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.3628, allocations: 121.3 kB / 380.9 MB, free: 18.52 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.3629, allocations: 3.812 kB / 380.9 MB, free: 18.52 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3631, allocations: 357.7 kB / 381.3 MB, free: 18.19 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004103/0.3636, allocations: 155.7 kB / 381.4 MB, free: 18.18 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004282/0.3641, allocations: 197.8 kB / 381.6 MB, free: 18.14 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/0.3645, allocations: 153.2 kB / 381.8 MB, free: 18.13 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.61e-06/0.3646, allocations: 0 / 381.8 MB, free: 18.13 MB / 312.6 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001562/0.3662, allocations: 0.5418 MB / 382.3 MB, free: 18.01 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.3663, allocations: 7.75 kB / 382.3 MB, free: 18.01 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.8e-06/0.3664, allocations: 0 / 382.3 MB, free: 18.01 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.3676, allocations: 324.8 kB / 382.6 MB, free: 17.94 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006881/0.3684, allocations: 109.1 kB / 382.7 MB, free: 17.91 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009248/0.3777, allocations: 2.829 MB / 385.6 MB, free: 16.37 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.3788, allocations: 104.8 kB / 385.7 MB, free: 16.32 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.118e-05/0.379, allocations: 11 kB / 385.7 MB, free: 16.32 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.0001249/0.3791, allocations: 79.12 kB / 385.7 MB, free: 16.25 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.3793, allocations: 42.52 kB / 385.8 MB, free: 16.23 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.3795, allocations: 53.14 kB / 385.8 MB, free: 16.2 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.683e-06/0.3796, allocations: 3.844 kB / 385.8 MB, free: 16.2 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.517e-06/0.3797, allocations: 4 kB / 385.8 MB, free: 16.2 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.613e-06/0.3797, allocations: 0 / 385.8 MB, free: 16.2 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007469/0.3805, allocations: 0.5303 MB / 386.4 MB, free: 15.91 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-06/0.3806, allocations: 0 / 386.4 MB, free: 15.91 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006754/0.3813, allocations: 89.69 kB / 386.5 MB, free: 15.88 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001141/0.3825, allocations: 341.4 kB / 386.8 MB, free: 15.8 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-05/0.3827, allocations: 0 / 386.8 MB, free: 15.8 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00919/0.3919, allocations: 2.827 MB / 389.6 MB, free: 14.25 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.286e-06/0.392, allocations: 3.875 kB / 389.6 MB, free: 14.25 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002257/0.3944, allocations: 0.8012 MB / 390.4 MB, free: 14.09 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003043/0.3948, allocations: 170.6 kB / 390.6 MB, free: 13.95 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.3949, allocations: 3.719 kB / 390.6 MB, free: 13.95 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009116/0.3959, allocations: 90.42 kB / 390.7 MB, free: 13.92 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.3961, allocations: 38.53 kB / 390.7 MB, free: 13.9 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.273e-05/0.3962, allocations: 15.14 kB / 390.7 MB, free: 13.89 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0002961/0.3966, allocations: 225.3 kB / 391 MB, free: 13.8 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0006936/0.3974, allocations: 150.4 kB / 391.1 MB, free: 13.78 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000104/0.3975, allocations: 80.66 kB / 391.2 MB, free: 13.72 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001785/0.3994, allocations: 0.5602 MB / 391.7 MB, free: 13.55 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 4.191e-06/0.3995, allocations: 3.938 kB / 391.8 MB, free: 13.55 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.4007, allocations: 378.1 kB / 392.1 MB, free: 13.41 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005516/0.4013, allocations: 50.88 kB / 392.2 MB, free: 13.39 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003754/0.4052, allocations: 0.8002 MB / 393 MB, free: 13.02 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004849/0.4058, allocations: 0.8657 MB / 393.8 MB, free: 12.24 MB / 312.6 MB Notification: Performance of SimCode: time 2.235e-06/0.4058, allocations: 0 / 393.8 MB, free: 12.24 MB / 312.6 MB Notification: Performance of Templates: time 0.05759/0.4635, allocations: 10.2 MB / 404 MB, free: 7.043 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