Notification: Performance of loadModel(Modelica): time 1.501/1.501, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.15e-06/9.149e-06, allocations: 1.375 kB / 247.4 MB, free: 4.676 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06244/0.06254, allocations: 44.36 MB / 291.8 MB, free: 9.254 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2318/0.2945, allocations: 76.76 MB / 368.5 MB, free: 7.109 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/0.2948, allocations: 75.64 kB / 368.6 MB, free: 7.105 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.08039/0.3752, allocations: 27.02 MB / 395.6 MB, free: 15.61 MB / 312.6 MB Notification: Performance of Transformations before backend: time 1.641e-05/0.3753, allocations: 3.688 kB / 395.6 MB, free: 15.61 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.0008649/0.3763, allocations: 0.6848 MB / 396.3 MB, free: 14.94 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.3764, allocations: 8.719 kB / 396.3 MB, free: 14.94 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.3765, allocations: 41.72 kB / 396.3 MB, free: 14.92 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003831/0.377, allocations: 273.6 kB / 396.6 MB, free: 14.69 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.3771, allocations: 5.531 kB / 396.6 MB, free: 14.69 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.043e-05/0.3772, allocations: 8.5 kB / 396.6 MB, free: 14.69 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002143/0.3775, allocations: 81.78 kB / 396.7 MB, free: 14.68 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/0.3779, allocations: 160.2 kB / 396.9 MB, free: 14.61 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3779, allocations: 3.938 kB / 396.9 MB, free: 14.6 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.246e-05/0.378, allocations: 7.719 kB / 396.9 MB, free: 14.6 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.079e-06/0.3781, allocations: 5.359 kB / 396.9 MB, free: 14.59 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.3792, allocations: 494.8 kB / 397.4 MB, free: 14.27 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.3795, allocations: 111.7 kB / 397.5 MB, free: 14.24 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.3797, allocations: 108.6 kB / 397.6 MB, free: 14.22 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 8.52e-06/0.3798, allocations: 1.094 kB / 397.6 MB, free: 14.22 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003111/0.3802, allocations: 217.9 kB / 397.8 MB, free: 14.07 MB / 312.6 MB Notification: Performance of pre-optimization done (n=14): time 1.585e-05/0.3802, allocations: 0 / 397.8 MB, free: 14.07 MB / 312.6 MB Notification: Performance of matching and sorting (n=14): time 0.0006157/0.3809, allocations: 266.2 kB / 398 MB, free: 13.98 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.381, allocations: 194.6 kB / 398.2 MB, free: 13.76 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008001/0.3819, allocations: 492.3 kB / 398.7 MB, free: 13.52 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 4.889e-05/0.382, allocations: 29.92 kB / 398.7 MB, free: 13.49 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 4.658e-05/0.3821, allocations: 98.06 kB / 398.8 MB, free: 13.41 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 6.432e-05/0.3822, allocations: 22.66 kB / 398.9 MB, free: 13.39 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.3823, allocations: 6.5 kB / 398.9 MB, free: 13.39 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0002219/0.3826, allocations: 331.1 kB / 399.2 MB, free: 13.07 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.3828, allocations: 75.61 kB / 399.3 MB, free: 13.07 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.3831, allocations: 92.56 kB / 399.4 MB, free: 13.05 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.3833, allocations: 62.47 kB / 399.4 MB, free: 13.04 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.702e-06/0.3834, allocations: 0 / 399.4 MB, free: 13.04 MB / 312.6 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005344/0.3839, allocations: 227.6 kB / 399.6 MB, free: 12.98 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.384, allocations: 5.031 kB / 399.6 MB, free: 12.98 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.543e-06/0.3841, allocations: 0.5 kB / 399.6 MB, free: 12.98 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.3842, allocations: 5.141 kB / 399.7 MB, free: 12.97 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.438e-05/0.3843, allocations: 1.062 kB / 399.7 MB, free: 12.97 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.797e-06/0.3843, allocations: 1.031 kB / 399.7 MB, free: 12.97 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002896/0.3847, allocations: 18.91 kB / 399.7 MB, free: 12.96 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/0.3849, allocations: 102.3 kB / 399.8 MB, free: 12.95 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001414/0.3851, allocations: 230.9 kB / 400 MB, free: 12.71 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.994e-05/0.3852, allocations: 42.78 kB / 400 MB, free: 12.7 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.3855, allocations: 68.52 kB / 400.1 MB, free: 12.66 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.3856, allocations: 5.094 kB / 400.1 MB, free: 12.65 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.076e-06/0.3856, allocations: 1.031 kB / 400.1 MB, free: 12.65 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.077e-06/0.3857, allocations: 0.5625 kB / 400.1 MB, free: 12.65 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.3868, allocations: 0.6494 MB / 400.8 MB, free: 12.26 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.771e-06/0.3869, allocations: 0.7188 kB / 400.8 MB, free: 12.26 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.089e-05/0.387, allocations: 4.75 kB / 400.8 MB, free: 12.25 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.448e-06/0.387, allocations: 0.5625 kB / 400.8 MB, free: 12.25 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.999e-05/0.3871, allocations: 19.48 kB / 400.8 MB, free: 12.25 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.772e-06/0.3872, allocations: 1.094 kB / 400.8 MB, free: 12.25 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.518e-06/0.3873, allocations: 0.6875 kB / 400.8 MB, free: 12.25 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006005/0.3879, allocations: 385.7 kB / 401.2 MB, free: 12.06 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004869/0.3885, allocations: 258.4 kB / 401.4 MB, free: 11.89 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.3886, allocations: 11.5 kB / 401.4 MB, free: 11.89 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002878/0.389, allocations: 16.33 kB / 401.4 MB, free: 11.88 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/0.3892, allocations: 44.36 kB / 401.5 MB, free: 11.87 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/0.3894, allocations: 99.83 kB / 401.6 MB, free: 11.86 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0005989/0.3901, allocations: 402.4 kB / 402 MB, free: 11.68 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0004834/0.3906, allocations: 50.66 kB / 402 MB, free: 11.67 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 7.794e-05/0.3908, allocations: 69.3 kB / 402.1 MB, free: 11.62 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0005544/0.3914, allocations: 336.5 kB / 402.4 MB, free: 11.44 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 4.47e-06/0.3914, allocations: 0.8438 kB / 402.4 MB, free: 11.44 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0005567/0.3921, allocations: 331 kB / 402.7 MB, free: 11.26 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009548/0.3931, allocations: 153.2 kB / 402.9 MB, free: 11.21 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.3945, allocations: 0.594 MB / 403.5 MB, free: 10.82 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003857/0.3949, allocations: 0.8401 MB / 404.3 MB, free: 9.965 MB / 312.6 MB Notification: Performance of SimCode: time 1.886e-06/0.395, allocations: 0 / 404.3 MB, free: 9.965 MB / 312.6 MB Notification: Performance of Templates: time 0.05029/0.4453, allocations: 6.345 MB / 410.7 MB, free: 3.48 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