Notification: Performance of loadModel(Modelica): time 1.606/1.606, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.848e-06/9.987e-06, allocations: 2.094 kB / 247.4 MB, free: 4.66 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06051/0.06059, allocations: 44.35 MB / 291.8 MB, free: 9.23 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2261/0.2868, allocations: 77.42 MB / 369.2 MB, free: 7.082 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001857/0.2871, allocations: 76.5 kB / 369.3 MB, free: 7.078 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.2363/0.5235, allocations: 87.12 MB / 456.4 MB, free: 10.45 MB / 360.6 MB Notification: Performance of Transformations before backend: time 5.511e-05/0.5236, allocations: 23.94 kB / 456.4 MB, free: 10.43 MB / 360.6 MB Notification: Performance of Generate backend data structure: time 0.002319/0.526, allocations: 1.175 MB / 457.6 MB, free: 9.199 MB / 360.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.5261, allocations: 12.03 kB / 457.6 MB, free: 9.188 MB / 360.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004489/0.5267, allocations: 114.7 kB / 457.7 MB, free: 9.074 MB / 360.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.5281, allocations: 0.6944 MB / 458.4 MB, free: 8.348 MB / 360.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.685e-05/0.5282, allocations: 28 kB / 458.4 MB, free: 8.32 MB / 360.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002759/0.5285, allocations: 63.88 kB / 458.5 MB, free: 8.258 MB / 360.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002563/0.5311, allocations: 0.9879 MB / 459.5 MB, free: 7.27 MB / 360.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002533/0.5337, allocations: 1.167 MB / 460.6 MB, free: 6.094 MB / 360.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/0.5339, allocations: 4 kB / 460.6 MB, free: 6.09 MB / 360.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002145/0.5341, allocations: 0 / 460.6 MB, free: 6.09 MB / 360.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.5e-05/0.5342, allocations: 27.92 kB / 460.7 MB, free: 6.062 MB / 360.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00663/0.5409, allocations: 2.866 MB / 463.5 MB, free: 3.203 MB / 360.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002038/0.5431, allocations: 0.9324 MB / 464.5 MB, free: 2.262 MB / 360.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007439/0.5439, allocations: 375.1 kB / 464.8 MB, free: 1.895 MB / 360.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001888/0.5441, allocations: 8.781 kB / 464.8 MB, free: 1.887 MB / 360.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001405/0.5456, allocations: 0.7499 MB / 465.6 MB, free: 1.125 MB / 360.6 MB Notification: Performance of pre-optimization done (n=88): time 5.518e-06/0.5457, allocations: 0 / 465.6 MB, free: 1.125 MB / 360.6 MB Notification: Performance of matching and sorting (n=88): time 0.002728/0.5485, allocations: 1.076 MB / 466.7 MB, free: 40 kB / 360.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.039e-05/0.5486, allocations: 93.83 kB / 466.8 MB, free: 15.93 MB / 376.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009576/0.5497, allocations: 484.4 kB / 467.2 MB, free: 15.45 MB / 376.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0003376/0.5501, allocations: 49.7 kB / 467.3 MB, free: 15.39 MB / 376.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.5504, allocations: 257 kB / 467.5 MB, free: 15.13 MB / 376.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004151/0.5509, allocations: 197.6 kB / 467.7 MB, free: 14.94 MB / 376.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/0.5511, allocations: 0 / 467.7 MB, free: 14.94 MB / 376.6 MB Notification: Performance of setup shared object (initialization): time 0.000316/0.5515, allocations: 370.7 kB / 468.1 MB, free: 14.57 MB / 376.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000894/0.5524, allocations: 405.9 kB / 468.5 MB, free: 14.17 MB / 376.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009273/0.5534, allocations: 0.5052 MB / 469 MB, free: 13.63 MB / 376.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.5545, allocations: 498.7 kB / 469.5 MB, free: 13.15 MB / 376.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.962e-06/0.5546, allocations: 4 kB / 469.5 MB, free: 13.14 MB / 376.6 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002925/0.5576, allocations: 1.258 MB / 470.7 MB, free: 11.89 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.5577, allocations: 7.938 kB / 470.7 MB, free: 11.88 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.5577, allocations: 4 kB / 470.8 MB, free: 11.88 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.864e-05/0.5578, allocations: 8.031 kB / 470.8 MB, free: 11.87 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004129/0.5583, allocations: 159.7 kB / 470.9 MB, free: 11.71 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.5584, allocations: 8 kB / 470.9 MB, free: 11.7 MB / 376.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.5596, allocations: 115.5 kB / 471 MB, free: 11.59 MB / 376.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000957/0.5607, allocations: 0.8155 MB / 471.9 MB, free: 10.77 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002181/0.561, allocations: 112.9 kB / 472 MB, free: 10.66 MB / 376.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002907/0.5613, allocations: 63.25 kB / 472 MB, free: 10.59 MB / 376.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001903/0.5616, allocations: 62.75 kB / 472.1 MB, free: 10.53 MB / 376.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.5616, allocations: 11.98 kB / 472.1 MB, free: 10.52 MB / 376.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.5617, allocations: 4 kB / 472.1 MB, free: 10.52 MB / 376.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.5617, allocations: 3.984 kB / 472.1 MB, free: 10.51 MB / 376.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.5635, allocations: 0.944 MB / 473 MB, free: 9.551 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.495e-06/0.5636, allocations: 3.906 kB / 473.1 MB, free: 9.547 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/0.5639, allocations: 143.8 kB / 473.2 MB, free: 9.406 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.564, allocations: 8 kB / 473.2 MB, free: 9.398 MB / 376.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002539/0.5643, allocations: 127.9 kB / 473.3 MB, free: 9.273 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.844e-06/0.5644, allocations: 4 kB / 473.3 MB, free: 9.27 MB / 376.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.771e-06/0.5644, allocations: 0 / 473.3 MB, free: 9.27 MB / 376.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002514/0.567, allocations: 1.134 MB / 474.5 MB, free: 8.117 MB / 376.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000875/0.568, allocations: 436.1 kB / 474.9 MB, free: 7.672 MB / 376.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004434/0.5685, allocations: 32 kB / 474.9 MB, free: 7.641 MB / 376.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008677/0.5694, allocations: 99.59 kB / 475 MB, free: 7.543 MB / 376.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004412/0.5699, allocations: 172.6 kB / 475.2 MB, free: 7.375 MB / 376.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009541/0.5709, allocations: 0.8077 MB / 476 MB, free: 6.566 MB / 376.6 MB Notification: Performance of sort global known variables: time 0.0004695/0.5715, allocations: 315.2 kB / 476.3 MB, free: 6.258 MB / 376.6 MB Notification: Performance of remove unused functions: time 0.001203/0.5727, allocations: 176 kB / 476.5 MB, free: 6.086 MB / 376.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 8.409e-05/0.5729, allocations: 73.55 kB / 476.5 MB, free: 6.012 MB / 376.6 MB Notification: Performance of simCode: created initialization part: time 0.00211/0.575, allocations: 1.05 MB / 477.6 MB, free: 4.953 MB / 376.6 MB Notification: Performance of simCode: created event and clocks part: time 3.701e-06/0.5751, allocations: 0 / 477.6 MB, free: 4.953 MB / 376.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001285/0.5765, allocations: 0.5863 MB / 478.2 MB, free: 4.359 MB / 376.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003233/0.5798, allocations: 0.6118 MB / 478.8 MB, free: 3.754 MB / 376.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004368/0.5842, allocations: 1.236 MB / 480 MB, free: 2.488 MB / 376.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008533/0.5929, allocations: 2.906 MB / 482.9 MB, free: 15.55 MB / 392.6 MB Notification: Performance of SimCode: time 2.933e-06/0.5931, allocations: 0 / 482.9 MB, free: 15.55 MB / 392.6 MB Notification: Performance of Templates: time 0.292/0.8852, allocations: 36.84 MB / 0.5076 GB, free: 148.7 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