Notification: Performance of loadModel(Modelica): time 1.553/1.553, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.219e-06/9.289e-06, allocations: 1.031 kB / 247.4 MB, free: 4.648 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06155/0.06162, allocations: 44.36 MB / 291.8 MB, free: 9.223 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2321/0.2939, allocations: 77.82 MB / 369.6 MB, free: 7.035 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.2942, allocations: 75.61 kB / 369.7 MB, free: 7.031 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.3211/0.6154, allocations: 113.2 MB / 482.8 MB, free: 0.6641 MB / 376.6 MB Notification: Performance of Transformations before backend: time 0.0001154/0.6156, allocations: 35.94 kB / 482.9 MB, free: 0.6289 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.004601/0.6203, allocations: 1.556 MB / 484.4 MB, free: 15.02 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.6204, allocations: 12.03 kB / 484.4 MB, free: 15 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009627/0.6214, allocations: 170 kB / 484.6 MB, free: 14.84 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002908/0.6244, allocations: 1.073 MB / 485.7 MB, free: 13.72 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.6247, allocations: 44 kB / 485.7 MB, free: 13.68 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000762/0.6255, allocations: 68 kB / 485.8 MB, free: 13.61 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005232/0.6308, allocations: 1.82 MB / 487.6 MB, free: 11.79 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00564/0.6365, allocations: 2.003 MB / 489.6 MB, free: 9.762 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.323e-05/0.6367, allocations: 0 / 489.6 MB, free: 9.762 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005786/0.6373, allocations: 0 / 489.6 MB, free: 9.762 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.982e-05/0.6374, allocations: 32 kB / 489.6 MB, free: 9.73 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01171/0.6492, allocations: 4.478 MB / 494.1 MB, free: 5.207 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003961/0.6532, allocations: 1.717 MB / 495.8 MB, free: 3.469 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/0.6548, allocations: 0.7026 MB / 496.5 MB, free: 2.766 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002893/0.6552, allocations: 13 kB / 496.6 MB, free: 2.754 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002265/0.6575, allocations: 1.291 MB / 497.8 MB, free: 1.449 MB / 392.6 MB Notification: Performance of pre-optimization done (n=120): time 6.915e-06/0.6576, allocations: 4 kB / 497.9 MB, free: 1.445 MB / 392.6 MB Notification: Performance of matching and sorting (n=120): time 0.1183/0.776, allocations: 1.803 MB / 499.7 MB, free: 150.6 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.7761, allocations: 93.28 kB / 499.7 MB, free: 150.5 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/0.7777, allocations: 0.8311 MB / 0.4888 GB, free: 150.4 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0005699/0.7783, allocations: 81.45 kB / 0.4889 GB, free: 150.4 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003376/0.7787, allocations: 344 kB / 0.4893 GB, free: 150.3 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007242/0.7795, allocations: 267.1 kB / 0.4895 GB, free: 150.2 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002894/0.7798, allocations: 9.375 kB / 0.4895 GB, free: 150.2 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.7801, allocations: 408.3 kB / 0.4899 GB, free: 149.9 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00167/0.7818, allocations: 0.8167 MB / 0.4907 GB, free: 149.9 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001902/0.7838, allocations: 0.9678 MB / 0.4916 GB, free: 149.7 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/0.7858, allocations: 0.9632 MB / 0.4926 GB, free: 149.7 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/0.7859, allocations: 3.828 kB / 0.4926 GB, free: 149.7 MB / 392.6 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.005106/0.7911, allocations: 2.206 MB / 0.4947 GB, free: 149.6 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.7912, allocations: 3.938 kB / 0.4948 GB, free: 149.6 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.851e-05/0.7913, allocations: 7.688 kB / 0.4948 GB, free: 149.6 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.73e-05/0.7914, allocations: 11.81 kB / 0.4948 GB, free: 149.6 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008058/0.7922, allocations: 216.3 kB / 0.495 GB, free: 149.6 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/0.7923, allocations: 14.95 kB / 0.495 GB, free: 149.6 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/0.7944, allocations: 160.3 kB / 0.4951 GB, free: 149.6 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001314/0.7958, allocations: 1.094 MB / 0.4962 GB, free: 149.6 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005117/0.7964, allocations: 108.4 kB / 0.4963 GB, free: 149.4 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006043/0.7971, allocations: 97.59 kB / 0.4964 GB, free: 149.4 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003721/0.7975, allocations: 117 kB / 0.4965 GB, free: 149.4 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.7976, allocations: 18.31 kB / 0.4965 GB, free: 149.4 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/0.7976, allocations: 3.906 kB / 0.4965 GB, free: 149.4 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/0.7977, allocations: 3.891 kB / 0.4965 GB, free: 149.4 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003342/0.8011, allocations: 1.532 MB / 0.498 GB, free: 149.2 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.8012, allocations: 0 / 0.498 GB, free: 149.2 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007481/0.802, allocations: 193.2 kB / 0.4982 GB, free: 149.2 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.627e-05/0.8021, allocations: 6.75 kB / 0.4982 GB, free: 149.2 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004688/0.8026, allocations: 170.7 kB / 0.4984 GB, free: 149.2 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.241e-06/0.8027, allocations: 7.156 kB / 0.4984 GB, free: 149.2 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.238e-06/0.8028, allocations: 0 / 0.4984 GB, free: 149.2 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004013/0.8068, allocations: 1.883 MB / 0.5002 GB, free: 149.1 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00173/0.8087, allocations: 0.6284 MB / 0.5009 GB, free: 148.9 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009462/0.8097, allocations: 108.1 kB / 0.501 GB, free: 148.9 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00169/0.8115, allocations: 125.3 kB / 0.5011 GB, free: 148.9 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009347/0.8125, allocations: 297.5 kB / 0.5014 GB, free: 148.9 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001238/0.8138, allocations: 1.076 MB / 0.5024 GB, free: 148.9 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.0009605/0.8149, allocations: 0.5661 MB / 0.503 GB, free: 148.8 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002073/0.817, allocations: 271.3 kB / 0.5032 GB, free: 148.8 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001034/0.8172, allocations: 79.67 kB / 0.5033 GB, free: 148.7 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.003967/0.8212, allocations: 1.901 MB / 0.5052 GB, free: 148.7 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 5.657e-06/0.8214, allocations: 3.656 kB / 0.5052 GB, free: 148.7 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002151/0.8236, allocations: 1.005 MB / 0.5061 GB, free: 148.6 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004813/0.8285, allocations: 0.8582 MB / 0.507 GB, free: 148.6 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007547/0.8361, allocations: 2.367 MB / 0.5093 GB, free: 148.2 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009484/0.8457, allocations: 3.815 MB / 0.513 GB, free: 145.9 MB / 392.6 MB Notification: Performance of SimCode: time 2.654e-06/0.8458, allocations: 0 / 0.513 GB, free: 145.9 MB / 392.6 MB Notification: Performance of Templates: time 0.135/0.9809, allocations: 54.51 MB / 0.5662 GB, free: 101.3 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter.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_Counter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=8 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter.o Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter.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.Counter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter.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.Counter.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter.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.Counter.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter_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.Counter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter.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.Counter.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter.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.Counter.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter_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.Counter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter.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.Counter.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter.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_Counter_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.Counter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter.c:1952: ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter_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_Counter_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter_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_Counter_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter_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_Counter_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter_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.Counter.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter.o] Error 1