Notification: Performance of loadModel(Modelica): time 1.503/1.503, allocations: 194.5 MB / 200.7 MB, free: 5.145 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.569e-06/9.708e-06, allocations: 1.375 kB / 247.4 MB, free: 4.703 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06278/0.06286, allocations: 44.36 MB / 291.7 MB, free: 9.266 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7522/0.8152, allocations: 361.7 MB / 0.6381 GB, free: 147.8 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.8156, allocations: 95.84 kB / 0.6382 GB, free: 147.8 MB / 392.6 MB Notification: Performance of FrontEnd: time 0.2253/1.041, allocations: 80.92 MB / 0.7172 GB, free: 70.07 MB / 392.6 MB Notification: Performance of Transformations before backend: time 2.263e-05/1.041, allocations: 4 kB / 0.7172 GB, free: 70.07 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.0008892/1.042, allocations: 0.6084 MB / 0.7178 GB, free: 69.42 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/1.042, allocations: 8.031 kB / 0.7178 GB, free: 69.41 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004387/1.043, allocations: 43.61 kB / 0.7179 GB, free: 69.37 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/1.043, allocations: 270.5 kB / 0.7181 GB, free: 69.06 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/1.043, allocations: 8 kB / 0.7181 GB, free: 69.05 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.651e-05/1.043, allocations: 16 kB / 0.7181 GB, free: 69.04 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004244/1.044, allocations: 165 kB / 0.7183 GB, free: 68.88 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004989/1.044, allocations: 269.9 kB / 0.7186 GB, free: 68.59 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/1.044, allocations: 0 / 0.7186 GB, free: 68.59 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.302e-05/1.044, allocations: 4 kB / 0.7186 GB, free: 68.58 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/1.044, allocations: 4 kB / 0.7186 GB, free: 68.58 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001769/1.046, allocations: 1.373 MB / 0.7199 GB, free: 67.09 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/1.047, allocations: 106.1 kB / 0.72 GB, free: 66.98 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/1.047, allocations: 85.31 kB / 0.7201 GB, free: 66.9 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/1.047, allocations: 4.188 kB / 0.7201 GB, free: 66.89 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/1.047, allocations: 42.59 kB / 0.7201 GB, free: 66.84 MB / 392.6 MB Notification: Performance of pre-optimization done (n=21): time 3.282e-06/1.047, allocations: 4 kB / 0.7201 GB, free: 66.84 MB / 392.6 MB Notification: Performance of matching and sorting (n=26): time 0.00231/1.049, allocations: 0.7434 MB / 0.7209 GB, free: 66.04 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/1.05, allocations: 59.34 kB / 0.7209 GB, free: 65.97 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/1.05, allocations: 199.1 kB / 0.7211 GB, free: 65.77 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/1.05, allocations: 25.7 kB / 0.7211 GB, free: 65.73 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 7.026e-05/1.05, allocations: 167.8 kB / 0.7213 GB, free: 65.56 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 6.328e-05/1.05, allocations: 90.66 kB / 0.7214 GB, free: 65.47 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-05/1.05, allocations: 0 / 0.7214 GB, free: 65.47 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 7.103e-05/1.05, allocations: 330.8 kB / 0.7217 GB, free: 65.14 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/1.051, allocations: 79.94 kB / 0.7218 GB, free: 65.06 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/1.051, allocations: 167.1 kB / 0.7219 GB, free: 64.86 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/1.051, allocations: 99.91 kB / 0.722 GB, free: 64.76 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.702e-06/1.051, allocations: 0 / 0.722 GB, free: 64.76 MB / 392.6 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009036/1.052, allocations: 342.8 kB / 0.7224 GB, free: 64.41 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/1.052, allocations: 4 kB / 0.7224 GB, free: 64.41 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/1.052, allocations: 4 kB / 0.7224 GB, free: 64.41 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003648/1.053, allocations: 65.61 kB / 0.7224 GB, free: 64.34 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/1.053, allocations: 68.19 kB / 0.7225 GB, free: 64.27 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002248/1.056, allocations: 2.551 MB / 0.725 GB, free: 61.49 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004762/1.056, allocations: 8 kB / 0.725 GB, free: 61.48 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/1.056, allocations: 24.03 kB / 0.725 GB, free: 61.46 MB / 392.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.0001079/1.056, allocations: 79.19 kB / 0.7251 GB, free: 61.38 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.549e-05/1.057, allocations: 23.72 kB / 0.7251 GB, free: 61.36 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.065e-05/1.057, allocations: 29.81 kB / 0.7251 GB, free: 61.33 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.076e-06/1.057, allocations: 4 kB / 0.7251 GB, free: 61.33 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.613e-06/1.057, allocations: 3.938 kB / 0.7251 GB, free: 61.32 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006819/1.058, allocations: 0.5435 MB / 0.7257 GB, free: 60.69 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/1.059, allocations: 0.637 MB / 0.7263 GB, free: 60 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.238e-06/1.059, allocations: 0 / 0.7263 GB, free: 60 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003348/1.059, allocations: 47.91 kB / 0.7263 GB, free: 59.96 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004907/1.06, allocations: 52.7 kB / 0.7264 GB, free: 59.9 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.258e-05/1.06, allocations: 4 kB / 0.7264 GB, free: 59.9 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/1.062, allocations: 1.315 MB / 0.7277 GB, free: 58.46 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.102e-06/1.062, allocations: 4 kB / 0.7277 GB, free: 58.46 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008808/1.063, allocations: 451.5 kB / 0.7281 GB, free: 57.99 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/1.063, allocations: 96.83 kB / 0.7282 GB, free: 57.88 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.579e-05/1.063, allocations: 12.11 kB / 0.7282 GB, free: 57.87 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004316/1.064, allocations: 11.84 kB / 0.7282 GB, free: 57.86 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/1.064, allocations: 15.97 kB / 0.7283 GB, free: 57.84 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.518e-05/1.064, allocations: 12 kB / 0.7283 GB, free: 57.83 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.0002745/1.064, allocations: 153.6 kB / 0.7284 GB, free: 57.68 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.001299/1.066, allocations: 92 kB / 0.7285 GB, free: 57.59 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000291/1.066, allocations: 137.4 kB / 0.7286 GB, free: 57.45 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.001472/1.068, allocations: 432.2 kB / 0.729 GB, free: 57.01 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 5.797e-06/1.068, allocations: 0 / 0.729 GB, free: 57.01 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0004953/1.068, allocations: 209.6 kB / 0.7292 GB, free: 56.8 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/1.07, allocations: 116.7 kB / 0.7294 GB, free: 56.68 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/1.073, allocations: 487 kB / 0.7298 GB, free: 56.18 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003691/1.073, allocations: 0.7953 MB / 0.7306 GB, free: 55.36 MB / 392.6 MB Notification: Performance of SimCode: time 3.142e-06/1.073, allocations: 0 / 0.7306 GB, free: 55.36 MB / 392.6 MB Notification: Performance of Templates: time 0.07883/1.152, allocations: 5.503 MB / 0.736 GB, free: 49.89 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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_LinearColdWater -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.LinearColdWater.o Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.c In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.c:2: ./Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.LinearColdWater.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.LinearColdWater.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.LinearColdWater.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater_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.LinearColdWater.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.LinearColdWater.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.LinearColdWater.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater_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.LinearColdWater.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.LinearColdWater.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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_LinearColdWater_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.LinearColdWater.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.c:584:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater_eqFunction_52(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.c:585:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater_eqFunction_53(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.c:586:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater_eqFunction_54(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.c:587:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater_eqFunction_56(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.c:588:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater_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.LinearColdWater.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.o] Error 1