[:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(SolarTherm): time 1.498/1.498, allocations: 179.3 MB / 186.3 MB, free: 10.74 MB / 152.6 MB Notification: Performance of FrontEnd - loaded program: time 6.689e-06/6.707e-06, allocations: 0 / 228.9 MB, free: 0.6758 MB / 184.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06808/0.06811, allocations: 40.47 MB / 269.4 MB, free: 8.121 MB / 232.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2117/0.2798, allocations: 71.44 MB / 340.9 MB, free: 4.047 MB / 280.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.2801, allocations: 79.95 kB / 340.9 MB, free: 3.969 MB / 280.6 MB Notification: Performance of FrontEnd: time 0.01839/0.2985, allocations: 3.588 MB / 344.5 MB, free: 404 kB / 280.6 MB Notification: Performance of Transformations before backend: time 5.444e-06/0.2986, allocations: 3.938 kB / 344.5 MB, free: 400 kB / 280.6 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003153/0.2989, allocations: 342.3 kB / 344.9 MB, free: 12 kB / 280.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.299, allocations: 8.031 kB / 344.9 MB, free: 4 kB / 280.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.228e-05/0.299, allocations: 9.172 kB / 344.9 MB, free: 15.99 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.2992, allocations: 167.1 kB / 345 MB, free: 15.79 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.2992, allocations: 0 / 345 MB, free: 15.79 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.2992, allocations: 4 kB / 345 MB, free: 15.79 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.349e-05/0.2993, allocations: 4 kB / 345 MB, free: 15.78 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.866e-05/0.2994, allocations: 47.42 kB / 345.1 MB, free: 15.72 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.2994, allocations: 3.984 kB / 345.1 MB, free: 15.72 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.2994, allocations: 3.906 kB / 345.1 MB, free: 15.71 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.896e-06/0.2995, allocations: 7.938 kB / 345.1 MB, free: 15.71 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.2998, allocations: 303.8 kB / 345.4 MB, free: 15.37 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 7.208e-05/0.2999, allocations: 49.14 kB / 345.5 MB, free: 15.3 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.098e-05/0.2999, allocations: 17.78 kB / 345.5 MB, free: 15.28 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004866/0.3004, allocations: 210.2 kB / 345.7 MB, free: 15.04 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.3005, allocations: 36.06 kB / 345.7 MB, free: 15 MB / 296.6 MB Notification: Performance of pre-optimization done (n=3): time 1.936e-06/0.3005, allocations: 0 / 345.7 MB, free: 15 MB / 296.6 MB Notification: Performance of matching and sorting (n=3): time 0.0005167/0.301, allocations: 65.62 kB / 345.8 MB, free: 14.93 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.3011, allocations: 81.05 kB / 345.9 MB, free: 14.83 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.307e-05/0.3012, allocations: 101 kB / 346 MB, free: 14.72 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.3012, allocations: 25.7 kB / 346 MB, free: 14.69 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 4.781e-05/0.3013, allocations: 92.05 kB / 346.1 MB, free: 14.6 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 1.219e-05/0.3013, allocations: 7.906 kB / 346.1 MB, free: 14.59 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.3013, allocations: 3.938 kB / 346.1 MB, free: 14.59 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.3014, allocations: 322.7 kB / 346.4 MB, free: 14.26 MB / 296.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/0.3015, allocations: 0 / 346.4 MB, free: 14.26 MB / 296.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.933e-05/0.3015, allocations: 17.72 kB / 346.4 MB, free: 14.24 MB / 296.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.3018, allocations: 31.92 kB / 346.4 MB, free: 14.21 MB / 296.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.162e-06/0.3018, allocations: 4.031 kB / 346.4 MB, free: 14.2 MB / 296.6 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003867/0.3022, allocations: 77.55 kB / 346.5 MB, free: 14.12 MB / 296.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3023, allocations: 4 kB / 346.5 MB, free: 14.12 MB / 296.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.3023, allocations: 0 / 346.5 MB, free: 14.12 MB / 296.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.3023, allocations: 4 kB / 346.5 MB, free: 14.11 MB / 296.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.353e-05/0.3024, allocations: 0 / 346.5 MB, free: 14.11 MB / 296.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.3024, allocations: 0.9375 kB / 346.5 MB, free: 14.11 MB / 296.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.945e-05/0.3024, allocations: 3.906 kB / 346.5 MB, free: 14.11 MB / 296.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.887e-06/0.3024, allocations: 4.25 kB / 346.5 MB, free: 14.11 MB / 296.6 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.393e-05/0.3025, allocations: 109 kB / 346.6 MB, free: 13.99 MB / 296.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.155e-05/0.3026, allocations: 7.906 kB / 346.7 MB, free: 13.98 MB / 296.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004147/0.303, allocations: 76.86 kB / 346.7 MB, free: 13.9 MB / 296.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.326e-06/0.3031, allocations: 4 kB / 346.7 MB, free: 13.89 MB / 296.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.93e-06/0.3031, allocations: 0 / 346.7 MB, free: 13.89 MB / 296.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.01e-06/0.3031, allocations: 0 / 346.7 MB, free: 13.89 MB / 296.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.3034, allocations: 247.1 kB / 347 MB, free: 13.61 MB / 296.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.654e-06/0.3034, allocations: 8.906 kB / 347 MB, free: 13.6 MB / 296.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.819e-05/0.3035, allocations: 0 / 347 MB, free: 13.6 MB / 296.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.267e-06/0.3035, allocations: 0 / 347 MB, free: 13.6 MB / 296.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.348e-06/0.3035, allocations: 4 kB / 347 MB, free: 13.6 MB / 296.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.347e-06/0.3035, allocations: 0 / 347 MB, free: 13.6 MB / 296.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.092e-06/0.3035, allocations: 0 / 347 MB, free: 13.6 MB / 296.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004622/0.304, allocations: 264.3 kB / 347.2 MB, free: 13.32 MB / 296.6 MB Notification: Performance of postOpt removeConstants (simulation): time 4.273e-05/0.304, allocations: 81.11 kB / 347.3 MB, free: 13.22 MB / 296.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.3041, allocations: 0 / 347.3 MB, free: 13.22 MB / 296.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.3042, allocations: 4.469 kB / 347.3 MB, free: 13.21 MB / 296.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.334e-05/0.3042, allocations: 3.984 kB / 347.3 MB, free: 13.21 MB / 296.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.237e-06/0.3042, allocations: 4 kB / 347.3 MB, free: 13.21 MB / 296.6 MB Notification: Performance of sort global known variables: time 4.598e-05/0.3043, allocations: 79.28 kB / 347.4 MB, free: 13.13 MB / 296.6 MB Notification: Performance of remove unused functions: time 0.000427/0.3047, allocations: 31.88 kB / 347.4 MB, free: 13.1 MB / 296.6 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000221/0.305, allocations: 139.2 kB / 347.6 MB, free: 12.95 MB / 296.6 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.3051, allocations: 41.58 kB / 347.6 MB, free: 12.91 MB / 296.6 MB Notification: Performance of simCode: created event and clocks part: time 1.936e-06/0.3051, allocations: 0 / 347.6 MB, free: 12.91 MB / 296.6 MB Notification: Performance of simCode: created simulation system equations: time 3.448e-05/0.3051, allocations: 33.7 kB / 347.7 MB, free: 12.87 MB / 296.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.3054, allocations: 0 / 347.7 MB, free: 12.87 MB / 296.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002129/0.3056, allocations: 69.86 kB / 347.7 MB, free: 12.77 MB / 296.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003198/0.3059, allocations: 0.6921 MB / 348.4 MB, free: 12.05 MB / 296.6 MB Notification: Performance of SimCode: time 2.296e-06/0.306, allocations: 0 / 348.4 MB, free: 12.05 MB / 296.6 MB Notification: Performance of Templates: time 0.002837/0.3088, allocations: 496.5 kB / 348.9 MB, free: 11.58 MB / 296.6 MB make -j1 -f SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun.makefile clang -fPIC -O0 -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=SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun -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 SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun.o SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun.c In file included from SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun.c:2: ./SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun_model.h:2:32: error: missing ')' after 'defined' #if !defined(SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun__MODEL_H) ^ ./SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun_model.h:2:13: note: to match this '(' #if !defined(SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun__MODEL_H) ^ In file included from SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun.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) ^ SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun_updateContinuousSystem ^ In file included from SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun.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 SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun.c:5:63: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun_updateContinuousSystem ^ In file included from SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun.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 'SolarTherm_alberto' follows static declaration int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun_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) ^ SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun_updateContinuousSystem ^ In file included from SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun.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) ^ SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun.c:4:58: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun_performSimulation ^ In file included from SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun.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 'SolarTherm_alberto' follows static declaration int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun_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) ^ SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun_updateContinuousSystem ^ In file included from SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun.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) ^ SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun.c:8:61: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun_performQSSSimulation ^ SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun.c:18:23: error: expected ';' after top level declarator int SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun.c:145: ./SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun_12jac.h:7:29: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun_INDEX_JAC_A 3 ^ ./SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun_12jac.h:8:7: error: expected identifier or '(' int SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun_functionJacA_column(void* data, threadData_t *threadData); ^ ./SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun_12jac.h:7:29: note: expanded from macro 'SolarTherm_alberto' ./SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun_12jac.h:9:7: error: expected identifier or '(' int SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun_12jac.h:7:29: note: expanded from macro 'SolarTherm_alberto' #define SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun_INDEX_JAC_A 3 ^ ./SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun_12jac.h:18:29: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun_INDEX_JAC_B 2 ^ ./SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun_12jac.h:18:11: warning: 'SolarTherm_alberto' macro redefined [-Wmacro-redefined] #define SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun_INDEX_JAC_B 2 ^ ./SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun_12jac.h:7:11: note: previous definition is here #define SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun_INDEX_JAC_A 3 ^ ./SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun_12jac.h:19:7: error: expected identifier or '(' int SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun_functionJacB_column(void* data, threadData_t *threadData); ^ ./SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun_12jac.h:18:29: note: expanded from macro 'SolarTherm_alberto' #define SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun_INDEX_JAC_B 2 ^ ./SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun_12jac.h:20:7: error: expected identifier or '(' int SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun_12jac.h:18:29: note: expanded from macro 'SolarTherm_alberto' #define SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun_INDEX_JAC_B 2 ^ ./SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun_12jac.h:29:29: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun_INDEX_JAC_C 1 ^ ./SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun_12jac.h:29:11: warning: 'SolarTherm_alberto' macro redefined [-Wmacro-redefined] #define SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun_INDEX_JAC_C 1 ^ ./SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun_12jac.h:18:11: note: previous definition is here #define SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun_INDEX_JAC_B 2 ^ ./SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun_12jac.h:30:7: error: expected identifier or '(' int SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun_functionJacC_column(void* data, threadData_t *threadData); ^ ./SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun_12jac.h:29:29: note: expanded from macro 'SolarTherm_alberto' #define SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun_INDEX_JAC_C 1 ^ ./SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun_12jac.h:31:7: error: expected identifier or '(' int SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun_initialAnalyticJacobianC(void* data, threadData_t *threadData); ^ ./SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun_12jac.h:29:29: note: expanded from macro 'SolarTherm_alberto' #define SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun_INDEX_JAC_C 1 ^ ./SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun_12jac.h:40:29: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun_INDEX_JAC_D 0 ^ ./SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun_12jac.h:40:11: warning: 'SolarTherm_alberto' macro redefined [-Wmacro-redefined] #define SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun_INDEX_JAC_D 0 ^ ./SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun_12jac.h:29:11: note: previous definition is here #define SolarTherm_alberto-merge_SolarTherm_Models_Sources_SolarModel_Sun_INDEX_JAC_C 1 ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 13 warnings and 20 errors generated. : recipe for target 'SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun.o' failed make: *** [SolarTherm_alberto-merge_SolarTherm.Models.Sources.SolarModel.Sun.o] Error 1