Notification: Performance of loadModel(Modelica): time 1.544/1.544, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.131e-05/1.145e-05, allocations: 2.188 kB / 247.4 MB, free: 4.641 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06027/0.06035, allocations: 44.36 MB / 291.8 MB, free: 9.25 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2285/0.289, allocations: 76.75 MB / 368.5 MB, free: 6.797 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.2893, allocations: 74.97 kB / 368.6 MB, free: 6.793 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.08194/0.3714, allocations: 27.02 MB / 395.6 MB, free: 15.27 MB / 312.6 MB Notification: Performance of Transformations before backend: time 1.767e-05/0.3715, allocations: 5.188 kB / 395.6 MB, free: 15.27 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.0009558/0.3725, allocations: 0.6805 MB / 396.3 MB, free: 14.61 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.3726, allocations: 9.938 kB / 396.3 MB, free: 14.61 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.3729, allocations: 40.72 kB / 396.3 MB, free: 14.59 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004207/0.3733, allocations: 278.8 kB / 396.6 MB, free: 14.35 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/0.3734, allocations: 5.219 kB / 396.6 MB, free: 14.35 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.182e-05/0.3735, allocations: 16.28 kB / 396.6 MB, free: 14.35 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002271/0.3738, allocations: 75.17 kB / 396.7 MB, free: 14.34 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003323/0.3742, allocations: 161.7 kB / 396.9 MB, free: 14.27 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3743, allocations: 0 / 396.9 MB, free: 14.27 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.505e-05/0.3744, allocations: 8.516 kB / 396.9 MB, free: 14.27 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.543e-06/0.3745, allocations: 4.938 kB / 396.9 MB, free: 14.26 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.3756, allocations: 491.7 kB / 397.4 MB, free: 13.94 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.3759, allocations: 115.1 kB / 397.5 MB, free: 13.91 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.3762, allocations: 107 kB / 397.6 MB, free: 13.89 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.3763, allocations: 1 kB / 397.6 MB, free: 13.89 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003033/0.3766, allocations: 224.2 kB / 397.8 MB, free: 13.74 MB / 312.6 MB Notification: Performance of pre-optimization done (n=14): time 4.191e-06/0.3767, allocations: 4 kB / 397.8 MB, free: 13.73 MB / 312.6 MB Notification: Performance of matching and sorting (n=14): time 0.0006259/0.3774, allocations: 257.3 kB / 398 MB, free: 13.65 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/0.3775, allocations: 189.9 kB / 398.2 MB, free: 13.43 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008806/0.3784, allocations: 489.9 kB / 398.7 MB, free: 13.2 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 5.72e-05/0.3786, allocations: 30.05 kB / 398.7 MB, free: 13.17 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/0.3787, allocations: 100.3 kB / 398.8 MB, free: 13.08 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 7.242e-05/0.3788, allocations: 27.39 kB / 398.9 MB, free: 13.06 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.3789, allocations: 2.906 kB / 398.9 MB, free: 13.06 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0002352/0.3792, allocations: 342.7 kB / 399.2 MB, free: 12.73 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.3794, allocations: 76.02 kB / 399.3 MB, free: 12.73 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.3797, allocations: 82.53 kB / 399.4 MB, free: 12.71 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.3799, allocations: 56.75 kB / 399.4 MB, free: 12.71 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.19e-06/0.3799, allocations: 1.031 kB / 399.4 MB, free: 12.71 MB / 312.6 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005589/0.3806, allocations: 235.6 kB / 399.6 MB, free: 12.64 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.3806, allocations: 4.969 kB / 399.6 MB, free: 12.64 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.381e-06/0.3807, allocations: 0.6875 kB / 399.6 MB, free: 12.64 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.3808, allocations: 0.5 kB / 399.7 MB, free: 12.64 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.479e-05/0.3809, allocations: 5.125 kB / 399.7 MB, free: 12.64 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.077e-06/0.3809, allocations: 1.25 kB / 399.7 MB, free: 12.64 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.3813, allocations: 14.44 kB / 399.7 MB, free: 12.63 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/0.3815, allocations: 100.2 kB / 399.8 MB, free: 12.62 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001499/0.3817, allocations: 230.6 kB / 400 MB, free: 12.38 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.3818, allocations: 43.03 kB / 400 MB, free: 12.36 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002327/0.3821, allocations: 70.89 kB / 400.1 MB, free: 12.32 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.076e-06/0.3822, allocations: 5.031 kB / 400.1 MB, free: 12.32 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.797e-06/0.3823, allocations: 0 / 400.1 MB, free: 12.32 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.727e-06/0.3823, allocations: 5.141 kB / 400.1 MB, free: 12.32 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.3835, allocations: 0.6389 MB / 400.8 MB, free: 11.93 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.168e-06/0.3836, allocations: 0.75 kB / 400.8 MB, free: 11.93 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.544e-05/0.3837, allocations: 4.656 kB / 400.8 MB, free: 11.93 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.752e-06/0.3838, allocations: 0.5312 kB / 400.8 MB, free: 11.93 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.279e-05/0.3839, allocations: 23.64 kB / 400.8 MB, free: 11.92 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.168e-06/0.3839, allocations: 4.5 kB / 400.8 MB, free: 11.92 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.33e-06/0.384, allocations: 4.438 kB / 400.8 MB, free: 11.91 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006745/0.3847, allocations: 371.2 kB / 401.2 MB, free: 11.73 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005378/0.3853, allocations: 257.6 kB / 401.4 MB, free: 11.56 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.3855, allocations: 11.12 kB / 401.4 MB, free: 11.56 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003121/0.3859, allocations: 16.36 kB / 401.4 MB, free: 11.56 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/0.3861, allocations: 55.53 kB / 401.5 MB, free: 11.54 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/0.3864, allocations: 101.4 kB / 401.6 MB, free: 11.53 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.000709/0.3871, allocations: 395.5 kB / 402 MB, free: 11.35 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0005277/0.3877, allocations: 43.81 kB / 402 MB, free: 11.35 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 7.438e-05/0.3878, allocations: 76.66 kB / 402.1 MB, free: 11.29 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0005893/0.3885, allocations: 334.1 kB / 402.4 MB, free: 11.11 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 4.33e-06/0.3886, allocations: 4.531 kB / 402.4 MB, free: 11.11 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0004032/0.389, allocations: 330.2 kB / 402.7 MB, free: 10.94 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.3903, allocations: 152 kB / 402.9 MB, free: 10.89 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.3919, allocations: 0.6042 MB / 403.5 MB, free: 10.52 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004232/0.3924, allocations: 0.8378 MB / 404.3 MB, free: 9.668 MB / 312.6 MB Notification: Performance of SimCode: time 2.305e-06/0.3925, allocations: 4 kB / 404.3 MB, free: 9.664 MB / 312.6 MB Notification: Performance of Templates: time 0.06202/0.4545, allocations: 6.364 MB / 410.7 MB, free: 3.156 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1.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_Digital_Examples_MUX2x1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1.o Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_MUX2x1__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_MUX2x1__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1.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.Digital.Examples.MUX2x1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_MUX2x1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1.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.Digital.Examples.MUX2x1.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_MUX2x1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1.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.Digital.Examples.MUX2x1.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_MUX2x1_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.Digital.Examples.MUX2x1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_MUX2x1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1.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.Digital.Examples.MUX2x1.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_MUX2x1_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1.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.Digital.Examples.MUX2x1.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_MUX2x1_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.Digital.Examples.MUX2x1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_MUX2x1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1.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.Digital.Examples.MUX2x1.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_MUX2x1_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_MUX2x1_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.Digital.Examples.MUX2x1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_MUX2x1_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_MUX2x1_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1.c:590: ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1_12jac.h:7:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_MUX2x1_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_MUX2x1_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_MUX2x1_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_MUX2x1_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1_12jac.h:18:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_MUX2x1_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_MUX2x1_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_MUX2x1_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_MUX2x1_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_MUX2x1_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_MUX2x1_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_MUX2x1_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1_12jac.h:29:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_MUX2x1_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_MUX2x1_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_MUX2x1_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_MUX2x1_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_MUX2x1_INDEX_JAC_C 1 ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 11 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.MUX2x1.o] Error 1