Notification: Performance of loadModel(Modelica): time 1.505/1.505, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.708e-06/9.848e-06, allocations: 1.125 kB / 247.4 MB, free: 4.668 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06203/0.06211, allocations: 44.36 MB / 291.8 MB, free: 9.25 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2336/0.2958, allocations: 78.19 MB / 369.9 MB, free: 6.996 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001972/0.2961, allocations: 79.59 kB / 370 MB, free: 6.992 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.0988/0.395, allocations: 33.76 MB / 403.8 MB, free: 11.95 MB / 312.6 MB Notification: Performance of Transformations before backend: time 2.682e-05/0.3951, allocations: 11.94 kB / 403.8 MB, free: 11.94 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.001118/0.3963, allocations: 0.8661 MB / 404.7 MB, free: 11.05 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3964, allocations: 8.031 kB / 404.7 MB, free: 11.04 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.3966, allocations: 79.06 kB / 404.7 MB, free: 10.96 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006247/0.3973, allocations: 412.2 kB / 405.1 MB, free: 10.57 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.135e-05/0.3974, allocations: 8 kB / 405.1 MB, free: 10.56 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.9e-05/0.3975, allocations: 23.98 kB / 405.2 MB, free: 10.54 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004772/0.3981, allocations: 194.9 kB / 405.4 MB, free: 10.41 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005793/0.3987, allocations: 275.6 kB / 405.6 MB, free: 10.2 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3988, allocations: 0 / 405.6 MB, free: 10.2 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.978e-05/0.3989, allocations: 4 kB / 405.6 MB, free: 10.2 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.399, allocations: 7.984 kB / 405.6 MB, free: 10.19 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.4007, allocations: 0.8637 MB / 406.5 MB, free: 9.477 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005745/0.4013, allocations: 198.9 kB / 406.7 MB, free: 9.348 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002638/0.4017, allocations: 149.7 kB / 406.8 MB, free: 9.262 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.4018, allocations: 3.984 kB / 406.9 MB, free: 9.258 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004058/0.4022, allocations: 342.5 kB / 407.2 MB, free: 8.945 MB / 312.6 MB Notification: Performance of pre-optimization done (n=24): time 4.121e-06/0.4023, allocations: 0 / 407.2 MB, free: 8.945 MB / 312.6 MB Notification: Performance of matching and sorting (n=24): time 0.0008018/0.4031, allocations: 362.2 kB / 407.5 MB, free: 8.652 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.4033, allocations: 173 kB / 407.7 MB, free: 8.453 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.4048, allocations: 0.8374 MB / 408.5 MB, free: 7.781 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 7.564e-05/0.4049, allocations: 41.19 kB / 408.6 MB, free: 7.738 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 7.082e-05/0.4051, allocations: 121 kB / 408.7 MB, free: 7.625 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 9.324e-05/0.4052, allocations: 57.55 kB / 408.8 MB, free: 7.578 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.4053, allocations: 4 kB / 408.8 MB, free: 7.574 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.000247/0.4056, allocations: 337.2 kB / 409.1 MB, free: 7.246 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002692/0.406, allocations: 117 kB / 409.2 MB, free: 7.18 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.4063, allocations: 141.7 kB / 409.3 MB, free: 7.082 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.4066, allocations: 91.39 kB / 409.4 MB, free: 7.023 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.12e-06/0.4066, allocations: 7.938 kB / 409.4 MB, free: 7.016 MB / 312.6 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007358/0.4074, allocations: 339.2 kB / 409.8 MB, free: 6.754 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.4075, allocations: 6.812 kB / 409.8 MB, free: 6.75 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.4076, allocations: 0 / 409.8 MB, free: 6.75 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.4077, allocations: 4 kB / 409.8 MB, free: 6.746 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.834e-05/0.4078, allocations: 11.94 kB / 409.8 MB, free: 6.734 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.4079, allocations: 7.984 kB / 409.8 MB, free: 6.727 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000432/0.4084, allocations: 35.83 kB / 409.8 MB, free: 6.691 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/0.4086, allocations: 111.3 kB / 409.9 MB, free: 6.586 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001602/0.4088, allocations: 215.8 kB / 410.2 MB, free: 6.363 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.409, allocations: 79.06 kB / 410.2 MB, free: 6.285 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004047/0.4094, allocations: 128.2 kB / 410.4 MB, free: 6.168 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.098e-06/0.4095, allocations: 4 kB / 410.4 MB, free: 6.164 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.635e-06/0.4095, allocations: 0 / 410.4 MB, free: 6.164 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.216e-06/0.4096, allocations: 0 / 410.4 MB, free: 6.164 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.4107, allocations: 0.5903 MB / 411 MB, free: 5.66 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.842e-06/0.4108, allocations: 0 / 411 MB, free: 5.66 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.494e-05/0.4109, allocations: 12.75 kB / 411 MB, free: 5.648 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.077e-06/0.411, allocations: 0 / 411 MB, free: 5.648 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-05/0.4111, allocations: 26.48 kB / 411 MB, free: 5.625 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.422e-06/0.4111, allocations: 0 / 411 MB, free: 5.625 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.238e-06/0.4112, allocations: 8.031 kB / 411 MB, free: 5.617 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001037/0.4123, allocations: 428.9 kB / 411.4 MB, free: 5.266 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009181/0.4133, allocations: 0.5103 MB / 411.9 MB, free: 4.797 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.4135, allocations: 20 kB / 412 MB, free: 4.777 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003641/0.4139, allocations: 35.81 kB / 412 MB, free: 4.742 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/0.4142, allocations: 48.12 kB / 412 MB, free: 4.695 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/0.4144, allocations: 115.9 kB / 412.1 MB, free: 4.582 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.001104/0.4155, allocations: 0.6899 MB / 412.8 MB, free: 3.895 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0005285/0.4161, allocations: 72 kB / 412.9 MB, free: 3.824 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 7.655e-05/0.4163, allocations: 77.53 kB / 413 MB, free: 3.746 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0009199/0.4173, allocations: 422.7 kB / 413.4 MB, free: 3.309 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.981e-06/0.4173, allocations: 0 / 413.4 MB, free: 3.309 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.000484/0.4179, allocations: 414.8 kB / 413.8 MB, free: 2.879 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009444/0.4189, allocations: 170.9 kB / 414 MB, free: 2.719 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.4214, allocations: 1.07 MB / 415 MB, free: 1.609 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001347/0.4229, allocations: 1.142 MB / 416.2 MB, free: 444 kB / 312.6 MB Notification: Performance of SimCode: time 2.095e-06/0.423, allocations: 0 / 416.2 MB, free: 444 kB / 312.6 MB Notification: Performance of Templates: time 0.05852/0.4815, allocations: 7.336 MB / 423.5 MB, free: 9.059 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