Notification: Performance of loadModel(Modelica): time 1.504/1.504, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.118e-05/1.124e-05, allocations: 2.25 kB / 247.6 MB, free: 4.414 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06889/0.06898, allocations: 44.36 MB / 292 MB, free: 9.023 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.244/0.3131, allocations: 80.58 MB / 372.6 MB, free: 7.125 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.3134, allocations: 75.12 kB / 372.6 MB, free: 7.121 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.5322/0.8457, allocations: 137.3 MB / 0.498 GB, free: 89.87 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0001598/0.846, allocations: 83.03 kB / 0.4981 GB, free: 89.86 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.008139/0.8542, allocations: 4.347 MB / 0.5023 GB, free: 87.71 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.8543, allocations: 10.69 kB / 0.5023 GB, free: 87.71 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/0.8559, allocations: 0.5422 MB / 0.5029 GB, free: 87.42 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004797/0.8608, allocations: 1.939 MB / 0.5047 GB, free: 86.74 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002394/0.8611, allocations: 71.5 kB / 0.5048 GB, free: 86.74 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007262/0.8619, allocations: 109.1 kB / 0.5049 GB, free: 86.74 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003724/0.8657, allocations: 1.243 MB / 0.5061 GB, free: 86.73 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006194/0.872, allocations: 1.81 MB / 0.5079 GB, free: 86.66 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.716e-05/0.8721, allocations: 2.719 kB / 0.5079 GB, free: 86.66 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007881/0.873, allocations: 33.94 kB / 0.5079 GB, free: 86.66 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.919e-05/0.8731, allocations: 24.62 kB / 0.508 GB, free: 86.66 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01443/0.8876, allocations: 5.543 MB / 0.5134 GB, free: 85.82 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002665/0.8903, allocations: 1.191 MB / 0.5145 GB, free: 85.79 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002052/0.8925, allocations: 0.9459 MB / 0.5155 GB, free: 85.78 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/0.8927, allocations: 4.375 kB / 0.5155 GB, free: 85.78 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003305/0.8961, allocations: 2.212 MB / 0.5176 GB, free: 84.71 MB / 392.6 MB Notification: Performance of pre-optimization done (n=177): time 1.013e-05/0.8962, allocations: 3.875 kB / 0.5176 GB, free: 84.71 MB / 392.6 MB Notification: Performance of matching and sorting (n=177): time 0.00601/0.9023, allocations: 2.322 MB / 0.5199 GB, free: 84.37 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003609/0.9027, allocations: 0.8222 MB / 0.5207 GB, free: 83.52 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0145/0.9173, allocations: 5.942 MB / 0.5265 GB, free: 82.01 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0006428/0.918, allocations: 95.05 kB / 0.5266 GB, free: 81.98 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.00047/0.9186, allocations: 363 kB / 0.5269 GB, free: 81.79 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008734/0.9195, allocations: 385.9 kB / 0.5273 GB, free: 81.62 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003647/0.9199, allocations: 30.56 kB / 0.5273 GB, free: 81.62 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.9201, allocations: 378.4 kB / 0.5277 GB, free: 81.31 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002013/0.9222, allocations: 0.7584 MB / 0.5284 GB, free: 81.3 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002356/0.9247, allocations: 0.9303 MB / 0.5293 GB, free: 81.16 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001856/0.9266, allocations: 0.6939 MB / 0.53 GB, free: 81.13 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/0.9267, allocations: 7.656 kB / 0.53 GB, free: 81.12 MB / 392.6 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.005585/0.9324, allocations: 2.161 MB / 0.5321 GB, free: 80.98 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.9325, allocations: 3.875 kB / 0.5321 GB, free: 80.98 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.9325, allocations: 3.969 kB / 0.5321 GB, free: 80.98 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.059e-05/0.9326, allocations: 15.66 kB / 0.5322 GB, free: 80.98 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.933, allocations: 103.6 kB / 0.5323 GB, free: 80.98 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.933, allocations: 11.33 kB / 0.5323 GB, free: 80.98 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003277/0.9364, allocations: 261 kB / 0.5325 GB, free: 80.94 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001144/0.9376, allocations: 0.9612 MB / 0.5335 GB, free: 80.88 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.001105/0.9388, allocations: 0.975 MB / 0.5344 GB, free: 80.02 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/0.9399, allocations: 0.5162 MB / 0.5349 GB, free: 79.76 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003242/0.9432, allocations: 0.9188 MB / 0.5358 GB, free: 79.29 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.9433, allocations: 14.95 kB / 0.5358 GB, free: 79.29 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.9434, allocations: 3.938 kB / 0.5358 GB, free: 79.29 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.9435, allocations: 3.375 kB / 0.5358 GB, free: 79.29 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009129/0.9527, allocations: 3.737 MB / 0.5395 GB, free: 78.47 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.9528, allocations: 0 / 0.5395 GB, free: 78.47 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.9531, allocations: 80.03 kB / 0.5396 GB, free: 78.47 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/0.9531, allocations: 3.969 kB / 0.5396 GB, free: 78.47 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007243/0.9539, allocations: 209.2 kB / 0.5398 GB, free: 78.47 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.495e-06/0.954, allocations: 11.69 kB / 0.5398 GB, free: 78.47 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.9541, allocations: 0 / 0.5398 GB, free: 78.47 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006709/0.9608, allocations: 2.693 MB / 0.5424 GB, free: 78.07 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.009825/0.9707, allocations: 4.231 MB / 0.5465 GB, free: 75.56 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001719/0.9726, allocations: 182.7 kB / 0.5467 GB, free: 75.48 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003257/0.9759, allocations: 221.6 kB / 0.5469 GB, free: 75.46 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001117/0.9771, allocations: 296.7 kB / 0.5472 GB, free: 75.38 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001666/0.9789, allocations: 1.002 MB / 0.5482 GB, free: 75.29 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.01261/0.9916, allocations: 4.826 MB / 0.5529 GB, free: 72.89 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.003319/0.995, allocations: 0.4907 MB / 0.5534 GB, free: 72.73 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 7.801e-05/0.9952, allocations: 69.55 kB / 0.5534 GB, free: 72.66 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.005395/1.001, allocations: 2.823 MB / 0.5562 GB, free: 69.79 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 5.727e-06/1.001, allocations: 0 / 0.5562 GB, free: 69.79 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.004516/1.005, allocations: 2.946 MB / 0.5591 GB, free: 66.79 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005794/1.011, allocations: 1.034 MB / 0.5601 GB, free: 66 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02099/1.032, allocations: 8.03 MB / 0.5679 GB, free: 58.39 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01116/1.044, allocations: 4.246 MB / 0.5721 GB, free: 54.72 MB / 392.6 MB Notification: Performance of SimCode: time 2.654e-06/1.044, allocations: 0 / 0.5721 GB, free: 54.72 MB / 392.6 MB Notification: Performance of Templates: time 0.1607/1.204, allocations: 51.54 MB / 0.6224 GB, free: 6.266 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4.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_Adder4 -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.Adder4.o Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Adder4__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Adder4__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4.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.Adder4.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Adder4_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4.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.Adder4.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Adder4_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4.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.Adder4.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Adder4_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.Adder4.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Adder4_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4.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.Adder4.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Adder4_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4.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.Adder4.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Adder4_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.Adder4.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Adder4_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4.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.Adder4.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Adder4_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4.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_Adder4_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.Adder4.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Adder4_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Adder4_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4.c:3071: ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4_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_Adder4_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Adder4_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Adder4_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Adder4_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4_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_Adder4_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Adder4_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Adder4_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Adder4_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Adder4_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Adder4_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Adder4_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4_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_Adder4_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Adder4_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Adder4_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Adder4_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Adder4_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.Adder4.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Adder4.o] Error 1