Notification: Performance of loadModel(Modelica): time 1.51/1.51, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.429e-06/9.568e-06, allocations: 1.688 kB / 247.5 MB, free: 4.598 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05996/0.06004, allocations: 44.36 MB / 291.8 MB, free: 9.145 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2289/0.289, allocations: 80.31 MB / 372.1 MB, free: 7.039 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.2893, allocations: 78.27 kB / 372.2 MB, free: 7.035 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.3351/0.6245, allocations: 123.9 MB / 496.1 MB, free: 3.301 MB / 392.6 MB Notification: Performance of Transformations before backend: time 9.904e-05/0.6247, allocations: 47.94 kB / 496.1 MB, free: 3.254 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.004359/0.6291, allocations: 2.143 MB / 498.3 MB, free: 1.027 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.6292, allocations: 8.031 kB / 498.3 MB, free: 1.02 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008685/0.6302, allocations: 253 kB / 498.5 MB, free: 0.7695 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1513/0.7816, allocations: 1.134 MB / 499.7 MB, free: 83.35 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.7818, allocations: 47.75 kB / 499.7 MB, free: 83.35 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005348/0.7824, allocations: 79.52 kB / 499.8 MB, free: 83.35 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003741/0.7862, allocations: 1.335 MB / 0.4894 GB, free: 83.34 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004204/0.7905, allocations: 1.614 MB / 0.491 GB, free: 83.27 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.192e-05/0.7907, allocations: 3.219 kB / 0.491 GB, free: 83.27 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003014/0.791, allocations: 5.938 kB / 0.491 GB, free: 83.27 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.899e-05/0.7911, allocations: 28.09 kB / 0.491 GB, free: 83.27 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01031/0.8015, allocations: 4.27 MB / 0.4952 GB, free: 82.96 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003064/0.8047, allocations: 1.249 MB / 0.4964 GB, free: 82.93 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/0.8061, allocations: 0.6083 MB / 0.497 GB, free: 82.92 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002445/0.8064, allocations: 14.06 kB / 0.497 GB, free: 82.92 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002161/0.8087, allocations: 1.298 MB / 0.4983 GB, free: 82.61 MB / 392.6 MB Notification: Performance of pre-optimization done (n=132): time 8.939e-06/0.8088, allocations: 0 / 0.4983 GB, free: 82.61 MB / 392.6 MB Notification: Performance of matching and sorting (n=132): time 0.003967/0.8128, allocations: 1.652 MB / 0.4999 GB, free: 82.44 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.813, allocations: 223.8 kB / 0.5001 GB, free: 82.22 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004323/0.8174, allocations: 1.946 MB / 0.502 GB, free: 81.8 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0005383/0.8181, allocations: 61.23 kB / 0.502 GB, free: 81.77 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003792/0.8185, allocations: 337.6 kB / 0.5024 GB, free: 81.59 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006054/0.8192, allocations: 286.8 kB / 0.5026 GB, free: 81.46 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002493/0.8195, allocations: 11.2 kB / 0.5026 GB, free: 81.46 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.8197, allocations: 399.2 kB / 0.503 GB, free: 81.15 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/0.8212, allocations: 0.5872 MB / 0.5036 GB, free: 81.14 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/0.823, allocations: 0.7529 MB / 0.5043 GB, free: 81.02 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.8246, allocations: 0.6395 MB / 0.505 GB, free: 81.01 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.032e-06/0.8247, allocations: 0 / 0.505 GB, free: 81.01 MB / 392.6 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004454/0.8292, allocations: 1.823 MB / 0.5067 GB, free: 80.89 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.8293, allocations: 3.625 kB / 0.5067 GB, free: 80.89 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.8294, allocations: 3.5 kB / 0.5067 GB, free: 80.89 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.157e-05/0.8295, allocations: 9.906 kB / 0.5068 GB, free: 80.89 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005902/0.8301, allocations: 185 kB / 0.5069 GB, free: 80.89 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.8302, allocations: 13.47 kB / 0.5069 GB, free: 80.89 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/0.8324, allocations: 194.1 kB / 0.5071 GB, free: 80.88 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001183/0.8337, allocations: 1.055 MB / 0.5082 GB, free: 80.81 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004828/0.8343, allocations: 268.2 kB / 0.5084 GB, free: 80.58 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005721/0.8349, allocations: 207.7 kB / 0.5086 GB, free: 80.48 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009947/0.836, allocations: 298.2 kB / 0.5089 GB, free: 80.36 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.836, allocations: 7.25 kB / 0.5089 GB, free: 80.36 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/0.8361, allocations: 7.531 kB / 0.5089 GB, free: 80.35 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.8362, allocations: 6.281 kB / 0.5089 GB, free: 80.35 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004059/0.8403, allocations: 1.888 MB / 0.5108 GB, free: 80.03 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/0.8404, allocations: 0 / 0.5108 GB, free: 80.03 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000621/0.8411, allocations: 169 kB / 0.5109 GB, free: 80.03 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.439e-05/0.8412, allocations: 7.312 kB / 0.5109 GB, free: 80.03 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004793/0.8417, allocations: 175.4 kB / 0.5111 GB, free: 80.03 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.753e-06/0.8418, allocations: 3 kB / 0.5111 GB, free: 80.03 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.33e-06/0.8419, allocations: 0 / 0.5111 GB, free: 80.03 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004003/0.8459, allocations: 1.801 MB / 0.5129 GB, free: 79.84 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003435/0.8495, allocations: 1.459 MB / 0.5143 GB, free: 79.55 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001012/0.8506, allocations: 77.22 kB / 0.5144 GB, free: 79.54 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001928/0.8526, allocations: 141.8 kB / 0.5145 GB, free: 79.53 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008506/0.8536, allocations: 252.4 kB / 0.5147 GB, free: 79.53 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001152/0.8548, allocations: 1.064 MB / 0.5158 GB, free: 79.46 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.003477/0.8584, allocations: 1.499 MB / 0.5172 GB, free: 79.1 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002189/0.8607, allocations: 300.3 kB / 0.5175 GB, free: 79.1 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 8.856e-05/0.8609, allocations: 76.09 kB / 0.5176 GB, free: 79.04 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.003708/0.8646, allocations: 1.698 MB / 0.5193 GB, free: 78.87 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.8647, allocations: 0 / 0.5193 GB, free: 78.87 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002283/0.8671, allocations: 1.266 MB / 0.5205 GB, free: 78.71 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004542/0.8717, allocations: 0.8261 MB / 0.5213 GB, free: 78.64 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.8824, allocations: 3.254 MB / 0.5245 GB, free: 77.72 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009798/0.8924, allocations: 3.813 MB / 0.5282 GB, free: 75.44 MB / 392.6 MB Notification: Performance of SimCode: time 2.724e-06/0.8925, allocations: 0 / 0.5282 GB, free: 75.44 MB / 392.6 MB Notification: Performance of Templates: time 0.1866/1.079, allocations: 49.45 MB / 0.5765 GB, free: 36.77 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder.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_FullAdder -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=6 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder.o Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FullAdder__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FullAdder__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder.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.FullAdder.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FullAdder_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder.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.FullAdder.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FullAdder_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder.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.FullAdder.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FullAdder_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.FullAdder.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FullAdder_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder.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.FullAdder.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FullAdder_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder.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.FullAdder.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FullAdder_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.FullAdder.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FullAdder_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder.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.FullAdder.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FullAdder_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder.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_FullAdder_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.FullAdder.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FullAdder_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FullAdder_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder.c:2129: ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder_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_FullAdder_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FullAdder_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FullAdder_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FullAdder_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder_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_FullAdder_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FullAdder_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FullAdder_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FullAdder_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FullAdder_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FullAdder_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FullAdder_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder_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_FullAdder_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FullAdder_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FullAdder_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FullAdder_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FullAdder_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.FullAdder.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FullAdder.o] Error 1