Notification: Performance of loadModel(Modelica): time 1.504/1.504, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.988e-06/1.013e-05, allocations: 1.375 kB / 247.4 MB, free: 4.723 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05942/0.0595, allocations: 44.36 MB / 291.7 MB, free: 9.277 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.315/1.375, allocations: 0.7242 GB / 1.009 GB, free: 62.47 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/1.375, allocations: 82.38 kB / 1.009 GB, free: 62.43 MB / 392.6 MB [Modelica 3.2.2/Media/package.mo:2954:28-2954:38:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd: time 0.1344/1.51, allocations: 39.26 MB / 1.048 GB, free: 23.25 MB / 392.6 MB Notification: Performance of Transformations before backend: time 1.613e-05/1.51, allocations: 4 kB / 1.048 GB, free: 23.24 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.0008119/1.511, allocations: 0.4949 MB / 1.048 GB, free: 22.7 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/1.511, allocations: 12.03 kB / 1.048 GB, free: 22.69 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00465/1.516, allocations: 435 kB / 1.048 GB, free: 22.26 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004913/1.516, allocations: 262.7 kB / 1.049 GB, free: 21.96 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/1.516, allocations: 8 kB / 1.049 GB, free: 21.96 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/1.517, allocations: 17.08 kB / 1.049 GB, free: 21.94 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001093/1.518, allocations: 472.6 kB / 1.049 GB, free: 21.48 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006191/1.518, allocations: 325.4 kB / 1.049 GB, free: 21.15 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/1.518, allocations: 0 / 1.049 GB, free: 21.15 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.223e-05/1.519, allocations: 0 / 1.049 GB, free: 21.15 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/1.519, allocations: 7.906 kB / 1.05 GB, free: 21.14 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002833/1.522, allocations: 0.9633 MB / 1.05 GB, free: 20.14 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004471/1.522, allocations: 216.3 kB / 1.051 GB, free: 19.91 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/1.522, allocations: 137.7 kB / 1.051 GB, free: 19.77 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00134/1.524, allocations: 0.6517 MB / 1.051 GB, free: 19.01 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/1.524, allocations: 34.56 kB / 1.051 GB, free: 18.97 MB / 392.6 MB Notification: Performance of pre-optimization done (n=29): time 4.609e-06/1.524, allocations: 0 / 1.051 GB, free: 18.97 MB / 392.6 MB Notification: Performance of matching and sorting (n=29): time 0.0009248/1.525, allocations: 257.9 kB / 1.052 GB, free: 18.71 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/1.525, allocations: 93.05 kB / 1.052 GB, free: 18.6 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.912e-05/1.525, allocations: 108.9 kB / 1.052 GB, free: 18.49 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 4.484e-05/1.525, allocations: 25.7 kB / 1.052 GB, free: 18.46 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 4.281e-05/1.525, allocations: 112.4 kB / 1.052 GB, free: 18.34 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 8.304e-05/1.526, allocations: 98.47 kB / 1.052 GB, free: 18.25 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/1.526, allocations: 0 / 1.052 GB, free: 18.25 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 6.321e-05/1.526, allocations: 330.8 kB / 1.052 GB, free: 17.91 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/1.526, allocations: 108.6 kB / 1.053 GB, free: 17.8 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/1.526, allocations: 179.2 kB / 1.053 GB, free: 17.59 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003902/1.527, allocations: 140.2 kB / 1.053 GB, free: 17.46 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.028e-06/1.527, allocations: 0 / 1.053 GB, free: 17.46 MB / 392.6 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008807/1.528, allocations: 325.3 kB / 1.053 GB, free: 17.13 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/1.528, allocations: 4 kB / 1.053 GB, free: 17.13 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/1.528, allocations: 4 kB / 1.053 GB, free: 17.12 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.345e-05/1.528, allocations: 11.89 kB / 1.053 GB, free: 17.11 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000569/1.529, allocations: 67.91 kB / 1.053 GB, free: 17.05 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/1.529, allocations: 15.92 kB / 1.053 GB, free: 17.03 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004144/1.529, allocations: 23.91 kB / 1.053 GB, free: 17.01 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.942e-05/1.529, allocations: 27.98 kB / 1.053 GB, free: 16.98 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 7.424e-05/1.529, allocations: 79.19 kB / 1.053 GB, free: 16.9 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/1.53, allocations: 11.91 kB / 1.053 GB, free: 16.89 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/1.531, allocations: 374.3 kB / 1.054 GB, free: 16.52 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.241e-06/1.531, allocations: 4 kB / 1.054 GB, free: 16.51 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.705e-06/1.531, allocations: 0 / 1.054 GB, free: 16.51 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/1.531, allocations: 3.984 kB / 1.054 GB, free: 16.51 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007509/1.532, allocations: 316.1 kB / 1.054 GB, free: 16.16 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.657e-06/1.532, allocations: 4 kB / 1.054 GB, free: 16.16 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005485/1.533, allocations: 51.95 kB / 1.054 GB, free: 16.11 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.242e-06/1.533, allocations: 4 kB / 1.054 GB, free: 16.1 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.547e-05/1.533, allocations: 8 kB / 1.054 GB, free: 16.09 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.797e-06/1.533, allocations: 7.938 kB / 1.054 GB, free: 16.09 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.447e-06/1.533, allocations: 8 kB / 1.054 GB, free: 16.08 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009853/1.534, allocations: 0.5128 MB / 1.055 GB, free: 15.54 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 6.139e-05/1.534, allocations: 100.8 kB / 1.055 GB, free: 15.43 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.782e-05/1.534, allocations: 4 kB / 1.055 GB, free: 15.42 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005604/1.535, allocations: 15.89 kB / 1.055 GB, free: 15.41 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/1.535, allocations: 15.97 kB / 1.055 GB, free: 15.39 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.229e-05/1.535, allocations: 19.98 kB / 1.055 GB, free: 15.37 MB / 392.6 MB Notification: Performance of sort global known variables: time 5.133e-05/1.535, allocations: 87.28 kB / 1.055 GB, free: 15.29 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.00114/1.536, allocations: 243.8 kB / 1.055 GB, free: 15.05 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.001779/1.538, allocations: 0.8506 MB / 1.056 GB, free: 14.2 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.0006162/1.539, allocations: 272.3 kB / 1.056 GB, free: 13.93 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 5.168e-06/1.539, allocations: 0.625 kB / 1.056 GB, free: 13.93 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0002563/1.539, allocations: 139.8 kB / 1.056 GB, free: 13.79 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008083/1.54, allocations: 75.77 kB / 1.056 GB, free: 13.72 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/1.542, allocations: 0.5719 MB / 1.057 GB, free: 13.11 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004552/1.542, allocations: 0.7791 MB / 1.058 GB, free: 12.31 MB / 392.6 MB Notification: Performance of SimCode: time 2.514e-06/1.542, allocations: 0 / 1.058 GB, free: 12.31 MB / 392.6 MB Notification: Performance of Templates: time 0.06982/1.612, allocations: 11.98 MB / 1.069 GB, free: 380 kB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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_TestOnly_MixIdealGasAir -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.o Modelica_3.2.2_-O1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.c In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.c:2: ./Modelica_3.2.2_-O1_Modelica.Media.Examples.TestOnly.MixIdealGasAir_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Media_Examples_TestOnly_MixIdealGasAir__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.TestOnly.MixIdealGasAir_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Media_Examples_TestOnly_MixIdealGasAir__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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.TestOnly.MixIdealGasAir.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_TestOnly_MixIdealGasAir_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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.TestOnly.MixIdealGasAir.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_TestOnly_MixIdealGasAir_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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.TestOnly.MixIdealGasAir.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_TestOnly_MixIdealGasAir_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.TestOnly.MixIdealGasAir.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_TestOnly_MixIdealGasAir_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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.TestOnly.MixIdealGasAir.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_TestOnly_MixIdealGasAir_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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.TestOnly.MixIdealGasAir.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_TestOnly_MixIdealGasAir_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.TestOnly.MixIdealGasAir.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_TestOnly_MixIdealGasAir_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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.TestOnly.MixIdealGasAir.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_TestOnly_MixIdealGasAir_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Media_Examples_TestOnly_MixIdealGasAir_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.TestOnly.MixIdealGasAir.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_TestOnly_MixIdealGasAir_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Media_Examples_TestOnly_MixIdealGasAir_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.c:782:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Media_Examples_TestOnly_MixIdealGasAir_eqFunction_59(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.c:783:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Media_Examples_TestOnly_MixIdealGasAir_eqFunction_49(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.c:784:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Media_Examples_TestOnly_MixIdealGasAir_eqFunction_50(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.c:785:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Media_Examples_TestOnly_MixIdealGasAir_eqFunction_51(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.c:786:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Media_Examples_TestOnly_MixIdealGasAir_eqFunction_52(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.c:790:19: warning: implicit declaration of function 'O1_Modelica_Media_Examples_TestOnly_MixIdealGasAir_eqFunction_58' is invalid in C99 [-Wimplicit-function-declaration] Modelica_3_2_2_-O1_Modelica_Media_Examples_TestOnly_MixIdealGasAir_eqFunction_58(data, threadData); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 7 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.o] Error 1