Notification: Performance of loadModel(Modelica): time 1.547/1.547, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.241e-06/8.311e-06, allocations: 1.438 kB / 247.3 MB, free: 4.742 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06264/0.06272, allocations: 44.36 MB / 291.7 MB, free: 9.32 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8059/0.8687, allocations: 437.2 MB / 0.7118 GB, free: 75.11 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001772/0.869, allocations: 75.95 kB / 0.7119 GB, free: 75.04 MB / 392.6 MB Notification: Performance of FrontEnd: time 0.08263/0.9517, allocations: 24.25 MB / 0.7356 GB, free: 50.73 MB / 392.6 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.9519, allocations: 0 / 0.7356 GB, free: 50.73 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.0009704/0.9529, allocations: 446.1 kB / 0.736 GB, free: 50.25 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.953, allocations: 8.031 kB / 0.736 GB, free: 50.24 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008377/0.9614, allocations: 0.5342 MB / 0.7365 GB, free: 49.71 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.422e-05/0.9616, allocations: 166.9 kB / 0.7367 GB, free: 49.5 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.9617, allocations: 4 kB / 0.7367 GB, free: 49.5 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.9619, allocations: 8 kB / 0.7367 GB, free: 49.49 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006573/0.9626, allocations: 223.9 kB / 0.7369 GB, free: 49.27 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.9629, allocations: 113.5 kB / 0.737 GB, free: 49.16 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.963, allocations: 0 / 0.737 GB, free: 49.16 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.9631, allocations: 0 / 0.737 GB, free: 49.16 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.101e-06/0.9631, allocations: 4 kB / 0.737 GB, free: 49.15 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.9644, allocations: 401.3 kB / 0.7374 GB, free: 48.72 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009195/0.9654, allocations: 149.6 kB / 0.7375 GB, free: 48.57 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.9656, allocations: 64.88 kB / 0.7376 GB, free: 48.5 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.9657, allocations: 4 kB / 0.7376 GB, free: 48.5 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.9658, allocations: 30.56 kB / 0.7376 GB, free: 48.46 MB / 392.6 MB Notification: Performance of pre-optimization done (n=13): time 3.562e-06/0.9658, allocations: 0 / 0.7376 GB, free: 48.46 MB / 392.6 MB Notification: Performance of matching and sorting (n=17): time 0.001439/0.9673, allocations: 305.8 kB / 0.7379 GB, free: 48.16 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.942e-05/0.9674, allocations: 55.41 kB / 0.738 GB, free: 48.09 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.363e-05/0.9676, allocations: 93 kB / 0.7381 GB, free: 47.99 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.9676, allocations: 25.7 kB / 0.7381 GB, free: 47.96 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/0.9677, allocations: 95.89 kB / 0.7382 GB, free: 47.86 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 5.294e-05/0.9678, allocations: 59.19 kB / 0.7382 GB, free: 47.8 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.9679, allocations: 0 / 0.7382 GB, free: 47.8 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 5.259e-05/0.968, allocations: 318.8 kB / 0.7386 GB, free: 47.48 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.9682, allocations: 56.36 kB / 0.7386 GB, free: 47.43 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.9684, allocations: 96.84 kB / 0.7387 GB, free: 47.32 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.9687, allocations: 59.97 kB / 0.7388 GB, free: 47.26 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.9687, allocations: 0 / 0.7388 GB, free: 47.26 MB / 392.6 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004678/0.9692, allocations: 200.1 kB / 0.7389 GB, free: 47.06 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.9693, allocations: 7.984 kB / 0.739 GB, free: 47.05 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.66e-06/0.9694, allocations: 4 kB / 0.739 GB, free: 47.05 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.9695, allocations: 0 / 0.739 GB, free: 47.05 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005551/0.9701, allocations: 51.89 kB / 0.739 GB, free: 47 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.661e-06/0.9701, allocations: 7.984 kB / 0.739 GB, free: 46.99 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.9706, allocations: 11.98 kB / 0.739 GB, free: 46.98 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.847e-05/0.9707, allocations: 12.12 kB / 0.739 GB, free: 46.96 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 4.617e-05/0.9708, allocations: 79.28 kB / 0.7391 GB, free: 46.89 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.159e-05/0.9709, allocations: 11.84 kB / 0.7391 GB, free: 46.88 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008211/0.9718, allocations: 237.9 kB / 0.7394 GB, free: 46.64 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.517e-06/0.9719, allocations: 4 kB / 0.7394 GB, free: 46.63 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.797e-06/0.9719, allocations: 0 / 0.7394 GB, free: 46.63 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-06/0.972, allocations: 3.984 kB / 0.7394 GB, free: 46.63 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.9731, allocations: 0.4934 MB / 0.7398 GB, free: 46.09 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.47e-06/0.9732, allocations: 0 / 0.7398 GB, free: 46.09 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005073/0.9738, allocations: 43.91 kB / 0.7399 GB, free: 46.04 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/0.9739, allocations: 4 kB / 0.7399 GB, free: 46.04 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.974, allocations: 12.05 kB / 0.7399 GB, free: 46.03 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.191e-06/0.974, allocations: 4 kB / 0.7399 GB, free: 46.02 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.54e-06/0.9741, allocations: 0 / 0.7399 GB, free: 46.02 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004625/0.9746, allocations: 313 kB / 0.7402 GB, free: 45.68 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/0.9747, allocations: 85.02 kB / 0.7403 GB, free: 45.58 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.552e-05/0.9748, allocations: 4 kB / 0.7403 GB, free: 45.58 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003969/0.9753, allocations: 15.98 kB / 0.7403 GB, free: 45.56 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.9754, allocations: 7.984 kB / 0.7403 GB, free: 45.55 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.135e-05/0.9755, allocations: 15.98 kB / 0.7403 GB, free: 45.54 MB / 392.6 MB Notification: Performance of sort global known variables: time 3.304e-05/0.9755, allocations: 79.28 kB / 0.7404 GB, free: 45.46 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.0006201/0.9762, allocations: 59.98 kB / 0.7405 GB, free: 45.4 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0006828/0.977, allocations: 0.5798 MB / 0.741 GB, free: 44.82 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.0004201/0.9775, allocations: 150.7 kB / 0.7412 GB, free: 44.67 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.9775, allocations: 4.25 kB / 0.7412 GB, free: 44.67 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.9778, allocations: 79.92 kB / 0.7412 GB, free: 44.59 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.9783, allocations: 31.88 kB / 0.7413 GB, free: 44.56 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008118/0.9791, allocations: 173.6 kB / 0.7414 GB, free: 44.36 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004341/0.9797, allocations: 0.7473 MB / 0.7422 GB, free: 43.59 MB / 392.6 MB Notification: Performance of SimCode: time 2.096e-06/0.9797, allocations: 0 / 0.7422 GB, free: 43.59 MB / 392.6 MB Notification: Performance of Templates: time 0.0437/1.023, allocations: 6.158 MB / 0.7482 GB, free: 37.42 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O.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_Media_Examples_IdealGasH2O -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_-O2_Modelica.Media.Examples.IdealGasH2O.o Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O.c In file included from Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O.c:2: ./Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Media_Examples_IdealGasH2O__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Media_Examples_IdealGasH2O__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O.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.Media.Examples.IdealGasH2O.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Media_Examples_IdealGasH2O_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O.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.Media.Examples.IdealGasH2O.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Media_Examples_IdealGasH2O_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O.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.Media.Examples.IdealGasH2O.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Media_Examples_IdealGasH2O_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.Media.Examples.IdealGasH2O.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Media_Examples_IdealGasH2O_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O.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.Media.Examples.IdealGasH2O.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Media_Examples_IdealGasH2O_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O.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.Media.Examples.IdealGasH2O.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Media_Examples_IdealGasH2O_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.Media.Examples.IdealGasH2O.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Media_Examples_IdealGasH2O_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O.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.Media.Examples.IdealGasH2O.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Media_Examples_IdealGasH2O_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Media_Examples_IdealGasH2O_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.Media.Examples.IdealGasH2O.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Media_Examples_IdealGasH2O_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Media_Examples_IdealGasH2O_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O.c:588: ./Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O_12jac.h:7:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O2_Modelica_Media_Examples_IdealGasH2O_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Media_Examples_IdealGasH2O_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Media_Examples_IdealGasH2O_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Media_Examples_IdealGasH2O_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O_12jac.h:18:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O2_Modelica_Media_Examples_IdealGasH2O_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Media_Examples_IdealGasH2O_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Media_Examples_IdealGasH2O_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Media_Examples_IdealGasH2O_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Media_Examples_IdealGasH2O_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Media_Examples_IdealGasH2O_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Media_Examples_IdealGasH2O_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O_12jac.h:29:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O2_Modelica_Media_Examples_IdealGasH2O_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Media_Examples_IdealGasH2O_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Media_Examples_IdealGasH2O_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Media_Examples_IdealGasH2O_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Media_Examples_IdealGasH2O_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.Media.Examples.IdealGasH2O.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Media.Examples.IdealGasH2O.o] Error 1