Notification: Performance of loadModel(Modelica): time 1.454/1.454, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.149e-06/9.288e-06, allocations: 2.094 kB / 247.4 MB, free: 4.684 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05768/0.05775, allocations: 44.36 MB / 291.7 MB, free: 9.266 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.414/4.472, allocations: 2.575 GB / 2.86 GB, free: 11.68 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/4.472, allocations: 91.94 kB / 2.86 GB, free: 11.6 MB / 392.6 MB Notification: Performance of FrontEnd: time 2.016/6.488, allocations: 426.5 MB / 3.277 GB, free: 21.55 MB / 392.6 MB Notification: Performance of Transformations before backend: time 2.479e-05/6.488, allocations: 11.2 kB / 3.277 GB, free: 21.55 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.003804/6.492, allocations: 1.243 MB / 3.278 GB, free: 20.3 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/6.492, allocations: 8.031 kB / 3.278 GB, free: 20.3 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002189/6.494, allocations: 178.2 kB / 3.278 GB, free: 20.13 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004784/6.495, allocations: 315 kB / 3.278 GB, free: 19.79 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.365e-05/6.495, allocations: 16 kB / 3.278 GB, free: 19.77 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.636e-05/6.495, allocations: 16 kB / 3.278 GB, free: 19.75 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006745/6.496, allocations: 309.1 kB / 3.279 GB, free: 19.45 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006511/6.496, allocations: 362.1 kB / 3.279 GB, free: 19.06 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/6.496, allocations: 4 kB / 3.279 GB, free: 19.06 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.245e-05/6.496, allocations: 3.938 kB / 3.279 GB, free: 19.06 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/6.497, allocations: 15.38 kB / 3.279 GB, free: 19.05 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003245/6.5, allocations: 2.582 MB / 3.282 GB, free: 16.27 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/6.5, allocations: 176.3 kB / 3.282 GB, free: 16.09 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/6.501, allocations: 117 kB / 3.282 GB, free: 15.97 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008859/6.502, allocations: 0.5535 MB / 3.282 GB, free: 15.34 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/6.502, allocations: 38.5 kB / 3.282 GB, free: 15.29 MB / 392.6 MB Notification: Performance of pre-optimization done (n=29): time 5.867e-06/6.502, allocations: 1.078 kB / 3.282 GB, free: 15.29 MB / 392.6 MB Notification: Performance of matching and sorting (n=33): time 0.003686/6.505, allocations: 0.9441 MB / 3.283 GB, free: 14.29 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.97e-05/6.506, allocations: 62.34 kB / 3.283 GB, free: 14.22 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/6.506, allocations: 194 kB / 3.284 GB, free: 14.03 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/6.506, allocations: 25.7 kB / 3.284 GB, free: 14 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 7.103e-05/6.506, allocations: 176 kB / 3.284 GB, free: 13.82 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 7.508e-05/6.506, allocations: 114.3 kB / 3.284 GB, free: 13.71 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/6.506, allocations: 3.938 kB / 3.284 GB, free: 13.7 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 7.005e-05/6.506, allocations: 338 kB / 3.284 GB, free: 13.37 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/6.507, allocations: 104.9 kB / 3.284 GB, free: 13.27 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/6.507, allocations: 193.7 kB / 3.284 GB, free: 13.04 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005309/6.508, allocations: 135.5 kB / 3.285 GB, free: 12.91 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.121e-06/6.508, allocations: 4 kB / 3.285 GB, free: 12.91 MB / 392.6 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00227/6.51, allocations: 0.5569 MB / 3.285 GB, free: 12.34 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/6.51, allocations: 6.344 kB / 3.285 GB, free: 12.34 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/6.51, allocations: 7.531 kB / 3.285 GB, free: 12.33 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003801/6.511, allocations: 74.48 kB / 3.285 GB, free: 12.25 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/6.511, allocations: 98.94 kB / 3.285 GB, free: 12.16 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/6.513, allocations: 2.371 MB / 3.288 GB, free: 9.629 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007257/6.514, allocations: 69.22 kB / 3.288 GB, free: 9.566 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.015e-05/6.514, allocations: 16 kB / 3.288 GB, free: 9.551 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 6.307e-05/6.514, allocations: 79.28 kB / 3.288 GB, free: 9.473 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007373/6.515, allocations: 139.6 kB / 3.288 GB, free: 9.336 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/6.517, allocations: 0.9694 MB / 3.289 GB, free: 8.355 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/6.517, allocations: 15.98 kB / 3.289 GB, free: 8.34 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.26e-06/6.517, allocations: 0 / 3.289 GB, free: 8.34 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001178/6.518, allocations: 1.071 MB / 3.29 GB, free: 7.176 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002292/6.52, allocations: 1.567 MB / 3.291 GB, free: 5.551 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.613e-06/6.52, allocations: 3.906 kB / 3.291 GB, free: 5.547 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005006/6.521, allocations: 79.48 kB / 3.292 GB, free: 5.473 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003382/6.521, allocations: 67.52 kB / 3.292 GB, free: 5.406 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.436e-05/6.522, allocations: 7.938 kB / 3.292 GB, free: 5.398 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000429/6.522, allocations: 0.6263 MB / 3.292 GB, free: 4.746 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.308e-06/6.522, allocations: 3.406 kB / 3.292 GB, free: 4.746 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002144/6.524, allocations: 1.137 MB / 3.293 GB, free: 3.566 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/6.525, allocations: 132.5 kB / 3.293 GB, free: 3.418 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.318e-05/6.525, allocations: 7.906 kB / 3.293 GB, free: 3.41 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005476/6.525, allocations: 35.62 kB / 3.293 GB, free: 3.379 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.533e-05/6.525, allocations: 35.94 kB / 3.294 GB, free: 3.344 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-05/6.526, allocations: 12 kB / 3.294 GB, free: 3.332 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.0002567/6.526, allocations: 221 kB / 3.294 GB, free: 3.117 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.003477/6.529, allocations: 0.8782 MB / 3.295 GB, free: 2.238 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.006543/6.536, allocations: 1.451 MB / 3.296 GB, free: 1.008 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.001292/6.537, allocations: 0.6026 MB / 3.297 GB, free: 412 kB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 5.028e-06/6.538, allocations: 0 / 3.297 GB, free: 412 kB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0007982/6.538, allocations: 441.2 kB / 3.297 GB, free: 15.96 MB / 408.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/6.54, allocations: 139.6 kB / 3.297 GB, free: 15.84 MB / 408.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/6.542, allocations: 0.8177 MB / 3.298 GB, free: 15.06 MB / 408.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003866/6.542, allocations: 0.8731 MB / 3.299 GB, free: 14.17 MB / 408.6 MB Notification: Performance of SimCode: time 1.886e-06/6.542, allocations: 0 / 3.299 GB, free: 14.17 MB / 408.6 MB Notification: Performance of Templates: time 0.2372/6.78, allocations: 29.68 MB / 3.328 GB, free: 86.91 MB / 408.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.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_Water_WaterIF97_ph -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.o Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.c In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.c:2: ./Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.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.Water.WaterIF97_ph.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.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.Water.WaterIF97_ph.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.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.Water.WaterIF97_ph.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph_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.Water.WaterIF97_ph.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.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.Water.WaterIF97_ph.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.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.Water.WaterIF97_ph.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph_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.Water.WaterIF97_ph.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.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.Water.WaterIF97_ph.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.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_Water_WaterIF97_ph_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.Water.WaterIF97_ph.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.c:462:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph_eqFunction_83(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.c:462:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph_eqFunction_83(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.c:471:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph_eqFunction_84(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.c:471:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph_eqFunction_84(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.c:756:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph_eqFunction_57(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.Water.WaterIF97_ph.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.o] Error 1