Notification: Performance of loadModel(Modelica): time 1.51/1.51, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.201e-05/1.208e-05, allocations: 2.812 kB / 247.4 MB, free: 4.621 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05792/0.058, allocations: 44.35 MB / 291.8 MB, free: 9.223 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2162/0.2743, allocations: 77.42 MB / 369.2 MB, free: 6.832 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.2746, allocations: 75.27 kB / 369.2 MB, free: 6.828 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.2333/0.5079, allocations: 87.13 MB / 456.4 MB, free: 10.35 MB / 360.6 MB Notification: Performance of Transformations before backend: time 5.72e-05/0.5081, allocations: 23.94 kB / 456.4 MB, free: 10.33 MB / 360.6 MB Notification: Performance of Generate backend data structure: time 0.002354/0.5105, allocations: 1.179 MB / 457.6 MB, free: 9.094 MB / 360.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.5106, allocations: 12.03 kB / 457.6 MB, free: 9.082 MB / 360.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004376/0.5111, allocations: 110.7 kB / 457.7 MB, free: 8.973 MB / 360.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.5126, allocations: 0.694 MB / 458.4 MB, free: 8.242 MB / 360.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.342e-05/0.5127, allocations: 36 kB / 458.4 MB, free: 8.207 MB / 360.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002907/0.513, allocations: 55.94 kB / 458.5 MB, free: 8.152 MB / 360.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002629/0.5157, allocations: 0.984 MB / 459.5 MB, free: 7.168 MB / 360.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002635/0.5184, allocations: 1.174 MB / 460.6 MB, free: 5.984 MB / 360.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.5186, allocations: 0 / 460.6 MB, free: 5.984 MB / 360.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002141/0.5188, allocations: 0 / 460.6 MB, free: 5.984 MB / 360.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.479e-05/0.5189, allocations: 24 kB / 460.7 MB, free: 5.961 MB / 360.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006808/0.5258, allocations: 2.871 MB / 463.5 MB, free: 3.098 MB / 360.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/0.5279, allocations: 0.92 MB / 464.5 MB, free: 2.168 MB / 360.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007505/0.5287, allocations: 379.1 kB / 464.8 MB, free: 1.797 MB / 360.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001918/0.529, allocations: 12.78 kB / 464.8 MB, free: 1.785 MB / 360.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001416/0.5305, allocations: 0.746 MB / 465.6 MB, free: 1.027 MB / 360.6 MB Notification: Performance of pre-optimization done (n=88): time 5.517e-06/0.5306, allocations: 0 / 465.6 MB, free: 1.027 MB / 360.6 MB Notification: Performance of matching and sorting (n=88): time 0.002714/0.5333, allocations: 1.077 MB / 466.7 MB, free: 15.94 MB / 376.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.924e-05/0.5335, allocations: 93.89 kB / 466.8 MB, free: 15.83 MB / 376.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000933/0.5345, allocations: 488.4 kB / 467.2 MB, free: 15.35 MB / 376.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002888/0.5349, allocations: 45.7 kB / 467.3 MB, free: 15.3 MB / 376.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/0.5352, allocations: 261 kB / 467.5 MB, free: 15.04 MB / 376.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004025/0.5356, allocations: 185.7 kB / 467.7 MB, free: 14.85 MB / 376.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.5359, allocations: 7.984 kB / 467.7 MB, free: 14.84 MB / 376.6 MB Notification: Performance of setup shared object (initialization): time 0.0002698/0.5362, allocations: 366.7 kB / 468.1 MB, free: 14.48 MB / 376.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008991/0.5372, allocations: 401.9 kB / 468.5 MB, free: 14.09 MB / 376.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009561/0.5382, allocations: 0.5091 MB / 469 MB, free: 13.54 MB / 376.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.5393, allocations: 0.4914 MB / 469.5 MB, free: 13.05 MB / 376.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.403e-06/0.5394, allocations: 0 / 469.5 MB, free: 13.05 MB / 376.6 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00308/0.5425, allocations: 1.257 MB / 470.7 MB, free: 11.8 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.5426, allocations: 6.812 kB / 470.7 MB, free: 11.79 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.5427, allocations: 7.984 kB / 470.7 MB, free: 11.79 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/0.5428, allocations: 8 kB / 470.7 MB, free: 11.78 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004334/0.5433, allocations: 155.7 kB / 470.9 MB, free: 11.62 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.5433, allocations: 8 kB / 470.9 MB, free: 11.62 MB / 376.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.5447, allocations: 119.5 kB / 471 MB, free: 11.5 MB / 376.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009764/0.5457, allocations: 0.8194 MB / 471.8 MB, free: 10.68 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002454/0.5461, allocations: 108.8 kB / 472 MB, free: 10.57 MB / 376.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000308/0.5464, allocations: 67.25 kB / 472 MB, free: 10.5 MB / 376.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000198/0.5467, allocations: 62.75 kB / 472.1 MB, free: 10.44 MB / 376.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.5467, allocations: 8 kB / 472.1 MB, free: 10.43 MB / 376.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.5468, allocations: 0 / 472.1 MB, free: 10.43 MB / 376.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.5469, allocations: 7.969 kB / 472.1 MB, free: 10.42 MB / 376.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/0.5488, allocations: 0.9529 MB / 473 MB, free: 9.453 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.892e-06/0.5489, allocations: 3.906 kB / 473.1 MB, free: 9.449 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003535/0.5493, allocations: 143.8 kB / 473.2 MB, free: 9.309 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.369e-05/0.5494, allocations: 4 kB / 473.2 MB, free: 9.305 MB / 376.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002808/0.5497, allocations: 123.9 kB / 473.3 MB, free: 9.184 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.403e-06/0.5498, allocations: 4 kB / 473.3 MB, free: 9.18 MB / 376.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.612e-06/0.5498, allocations: 4 kB / 473.3 MB, free: 9.176 MB / 376.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002568/0.5525, allocations: 1.138 MB / 474.5 MB, free: 8.02 MB / 376.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009271/0.5535, allocations: 436.1 kB / 474.9 MB, free: 7.574 MB / 376.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004426/0.554, allocations: 32 kB / 474.9 MB, free: 7.543 MB / 376.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009231/0.555, allocations: 95.66 kB / 475 MB, free: 7.449 MB / 376.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004424/0.5555, allocations: 172.6 kB / 475.2 MB, free: 7.281 MB / 376.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009029/0.5565, allocations: 0.8116 MB / 476 MB, free: 6.469 MB / 376.6 MB Notification: Performance of sort global known variables: time 0.0004626/0.557, allocations: 315.2 kB / 476.3 MB, free: 6.16 MB / 376.6 MB Notification: Performance of remove unused functions: time 0.001228/0.5583, allocations: 172 kB / 476.5 MB, free: 5.992 MB / 376.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 7.85e-05/0.5584, allocations: 73.55 kB / 476.5 MB, free: 5.918 MB / 376.6 MB Notification: Performance of simCode: created initialization part: time 0.002105/0.5606, allocations: 1.047 MB / 477.6 MB, free: 4.863 MB / 376.6 MB Notification: Performance of simCode: created event and clocks part: time 4.888e-06/0.5607, allocations: 0 / 477.6 MB, free: 4.863 MB / 376.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001327/0.562, allocations: 0.5863 MB / 478.2 MB, free: 4.27 MB / 376.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003313/0.5654, allocations: 0.6144 MB / 478.8 MB, free: 3.66 MB / 376.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004138/0.5697, allocations: 1.236 MB / 480 MB, free: 2.395 MB / 376.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007038/0.5768, allocations: 2.906 MB / 482.9 MB, free: 15.45 MB / 392.6 MB Notification: Performance of SimCode: time 2.374e-06/0.5769, allocations: 4 kB / 482.9 MB, free: 15.45 MB / 392.6 MB Notification: Performance of Templates: time 0.2266/0.8035, allocations: 36.85 MB / 0.5076 GB, free: 148.1 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3.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_Counter3 -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.Counter3.o Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter3__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter3__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3.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.Counter3.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter3_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3.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.Counter3.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter3_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3.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.Counter3.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter3_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.Counter3.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter3_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3.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.Counter3.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter3_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3.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.Counter3.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter3_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.Counter3.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter3_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3.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.Counter3.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter3_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3.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_Counter3_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.Counter3.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter3_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter3_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3.c:1470: ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3_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_Counter3_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter3_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter3_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter3_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3_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_Counter3_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter3_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter3_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter3_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter3_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter3_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter3_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3_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_Counter3_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter3_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter3_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter3_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_Counter3_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.Counter3.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.Counter3.o] Error 1