Notification: Performance of loadModel(Modelica): time 1.53/1.53, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.219e-06/9.219e-06, allocations: 1.875 kB / 247.4 MB, free: 4.676 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05987/0.05994, allocations: 44.36 MB / 291.8 MB, free: 9.227 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2334/0.2934, allocations: 77.82 MB / 369.6 MB, free: 6.961 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/0.2937, allocations: 85.47 kB / 369.7 MB, free: 6.953 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.3109/0.6046, allocations: 113.2 MB / 482.9 MB, free: 0.5977 MB / 376.6 MB Notification: Performance of Transformations before backend: time 8.695e-05/0.6048, allocations: 35.94 kB / 482.9 MB, free: 0.5625 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.003728/0.6086, allocations: 1.556 MB / 484.4 MB, free: 14.95 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.6088, allocations: 8.031 kB / 484.5 MB, free: 14.94 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008392/0.6097, allocations: 170 kB / 484.6 MB, free: 14.77 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002706/0.6124, allocations: 1.073 MB / 485.7 MB, free: 13.66 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-05/0.6126, allocations: 44 kB / 485.7 MB, free: 13.62 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005811/0.6133, allocations: 68 kB / 485.8 MB, free: 13.55 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004574/0.6179, allocations: 1.82 MB / 487.6 MB, free: 11.73 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005325/0.6233, allocations: 1.999 MB / 489.6 MB, free: 9.699 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.429e-05/0.6234, allocations: 0 / 489.6 MB, free: 9.699 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003162/0.6238, allocations: 4 kB / 489.6 MB, free: 9.695 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.94e-05/0.6239, allocations: 31.94 kB / 489.7 MB, free: 9.664 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01122/0.6353, allocations: 4.478 MB / 494.1 MB, free: 5.141 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003843/0.6393, allocations: 1.721 MB / 495.9 MB, free: 3.402 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/0.6407, allocations: 0.7104 MB / 496.6 MB, free: 2.691 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002607/0.641, allocations: 13 kB / 496.6 MB, free: 2.68 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002221/0.6433, allocations: 1.287 MB / 497.9 MB, free: 1.379 MB / 392.6 MB Notification: Performance of pre-optimization done (n=120): time 6.984e-06/0.6434, allocations: 0 / 497.9 MB, free: 1.379 MB / 392.6 MB Notification: Performance of matching and sorting (n=120): time 0.1166/0.76, allocations: 1.801 MB / 499.7 MB, free: 150.8 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.7602, allocations: 93.27 kB / 499.8 MB, free: 150.7 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/0.7617, allocations: 0.8343 MB / 0.4889 GB, free: 150.6 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0005733/0.7624, allocations: 80.86 kB / 0.4889 GB, free: 150.6 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003327/0.7628, allocations: 341.7 kB / 0.4893 GB, free: 150.4 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005089/0.7633, allocations: 274.7 kB / 0.4895 GB, free: 150.3 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002581/0.7636, allocations: 3.469 kB / 0.4895 GB, free: 150.3 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.7639, allocations: 404.9 kB / 0.4899 GB, free: 150 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/0.7656, allocations: 0.8169 MB / 0.4907 GB, free: 150 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/0.7675, allocations: 0.963 MB / 0.4916 GB, free: 149.9 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001849/0.7694, allocations: 0.965 MB / 0.4926 GB, free: 149.9 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/0.7695, allocations: 6.703 kB / 0.4926 GB, free: 149.9 MB / 392.6 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.004574/0.7741, allocations: 2.199 MB / 0.4947 GB, free: 149.8 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.7742, allocations: 6.922 kB / 0.4948 GB, free: 149.8 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/0.7743, allocations: 5.812 kB / 0.4948 GB, free: 149.8 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.087e-05/0.7744, allocations: 13.44 kB / 0.4948 GB, free: 149.8 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006403/0.7751, allocations: 225.6 kB / 0.495 GB, free: 149.8 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/0.7752, allocations: 12.5 kB / 0.495 GB, free: 149.8 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.7769, allocations: 156.1 kB / 0.4951 GB, free: 149.8 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001043/0.778, allocations: 1.094 MB / 0.4962 GB, free: 149.7 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003153/0.7784, allocations: 112.8 kB / 0.4963 GB, free: 149.6 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000422/0.7789, allocations: 99.19 kB / 0.4964 GB, free: 149.6 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003268/0.7793, allocations: 114 kB / 0.4965 GB, free: 149.6 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.7793, allocations: 13.84 kB / 0.4965 GB, free: 149.5 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.7794, allocations: 0 / 0.4965 GB, free: 149.5 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/0.7795, allocations: 10.98 kB / 0.4965 GB, free: 149.5 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00297/0.7825, allocations: 1.53 MB / 0.498 GB, free: 149.4 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.7826, allocations: 2.438 kB / 0.498 GB, free: 149.4 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005943/0.7833, allocations: 192.5 kB / 0.4982 GB, free: 149.4 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.544e-05/0.7833, allocations: 6.062 kB / 0.4982 GB, free: 149.4 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003929/0.7838, allocations: 176.8 kB / 0.4984 GB, free: 149.4 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.94e-06/0.7838, allocations: 2.719 kB / 0.4984 GB, free: 149.4 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.26e-06/0.7839, allocations: 0 / 0.4984 GB, free: 149.4 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003741/0.7877, allocations: 1.882 MB / 0.5002 GB, free: 149.3 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001472/0.7893, allocations: 0.6229 MB / 0.5009 GB, free: 149.1 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007811/0.7901, allocations: 113.3 kB / 0.501 GB, free: 149.1 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/0.7917, allocations: 121.7 kB / 0.5011 GB, free: 149.1 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007617/0.7925, allocations: 300.6 kB / 0.5014 GB, free: 149.1 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001025/0.7936, allocations: 1.082 MB / 0.5024 GB, free: 149 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.0009443/0.7946, allocations: 0.5644 MB / 0.503 GB, free: 148.9 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.001782/0.7965, allocations: 270.5 kB / 0.5032 GB, free: 148.9 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 9.093e-05/0.7966, allocations: 77.47 kB / 0.5033 GB, free: 148.9 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.003616/0.8003, allocations: 1.902 MB / 0.5052 GB, free: 148.8 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.8004, allocations: 3.656 kB / 0.5052 GB, free: 148.8 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.00204/0.8025, allocations: 1.002 MB / 0.5061 GB, free: 148.8 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00484/0.8075, allocations: 0.8602 MB / 0.507 GB, free: 148.8 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006838/0.8144, allocations: 2.361 MB / 0.5093 GB, free: 148.4 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009072/0.8236, allocations: 3.809 MB / 0.513 GB, free: 146.1 MB / 392.6 MB Notification: Performance of SimCode: time 2.584e-06/0.8237, allocations: 0 / 0.513 GB, free: 146.1 MB / 392.6 MB Notification: Performance of Templates: time 0.091/0.9148, allocations: 54.53 MB / 0.5663 GB, free: 101.2 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