Notification: Performance of loadModel(Modelica): time 1.544/1.544, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.918e-06/1.006e-05, allocations: 1.094 kB / 247.4 MB, free: 4.609 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0633/0.06338, allocations: 44.37 MB / 291.8 MB, free: 9.164 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.349/1.412, allocations: 0.7068 GB / 0.9918 GB, free: 111 MB / 408.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/1.413, allocations: 94.92 kB / 0.9919 GB, free: 111 MB / 408.6 MB Notification: Performance of FrontEnd: time 2.177/3.589, allocations: 0.5553 GB / 1.547 GB, free: 2.574 MB / 408.6 MB Notification: Performance of Transformations before backend: time 3.611e-05/3.59, allocations: 16 kB / 1.547 GB, free: 2.559 MB / 408.6 MB Notification: Performance of Generate backend data structure: time 0.002499/3.592, allocations: 0.9649 MB / 1.548 GB, free: 1.555 MB / 408.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/3.592, allocations: 8.031 kB / 1.548 GB, free: 1.547 MB / 408.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/3.594, allocations: 151.1 kB / 1.548 GB, free: 1.398 MB / 408.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/3.595, allocations: 484.3 kB / 1.549 GB, free: 0.8867 MB / 408.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/3.595, allocations: 20 kB / 1.549 GB, free: 0.8672 MB / 408.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/3.595, allocations: 55.84 kB / 1.549 GB, free: 0.8125 MB / 408.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001773/3.597, allocations: 0.8133 MB / 1.55 GB, free: 0 / 408.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00221/3.599, allocations: 0.8337 MB / 1.55 GB, free: 15.16 MB / 424.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.274e-05/3.599, allocations: 7.922 kB / 1.55 GB, free: 15.15 MB / 424.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/3.6, allocations: 4 kB / 1.55 GB, free: 15.14 MB / 424.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/3.6, allocations: 16 kB / 1.55 GB, free: 15.13 MB / 424.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006736/3.607, allocations: 3.25 MB / 1.554 GB, free: 11.66 MB / 424.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/3.608, allocations: 432 kB / 1.554 GB, free: 11.23 MB / 424.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006361/3.608, allocations: 342.3 kB / 1.554 GB, free: 10.89 MB / 424.6 MB Notification: Performance of preOpt evalFunc (simulation): time 6.914e-05/3.609, allocations: 20.16 kB / 1.554 GB, free: 10.88 MB / 424.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/3.609, allocations: 43.06 kB / 1.554 GB, free: 10.83 MB / 424.6 MB Notification: Performance of pre-optimization done (n=59): time 5.518e-06/3.609, allocations: 3.938 kB / 1.554 GB, free: 10.82 MB / 424.6 MB Notification: Performance of matching and sorting (n=71): time 0.01129/3.62, allocations: 3.141 MB / 1.558 GB, free: 7.582 MB / 424.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001948/3.62, allocations: 60.06 kB / 1.558 GB, free: 7.508 MB / 424.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004538/3.621, allocations: 317 kB / 1.558 GB, free: 7.191 MB / 424.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001842/3.621, allocations: 29.7 kB / 1.558 GB, free: 7.156 MB / 424.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/3.621, allocations: 264 kB / 1.558 GB, free: 6.891 MB / 424.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/3.622, allocations: 248.3 kB / 1.558 GB, free: 6.645 MB / 424.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.467e-05/3.622, allocations: 0 / 1.558 GB, free: 6.645 MB / 424.6 MB Notification: Performance of setup shared object (initialization): time 8.926e-05/3.622, allocations: 354.8 kB / 1.559 GB, free: 6.289 MB / 424.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007722/3.623, allocations: 441.3 kB / 1.559 GB, free: 5.859 MB / 424.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/3.624, allocations: 0.5 MB / 1.56 GB, free: 5.34 MB / 424.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000897/3.625, allocations: 0.4886 MB / 1.56 GB, free: 4.852 MB / 424.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.168e-06/3.625, allocations: 4 kB / 1.56 GB, free: 4.848 MB / 424.6 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002872/3.628, allocations: 1.317 MB / 1.561 GB, free: 3.5 MB / 424.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/3.628, allocations: 4.156 kB / 1.561 GB, free: 3.496 MB / 424.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/3.628, allocations: 8 kB / 1.561 GB, free: 3.488 MB / 424.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009106/3.629, allocations: 326.6 kB / 1.562 GB, free: 3.145 MB / 424.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/3.63, allocations: 179.8 kB / 1.562 GB, free: 2.969 MB / 424.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1824/3.813, allocations: 9.795 MB / 1.571 GB, free: 63.48 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009818/3.814, allocations: 66.81 kB / 1.572 GB, free: 63.48 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/3.814, allocations: 49.03 kB / 1.572 GB, free: 63.48 MB / 424.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.0001963/3.814, allocations: 79.16 kB / 1.572 GB, free: 63.41 MB / 424.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/3.815, allocations: 44.59 kB / 1.572 GB, free: 63.41 MB / 424.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002874/3.818, allocations: 1.281 MB / 1.573 GB, free: 63.29 MB / 424.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/3.818, allocations: 8.594 kB / 1.573 GB, free: 63.29 MB / 424.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.031e-06/3.818, allocations: 0 / 1.573 GB, free: 63.29 MB / 424.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002081/3.82, allocations: 1.569 MB / 1.574 GB, free: 62.46 MB / 424.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00429/3.824, allocations: 2.132 MB / 1.577 GB, free: 62.14 MB / 424.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.171e-06/3.824, allocations: 1.594 kB / 1.577 GB, free: 62.14 MB / 424.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/3.826, allocations: 228.2 kB / 1.577 GB, free: 62.14 MB / 424.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002869/3.827, allocations: 75.34 kB / 1.577 GB, free: 62.14 MB / 424.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/3.827, allocations: 29.78 kB / 1.577 GB, free: 62.14 MB / 424.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/3.828, allocations: 1.429 MB / 1.578 GB, free: 60.96 MB / 424.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.73e-06/3.828, allocations: 5.812 kB / 1.578 GB, free: 60.96 MB / 424.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002982/3.831, allocations: 1.568 MB / 1.58 GB, free: 60.7 MB / 424.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000263/3.832, allocations: 129.5 kB / 1.58 GB, free: 60.59 MB / 424.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/3.832, allocations: 23.53 kB / 1.58 GB, free: 60.59 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/3.833, allocations: 55.11 kB / 1.58 GB, free: 60.58 MB / 424.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/3.833, allocations: 52.31 kB / 1.58 GB, free: 60.58 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001741/3.834, allocations: 63.03 kB / 1.58 GB, free: 60.58 MB / 424.6 MB Notification: Performance of sort global known variables: time 0.0003208/3.834, allocations: 246.3 kB / 1.58 GB, free: 60.5 MB / 424.6 MB Notification: Performance of remove unused functions: time 0.001923/3.836, allocations: 383.2 kB / 1.581 GB, free: 60.5 MB / 424.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.003639/3.84, allocations: 1.343 MB / 1.582 GB, free: 60.38 MB / 424.6 MB Notification: Performance of simCode: created initialization part: time 0.002678/3.843, allocations: 1.739 MB / 1.584 GB, free: 59.68 MB / 424.6 MB Notification: Performance of simCode: created event and clocks part: time 8.939e-06/3.843, allocations: 2.531 kB / 1.584 GB, free: 59.68 MB / 424.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001311/3.844, allocations: 0.6615 MB / 1.584 GB, free: 59.58 MB / 424.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002387/3.847, allocations: 295.5 kB / 1.585 GB, free: 59.57 MB / 424.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004886/3.852, allocations: 1.836 MB / 1.586 GB, free: 59.26 MB / 424.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/3.853, allocations: 1.082 MB / 1.588 GB, free: 58.55 MB / 424.6 MB Notification: Performance of SimCode: time 2.166e-06/3.853, allocations: 3.438 kB / 1.588 GB, free: 58.55 MB / 424.6 MB Notification: Performance of Templates: time 0.1086/3.961, allocations: 26.26 MB / 1.613 GB, free: 57.88 MB / 424.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.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_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_-O2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.o Modelica_3.2.2_-O2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c In file included from Modelica_3.2.2_-O2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:2: ./Modelica_3.2.2_-O2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:2295:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas_eqFunction_115(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:2296:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas_eqFunction_122(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:2297:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas_eqFunction_123(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:2298:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas_eqFunction_124(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.c:2299:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_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_-O2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.o] Error 1