Notification: Performance of loadModel(Modelica): time 1.489/1.489, allocations: 194.5 MB / 200.7 MB, free: 7.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.173e-05/1.187e-05, allocations: 1.125 kB / 247.4 MB, free: 5.434 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06374/0.06382, allocations: 44.37 MB / 291.8 MB, free: 11.62 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2368/0.3008, allocations: 77.83 MB / 369.6 MB, free: 7.312 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.3011, allocations: 75.22 kB / 369.7 MB, free: 7.309 MB / 298.7 MB Notification: Performance of FrontEnd: time 0.3027/0.6038, allocations: 113.2 MB / 482.8 MB, free: 3.918 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001039/0.604, allocations: 39.88 kB / 482.9 MB, free: 3.879 MB / 378.7 MB Notification: Performance of Generate backend data structure: time 0.004205/0.6083, allocations: 1.557 MB / 484.4 MB, free: 2.266 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.6085, allocations: 8.031 kB / 484.4 MB, free: 2.258 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.6096, allocations: 174 kB / 484.6 MB, free: 2.086 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00269/0.6124, allocations: 1.066 MB / 485.7 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.6126, allocations: 44 kB / 485.7 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007114/0.6133, allocations: 72 kB / 485.8 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005111/0.6185, allocations: 1.812 MB / 487.6 MB, free: 15.06 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005724/0.6243, allocations: 2.003 MB / 489.6 MB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.862e-05/0.6245, allocations: 11.98 kB / 489.6 MB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003862/0.6249, allocations: 0 / 489.6 MB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.919e-05/0.625, allocations: 28 kB / 489.6 MB, free: 13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01137/0.6364, allocations: 4.479 MB / 494.1 MB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003892/0.6404, allocations: 1.724 MB / 495.9 MB, free: 6.797 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00148/0.642, allocations: 0.7104 MB / 496.6 MB, free: 6.086 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002943/0.6424, allocations: 13 kB / 496.6 MB, free: 6.074 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00258/0.645, allocations: 1.283 MB / 497.9 MB, free: 4.777 MB / 394.7 MB Notification: Performance of pre-optimization done (n=120): time 5.797e-06/0.6451, allocations: 0 / 497.9 MB, free: 4.777 MB / 394.7 MB Notification: Performance of matching and sorting (n=120): time 0.004261/0.6494, allocations: 1.802 MB / 499.7 MB, free: 2.965 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.6495, allocations: 94.11 kB / 499.8 MB, free: 2.855 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/0.6511, allocations: 0.8346 MB / 0.4889 GB, free: 2.016 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005999/0.6518, allocations: 81.66 kB / 0.4889 GB, free: 1.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003651/0.6522, allocations: 349.1 kB / 0.4893 GB, free: 1.582 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007647/0.653, allocations: 268.8 kB / 0.4895 GB, free: 1.316 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002576/0.6533, allocations: 8 kB / 0.4895 GB, free: 1.309 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002846/0.6537, allocations: 402.7 kB / 0.4899 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001856/0.6556, allocations: 0.8147 MB / 0.4907 GB, free: 92 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1198/0.7754, allocations: 0.9634 MB / 0.4916 GB, free: 145.1 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001874/0.7774, allocations: 0.9611 MB / 0.4926 GB, free: 145.1 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.7775, allocations: 0 / 0.4926 GB, free: 145.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.005018/0.7826, allocations: 2.209 MB / 0.4947 GB, free: 145.1 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.7827, allocations: 7.469 kB / 0.4948 GB, free: 145.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.7828, allocations: 3.938 kB / 0.4948 GB, free: 145.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.192e-05/0.7829, allocations: 10 kB / 0.4948 GB, free: 145.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007976/0.7837, allocations: 223.4 kB / 0.495 GB, free: 145.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/0.7838, allocations: 16.22 kB / 0.495 GB, free: 145.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/0.7858, allocations: 157.8 kB / 0.4951 GB, free: 145.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00118/0.7871, allocations: 1.096 MB / 0.4962 GB, free: 145 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003579/0.7875, allocations: 101 kB / 0.4963 GB, free: 144.9 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004651/0.788, allocations: 103.9 kB / 0.4964 GB, free: 144.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003342/0.7884, allocations: 113.1 kB / 0.4965 GB, free: 144.9 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.7885, allocations: 11.78 kB / 0.4965 GB, free: 144.9 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.7885, allocations: 0 / 0.4965 GB, free: 144.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.76e-05/0.7886, allocations: 8.891 kB / 0.4965 GB, free: 144.9 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003021/0.7917, allocations: 1.537 MB / 0.498 GB, free: 144.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.7918, allocations: 3.656 kB / 0.498 GB, free: 144.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006718/0.7925, allocations: 193.2 kB / 0.4982 GB, free: 144.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.551e-05/0.7926, allocations: 3.969 kB / 0.4982 GB, free: 144.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004636/0.7931, allocations: 167.3 kB / 0.4984 GB, free: 144.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.521e-06/0.7932, allocations: 3.938 kB / 0.4984 GB, free: 144.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.006e-06/0.7933, allocations: 8.688 kB / 0.4984 GB, free: 144.7 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004062/0.7974, allocations: 1.876 MB / 0.5002 GB, free: 144.6 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001717/0.7992, allocations: 0.6275 MB / 0.5008 GB, free: 144.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008866/0.8002, allocations: 111.4 kB / 0.501 GB, free: 144.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001715/0.802, allocations: 125.7 kB / 0.5011 GB, free: 144.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007894/0.8029, allocations: 295.1 kB / 0.5014 GB, free: 144.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001055/0.804, allocations: 1.08 MB / 0.5024 GB, free: 144.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0009398/0.805, allocations: 0.5678 MB / 0.503 GB, free: 144.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001896/0.807, allocations: 271.2 kB / 0.5032 GB, free: 144.4 MB / 394.7 MB Notification: Performance of Backend phase and start with SimCode phase: time 8.87e-05/0.8071, allocations: 71.55 kB / 0.5033 GB, free: 144.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003776/0.811, allocations: 1.904 MB / 0.5051 GB, free: 144.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.8111, allocations: 0 / 0.5051 GB, free: 144.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002037/0.8132, allocations: 1.005 MB / 0.5061 GB, free: 144.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004661/0.8179, allocations: 0.8673 MB / 0.507 GB, free: 144.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007177/0.8252, allocations: 2.362 MB / 0.5093 GB, free: 143.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01001/0.8353, allocations: 3.811 MB / 0.513 GB, free: 141.5 MB / 394.7 MB Notification: Performance of SimCode: time 2.584e-06/0.8354, allocations: 0 / 0.513 GB, free: 141.5 MB / 394.7 MB Notification: Performance of Templates: time 0.1117/0.9471, allocations: 54.52 MB / 0.5663 GB, free: 99.69 MB / 394.7 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Counter.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_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_-O1_Modelica.Electrical.Digital.Examples.Counter.o Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Counter.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Counter.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Counter_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Counter__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Counter_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Counter__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.Counter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Counter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.Counter.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Counter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.Counter.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.Counter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Counter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.Counter.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Counter_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.Counter.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.Counter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Counter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.Counter.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Counter_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Electrical.Digital.Examples.Counter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Counter_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Counter.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Counter_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Counter.c:1952: ./Modelica_3.2.2_-O1_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_-O1_Modelica_Electrical_Digital_Examples_Counter_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Counter_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Counter_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Counter_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Counter_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Counter_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Counter_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Counter_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_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_-O1_Modelica_Electrical_Digital_Examples_Counter_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Counter_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Counter_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Counter_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Counter_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Counter_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Counter_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Counter_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Counter_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Counter_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Counter_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Counter_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Counter_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_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_-O1_Modelica_Electrical_Digital_Examples_Counter_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Counter_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Counter_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Counter_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Counter_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Counter_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Counter_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Counter_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.Counter.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Counter.o] Error 1