Notification: Performance of loadModel(Modelica): time 1.489/1.489, allocations: 194.5 MB / 200.7 MB, free: 5.148 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.069e-05/1.076e-05, allocations: 1.281 kB / 247.5 MB, free: 4.613 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06411/0.06421, allocations: 44.36 MB / 291.8 MB, free: 9.18 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.294/1.359, allocations: 0.7068 GB / 0.9918 GB, free: 96.9 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/1.359, allocations: 95.88 kB / 0.9919 GB, free: 96.81 MB / 392.6 MB Notification: Performance of FrontEnd: time 2.255/3.614, allocations: 0.5553 GB / 1.547 GB, free: 68.23 MB / 408.6 MB Notification: Performance of Transformations before backend: time 3.569e-05/3.614, allocations: 14.47 kB / 1.547 GB, free: 68.23 MB / 408.6 MB Notification: Performance of Generate backend data structure: time 0.002115/3.616, allocations: 0.9553 MB / 1.548 GB, free: 67.87 MB / 408.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/3.616, allocations: 10.03 kB / 1.548 GB, free: 67.87 MB / 408.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/3.617, allocations: 141.5 kB / 1.548 GB, free: 67.83 MB / 408.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009294/3.618, allocations: 494.7 kB / 1.549 GB, free: 67.62 MB / 408.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.373e-05/3.619, allocations: 24.47 kB / 1.549 GB, free: 67.62 MB / 408.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/3.619, allocations: 45.3 kB / 1.549 GB, free: 67.62 MB / 408.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00163/3.62, allocations: 0.8189 MB / 1.55 GB, free: 67.62 MB / 408.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/3.622, allocations: 0.8347 MB / 1.55 GB, free: 67.56 MB / 408.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/3.622, allocations: 5.094 kB / 1.55 GB, free: 67.56 MB / 408.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/3.622, allocations: 3.844 kB / 1.55 GB, free: 67.56 MB / 408.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/3.623, allocations: 15.19 kB / 1.55 GB, free: 67.56 MB / 408.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005933/3.629, allocations: 3.254 MB / 1.554 GB, free: 66.08 MB / 408.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007272/3.629, allocations: 432.6 kB / 1.554 GB, free: 66.06 MB / 408.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005406/3.63, allocations: 340.8 kB / 1.554 GB, free: 66.05 MB / 408.6 MB Notification: Performance of preOpt evalFunc (simulation): time 6.733e-05/3.63, allocations: 22.8 kB / 1.554 GB, free: 66.05 MB / 408.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/3.63, allocations: 50.31 kB / 1.554 GB, free: 66.01 MB / 408.6 MB Notification: Performance of pre-optimization done (n=59): time 6.425e-06/3.63, allocations: 0 / 1.554 GB, free: 66.01 MB / 408.6 MB Notification: Performance of matching and sorting (n=71): time 0.01191/3.642, allocations: 3.146 MB / 1.558 GB, free: 65.36 MB / 408.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/3.642, allocations: 59.72 kB / 1.558 GB, free: 65.3 MB / 408.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004589/3.643, allocations: 321.4 kB / 1.558 GB, free: 65.2 MB / 408.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001497/3.643, allocations: 27.2 kB / 1.558 GB, free: 65.16 MB / 408.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/3.643, allocations: 268.9 kB / 1.558 GB, free: 65.01 MB / 408.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.000206/3.643, allocations: 243.2 kB / 1.558 GB, free: 64.89 MB / 408.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.607e-05/3.644, allocations: 0 / 1.558 GB, free: 64.89 MB / 408.6 MB Notification: Performance of setup shared object (initialization): time 9.415e-05/3.644, allocations: 360 kB / 1.559 GB, free: 64.57 MB / 408.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008122/3.645, allocations: 437.2 kB / 1.559 GB, free: 64.57 MB / 408.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008716/3.646, allocations: 0.4967 MB / 1.56 GB, free: 64.52 MB / 408.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009364/3.647, allocations: 0.4941 MB / 1.56 GB, free: 64.51 MB / 408.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/3.647, allocations: 0.75 kB / 1.56 GB, free: 64.51 MB / 408.6 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0028/3.65, allocations: 1.326 MB / 1.561 GB, free: 64.37 MB / 408.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/3.65, allocations: 6.812 kB / 1.561 GB, free: 64.37 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/3.65, allocations: 3.812 kB / 1.561 GB, free: 64.37 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008752/3.651, allocations: 326.8 kB / 1.562 GB, free: 64.31 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/3.652, allocations: 180.5 kB / 1.562 GB, free: 64.31 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007507/3.66, allocations: 9.801 MB / 1.571 GB, free: 55.46 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/3.661, allocations: 60.42 kB / 1.572 GB, free: 55.46 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/3.661, allocations: 47.5 kB / 1.572 GB, free: 55.46 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.0002185/3.661, allocations: 78.73 kB / 1.572 GB, free: 55.38 MB / 408.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/3.662, allocations: 53.5 kB / 1.572 GB, free: 55.36 MB / 408.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002978/3.665, allocations: 1.274 MB / 1.573 GB, free: 55.23 MB / 408.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/3.665, allocations: 10.97 kB / 1.573 GB, free: 55.23 MB / 408.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/3.665, allocations: 4.797 kB / 1.573 GB, free: 55.23 MB / 408.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002013/3.667, allocations: 1.566 MB / 1.574 GB, free: 54.39 MB / 408.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004239/3.671, allocations: 2.14 MB / 1.577 GB, free: 54.06 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.822e-06/3.671, allocations: 3.938 kB / 1.577 GB, free: 54.06 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001784/3.673, allocations: 227.9 kB / 1.577 GB, free: 54.06 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002803/3.674, allocations: 66.98 kB / 1.577 GB, free: 54.05 MB / 408.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/3.674, allocations: 32.2 kB / 1.577 GB, free: 54.05 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001402/3.675, allocations: 1.427 MB / 1.578 GB, free: 52.85 MB / 408.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.006e-06/3.675, allocations: 5.375 kB / 1.578 GB, free: 52.85 MB / 408.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002818/3.678, allocations: 1.575 MB / 1.58 GB, free: 52.59 MB / 408.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002245/3.678, allocations: 130.9 kB / 1.58 GB, free: 52.48 MB / 408.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/3.679, allocations: 19.33 kB / 1.58 GB, free: 52.48 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/3.68, allocations: 57.28 kB / 1.58 GB, free: 52.47 MB / 408.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/3.68, allocations: 49.5 kB / 1.58 GB, free: 52.47 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/3.68, allocations: 65.44 kB / 1.58 GB, free: 52.47 MB / 408.6 MB Notification: Performance of sort global known variables: time 0.0003097/3.681, allocations: 247.5 kB / 1.58 GB, free: 52.39 MB / 408.6 MB Notification: Performance of remove unused functions: time 0.001807/3.683, allocations: 380.4 kB / 1.581 GB, free: 52.39 MB / 408.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.003477/3.686, allocations: 1.346 MB / 1.582 GB, free: 52.24 MB / 408.6 MB Notification: Performance of simCode: created initialization part: time 0.002506/3.689, allocations: 1.748 MB / 1.584 GB, free: 51.53 MB / 408.6 MB Notification: Performance of simCode: created event and clocks part: time 6.705e-06/3.689, allocations: 0 / 1.584 GB, free: 51.53 MB / 408.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/3.69, allocations: 0.6618 MB / 1.584 GB, free: 51.43 MB / 408.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/3.692, allocations: 289.3 kB / 1.585 GB, free: 51.42 MB / 408.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004642/3.697, allocations: 1.841 MB / 1.586 GB, free: 51.11 MB / 408.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001049/3.698, allocations: 1.088 MB / 1.588 GB, free: 50.4 MB / 408.6 MB Notification: Performance of SimCode: time 2.515e-06/3.698, allocations: 0 / 1.588 GB, free: 50.4 MB / 408.6 MB Notification: Performance of Templates: time 0.1603/3.859, allocations: 26.24 MB / 1.613 GB, free: 49.59 MB / 408.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