Notification: Performance of loadModel(Modelica): time 1.523/1.523, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.918e-06/9.987e-06, allocations: 1.594 kB / 247.4 MB, free: 4.668 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05899/0.05907, allocations: 44.36 MB / 291.8 MB, free: 9.25 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2356/0.2948, allocations: 78.19 MB / 369.9 MB, free: 7.02 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.2951, allocations: 75.66 kB / 370 MB, free: 7.016 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.101/0.3962, allocations: 33.74 MB / 403.8 MB, free: 11.89 MB / 312.6 MB Notification: Performance of Transformations before backend: time 2.773e-05/0.3964, allocations: 15.94 kB / 403.8 MB, free: 11.88 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.001078/0.3975, allocations: 0.8728 MB / 404.7 MB, free: 10.98 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3976, allocations: 8.031 kB / 404.7 MB, free: 10.97 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.3978, allocations: 79.06 kB / 404.7 MB, free: 10.89 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006153/0.3985, allocations: 402.4 kB / 405.1 MB, free: 10.51 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.295e-05/0.3986, allocations: 15.44 kB / 405.1 MB, free: 10.5 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.942e-05/0.3987, allocations: 16 kB / 405.2 MB, free: 10.48 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004931/0.3993, allocations: 199 kB / 405.4 MB, free: 10.35 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005807/0.3999, allocations: 277.9 kB / 405.6 MB, free: 10.13 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.4, allocations: 0 / 405.6 MB, free: 10.13 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.985e-05/0.4001, allocations: 4 kB / 405.6 MB, free: 10.13 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.4002, allocations: 4 kB / 405.6 MB, free: 10.12 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001714/0.402, allocations: 0.8546 MB / 406.5 MB, free: 9.422 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004521/0.4025, allocations: 210.5 kB / 406.7 MB, free: 9.281 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/0.4028, allocations: 152.1 kB / 406.8 MB, free: 9.195 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.4029, allocations: 0 / 406.8 MB, free: 9.195 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006014/0.4036, allocations: 332.7 kB / 407.2 MB, free: 8.891 MB / 312.6 MB Notification: Performance of pre-optimization done (n=24): time 4.889e-06/0.4037, allocations: 0 / 407.2 MB, free: 8.891 MB / 312.6 MB Notification: Performance of matching and sorting (n=24): time 0.0008753/0.4046, allocations: 370.3 kB / 407.5 MB, free: 8.59 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/0.4047, allocations: 172.9 kB / 407.7 MB, free: 8.391 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/0.4064, allocations: 0.839 MB / 408.5 MB, free: 7.715 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001255/0.4066, allocations: 36.52 kB / 408.6 MB, free: 7.676 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 8.667e-05/0.4068, allocations: 123.6 kB / 408.7 MB, free: 7.562 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.4069, allocations: 54.73 kB / 408.7 MB, free: 7.52 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/0.407, allocations: 4 kB / 408.7 MB, free: 7.516 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0002516/0.4074, allocations: 338.3 kB / 409.1 MB, free: 7.188 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/0.4077, allocations: 121.3 kB / 409.2 MB, free: 7.113 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.408, allocations: 141.9 kB / 409.3 MB, free: 7.016 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.4083, allocations: 95.58 kB / 409.4 MB, free: 6.957 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.33e-06/0.4084, allocations: 0 / 409.4 MB, free: 6.957 MB / 312.6 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007593/0.4092, allocations: 340 kB / 409.8 MB, free: 6.691 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.4093, allocations: 6.812 kB / 409.8 MB, free: 6.688 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.4094, allocations: 8 kB / 409.8 MB, free: 6.68 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.4094, allocations: 0 / 409.8 MB, free: 6.68 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.4096, allocations: 12 kB / 409.8 MB, free: 6.668 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.845e-06/0.4097, allocations: 0 / 409.8 MB, free: 6.668 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004603/0.4102, allocations: 39.81 kB / 409.8 MB, free: 6.629 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/0.4104, allocations: 115 kB / 409.9 MB, free: 6.52 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001763/0.4106, allocations: 219.8 kB / 410.2 MB, free: 6.293 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.4108, allocations: 79.06 kB / 410.2 MB, free: 6.215 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004119/0.4113, allocations: 130.5 kB / 410.4 MB, free: 6.098 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.448e-06/0.4114, allocations: 0 / 410.4 MB, free: 6.098 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.006e-06/0.4114, allocations: 4 kB / 410.4 MB, free: 6.094 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.588e-06/0.4115, allocations: 4 kB / 410.4 MB, free: 6.09 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009993/0.4125, allocations: 0.5808 MB / 410.9 MB, free: 5.594 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.238e-06/0.4126, allocations: 3.984 kB / 411 MB, free: 5.59 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.814e-05/0.4127, allocations: 12.94 kB / 411 MB, free: 5.578 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.4128, allocations: 0 / 411 MB, free: 5.578 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-05/0.4129, allocations: 26.73 kB / 411 MB, free: 5.555 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.33e-06/0.413, allocations: 0 / 411 MB, free: 5.555 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/0.4131, allocations: 3.906 kB / 411 MB, free: 5.551 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009115/0.414, allocations: 434.4 kB / 411.4 MB, free: 5.195 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/0.4153, allocations: 0.5068 MB / 411.9 MB, free: 4.766 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/0.4156, allocations: 20 kB / 411.9 MB, free: 4.746 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003924/0.416, allocations: 31.88 kB / 412 MB, free: 4.715 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002186/0.4163, allocations: 51.94 kB / 412 MB, free: 4.664 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001481/0.4165, allocations: 115.9 kB / 412.1 MB, free: 4.551 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.001212/0.4178, allocations: 0.6783 MB / 412.8 MB, free: 3.875 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0006183/0.4185, allocations: 84 kB / 412.9 MB, free: 3.793 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 7.215e-05/0.4186, allocations: 73.72 kB / 413 MB, free: 3.719 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0007986/0.4195, allocations: 418.6 kB / 413.4 MB, free: 3.285 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.841e-06/0.4195, allocations: 0 / 413.4 MB, free: 3.285 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0007716/0.4204, allocations: 426.7 kB / 413.8 MB, free: 2.844 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.4215, allocations: 162.8 kB / 414 MB, free: 2.691 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/0.4242, allocations: 1.059 MB / 415 MB, free: 1.594 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/0.4257, allocations: 1.146 MB / 416.2 MB, free: 424 kB / 312.6 MB Notification: Performance of SimCode: time 2.445e-06/0.4258, allocations: 0 / 416.2 MB, free: 424 kB / 312.6 MB Notification: Performance of Templates: time 0.07295/0.4988, allocations: 7.361 MB / 423.5 MB, free: 9.016 MB / 328.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.HalfAdder.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_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_-O1_Modelica.Electrical.Digital.Examples.HalfAdder.o Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.HalfAdder.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.HalfAdder.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.HalfAdder_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_HalfAdder__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.HalfAdder_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_HalfAdder__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.HalfAdder.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_HalfAdder_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.HalfAdder.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_HalfAdder_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.HalfAdder.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.HalfAdder.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_HalfAdder_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.HalfAdder.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_HalfAdder_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.HalfAdder.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.HalfAdder.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_HalfAdder_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.HalfAdder.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_HalfAdder_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Electrical.Digital.Examples.HalfAdder.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_HalfAdder_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.HalfAdder.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_HalfAdder_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.HalfAdder.c:537: ./Modelica_3.2.2_-O1_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_-O1_Modelica_Electrical_Digital_Examples_HalfAdder_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.HalfAdder_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_HalfAdder_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.HalfAdder_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.HalfAdder_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_HalfAdder_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.HalfAdder_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_HalfAdder_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_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_-O1_Modelica_Electrical_Digital_Examples_HalfAdder_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.HalfAdder_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_HalfAdder_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.HalfAdder_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_HalfAdder_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.HalfAdder_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_HalfAdder_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.HalfAdder_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_HalfAdder_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.HalfAdder_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_HalfAdder_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.HalfAdder_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_HalfAdder_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_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_-O1_Modelica_Electrical_Digital_Examples_HalfAdder_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.HalfAdder_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_HalfAdder_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.HalfAdder_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_HalfAdder_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.HalfAdder_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_HalfAdder_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.HalfAdder_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.HalfAdder.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.HalfAdder.o] Error 1