Notification: Performance of loadModel(Modelica): time 1.528/1.528, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.222e-05/1.222e-05, allocations: 2.188 kB / 247.3 MB, free: 4.719 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0612/0.06128, allocations: 44.36 MB / 291.7 MB, free: 9.289 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.65/11.71, allocations: 6.529 GB / 6.814 GB, free: 120.6 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/11.72, allocations: 85.92 kB / 6.814 GB, free: 120.6 MB / 392.6 MB Notification: Performance of FrontEnd: time 3.36/15.07, allocations: 0.8326 GB / 7.646 GB, free: 17.07 MB / 424.6 MB Notification: Performance of Transformations before backend: time 2.815e-05/15.08, allocations: 8.719 kB / 7.646 GB, free: 17.07 MB / 424.6 MB Notification: Performance of Generate backend data structure: time 0.01037/15.09, allocations: 2.893 MB / 7.649 GB, free: 15.38 MB / 424.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/15.09, allocations: 10.88 kB / 7.649 GB, free: 15.38 MB / 424.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006048/15.09, allocations: 60.11 kB / 7.649 GB, free: 15.36 MB / 424.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006652/15.09, allocations: 364.9 kB / 7.65 GB, free: 15.12 MB / 424.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/15.09, allocations: 15.03 kB / 7.65 GB, free: 15.12 MB / 424.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.891e-05/15.09, allocations: 25.72 kB / 7.65 GB, free: 15.12 MB / 424.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001217/15.09, allocations: 0.5795 MB / 7.65 GB, free: 15.12 MB / 424.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009806/15.09, allocations: 428.4 kB / 7.651 GB, free: 15.08 MB / 424.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/15.09, allocations: 0.5469 kB / 7.651 GB, free: 15.08 MB / 424.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.759e-05/15.09, allocations: 3.906 kB / 7.651 GB, free: 15.08 MB / 424.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/15.09, allocations: 13.41 kB / 7.651 GB, free: 15.08 MB / 424.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01713/15.11, allocations: 11.81 MB / 7.662 GB, free: 20.12 MB / 440.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006617/15.11, allocations: 309.6 kB / 7.662 GB, free: 20.11 MB / 440.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005231/15.11, allocations: 255.8 kB / 7.663 GB, free: 20.09 MB / 440.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02637/15.13, allocations: 20.17 MB / 7.682 GB, free: 15.83 MB / 456.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/15.14, allocations: 48.72 kB / 7.682 GB, free: 15.79 MB / 456.6 MB Notification: Performance of pre-optimization done (n=50): time 6.775e-06/15.14, allocations: 0 / 7.682 GB, free: 15.79 MB / 456.6 MB Notification: Performance of matching and sorting (n=55): time 0.005969/15.14, allocations: 1.531 MB / 7.684 GB, free: 15.41 MB / 456.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/15.14, allocations: 55.75 kB / 7.684 GB, free: 15.35 MB / 456.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/15.14, allocations: 223 kB / 7.684 GB, free: 15.25 MB / 456.6 MB Notification: Performance of collectPreVariables (initialization): time 6.851e-05/15.14, allocations: 25.7 kB / 7.684 GB, free: 15.22 MB / 456.6 MB Notification: Performance of collectInitialEqns (initialization): time 8.297e-05/15.14, allocations: 198.8 kB / 7.684 GB, free: 15.07 MB / 456.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.000137/15.14, allocations: 187 kB / 7.685 GB, free: 14.95 MB / 456.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/15.14, allocations: 0 / 7.685 GB, free: 14.95 MB / 456.6 MB Notification: Performance of setup shared object (initialization): time 0.0002518/15.14, allocations: 341.3 kB / 7.685 GB, free: 14.64 MB / 456.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004413/15.14, allocations: 207.5 kB / 7.685 GB, free: 14.64 MB / 456.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004865/15.14, allocations: 295.8 kB / 7.685 GB, free: 14.55 MB / 456.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/15.14, allocations: 328.7 kB / 7.686 GB, free: 14.55 MB / 456.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.495e-06/15.14, allocations: 6.094 kB / 7.686 GB, free: 14.55 MB / 456.6 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002902/15.15, allocations: 0.7386 MB / 7.686 GB, free: 14.45 MB / 456.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/15.15, allocations: 6.281 kB / 7.686 GB, free: 14.45 MB / 456.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/15.15, allocations: 2.062 kB / 7.686 GB, free: 14.45 MB / 456.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003226/15.15, allocations: 84.22 kB / 7.687 GB, free: 14.43 MB / 456.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007495/15.15, allocations: 121.8 kB / 7.687 GB, free: 14.42 MB / 456.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002746/15.15, allocations: 3.198 MB / 7.69 GB, free: 11.43 MB / 456.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006313/15.15, allocations: 31.44 kB / 7.69 GB, free: 11.42 MB / 456.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.053e-05/15.15, allocations: 33.5 kB / 7.69 GB, free: 11.42 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.0001594/15.15, allocations: 82.72 kB / 7.69 GB, free: 11.34 MB / 456.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004922/15.15, allocations: 36.5 kB / 7.69 GB, free: 11.33 MB / 456.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002306/15.16, allocations: 0.7456 MB / 7.691 GB, free: 11.23 MB / 456.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/15.16, allocations: 6.594 kB / 7.691 GB, free: 11.23 MB / 456.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.657e-06/15.16, allocations: 4.062 kB / 7.691 GB, free: 11.23 MB / 456.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001736/15.16, allocations: 0.8083 MB / 7.691 GB, free: 10.87 MB / 456.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003343/15.16, allocations: 1.386 MB / 7.693 GB, free: 10.5 MB / 456.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.451e-06/15.16, allocations: 3.312 kB / 7.693 GB, free: 10.5 MB / 456.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007692/15.16, allocations: 120.6 kB / 7.693 GB, free: 10.5 MB / 456.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002085/15.16, allocations: 67.5 kB / 7.693 GB, free: 10.48 MB / 456.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.09e-05/15.16, allocations: 12.86 kB / 7.693 GB, free: 10.48 MB / 456.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007088/15.16, allocations: 0.6915 MB / 7.694 GB, free: 9.895 MB / 456.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.08e-06/15.16, allocations: 11.38 kB / 7.694 GB, free: 9.887 MB / 456.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002765/15.17, allocations: 1.077 MB / 7.695 GB, free: 9.543 MB / 456.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/15.17, allocations: 124.8 kB / 7.695 GB, free: 9.43 MB / 456.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/15.17, allocations: 3.938 kB / 7.695 GB, free: 9.43 MB / 456.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006849/15.17, allocations: 28.23 kB / 7.695 GB, free: 9.426 MB / 456.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.178e-05/15.17, allocations: 47.95 kB / 7.695 GB, free: 9.418 MB / 456.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.045e-05/15.17, allocations: 35.95 kB / 7.695 GB, free: 9.418 MB / 456.6 MB Notification: Performance of sort global known variables: time 0.0002486/15.17, allocations: 185.5 kB / 7.695 GB, free: 9.336 MB / 456.6 MB Notification: Performance of remove unused functions: time 0.007407/15.18, allocations: 1.949 MB / 7.697 GB, free: 8.945 MB / 456.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.01333/15.19, allocations: 3.271 MB / 7.7 GB, free: 8.191 MB / 456.6 MB Notification: Performance of simCode: created initialization part: time 0.001579/15.19, allocations: 0.7555 MB / 7.701 GB, free: 7.965 MB / 456.6 MB Notification: Performance of simCode: created event and clocks part: time 8.241e-06/15.19, allocations: 3.281 kB / 7.701 GB, free: 7.965 MB / 456.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0006092/15.19, allocations: 307.1 kB / 7.701 GB, free: 7.934 MB / 456.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/15.19, allocations: 210.2 kB / 7.701 GB, free: 7.918 MB / 456.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/15.2, allocations: 0.9006 MB / 7.702 GB, free: 7.57 MB / 456.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007811/15.2, allocations: 0.9252 MB / 7.703 GB, free: 22.86 MB / 472.6 MB Notification: Performance of SimCode: time 2.305e-06/15.2, allocations: 0 / 7.703 GB, free: 22.86 MB / 472.6 MB Notification: Performance of Templates: time 0.3047/15.5, allocations: 63.43 MB / 7.765 GB, free: 92.95 MB / 472.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