Notification: Performance of loadModel(Modelica): time 1.69/1.69, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.02e-05/1.034e-05, allocations: 2.281 kB / 247.4 MB, free: 4.699 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06273/0.06282, allocations: 44.37 MB / 291.8 MB, free: 9.262 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2286/0.2915, allocations: 78.19 MB / 370 MB, free: 6.969 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.2918, allocations: 76.41 kB / 370 MB, free: 6.965 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1011/0.393, allocations: 33.73 MB / 403.8 MB, free: 11.93 MB / 312.6 MB Notification: Performance of Transformations before backend: time 2.724e-05/0.3931, allocations: 15.94 kB / 403.8 MB, free: 11.91 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.001157/0.3943, allocations: 0.8701 MB / 404.6 MB, free: 11.01 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3945, allocations: 8.031 kB / 404.7 MB, free: 11 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.3947, allocations: 79.06 kB / 404.7 MB, free: 10.93 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006367/0.3954, allocations: 408.2 kB / 405.1 MB, free: 10.54 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.484e-05/0.3955, allocations: 10.81 kB / 405.1 MB, free: 10.53 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.152e-05/0.3956, allocations: 16 kB / 405.2 MB, free: 10.52 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004895/0.3962, allocations: 199 kB / 405.3 MB, free: 10.39 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005852/0.3968, allocations: 284.7 kB / 405.6 MB, free: 10.16 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3969, allocations: 0 / 405.6 MB, free: 10.16 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.425e-05/0.397, allocations: 7.312 kB / 405.6 MB, free: 10.16 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.52e-06/0.3971, allocations: 4 kB / 405.6 MB, free: 10.16 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.3991, allocations: 0.8569 MB / 406.5 MB, free: 9.449 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004471/0.3996, allocations: 204.7 kB / 406.7 MB, free: 9.312 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002733/0.4, allocations: 148 kB / 406.8 MB, free: 9.23 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.4001, allocations: 0 / 406.8 MB, free: 9.23 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004355/0.4006, allocations: 340 kB / 407.2 MB, free: 8.918 MB / 312.6 MB Notification: Performance of pre-optimization done (n=24): time 4.4e-06/0.4006, allocations: 4 kB / 407.2 MB, free: 8.914 MB / 312.6 MB Notification: Performance of matching and sorting (n=24): time 0.0008313/0.4015, allocations: 362.4 kB / 407.5 MB, free: 8.621 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.075e-05/0.4016, allocations: 171.7 kB / 407.7 MB, free: 8.422 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/0.4034, allocations: 0.8369 MB / 408.5 MB, free: 7.75 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 9.366e-05/0.4036, allocations: 36.33 kB / 408.6 MB, free: 7.711 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 7.892e-05/0.4037, allocations: 127.5 kB / 408.7 MB, free: 7.594 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.4039, allocations: 56.23 kB / 408.7 MB, free: 7.547 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.404, allocations: 5.25 kB / 408.8 MB, free: 7.543 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 7.187e-05/0.4041, allocations: 333.9 kB / 409.1 MB, free: 7.219 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/0.4045, allocations: 125.7 kB / 409.2 MB, free: 7.145 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.4048, allocations: 136.4 kB / 409.3 MB, free: 7.051 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.4051, allocations: 92.33 kB / 409.4 MB, free: 6.992 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.4052, allocations: 0 / 409.4 MB, free: 6.992 MB / 312.6 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007805/0.406, allocations: 347.4 kB / 409.8 MB, free: 6.723 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.4061, allocations: 8 kB / 409.8 MB, free: 6.715 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.66e-06/0.4061, allocations: 0 / 409.8 MB, free: 6.715 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.4062, allocations: 0 / 409.8 MB, free: 6.715 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.4064, allocations: 12 kB / 409.8 MB, free: 6.703 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.496e-06/0.4064, allocations: 0 / 409.8 MB, free: 6.703 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000479/0.407, allocations: 35.81 kB / 409.8 MB, free: 6.668 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/0.4072, allocations: 119.5 kB / 409.9 MB, free: 6.555 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001773/0.4074, allocations: 216.2 kB / 410.1 MB, free: 6.328 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.4076, allocations: 82.81 kB / 410.2 MB, free: 6.25 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004026/0.4081, allocations: 128.3 kB / 410.4 MB, free: 6.133 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.286e-06/0.4082, allocations: 4 kB / 410.4 MB, free: 6.129 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.727e-06/0.4082, allocations: 0 / 410.4 MB, free: 6.129 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.168e-06/0.4083, allocations: 0 / 410.4 MB, free: 6.129 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.4094, allocations: 0.5806 MB / 410.9 MB, free: 5.637 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.958e-06/0.4095, allocations: 7.984 kB / 410.9 MB, free: 5.629 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.521e-05/0.4097, allocations: 8.938 kB / 411 MB, free: 5.621 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.962e-06/0.4097, allocations: 4 kB / 411 MB, free: 5.617 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.801e-05/0.4099, allocations: 26.23 kB / 411 MB, free: 5.594 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.378e-06/0.4099, allocations: 0 / 411 MB, free: 5.594 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.727e-06/0.41, allocations: 3.906 kB / 411 MB, free: 5.59 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009238/0.411, allocations: 429 kB / 411.4 MB, free: 5.238 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/0.4121, allocations: 0.5118 MB / 411.9 MB, free: 4.844 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/0.4123, allocations: 20.05 kB / 411.9 MB, free: 4.824 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003963/0.4128, allocations: 43.86 kB / 412 MB, free: 4.781 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002028/0.4131, allocations: 48.12 kB / 412 MB, free: 4.734 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/0.4133, allocations: 115.9 kB / 412.1 MB, free: 4.621 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.001282/0.4146, allocations: 0.6899 MB / 412.8 MB, free: 3.934 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.000575/0.4153, allocations: 72 kB / 412.9 MB, free: 3.863 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002581/0.4156, allocations: 69.55 kB / 413 MB, free: 3.793 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0007763/0.4164, allocations: 426.7 kB / 413.4 MB, free: 3.352 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.841e-06/0.4165, allocations: 0 / 413.4 MB, free: 3.352 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0005024/0.417, allocations: 422.7 kB / 413.8 MB, free: 2.914 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.4181, allocations: 158.8 kB / 414 MB, free: 2.766 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.4207, allocations: 1.063 MB / 415 MB, free: 1.664 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/0.422, allocations: 1.146 MB / 416.2 MB, free: 496 kB / 312.6 MB Notification: Performance of SimCode: time 2.444e-06/0.4221, allocations: 0 / 416.2 MB, free: 496 kB / 312.6 MB Notification: Performance of Templates: time 0.04006/0.4622, allocations: 7.357 MB / 423.5 MB, free: 9.098 MB / 328.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder.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_HalfAdder -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.HalfAdder.o Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_HalfAdder__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_HalfAdder__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder.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.HalfAdder.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_HalfAdder_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder.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.HalfAdder.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_HalfAdder_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder.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.HalfAdder.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_HalfAdder_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.HalfAdder.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_HalfAdder_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder.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.HalfAdder.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_HalfAdder_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder.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.HalfAdder.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_HalfAdder_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.HalfAdder.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_HalfAdder_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder.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.HalfAdder.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_HalfAdder_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder.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_HalfAdder_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.HalfAdder.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_HalfAdder_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_HalfAdder_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder.c:537: ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder_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_HalfAdder_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_HalfAdder_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_HalfAdder_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_HalfAdder_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder_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_HalfAdder_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_HalfAdder_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_HalfAdder_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_HalfAdder_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_HalfAdder_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_HalfAdder_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_HalfAdder_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder_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_HalfAdder_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_HalfAdder_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_HalfAdder_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_HalfAdder_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_HalfAdder_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.HalfAdder.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.HalfAdder.o] Error 1