Notification: Performance of loadModel(Modelica): time 1.543/1.543, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.987e-06/1.013e-05, allocations: 1.312 kB / 247.5 MB, free: 4.652 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06242/0.0625, allocations: 44.36 MB / 291.8 MB, free: 9.199 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.324/1.386, allocations: 0.7068 GB / 0.9918 GB, free: 96.83 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/1.387, allocations: 91.94 kB / 0.9919 GB, free: 96.75 MB / 392.6 MB Notification: Performance of FrontEnd: time 2.262/3.649, allocations: 0.5553 GB / 1.547 GB, free: 68.95 MB / 408.6 MB Notification: Performance of Transformations before backend: time 3.813e-05/3.649, allocations: 21.12 kB / 1.547 GB, free: 68.95 MB / 408.6 MB Notification: Performance of Generate backend data structure: time 0.002334/3.651, allocations: 0.9534 MB / 1.548 GB, free: 68.58 MB / 408.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/3.652, allocations: 7.656 kB / 1.548 GB, free: 68.58 MB / 408.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/3.653, allocations: 145.8 kB / 1.548 GB, free: 68.55 MB / 408.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/3.654, allocations: 497.2 kB / 1.549 GB, free: 68.34 MB / 408.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.653e-05/3.654, allocations: 22.22 kB / 1.549 GB, free: 68.34 MB / 408.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/3.654, allocations: 44.91 kB / 1.549 GB, free: 68.34 MB / 408.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001725/3.656, allocations: 0.8211 MB / 1.55 GB, free: 68.33 MB / 408.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/3.658, allocations: 0.8288 MB / 1.55 GB, free: 68.27 MB / 408.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/3.658, allocations: 1.312 kB / 1.55 GB, free: 68.27 MB / 408.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/3.658, allocations: 5.812 kB / 1.55 GB, free: 68.27 MB / 408.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/3.658, allocations: 15.5 kB / 1.55 GB, free: 68.27 MB / 408.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006695/3.665, allocations: 3.259 MB / 1.554 GB, free: 66.8 MB / 408.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007893/3.666, allocations: 435.7 kB / 1.554 GB, free: 66.77 MB / 408.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005532/3.667, allocations: 344.9 kB / 1.554 GB, free: 66.77 MB / 408.6 MB Notification: Performance of preOpt evalFunc (simulation): time 6.761e-05/3.667, allocations: 17.17 kB / 1.554 GB, free: 66.77 MB / 408.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.009e-05/3.667, allocations: 46.34 kB / 1.554 GB, free: 66.73 MB / 408.6 MB Notification: Performance of pre-optimization done (n=59): time 6.844e-06/3.667, allocations: 0 / 1.554 GB, free: 66.73 MB / 408.6 MB Notification: Performance of matching and sorting (n=71): time 0.01104/3.678, allocations: 3.145 MB / 1.558 GB, free: 66.07 MB / 408.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/3.678, allocations: 59.75 kB / 1.558 GB, free: 66.01 MB / 408.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004906/3.679, allocations: 326.7 kB / 1.558 GB, free: 65.91 MB / 408.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001821/3.679, allocations: 25.7 kB / 1.558 GB, free: 65.88 MB / 408.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/3.679, allocations: 267.1 kB / 1.558 GB, free: 65.73 MB / 408.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/3.679, allocations: 244.9 kB / 1.558 GB, free: 65.6 MB / 408.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.6e-05/3.68, allocations: 0 / 1.558 GB, free: 65.6 MB / 408.6 MB Notification: Performance of setup shared object (initialization): time 9.415e-05/3.68, allocations: 359 kB / 1.559 GB, free: 65.29 MB / 408.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007627/3.681, allocations: 433.5 kB / 1.559 GB, free: 65.29 MB / 408.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008184/3.681, allocations: 0.4992 MB / 1.56 GB, free: 65.23 MB / 408.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009063/3.682, allocations: 0.4966 MB / 1.56 GB, free: 65.22 MB / 408.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.238e-06/3.682, allocations: 0 / 1.56 GB, free: 65.22 MB / 408.6 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002656/3.685, allocations: 1.325 MB / 1.561 GB, free: 65.09 MB / 408.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/3.685, allocations: 6.125 kB / 1.561 GB, free: 65.09 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/3.685, allocations: 1.422 kB / 1.561 GB, free: 65.09 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008905/3.686, allocations: 332 kB / 1.562 GB, free: 65.02 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/3.688, allocations: 183.2 kB / 1.562 GB, free: 65.02 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007393/3.695, allocations: 9.791 MB / 1.571 GB, free: 56.17 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/3.696, allocations: 64.2 kB / 1.572 GB, free: 56.17 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/3.697, allocations: 45.73 kB / 1.572 GB, free: 56.17 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.0002145/3.697, allocations: 79.16 kB / 1.572 GB, free: 56.09 MB / 408.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/3.697, allocations: 50.41 kB / 1.572 GB, free: 56.07 MB / 408.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003086/3.7, allocations: 1.276 MB / 1.573 GB, free: 55.93 MB / 408.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/3.7, allocations: 11.66 kB / 1.573 GB, free: 55.93 MB / 408.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.15e-06/3.7, allocations: 0 / 1.573 GB, free: 55.93 MB / 408.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002064/3.703, allocations: 1.568 MB / 1.574 GB, free: 55.1 MB / 408.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004356/3.707, allocations: 2.139 MB / 1.577 GB, free: 54.77 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.241e-06/3.707, allocations: 3.844 kB / 1.577 GB, free: 54.77 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001851/3.709, allocations: 228.6 kB / 1.577 GB, free: 54.77 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002871/3.709, allocations: 75.75 kB / 1.577 GB, free: 54.75 MB / 408.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001313/3.71, allocations: 31.67 kB / 1.577 GB, free: 54.75 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001433/3.711, allocations: 1.417 MB / 1.578 GB, free: 53.56 MB / 408.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.146e-06/3.711, allocations: 3.656 kB / 1.578 GB, free: 53.56 MB / 408.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002921/3.714, allocations: 1.575 MB / 1.58 GB, free: 53.3 MB / 408.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002537/3.714, allocations: 131.2 kB / 1.58 GB, free: 53.18 MB / 408.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/3.715, allocations: 19.81 kB / 1.58 GB, free: 53.18 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/3.716, allocations: 59.11 kB / 1.58 GB, free: 53.18 MB / 408.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/3.716, allocations: 47.72 kB / 1.58 GB, free: 53.18 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/3.716, allocations: 61.91 kB / 1.58 GB, free: 53.18 MB / 408.6 MB Notification: Performance of sort global known variables: time 0.0003236/3.717, allocations: 248.6 kB / 1.58 GB, free: 53.1 MB / 408.6 MB Notification: Performance of remove unused functions: time 0.001995/3.719, allocations: 382.7 kB / 1.581 GB, free: 53.1 MB / 408.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.003599/3.723, allocations: 1.334 MB / 1.582 GB, free: 52.96 MB / 408.6 MB Notification: Performance of simCode: created initialization part: time 0.002568/3.725, allocations: 1.746 MB / 1.584 GB, free: 52.25 MB / 408.6 MB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/3.725, allocations: 0 / 1.584 GB, free: 52.25 MB / 408.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/3.726, allocations: 0.6607 MB / 1.584 GB, free: 52.15 MB / 408.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/3.729, allocations: 289.7 kB / 1.585 GB, free: 52.14 MB / 408.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004684/3.734, allocations: 1.846 MB / 1.586 GB, free: 51.82 MB / 408.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/3.735, allocations: 1.082 MB / 1.588 GB, free: 51.11 MB / 408.6 MB Notification: Performance of SimCode: time 2.235e-06/3.735, allocations: 0 / 1.588 GB, free: 51.11 MB / 408.6 MB Notification: Performance of Templates: time 0.1313/3.866, allocations: 26.26 MB / 1.613 GB, free: 50.32 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