Notification: Performance of loadModel(Modelica): time 1.541/1.541, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.847e-06/9.988e-06, allocations: 1.344 kB / 247.3 MB, free: 4.723 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06972/0.0698, allocations: 44.36 MB / 291.7 MB, free: 9.301 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.69/11.76, allocations: 6.529 GB / 6.814 GB, free: 110.6 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/11.76, allocations: 80.12 kB / 6.814 GB, free: 110.5 MB / 392.6 MB Notification: Performance of FrontEnd: time 3.464/15.23, allocations: 0.8326 GB / 7.646 GB, free: 17.52 MB / 424.6 MB Notification: Performance of Transformations before backend: time 2.919e-05/15.23, allocations: 9.109 kB / 7.646 GB, free: 17.52 MB / 424.6 MB Notification: Performance of Generate backend data structure: time 0.01091/15.24, allocations: 2.893 MB / 7.649 GB, free: 16.01 MB / 424.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/15.24, allocations: 7.312 kB / 7.649 GB, free: 16.01 MB / 424.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006093/15.24, allocations: 61.88 kB / 7.649 GB, free: 15.99 MB / 424.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007186/15.24, allocations: 367.3 kB / 7.65 GB, free: 15.75 MB / 424.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/15.24, allocations: 10.66 kB / 7.65 GB, free: 15.75 MB / 424.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.904e-05/15.24, allocations: 26.22 kB / 7.65 GB, free: 15.75 MB / 424.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001214/15.24, allocations: 0.582 MB / 7.65 GB, free: 15.75 MB / 424.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009803/15.24, allocations: 435.8 kB / 7.651 GB, free: 15.7 MB / 424.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/15.24, allocations: 0 / 7.651 GB, free: 15.7 MB / 424.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.472e-05/15.24, allocations: 3.906 kB / 7.651 GB, free: 15.7 MB / 424.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/15.24, allocations: 10.94 kB / 7.651 GB, free: 15.7 MB / 424.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01721/15.26, allocations: 11.8 MB / 7.662 GB, free: 20.75 MB / 440.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007489/15.26, allocations: 316.7 kB / 7.662 GB, free: 20.72 MB / 440.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005817/15.26, allocations: 252.4 kB / 7.663 GB, free: 20.71 MB / 440.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02865/15.29, allocations: 20.17 MB / 7.682 GB, free: 16.45 MB / 456.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/15.29, allocations: 41.03 kB / 7.682 GB, free: 16.41 MB / 456.6 MB Notification: Performance of pre-optimization done (n=50): time 4.54e-06/15.29, allocations: 0 / 7.682 GB, free: 16.41 MB / 456.6 MB Notification: Performance of matching and sorting (n=55): time 0.006384/15.3, allocations: 1.529 MB / 7.684 GB, free: 16.03 MB / 456.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/15.3, allocations: 55.81 kB / 7.684 GB, free: 15.97 MB / 456.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/15.3, allocations: 228.5 kB / 7.684 GB, free: 15.88 MB / 456.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001236/15.3, allocations: 25.7 kB / 7.684 GB, free: 15.84 MB / 456.6 MB Notification: Performance of collectInitialEqns (initialization): time 9.575e-05/15.3, allocations: 195.1 kB / 7.684 GB, free: 15.7 MB / 456.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/15.3, allocations: 183.2 kB / 7.685 GB, free: 15.57 MB / 456.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/15.3, allocations: 0 / 7.685 GB, free: 15.57 MB / 456.6 MB Notification: Performance of setup shared object (initialization): time 8.43e-05/15.3, allocations: 348.2 kB / 7.685 GB, free: 15.26 MB / 456.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004887/15.3, allocations: 202.5 kB / 7.685 GB, free: 15.26 MB / 456.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/15.3, allocations: 296.9 kB / 7.685 GB, free: 15.17 MB / 456.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/15.3, allocations: 333.2 kB / 7.686 GB, free: 15.17 MB / 456.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.683e-06/15.3, allocations: 2.094 kB / 7.686 GB, free: 15.17 MB / 456.6 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002901/15.3, allocations: 0.7405 MB / 7.686 GB, free: 15.07 MB / 456.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/15.3, allocations: 3.406 kB / 7.686 GB, free: 15.07 MB / 456.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/15.3, allocations: 7.031 kB / 7.686 GB, free: 15.07 MB / 456.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003199/15.3, allocations: 78.69 kB / 7.687 GB, free: 15.05 MB / 456.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007875/15.3, allocations: 130.5 kB / 7.687 GB, free: 15.04 MB / 456.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002728/15.31, allocations: 3.189 MB / 7.69 GB, free: 12.06 MB / 456.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006553/15.31, allocations: 33.14 kB / 7.69 GB, free: 12.05 MB / 456.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.892e-05/15.31, allocations: 27.27 kB / 7.69 GB, free: 12.05 MB / 456.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.0001574/15.31, allocations: 79.88 kB / 7.69 GB, free: 11.98 MB / 456.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000514/15.31, allocations: 44.56 kB / 7.69 GB, free: 11.96 MB / 456.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002393/15.31, allocations: 0.739 MB / 7.691 GB, free: 11.87 MB / 456.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/15.31, allocations: 7.031 kB / 7.691 GB, free: 11.87 MB / 456.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/15.31, allocations: 0 / 7.691 GB, free: 11.87 MB / 456.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002068/15.31, allocations: 0.8083 MB / 7.691 GB, free: 11.51 MB / 456.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003493/15.32, allocations: 1.4 MB / 7.693 GB, free: 11.14 MB / 456.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/15.32, allocations: 8.281 kB / 7.693 GB, free: 11.14 MB / 456.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007801/15.32, allocations: 118.3 kB / 7.693 GB, free: 11.13 MB / 456.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002153/15.32, allocations: 64.78 kB / 7.693 GB, free: 11.12 MB / 456.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.404e-05/15.32, allocations: 16.47 kB / 7.693 GB, free: 11.12 MB / 456.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007215/15.32, allocations: 0.6845 MB / 7.694 GB, free: 10.54 MB / 456.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.847e-06/15.32, allocations: 13.59 kB / 7.694 GB, free: 10.53 MB / 456.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002797/15.32, allocations: 1.08 MB / 7.695 GB, free: 10.18 MB / 456.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/15.32, allocations: 124.7 kB / 7.695 GB, free: 10.06 MB / 456.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/15.32, allocations: 11.64 kB / 7.695 GB, free: 10.06 MB / 456.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007006/15.32, allocations: 23.55 kB / 7.695 GB, free: 10.06 MB / 456.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.311e-05/15.32, allocations: 42.09 kB / 7.695 GB, free: 10.05 MB / 456.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-05/15.32, allocations: 39.3 kB / 7.695 GB, free: 10.05 MB / 456.6 MB Notification: Performance of sort global known variables: time 0.0002294/15.32, allocations: 186.8 kB / 7.695 GB, free: 9.973 MB / 456.6 MB Notification: Performance of remove unused functions: time 0.007632/15.33, allocations: 1.949 MB / 7.697 GB, free: 9.582 MB / 456.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.01388/15.35, allocations: 3.272 MB / 7.7 GB, free: 9.012 MB / 456.6 MB Notification: Performance of simCode: created initialization part: time 0.001578/15.35, allocations: 0.749 MB / 7.701 GB, free: 8.789 MB / 456.6 MB Notification: Performance of simCode: created event and clocks part: time 7.892e-06/15.35, allocations: 3.906 kB / 7.701 GB, free: 8.789 MB / 456.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0006253/15.35, allocations: 309 kB / 7.701 GB, free: 8.762 MB / 456.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/15.35, allocations: 207.9 kB / 7.701 GB, free: 8.754 MB / 456.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/15.35, allocations: 0.9006 MB / 7.702 GB, free: 8.438 MB / 456.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006608/15.35, allocations: 0.9239 MB / 7.703 GB, free: 7.723 MB / 456.6 MB Notification: Performance of SimCode: time 2.095e-06/15.35, allocations: 3.938 kB / 7.703 GB, free: 7.719 MB / 456.6 MB Notification: Performance of Templates: time 0.3472/15.7, allocations: 63.45 MB / 7.765 GB, free: 73.26 MB / 456.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile clang -fPIC -O2 -march=native -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_MoistAir1 -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_-O2_Modelica.Media.Examples.ReferenceAir.MoistAir1.o Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.MoistAir1.c In file included from Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:2: ./Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.MoistAir1_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_MoistAir1__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.MoistAir1_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_MoistAir1__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: variable has incomplete type 'void' static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_MoistAir1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: expected ';' after top level declarator Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_MoistAir1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:171:33: error: unknown type name 'MEASURE_TIME' static void fmtInit(DATA* data, MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:175:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:198:63: error: unknown type name 'MEASURE_TIME' static void fmtEmitStep(DATA* data, threadData_t *threadData, MEASURE_TIME* mt, SOLVER_INFO* solverInfo) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:239:5: warning: implicit declaration of function 'overwriteOldSimulationData' is invalid in C99 [-Wimplicit-function-declaration] overwriteOldSimulationData(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:240:5: warning: implicit declaration of function 'storePreValues' is invalid in C99 [-Wimplicit-function-declaration] storePreValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:241:5: warning: implicit declaration of function 'storeOldValues' is invalid in C99 [-Wimplicit-function-declaration] storeOldValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:259:3: warning: implicit declaration of function 'printAllVarsDebug' is invalid in C99 [-Wimplicit-function-declaration] printAllVarsDebug(data, 0, LOG_DEBUG); /* ??? */ ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:263:22: error: unknown type name 'MEASURE_TIME' static void fmtClose(MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:291:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:308:3: warning: implicit declaration of function 'restoreOldValues' is invalid in C99 [-Wimplicit-function-declaration] restoreOldValues(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:311:3: warning: implicit declaration of function 'updateDiscreteSystem' is invalid in C99 [-Wimplicit-function-declaration] updateDiscreteSystem(data, threadData); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_MoistAir1_performSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_MoistAir1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: expected ';' after top level declarator int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_MoistAir1_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_MoistAir1_performQSSSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_MoistAir1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: expected ';' after top level declarator int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_MoistAir1_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_MoistAir1_input_function(DATA *data, threadData_t *threadData) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_MoistAir1_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_MoistAir1_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:728:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_MoistAir1_eqFunction_132(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:728:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_MoistAir1_eqFunction_132(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:737:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_MoistAir1_eqFunction_134(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:737:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_MoistAir1_eqFunction_134(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:1514:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_MoistAir1_eqFunction_86(DATA* data, threadData_t *threadData); ^ ; fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.MoistAir1.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.MoistAir1.o] Error 1