Notification: Performance of loadModel(Modelica): time 1.534/1.534, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.048e-05/1.048e-05, allocations: 1.406 kB / 247.4 MB, free: 4.719 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06587/0.06596, allocations: 44.36 MB / 291.7 MB, free: 9.289 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.19/5.256, allocations: 2.9 GB / 3.185 GB, free: 106.9 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/5.256, allocations: 93.72 kB / 3.185 GB, free: 106.9 MB / 392.6 MB Notification: Performance of FrontEnd: time 3.02/8.277, allocations: 0.9753 GB / 4.161 GB, free: 61.01 MB / 408.6 MB Notification: Performance of Transformations before backend: time 2.437e-05/8.277, allocations: 10.94 kB / 4.161 GB, free: 61.01 MB / 408.6 MB Notification: Performance of Generate backend data structure: time 0.004028/8.281, allocations: 1.193 MB / 4.162 GB, free: 60.34 MB / 408.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/8.281, allocations: 13.7 kB / 4.162 GB, free: 60.34 MB / 408.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004778/8.282, allocations: 45.02 kB / 4.162 GB, free: 60.32 MB / 408.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/8.282, allocations: 277.8 kB / 4.162 GB, free: 60.1 MB / 408.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/8.282, allocations: 7.812 kB / 4.162 GB, free: 60.1 MB / 408.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.693e-05/8.282, allocations: 17.12 kB / 4.162 GB, free: 60.1 MB / 408.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004281/8.283, allocations: 168.2 kB / 4.162 GB, free: 60.1 MB / 408.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004807/8.283, allocations: 262 kB / 4.163 GB, free: 60 MB / 408.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/8.284, allocations: 0 / 4.163 GB, free: 60 MB / 408.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.323e-05/8.284, allocations: 0 / 4.163 GB, free: 60 MB / 408.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/8.284, allocations: 11.59 kB / 4.163 GB, free: 60 MB / 408.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/8.286, allocations: 1.376 MB / 4.164 GB, free: 59 MB / 408.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/8.286, allocations: 110.9 kB / 4.164 GB, free: 58.98 MB / 408.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/8.286, allocations: 84.47 kB / 4.164 GB, free: 58.97 MB / 408.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.681e-05/8.286, allocations: 4.125 kB / 4.164 GB, free: 58.97 MB / 408.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/8.286, allocations: 30.75 kB / 4.164 GB, free: 58.93 MB / 408.6 MB Notification: Performance of pre-optimization done (n=21): time 4.051e-06/8.286, allocations: 3.938 kB / 4.164 GB, free: 58.93 MB / 408.6 MB Notification: Performance of matching and sorting (n=26): time 0.002299/8.289, allocations: 0.7513 MB / 4.165 GB, free: 58.61 MB / 408.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/8.289, allocations: 55.22 kB / 4.165 GB, free: 58.54 MB / 408.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/8.289, allocations: 199 kB / 4.165 GB, free: 58.44 MB / 408.6 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/8.289, allocations: 25.7 kB / 4.165 GB, free: 58.41 MB / 408.6 MB Notification: Performance of collectInitialEqns (initialization): time 7.138e-05/8.289, allocations: 169.9 kB / 4.165 GB, free: 58.27 MB / 408.6 MB Notification: Performance of collectInitialBindings (initialization): time 6.391e-05/8.29, allocations: 88.03 kB / 4.165 GB, free: 58.22 MB / 408.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-05/8.29, allocations: 0 / 4.165 GB, free: 58.22 MB / 408.6 MB Notification: Performance of setup shared object (initialization): time 7.012e-05/8.29, allocations: 339.9 kB / 4.166 GB, free: 57.9 MB / 408.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/8.29, allocations: 74.03 kB / 4.166 GB, free: 57.9 MB / 408.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/8.29, allocations: 163.1 kB / 4.166 GB, free: 57.8 MB / 408.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/8.291, allocations: 103.2 kB / 4.166 GB, free: 57.8 MB / 408.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/8.291, allocations: 0 / 4.166 GB, free: 57.8 MB / 408.6 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008895/8.292, allocations: 346.8 kB / 4.166 GB, free: 57.71 MB / 408.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/8.292, allocations: 3.594 kB / 4.166 GB, free: 57.71 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/8.292, allocations: 3.75 kB / 4.166 GB, free: 57.71 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003679/8.292, allocations: 62.62 kB / 4.167 GB, free: 57.7 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004058/8.293, allocations: 69.66 kB / 4.167 GB, free: 57.7 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002207/8.295, allocations: 2.55 MB / 4.169 GB, free: 55.3 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004681/8.295, allocations: 19.48 kB / 4.169 GB, free: 55.29 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/8.296, allocations: 14.94 kB / 4.169 GB, free: 55.29 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.0001147/8.296, allocations: 79.12 kB / 4.169 GB, free: 55.21 MB / 408.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.856e-05/8.296, allocations: 22.94 kB / 4.169 GB, free: 55.2 MB / 408.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.289e-05/8.296, allocations: 38.42 kB / 4.169 GB, free: 55.19 MB / 408.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/8.296, allocations: 3.719 kB / 4.169 GB, free: 55.19 MB / 408.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.753e-06/8.296, allocations: 0 / 4.169 GB, free: 55.19 MB / 408.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006928/8.297, allocations: 0.5389 MB / 4.17 GB, free: 54.74 MB / 408.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/8.298, allocations: 0.6317 MB / 4.17 GB, free: 54.45 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.984e-06/8.298, allocations: 5.156 kB / 4.17 GB, free: 54.45 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/8.299, allocations: 40.8 kB / 4.17 GB, free: 54.45 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003208/8.299, allocations: 59.14 kB / 4.17 GB, free: 54.44 MB / 408.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/8.299, allocations: 3.141 kB / 4.17 GB, free: 54.44 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/8.3, allocations: 1.31 MB / 4.172 GB, free: 53.24 MB / 408.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/8.301, allocations: 0 / 4.172 GB, free: 53.24 MB / 408.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009116/8.301, allocations: 459.9 kB / 4.172 GB, free: 53.05 MB / 408.6 MB Notification: Performance of postOpt removeConstants (simulation): time 9.163e-05/8.302, allocations: 98.89 kB / 4.172 GB, free: 52.95 MB / 408.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.3e-05/8.302, allocations: 4.844 kB / 4.172 GB, free: 52.95 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003487/8.302, allocations: 9.281 kB / 4.172 GB, free: 52.95 MB / 408.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/8.302, allocations: 13.02 kB / 4.172 GB, free: 52.95 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-05/8.302, allocations: 14.09 kB / 4.172 GB, free: 52.95 MB / 408.6 MB Notification: Performance of sort global known variables: time 0.0001848/8.303, allocations: 156.3 kB / 4.172 GB, free: 52.86 MB / 408.6 MB Notification: Performance of remove unused functions: time 0.000823/8.303, allocations: 114.5 kB / 4.173 GB, free: 52.85 MB / 408.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003769/8.304, allocations: 288.3 kB / 4.173 GB, free: 52.79 MB / 408.6 MB Notification: Performance of simCode: created initialization part: time 0.0009096/8.305, allocations: 427.4 kB / 4.173 GB, free: 52.5 MB / 408.6 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/8.305, allocations: 3.625 kB / 4.173 GB, free: 52.5 MB / 408.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0004602/8.306, allocations: 212.7 kB / 4.173 GB, free: 52.37 MB / 408.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/8.307, allocations: 123.9 kB / 4.174 GB, free: 52.34 MB / 408.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/8.308, allocations: 476.8 kB / 4.174 GB, free: 52.14 MB / 408.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/8.308, allocations: 0.8036 MB / 4.175 GB, free: 51.43 MB / 408.6 MB Notification: Performance of SimCode: time 2.794e-06/8.309, allocations: 0 / 4.175 GB, free: 51.43 MB / 408.6 MB Notification: Performance of Templates: time 0.06221/8.371, allocations: 6.359 MB / 4.181 GB, free: 50.99 MB / 408.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.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_LinearFluid_LinearWater_pT -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.o Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.c In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.c:2: ./Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.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.LinearFluid.LinearWater_pT.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.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.LinearFluid.LinearWater_pT.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.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.LinearFluid.LinearWater_pT.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT_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.LinearFluid.LinearWater_pT.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.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.LinearFluid.LinearWater_pT.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.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.LinearFluid.LinearWater_pT.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT_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.LinearFluid.LinearWater_pT.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.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.LinearFluid.LinearWater_pT.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.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_LinearFluid_LinearWater_pT_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.LinearFluid.LinearWater_pT.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.c:584:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT_eqFunction_52(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.c:585:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT_eqFunction_53(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.c:586:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT_eqFunction_54(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.c:587:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT_eqFunction_56(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.c:588:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT_eqFunction_62(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.LinearFluid.LinearWater_pT.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.o] Error 1