Notification: Performance of loadModel(Modelica): time 1.48/1.48, 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.429e-06, allocations: 1.219 kB / 247.3 MB, free: 4.73 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06097/0.06105, allocations: 44.37 MB / 291.7 MB, free: 9.312 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7972/0.8583, allocations: 437.2 MB / 0.7118 GB, free: 75.18 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.8586, allocations: 75.89 kB / 0.7119 GB, free: 75.11 MB / 392.6 MB Notification: Performance of FrontEnd: time 0.08185/0.9405, allocations: 24.24 MB / 0.7356 GB, free: 50.8 MB / 392.6 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.9407, allocations: 3.938 kB / 0.7356 GB, free: 50.8 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.0008695/0.9416, allocations: 446 kB / 0.736 GB, free: 50.32 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.9417, allocations: 12.03 kB / 0.736 GB, free: 50.31 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008482/0.9502, allocations: 0.5303 MB / 0.7365 GB, free: 49.78 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.849e-05/0.9504, allocations: 174.9 kB / 0.7367 GB, free: 49.57 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.9505, allocations: 0 / 0.7367 GB, free: 49.57 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.9507, allocations: 4 kB / 0.7367 GB, free: 49.56 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006777/0.9514, allocations: 227.9 kB / 0.7369 GB, free: 49.34 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.9517, allocations: 117.5 kB / 0.737 GB, free: 49.22 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.9518, allocations: 0 / 0.737 GB, free: 49.22 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.878e-05/0.9519, allocations: 0 / 0.737 GB, free: 49.22 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.356e-06/0.9519, allocations: 0 / 0.737 GB, free: 49.22 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.9532, allocations: 393.4 kB / 0.7374 GB, free: 48.8 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009063/0.9542, allocations: 165.6 kB / 0.7376 GB, free: 48.63 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.9544, allocations: 52.92 kB / 0.7376 GB, free: 48.57 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/0.9545, allocations: 7.938 kB / 0.7376 GB, free: 48.57 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.9546, allocations: 34.55 kB / 0.7376 GB, free: 48.52 MB / 392.6 MB Notification: Performance of pre-optimization done (n=13): time 3.771e-06/0.9547, allocations: 0 / 0.7376 GB, free: 48.52 MB / 392.6 MB Notification: Performance of matching and sorting (n=17): time 0.001488/0.9562, allocations: 293.4 kB / 0.7379 GB, free: 48.23 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.158e-05/0.9563, allocations: 55.41 kB / 0.738 GB, free: 48.16 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.356e-05/0.9564, allocations: 96.94 kB / 0.7381 GB, free: 48.06 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.9565, allocations: 25.7 kB / 0.7381 GB, free: 48.03 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 3.541e-05/0.9566, allocations: 103.9 kB / 0.7382 GB, free: 47.93 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 4.91e-05/0.9567, allocations: 47.2 kB / 0.7382 GB, free: 47.88 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.9568, allocations: 0 / 0.7382 GB, free: 47.88 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 5.105e-05/0.9569, allocations: 326.8 kB / 0.7385 GB, free: 47.55 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.9571, allocations: 56.36 kB / 0.7386 GB, free: 47.49 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.9573, allocations: 92.84 kB / 0.7387 GB, free: 47.39 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.9575, allocations: 55.97 kB / 0.7387 GB, free: 47.33 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.9576, allocations: 4 kB / 0.7387 GB, free: 47.33 MB / 392.6 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004622/0.9581, allocations: 200.3 kB / 0.7389 GB, free: 47.13 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.9581, allocations: 8 kB / 0.7389 GB, free: 47.12 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.451e-06/0.9582, allocations: 3.984 kB / 0.739 GB, free: 47.12 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.9583, allocations: 4 kB / 0.739 GB, free: 47.11 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005458/0.9589, allocations: 47.95 kB / 0.739 GB, free: 47.07 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.079e-06/0.959, allocations: 4 kB / 0.739 GB, free: 47.06 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003682/0.9594, allocations: 12.11 kB / 0.739 GB, free: 47.05 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/0.9595, allocations: 16 kB / 0.739 GB, free: 47.04 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 4.358e-05/0.9596, allocations: 75.28 kB / 0.7391 GB, free: 46.96 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-05/0.9597, allocations: 11.89 kB / 0.7391 GB, free: 46.95 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008251/0.9606, allocations: 233.8 kB / 0.7393 GB, free: 46.71 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.473e-06/0.9607, allocations: 8 kB / 0.7393 GB, free: 46.71 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.797e-06/0.9607, allocations: 7.938 kB / 0.7394 GB, free: 46.7 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/0.9608, allocations: 3.984 kB / 0.7394 GB, free: 46.7 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.962, allocations: 0.4886 MB / 0.7398 GB, free: 46.16 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.962, allocations: 4 kB / 0.7398 GB, free: 46.15 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004842/0.9626, allocations: 51.97 kB / 0.7399 GB, free: 46.1 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/0.9627, allocations: 3.984 kB / 0.7399 GB, free: 46.1 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.9627, allocations: 4 kB / 0.7399 GB, free: 46.09 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.098e-06/0.9628, allocations: 4 kB / 0.7399 GB, free: 46.09 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.12e-06/0.9629, allocations: 0 / 0.7399 GB, free: 46.09 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004629/0.9634, allocations: 308.4 kB / 0.7402 GB, free: 45.75 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.9635, allocations: 85.02 kB / 0.7403 GB, free: 45.65 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.434e-05/0.9636, allocations: 4 kB / 0.7403 GB, free: 45.65 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003854/0.964, allocations: 11.98 kB / 0.7403 GB, free: 45.64 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.9641, allocations: 19.92 kB / 0.7403 GB, free: 45.62 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.093e-05/0.9642, allocations: 11.98 kB / 0.7403 GB, free: 45.61 MB / 392.6 MB Notification: Performance of sort global known variables: time 3.192e-05/0.9643, allocations: 79.28 kB / 0.7404 GB, free: 45.53 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.0005437/0.9649, allocations: 67.98 kB / 0.7405 GB, free: 45.46 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0006578/0.9656, allocations: 0.5689 MB / 0.741 GB, free: 44.89 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.0003901/0.9661, allocations: 150.7 kB / 0.7412 GB, free: 44.74 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 3.631e-06/0.9662, allocations: 0 / 0.7412 GB, free: 44.74 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.9664, allocations: 79.92 kB / 0.7412 GB, free: 44.66 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/0.9669, allocations: 32.75 kB / 0.7413 GB, free: 44.63 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008187/0.9678, allocations: 181.4 kB / 0.7414 GB, free: 44.43 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004269/0.9683, allocations: 0.7512 MB / 0.7422 GB, free: 43.65 MB / 392.6 MB Notification: Performance of SimCode: time 2.305e-06/0.9683, allocations: 4 kB / 0.7422 GB, free: 43.64 MB / 392.6 MB Notification: Performance of Templates: time 0.03982/1.008, allocations: 6.161 MB / 0.7482 GB, free: 37.48 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Media.Examples.IdealGasH2O.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_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_-O1_Modelica.Media.Examples.IdealGasH2O.o Modelica_3.2.2_-O1_Modelica.Media.Examples.IdealGasH2O.c In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.IdealGasH2O.c:2: ./Modelica_3.2.2_-O1_Modelica.Media.Examples.IdealGasH2O_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Media_Examples_IdealGasH2O__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.IdealGasH2O_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Media_Examples_IdealGasH2O__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Media.Examples.IdealGasH2O.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_IdealGasH2O_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Media.Examples.IdealGasH2O.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_IdealGasH2O_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Media.Examples.IdealGasH2O.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Media.Examples.IdealGasH2O.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_IdealGasH2O_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Media.Examples.IdealGasH2O.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_IdealGasH2O_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Media.Examples.IdealGasH2O.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Media.Examples.IdealGasH2O.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_IdealGasH2O_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Media.Examples.IdealGasH2O.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_IdealGasH2O_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.IdealGasH2O.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_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_-O1_Modelica.Media.Examples.IdealGasH2O.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_IdealGasH2O_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.IdealGasH2O.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Media_Examples_IdealGasH2O_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.IdealGasH2O.c:588: ./Modelica_3.2.2_-O1_Modelica.Media.Examples.IdealGasH2O_12jac.h:7:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O1_Modelica_Media_Examples_IdealGasH2O_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.IdealGasH2O_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Media_Examples_IdealGasH2O_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.IdealGasH2O_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O1_Modelica.Media.Examples.IdealGasH2O_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Media_Examples_IdealGasH2O_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.IdealGasH2O_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Media_Examples_IdealGasH2O_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.IdealGasH2O_12jac.h:18:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O1_Modelica_Media_Examples_IdealGasH2O_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.IdealGasH2O_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Media_Examples_IdealGasH2O_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.IdealGasH2O_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Media_Examples_IdealGasH2O_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.IdealGasH2O_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Media_Examples_IdealGasH2O_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.IdealGasH2O_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Media_Examples_IdealGasH2O_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.IdealGasH2O_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Media_Examples_IdealGasH2O_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.IdealGasH2O_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Media_Examples_IdealGasH2O_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.IdealGasH2O_12jac.h:29:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O1_Modelica_Media_Examples_IdealGasH2O_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.IdealGasH2O_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Media_Examples_IdealGasH2O_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.IdealGasH2O_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Media_Examples_IdealGasH2O_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.IdealGasH2O_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Media_Examples_IdealGasH2O_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.IdealGasH2O_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_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_-O1_Modelica.Media.Examples.IdealGasH2O.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Media.Examples.IdealGasH2O.o] Error 1