Notification: Performance of loadModel(Modelica): time 1.505/1.505, 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.069e-05, allocations: 2 kB / 247.4 MB, free: 4.645 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06055/0.06063, allocations: 44.36 MB / 291.7 MB, free: 9.242 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2316/0.2924, allocations: 76.76 MB / 368.5 MB, free: 6.738 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.2927, allocations: 75.91 kB / 368.6 MB, free: 6.734 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.08086/0.3736, allocations: 27.03 MB / 395.6 MB, free: 15.21 MB / 312.6 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.3737, allocations: 4 kB / 395.6 MB, free: 15.21 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.0005918/0.3744, allocations: 0.6861 MB / 396.3 MB, free: 14.55 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.3745, allocations: 8.969 kB / 396.3 MB, free: 14.55 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.3747, allocations: 41.34 kB / 396.3 MB, free: 14.53 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.3751, allocations: 275.1 kB / 396.6 MB, free: 14.29 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.3752, allocations: 8.219 kB / 396.6 MB, free: 14.29 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.882e-05/0.3753, allocations: 12.78 kB / 396.6 MB, free: 14.28 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002213/0.3756, allocations: 82.22 kB / 396.7 MB, free: 14.27 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.376, allocations: 151.8 kB / 396.9 MB, free: 14.21 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.376, allocations: 3.938 kB / 396.9 MB, free: 14.2 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.407e-05/0.3761, allocations: 8.391 kB / 396.9 MB, free: 14.2 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.3762, allocations: 1.5 kB / 396.9 MB, free: 14.2 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009688/0.3772, allocations: 495.8 kB / 397.4 MB, free: 13.87 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.3775, allocations: 115.3 kB / 397.5 MB, free: 13.84 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.3778, allocations: 100.8 kB / 397.6 MB, free: 13.83 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.3778, allocations: 1.438 kB / 397.6 MB, free: 13.83 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004953/0.3784, allocations: 228.9 kB / 397.8 MB, free: 13.67 MB / 312.6 MB Notification: Performance of pre-optimization done (n=14): time 7.054e-06/0.3785, allocations: 1.031 kB / 397.8 MB, free: 13.67 MB / 312.6 MB Notification: Performance of matching and sorting (n=14): time 0.0006585/0.3792, allocations: 254.1 kB / 398 MB, free: 13.59 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.005e-05/0.3793, allocations: 198.5 kB / 398.2 MB, free: 13.37 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008795/0.3803, allocations: 484.1 kB / 398.7 MB, free: 13.14 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 5.182e-05/0.3804, allocations: 29.83 kB / 398.7 MB, free: 13.11 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.3805, allocations: 96.69 kB / 398.8 MB, free: 13.02 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 6.516e-05/0.3806, allocations: 34.91 kB / 398.9 MB, free: 13 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.3807, allocations: 7.094 kB / 398.9 MB, free: 13 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 6.858e-05/0.3808, allocations: 331.2 kB / 399.2 MB, free: 12.68 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.3811, allocations: 79.7 kB / 399.3 MB, free: 12.67 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.3813, allocations: 76.73 kB / 399.4 MB, free: 12.66 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.3816, allocations: 64.11 kB / 399.4 MB, free: 12.64 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.911e-06/0.3816, allocations: 0 / 399.4 MB, free: 12.64 MB / 312.6 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000573/0.3823, allocations: 225.8 kB / 399.6 MB, free: 12.59 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.3824, allocations: 5.156 kB / 399.6 MB, free: 12.59 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.3824, allocations: 0 / 399.6 MB, free: 12.59 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.3825, allocations: 5.031 kB / 399.6 MB, free: 12.58 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.437e-05/0.3826, allocations: 1.344 kB / 399.7 MB, free: 12.58 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.3826, allocations: 1.344 kB / 399.7 MB, free: 12.58 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/0.383, allocations: 22.14 kB / 399.7 MB, free: 12.57 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/0.3832, allocations: 103.9 kB / 399.8 MB, free: 12.56 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001385/0.3834, allocations: 224.2 kB / 400 MB, free: 12.32 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.785e-05/0.3835, allocations: 43.41 kB / 400 MB, free: 12.3 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.3838, allocations: 80.53 kB / 400.1 MB, free: 12.26 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.308e-06/0.3839, allocations: 1.156 kB / 400.1 MB, free: 12.26 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.3839, allocations: 8.938 kB / 400.1 MB, free: 12.25 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.308e-06/0.384, allocations: 0 / 400.1 MB, free: 12.25 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.3851, allocations: 0.6342 MB / 400.8 MB, free: 11.87 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.911e-06/0.3852, allocations: 0.5 kB / 400.8 MB, free: 11.87 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.369e-05/0.3853, allocations: 5 kB / 400.8 MB, free: 11.86 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.425e-06/0.3853, allocations: 0.5 kB / 400.8 MB, free: 11.86 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.937e-05/0.3854, allocations: 19.45 kB / 400.8 MB, free: 11.86 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.33e-06/0.3855, allocations: 5.125 kB / 400.8 MB, free: 11.86 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.867e-06/0.3855, allocations: 0.6562 kB / 400.8 MB, free: 11.86 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008396/0.3864, allocations: 381.2 kB / 401.2 MB, free: 11.67 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004797/0.387, allocations: 265.4 kB / 401.4 MB, free: 11.49 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.3872, allocations: 6.406 kB / 401.4 MB, free: 11.49 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003032/0.3875, allocations: 20.62 kB / 401.4 MB, free: 11.49 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/0.3878, allocations: 48.19 kB / 401.5 MB, free: 11.47 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/0.388, allocations: 98.98 kB / 401.6 MB, free: 11.46 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0006455/0.3887, allocations: 403.7 kB / 402 MB, free: 11.28 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0004861/0.3892, allocations: 42.09 kB / 402 MB, free: 11.28 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 7.613e-05/0.3894, allocations: 69.23 kB / 402.1 MB, free: 11.22 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0005401/0.39, allocations: 339.1 kB / 402.4 MB, free: 11.04 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 6.146e-06/0.39, allocations: 4.469 kB / 402.4 MB, free: 11.04 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.000402/0.3905, allocations: 327.5 kB / 402.7 MB, free: 10.87 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009779/0.3915, allocations: 150.7 kB / 402.9 MB, free: 10.82 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.393, allocations: 0.5914 MB / 403.5 MB, free: 10.49 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005617/0.3937, allocations: 0.8428 MB / 404.3 MB, free: 9.633 MB / 312.6 MB Notification: Performance of SimCode: time 2.305e-06/0.3937, allocations: 0 / 404.3 MB, free: 9.633 MB / 312.6 MB Notification: Performance of Templates: time 0.05048/0.4443, allocations: 6.373 MB / 410.7 MB, free: 3.145 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.MUX2x1.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_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_-O1_Modelica.Electrical.Digital.Examples.MUX2x1.o Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.MUX2x1.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.MUX2x1.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.MUX2x1_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_MUX2x1__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.MUX2x1_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_MUX2x1__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.MUX2x1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_MUX2x1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.MUX2x1.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_MUX2x1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.MUX2x1.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.MUX2x1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_MUX2x1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.MUX2x1.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_MUX2x1_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.MUX2x1.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.MUX2x1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_MUX2x1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.MUX2x1.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_MUX2x1_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Electrical.Digital.Examples.MUX2x1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_MUX2x1_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.MUX2x1.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_MUX2x1_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.MUX2x1.c:590: ./Modelica_3.2.2_-O1_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_-O1_Modelica_Electrical_Digital_Examples_MUX2x1_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.MUX2x1_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_MUX2x1_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.MUX2x1_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.MUX2x1_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_MUX2x1_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.MUX2x1_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_MUX2x1_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_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_-O1_Modelica_Electrical_Digital_Examples_MUX2x1_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.MUX2x1_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_MUX2x1_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.MUX2x1_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_MUX2x1_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.MUX2x1_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_MUX2x1_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.MUX2x1_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_MUX2x1_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.MUX2x1_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_MUX2x1_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.MUX2x1_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_MUX2x1_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_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_-O1_Modelica_Electrical_Digital_Examples_MUX2x1_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.MUX2x1_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_MUX2x1_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.MUX2x1_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_MUX2x1_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.MUX2x1_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_MUX2x1_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.MUX2x1_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.MUX2x1.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.MUX2x1.o] Error 1