Notification: Performance of loadModel(Modelica): time 1.537/1.537, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.236e-05/1.264e-05, allocations: 2.562 kB / 247.5 MB, free: 4.578 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06274/0.06283, allocations: 44.36 MB / 291.8 MB, free: 9.156 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2311/0.294, allocations: 80.31 MB / 372.2 MB, free: 7.02 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.2943, allocations: 85.52 kB / 372.2 MB, free: 7.012 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.3417/0.6361, allocations: 123.8 MB / 496.1 MB, free: 3.348 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0001102/0.6363, allocations: 47.94 kB / 496.1 MB, free: 3.301 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.004799/0.6412, allocations: 2.146 MB / 498.3 MB, free: 1.07 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.6413, allocations: 8.031 kB / 498.3 MB, free: 1.062 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009413/0.6423, allocations: 249 kB / 498.5 MB, free: 0.8164 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1515/0.7938, allocations: 1.138 MB / 499.6 MB, free: 83.89 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/0.7941, allocations: 50.78 kB / 499.7 MB, free: 83.89 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005921/0.7948, allocations: 72.53 kB / 499.8 MB, free: 83.89 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003643/0.7985, allocations: 1.339 MB / 0.4894 GB, free: 83.88 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004465/0.803, allocations: 1.617 MB / 0.4909 GB, free: 83.81 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.422e-05/0.8032, allocations: 0 / 0.4909 GB, free: 83.81 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003053/0.8035, allocations: 11.34 kB / 0.4909 GB, free: 83.81 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/0.8036, allocations: 29.31 kB / 0.491 GB, free: 83.81 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01006/0.8137, allocations: 4.268 MB / 0.4951 GB, free: 83.5 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003064/0.8169, allocations: 1.247 MB / 0.4964 GB, free: 83.47 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/0.8184, allocations: 0.6084 MB / 0.497 GB, free: 83.46 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002746/0.8188, allocations: 12.38 kB / 0.497 GB, free: 83.46 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002275/0.8211, allocations: 1.303 MB / 0.4982 GB, free: 83.15 MB / 392.6 MB Notification: Performance of pre-optimization done (n=132): time 7.333e-06/0.8212, allocations: 3.062 kB / 0.4982 GB, free: 83.15 MB / 392.6 MB Notification: Performance of matching and sorting (n=132): time 0.003976/0.8253, allocations: 1.647 MB / 0.4998 GB, free: 82.99 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.8255, allocations: 229.6 kB / 0.5001 GB, free: 82.77 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00444/0.83, allocations: 1.94 MB / 0.502 GB, free: 82.35 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0005537/0.8306, allocations: 64.36 kB / 0.502 GB, free: 82.32 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003819/0.8311, allocations: 339.3 kB / 0.5023 GB, free: 82.13 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007495/0.8319, allocations: 284.7 kB / 0.5026 GB, free: 82.01 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002852/0.8322, allocations: 10.36 kB / 0.5026 GB, free: 82.01 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.8325, allocations: 401.3 kB / 0.503 GB, free: 81.7 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001468/0.834, allocations: 0.5888 MB / 0.5036 GB, free: 81.69 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/0.8357, allocations: 0.7484 MB / 0.5043 GB, free: 81.57 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.8372, allocations: 0.6427 MB / 0.5049 GB, free: 81.56 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.521e-06/0.8373, allocations: 3.094 kB / 0.5049 GB, free: 81.56 MB / 392.6 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.00426/0.8416, allocations: 1.818 MB / 0.5067 GB, free: 81.44 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.8418, allocations: 3.938 kB / 0.5067 GB, free: 81.44 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.8418, allocations: 2.875 kB / 0.5067 GB, free: 81.44 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.269e-05/0.8419, allocations: 10.91 kB / 0.5067 GB, free: 81.44 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006045/0.8426, allocations: 188.7 kB / 0.5069 GB, free: 81.44 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.221e-05/0.8427, allocations: 13.59 kB / 0.5069 GB, free: 81.44 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/0.8449, allocations: 189 kB / 0.5071 GB, free: 81.42 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001185/0.8462, allocations: 1.055 MB / 0.5081 GB, free: 81.36 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005424/0.8468, allocations: 273.5 kB / 0.5084 GB, free: 81.12 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005508/0.8475, allocations: 196.3 kB / 0.5086 GB, free: 81.03 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009378/0.8485, allocations: 297.6 kB / 0.5089 GB, free: 80.9 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.8485, allocations: 13.19 kB / 0.5089 GB, free: 80.9 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.8486, allocations: 3.906 kB / 0.5089 GB, free: 80.9 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/0.8487, allocations: 7.875 kB / 0.5089 GB, free: 80.9 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004022/0.8527, allocations: 1.89 MB / 0.5107 GB, free: 80.58 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/0.8529, allocations: 2.875 kB / 0.5107 GB, free: 80.58 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006137/0.8535, allocations: 170.5 kB / 0.5109 GB, free: 80.58 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-05/0.8536, allocations: 5.156 kB / 0.5109 GB, free: 80.58 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004907/0.8542, allocations: 170.9 kB / 0.5111 GB, free: 80.58 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.962e-06/0.8542, allocations: 3.719 kB / 0.5111 GB, free: 80.58 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.286e-06/0.8543, allocations: 3.984 kB / 0.5111 GB, free: 80.58 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00405/0.8584, allocations: 1.798 MB / 0.5128 GB, free: 80.38 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003401/0.8619, allocations: 1.458 MB / 0.5143 GB, free: 80.09 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001008/0.863, allocations: 79.78 kB / 0.5143 GB, free: 80.09 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001887/0.865, allocations: 141.1 kB / 0.5145 GB, free: 80.08 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008038/0.8659, allocations: 255.7 kB / 0.5147 GB, free: 80.08 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00112/0.8671, allocations: 1.066 MB / 0.5158 GB, free: 80.01 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.003252/0.8704, allocations: 1.496 MB / 0.5172 GB, free: 79.65 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002049/0.8726, allocations: 293.9 kB / 0.5175 GB, free: 79.65 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 9.31e-05/0.8728, allocations: 72.92 kB / 0.5176 GB, free: 79.59 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.003606/0.8765, allocations: 1.704 MB / 0.5192 GB, free: 79.41 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.8766, allocations: 3.969 kB / 0.5192 GB, free: 79.41 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002286/0.8789, allocations: 1.269 MB / 0.5205 GB, free: 79.25 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004514/0.8835, allocations: 0.8142 MB / 0.5213 GB, free: 79.19 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009251/0.8929, allocations: 3.258 MB / 0.5245 GB, free: 78.27 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009605/0.9026, allocations: 3.81 MB / 0.5282 GB, free: 75.99 MB / 392.6 MB Notification: Performance of SimCode: time 3.004e-06/0.9027, allocations: 0 / 0.5282 GB, free: 75.99 MB / 392.6 MB Notification: Performance of Templates: time 0.1239/1.027, allocations: 49.49 MB / 0.5765 GB, free: 37.23 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FullAdder.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_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_-O2_Modelica.Electrical.Digital.Examples.FullAdder.o Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FullAdder.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FullAdder.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FullAdder_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FullAdder__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FullAdder_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FullAdder__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Digital.Examples.FullAdder.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FullAdder_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Digital.Examples.FullAdder.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FullAdder_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Digital.Examples.FullAdder.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.Digital.Examples.FullAdder.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FullAdder_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Digital.Examples.FullAdder.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FullAdder_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Digital.Examples.FullAdder.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.Digital.Examples.FullAdder.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FullAdder_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Digital.Examples.FullAdder.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FullAdder_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Electrical.Digital.Examples.FullAdder.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FullAdder_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FullAdder.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FullAdder_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FullAdder.c:2129: ./Modelica_3.2.2_-O2_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_-O2_Modelica_Electrical_Digital_Examples_FullAdder_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FullAdder_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FullAdder_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FullAdder_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FullAdder_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FullAdder_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FullAdder_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FullAdder_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_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_-O2_Modelica_Electrical_Digital_Examples_FullAdder_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FullAdder_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FullAdder_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FullAdder_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FullAdder_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FullAdder_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FullAdder_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FullAdder_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FullAdder_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FullAdder_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FullAdder_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FullAdder_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FullAdder_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_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_-O2_Modelica_Electrical_Digital_Examples_FullAdder_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FullAdder_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FullAdder_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FullAdder_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FullAdder_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FullAdder_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FullAdder_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FullAdder_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.Digital.Examples.FullAdder.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FullAdder.o] Error 1