Notification: Performance of loadModel(Modelica): time 1.651/1.651, allocations: 194.5 MB / 200.7 MB, free: 5.156 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.013e-05/1.02e-05, allocations: 1.031 kB / 247.5 MB, free: 4.637 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06001/0.06009, allocations: 44.36 MB / 291.8 MB, free: 9.191 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.291/1.351, allocations: 0.7068 GB / 0.9918 GB, free: 95.62 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/1.351, allocations: 95.86 kB / 0.9919 GB, free: 95.54 MB / 392.6 MB Notification: Performance of FrontEnd: time 2.248/3.6, allocations: 0.5553 GB / 1.547 GB, free: 67.3 MB / 408.6 MB Notification: Performance of Transformations before backend: time 3.436e-05/3.6, allocations: 12.81 kB / 1.547 GB, free: 67.3 MB / 408.6 MB Notification: Performance of Generate backend data structure: time 0.002007/3.602, allocations: 0.9558 MB / 1.548 GB, free: 66.93 MB / 408.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/3.602, allocations: 9.844 kB / 1.548 GB, free: 66.93 MB / 408.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009364/3.603, allocations: 147.5 kB / 1.548 GB, free: 66.89 MB / 408.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008583/3.604, allocations: 487.1 kB / 1.549 GB, free: 66.68 MB / 408.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/3.604, allocations: 21.94 kB / 1.549 GB, free: 66.68 MB / 408.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/3.604, allocations: 41.34 kB / 1.549 GB, free: 66.68 MB / 408.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001508/3.606, allocations: 0.819 MB / 1.55 GB, free: 66.68 MB / 408.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/3.607, allocations: 0.8343 MB / 1.55 GB, free: 66.62 MB / 408.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.283e-05/3.608, allocations: 0 / 1.55 GB, free: 66.62 MB / 408.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/3.608, allocations: 2.312 kB / 1.55 GB, free: 66.62 MB / 408.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/3.608, allocations: 25.12 kB / 1.55 GB, free: 66.62 MB / 408.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005714/3.614, allocations: 3.254 MB / 1.554 GB, free: 65.14 MB / 408.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006907/3.614, allocations: 438.6 kB / 1.554 GB, free: 65.12 MB / 408.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005351/3.615, allocations: 339 kB / 1.554 GB, free: 65.11 MB / 408.6 MB Notification: Performance of preOpt evalFunc (simulation): time 6.027e-05/3.615, allocations: 20.2 kB / 1.554 GB, free: 65.11 MB / 408.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/3.615, allocations: 48.09 kB / 1.554 GB, free: 65.07 MB / 408.6 MB Notification: Performance of pre-optimization done (n=59): time 4.121e-06/3.615, allocations: 0 / 1.554 GB, free: 65.07 MB / 408.6 MB Notification: Performance of matching and sorting (n=71): time 0.01059/3.626, allocations: 3.136 MB / 1.557 GB, free: 64.43 MB / 408.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/3.626, allocations: 60.5 kB / 1.558 GB, free: 64.36 MB / 408.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004234/3.626, allocations: 326.4 kB / 1.558 GB, free: 64.26 MB / 408.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001018/3.627, allocations: 28.98 kB / 1.558 GB, free: 64.23 MB / 408.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/3.627, allocations: 262.4 kB / 1.558 GB, free: 64.08 MB / 408.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/3.627, allocations: 242.3 kB / 1.558 GB, free: 63.95 MB / 408.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.628e-05/3.627, allocations: 0 / 1.558 GB, free: 63.95 MB / 408.6 MB Notification: Performance of setup shared object (initialization): time 9.1e-05/3.627, allocations: 362.1 kB / 1.559 GB, free: 63.64 MB / 408.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007954/3.628, allocations: 433.6 kB / 1.559 GB, free: 63.64 MB / 408.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008513/3.629, allocations: 0.5047 MB / 1.56 GB, free: 63.58 MB / 408.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009145/3.63, allocations: 0.4911 MB / 1.56 GB, free: 63.57 MB / 408.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.051e-06/3.63, allocations: 0 / 1.56 GB, free: 63.57 MB / 408.6 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002771/3.633, allocations: 1.326 MB / 1.561 GB, free: 63.44 MB / 408.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/3.633, allocations: 3.906 kB / 1.561 GB, free: 63.44 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/3.633, allocations: 0 / 1.561 GB, free: 63.44 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000855/3.634, allocations: 335.5 kB / 1.562 GB, free: 63.38 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/3.635, allocations: 179.1 kB / 1.562 GB, free: 63.38 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007287/3.643, allocations: 9.798 MB / 1.571 GB, free: 54.52 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009745/3.644, allocations: 66.94 kB / 1.572 GB, free: 54.52 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/3.644, allocations: 51.58 kB / 1.572 GB, free: 54.52 MB / 408.6 MB Warning: There are iteration variables with default zero start attribute. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). Notification: Performance of prepare postOptimizeDAE: time 0.0002024/3.644, allocations: 79.16 kB / 1.572 GB, free: 54.45 MB / 408.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/3.644, allocations: 50.09 kB / 1.572 GB, free: 54.42 MB / 408.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002941/3.647, allocations: 1.276 MB / 1.573 GB, free: 54.29 MB / 408.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/3.648, allocations: 7.156 kB / 1.573 GB, free: 54.29 MB / 408.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/3.648, allocations: 0 / 1.573 GB, free: 54.29 MB / 408.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001931/3.65, allocations: 1.575 MB / 1.574 GB, free: 53.46 MB / 408.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003874/3.654, allocations: 2.137 MB / 1.577 GB, free: 53.12 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.845e-06/3.654, allocations: 0 / 1.577 GB, free: 53.12 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/3.655, allocations: 224.7 kB / 1.577 GB, free: 53.12 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002507/3.656, allocations: 70.73 kB / 1.577 GB, free: 53.11 MB / 408.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.687e-05/3.656, allocations: 32.67 kB / 1.577 GB, free: 53.11 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/3.657, allocations: 1.44 MB / 1.578 GB, free: 51.91 MB / 408.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/3.657, allocations: 0.8438 kB / 1.578 GB, free: 51.91 MB / 408.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002813/3.66, allocations: 1.57 MB / 1.58 GB, free: 51.65 MB / 408.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/3.66, allocations: 129 kB / 1.58 GB, free: 51.54 MB / 408.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/3.661, allocations: 18.25 kB / 1.58 GB, free: 51.54 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/3.662, allocations: 66.22 kB / 1.58 GB, free: 51.53 MB / 408.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/3.662, allocations: 47.81 kB / 1.58 GB, free: 51.53 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/3.662, allocations: 62 kB / 1.58 GB, free: 51.53 MB / 408.6 MB Notification: Performance of sort global known variables: time 0.0003152/3.663, allocations: 249.8 kB / 1.58 GB, free: 51.45 MB / 408.6 MB Notification: Performance of remove unused functions: time 0.001651/3.664, allocations: 376 kB / 1.581 GB, free: 51.45 MB / 408.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.003351/3.668, allocations: 1.35 MB / 1.582 GB, free: 51.3 MB / 408.6 MB Notification: Performance of simCode: created initialization part: time 0.002351/3.67, allocations: 1.741 MB / 1.584 GB, free: 50.6 MB / 408.6 MB Notification: Performance of simCode: created event and clocks part: time 5.867e-06/3.67, allocations: 3.938 kB / 1.584 GB, free: 50.59 MB / 408.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001072/3.671, allocations: 0.6591 MB / 1.584 GB, free: 50.5 MB / 408.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/3.674, allocations: 286.1 kB / 1.585 GB, free: 50.49 MB / 408.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004457/3.678, allocations: 1.836 MB / 1.586 GB, free: 50.18 MB / 408.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009998/3.679, allocations: 1.088 MB / 1.588 GB, free: 49.46 MB / 408.6 MB Notification: Performance of SimCode: time 2.165e-06/3.679, allocations: 0 / 1.588 GB, free: 49.46 MB / 408.6 MB Notification: Performance of Templates: time 0.1218/3.801, allocations: 26.25 MB / 1.613 GB, free: 48.62 MB / 408.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.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_Tests_MediaTestModels_IdealGases_SimpleNaturalGas -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.o Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:2: ./Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.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.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.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.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.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.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas_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.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.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.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.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.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas_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.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.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.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas_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.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:2295:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas_eqFunction_115(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:2296:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas_eqFunction_122(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:2297:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas_eqFunction_123(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:2298:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas_eqFunction_124(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:2299:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas_eqFunction_125(DATA* data, threadData_t *threadData); ^ ; fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.o] Error 1