Notification: Performance of loadModel(Modelica): time 1.492/1.492, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.676e-05/1.683e-05, allocations: 2.344 kB / 247.6 MB, free: 4.461 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08442/0.0846, allocations: 44.36 MB / 292 MB, free: 8.996 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2517/0.3364, allocations: 80.58 MB / 372.6 MB, free: 7.066 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/0.3368, allocations: 75.78 kB / 372.6 MB, free: 7.062 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.5324/0.8693, allocations: 137.3 MB / 0.498 GB, free: 90.03 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0001572/0.8696, allocations: 73.91 kB / 0.4981 GB, free: 90.03 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.008065/0.8777, allocations: 4.351 MB / 0.5023 GB, free: 87.87 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.8778, allocations: 7.062 kB / 0.5023 GB, free: 87.87 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/0.8793, allocations: 0.5448 MB / 0.5028 GB, free: 87.59 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004624/0.8841, allocations: 1.937 MB / 0.5047 GB, free: 86.91 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000222/0.8844, allocations: 75.06 kB / 0.5048 GB, free: 86.91 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006615/0.8851, allocations: 103.2 kB / 0.5049 GB, free: 86.91 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003547/0.8887, allocations: 1.242 MB / 0.5061 GB, free: 86.9 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005527/0.8943, allocations: 1.813 MB / 0.5079 GB, free: 86.82 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.401e-05/0.8945, allocations: 0 / 0.5079 GB, free: 86.82 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003606/0.8949, allocations: 41.86 kB / 0.5079 GB, free: 86.82 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.64e-05/0.895, allocations: 26.19 kB / 0.508 GB, free: 86.82 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01394/0.909, allocations: 5.538 MB / 0.5134 GB, free: 85.98 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002705/0.9118, allocations: 1.189 MB / 0.5145 GB, free: 85.95 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002001/0.9139, allocations: 0.947 MB / 0.5155 GB, free: 85.94 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000139/0.9141, allocations: 7.906 kB / 0.5155 GB, free: 85.94 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003241/0.9174, allocations: 2.21 MB / 0.5176 GB, free: 84.88 MB / 392.6 MB Notification: Performance of pre-optimization done (n=177): time 5.867e-06/0.9175, allocations: 0 / 0.5176 GB, free: 84.88 MB / 392.6 MB Notification: Performance of matching and sorting (n=177): time 0.005345/0.9229, allocations: 2.324 MB / 0.5199 GB, free: 84.53 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003174/0.9233, allocations: 0.825 MB / 0.5207 GB, free: 83.69 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01437/0.9377, allocations: 5.938 MB / 0.5265 GB, free: 82.18 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0006559/0.9385, allocations: 98.27 kB / 0.5266 GB, free: 82.14 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004623/0.939, allocations: 368.9 kB / 0.5269 GB, free: 81.95 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008245/0.9399, allocations: 381.3 kB / 0.5273 GB, free: 81.78 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002715/0.9402, allocations: 31.38 kB / 0.5273 GB, free: 81.78 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.9404, allocations: 376.8 kB / 0.5277 GB, free: 81.47 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002064/0.9426, allocations: 0.7588 MB / 0.5284 GB, free: 81.46 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002274/0.9449, allocations: 0.9369 MB / 0.5293 GB, free: 81.31 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001832/0.9469, allocations: 0.6922 MB / 0.53 GB, free: 81.29 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/0.947, allocations: 0 / 0.53 GB, free: 81.29 MB / 392.6 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.005649/0.9527, allocations: 2.164 MB / 0.5321 GB, free: 81.14 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.9528, allocations: 3.875 kB / 0.5321 GB, free: 81.14 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.9528, allocations: 7.969 kB / 0.5321 GB, free: 81.13 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.143e-05/0.9529, allocations: 7.812 kB / 0.5322 GB, free: 81.13 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.9533, allocations: 109.3 kB / 0.5323 GB, free: 81.13 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.9533, allocations: 11.66 kB / 0.5323 GB, free: 81.13 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003242/0.9566, allocations: 257.5 kB / 0.5325 GB, free: 81.09 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001137/0.9579, allocations: 0.9594 MB / 0.5335 GB, free: 81.03 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.001069/0.959, allocations: 0.9794 MB / 0.5344 GB, free: 80.18 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009617/0.9601, allocations: 0.5201 MB / 0.5349 GB, free: 79.91 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003189/0.9633, allocations: 0.9162 MB / 0.5358 GB, free: 79.45 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.9634, allocations: 15.44 kB / 0.5358 GB, free: 79.45 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.9635, allocations: 3.938 kB / 0.5358 GB, free: 79.45 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.9635, allocations: 0 / 0.5358 GB, free: 79.45 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009555/0.9732, allocations: 3.735 MB / 0.5395 GB, free: 78.63 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.9733, allocations: 0 / 0.5395 GB, free: 78.63 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.9736, allocations: 84.48 kB / 0.5396 GB, free: 78.63 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.987e-06/0.9736, allocations: 3.125 kB / 0.5396 GB, free: 78.63 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007058/0.9744, allocations: 207.8 kB / 0.5398 GB, free: 78.63 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.076e-06/0.9745, allocations: 7.156 kB / 0.5398 GB, free: 78.62 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.308e-06/0.9745, allocations: 0 / 0.5398 GB, free: 78.62 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006502/0.9811, allocations: 2.702 MB / 0.5424 GB, free: 78.23 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.009729/0.9909, allocations: 4.23 MB / 0.5465 GB, free: 75.6 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001713/0.9927, allocations: 180.9 kB / 0.5467 GB, free: 75.52 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00316/0.996, allocations: 212.1 kB / 0.5469 GB, free: 75.5 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001027/0.9971, allocations: 301.6 kB / 0.5472 GB, free: 75.41 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001542/0.9988, allocations: 1.001 MB / 0.5482 GB, free: 75.33 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.01267/1.012, allocations: 4.828 MB / 0.5529 GB, free: 72.93 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002839/1.014, allocations: 0.4909 MB / 0.5534 GB, free: 72.73 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 8.046e-05/1.015, allocations: 69.55 kB / 0.5534 GB, free: 72.66 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.005293/1.02, allocations: 2.822 MB / 0.5562 GB, free: 69.8 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 5.587e-06/1.02, allocations: 192 / 0.5562 GB, free: 69.8 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.004573/1.025, allocations: 2.948 MB / 0.5591 GB, free: 66.79 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006014/1.031, allocations: 1.041 MB / 0.5601 GB, free: 66.01 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02043/1.051, allocations: 8.015 MB / 0.5679 GB, free: 58.41 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01129/1.063, allocations: 4.253 MB / 0.5721 GB, free: 54.73 MB / 392.6 MB Notification: Performance of SimCode: time 2.654e-06/1.063, allocations: 0 / 0.5721 GB, free: 54.73 MB / 392.6 MB Notification: Performance of Templates: time 0.2098/1.273, allocations: 51.54 MB / 0.6224 GB, free: 6.156 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4.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_Adder4 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4.o Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Adder4__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Adder4__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4.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.Adder4.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Adder4_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4.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.Adder4.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Adder4_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4.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.Adder4.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Adder4_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.Adder4.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Adder4_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4.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.Adder4.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Adder4_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4.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.Adder4.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Adder4_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.Adder4.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Adder4_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4.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.Adder4.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Adder4_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4.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_Adder4_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.Adder4.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Adder4_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Adder4_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4.c:3071: ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4_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_Adder4_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Adder4_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Adder4_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Adder4_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4_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_Adder4_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Adder4_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Adder4_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Adder4_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Adder4_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Adder4_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Adder4_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4_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_Adder4_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Adder4_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Adder4_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Adder4_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_Adder4_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.Adder4.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.Adder4.o] Error 1