Notification: Performance of loadModel(Modelica): time 1.52/1.52, allocations: 194.5 MB / 200.7 MB, free: 3.699 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.048e-05/1.069e-05, allocations: 3 kB / 247.4 MB, free: 4.762 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06363/0.06371, allocations: 44.36 MB / 291.7 MB, free: 9.051 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.42/11.48, allocations: 6.529 GB / 6.814 GB, free: 110 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/11.48, allocations: 86.06 kB / 6.814 GB, free: 110 MB / 392.6 MB Notification: Performance of FrontEnd: time 2.829/14.31, allocations: 0.6641 GB / 7.478 GB, free: 28.95 MB / 424.6 MB Notification: Performance of Transformations before backend: time 3.464e-05/14.31, allocations: 11.38 kB / 7.478 GB, free: 28.95 MB / 424.6 MB Notification: Performance of Generate backend data structure: time 0.008376/14.32, allocations: 2.403 MB / 7.48 GB, free: 27.62 MB / 424.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/14.32, allocations: 9.688 kB / 7.48 GB, free: 27.62 MB / 424.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000763/14.32, allocations: 88.53 kB / 7.48 GB, free: 27.59 MB / 424.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008652/14.32, allocations: 437.7 kB / 7.481 GB, free: 27.34 MB / 424.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/14.32, allocations: 27.02 kB / 7.481 GB, free: 27.33 MB / 424.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/14.32, allocations: 41.62 kB / 7.481 GB, free: 27.33 MB / 424.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001619/14.32, allocations: 0.798 MB / 7.482 GB, free: 27.32 MB / 424.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/14.33, allocations: 0.5804 MB / 7.482 GB, free: 27.28 MB / 424.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.359e-05/14.33, allocations: 3.062 kB / 7.482 GB, free: 27.28 MB / 424.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/14.33, allocations: 1.938 kB / 7.482 GB, free: 27.28 MB / 424.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/14.33, allocations: 16.59 kB / 7.482 GB, free: 27.28 MB / 424.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0171/14.34, allocations: 12.56 MB / 7.494 GB, free: 15.95 MB / 424.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009453/14.34, allocations: 447.8 kB / 7.495 GB, free: 15.92 MB / 424.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008154/14.34, allocations: 400.6 kB / 7.495 GB, free: 15.91 MB / 424.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04055/14.39, allocations: 30.26 MB / 7.525 GB, free: 17.51 MB / 456.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/14.39, allocations: 48.03 kB / 7.525 GB, free: 17.47 MB / 456.6 MB Notification: Performance of pre-optimization done (n=78): time 6.635e-06/14.39, allocations: 1.312 kB / 7.525 GB, free: 17.47 MB / 456.6 MB Notification: Performance of matching and sorting (n=88): time 0.009265/14.39, allocations: 2.372 MB / 7.527 GB, free: 17.02 MB / 456.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/14.39, allocations: 59.28 kB / 7.527 GB, free: 16.96 MB / 456.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00036/14.4, allocations: 266.7 kB / 7.527 GB, free: 16.86 MB / 456.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001258/14.4, allocations: 29.17 kB / 7.527 GB, free: 16.82 MB / 456.6 MB Notification: Performance of collectInitialEqns (initialization): time 9.827e-05/14.4, allocations: 215 kB / 7.528 GB, free: 16.66 MB / 456.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/14.4, allocations: 295.7 kB / 7.528 GB, free: 16.47 MB / 456.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/14.4, allocations: 0 / 7.528 GB, free: 16.47 MB / 456.6 MB Notification: Performance of setup shared object (initialization): time 9.952e-05/14.4, allocations: 364.4 kB / 7.528 GB, free: 16.16 MB / 456.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007426/14.4, allocations: 315.8 kB / 7.529 GB, free: 16.16 MB / 456.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008182/14.4, allocations: 414.6 kB / 7.529 GB, free: 16.07 MB / 456.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002156/14.4, allocations: 0.5087 MB / 7.53 GB, free: 16.06 MB / 456.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.777e-06/14.4, allocations: 0 / 7.53 GB, free: 16.06 MB / 456.6 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.004154/14.4, allocations: 1.09 MB / 7.531 GB, free: 15.94 MB / 456.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/14.4, allocations: 3.938 kB / 7.531 GB, free: 15.94 MB / 456.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/14.4, allocations: 6.734 kB / 7.531 GB, free: 15.94 MB / 456.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004062/14.41, allocations: 115.8 kB / 7.531 GB, free: 15.91 MB / 456.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/14.41, allocations: 192.7 kB / 7.531 GB, free: 15.89 MB / 456.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003645/14.41, allocations: 3.858 MB / 7.535 GB, free: 12.33 MB / 456.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009935/14.41, allocations: 46.86 kB / 7.535 GB, free: 12.32 MB / 456.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/14.41, allocations: 48.06 kB / 7.535 GB, free: 12.32 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.0002011/14.41, allocations: 78.66 kB / 7.535 GB, free: 12.25 MB / 456.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006939/14.41, allocations: 55.25 kB / 7.535 GB, free: 12.22 MB / 456.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003957/14.42, allocations: 1.167 MB / 7.536 GB, free: 12.1 MB / 456.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/14.42, allocations: 13.69 kB / 7.536 GB, free: 12.1 MB / 456.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/14.42, allocations: 0 / 7.536 GB, free: 12.1 MB / 456.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002979/14.42, allocations: 1.377 MB / 7.537 GB, free: 11.43 MB / 456.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005433/14.43, allocations: 2.054 MB / 7.539 GB, free: 11.04 MB / 456.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/14.43, allocations: 1.031 kB / 7.539 GB, free: 11.04 MB / 456.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/14.43, allocations: 187.3 kB / 7.54 GB, free: 11.03 MB / 456.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003744/14.43, allocations: 139.7 kB / 7.54 GB, free: 11 MB / 456.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/14.43, allocations: 21.22 kB / 7.54 GB, free: 11 MB / 456.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001632/14.43, allocations: 1.372 MB / 7.541 GB, free: 25.83 MB / 472.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.752e-06/14.43, allocations: 0 / 7.541 GB, free: 25.83 MB / 472.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00437/14.43, allocations: 1.602 MB / 7.543 GB, free: 25.45 MB / 472.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002882/14.43, allocations: 135.3 kB / 7.543 GB, free: 25.32 MB / 472.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/14.43, allocations: 5.469 kB / 7.543 GB, free: 25.32 MB / 472.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009554/14.44, allocations: 40.64 kB / 7.543 GB, free: 25.32 MB / 472.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/14.44, allocations: 62.05 kB / 7.543 GB, free: 25.31 MB / 472.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/14.44, allocations: 54.67 kB / 7.543 GB, free: 25.31 MB / 472.6 MB Notification: Performance of sort global known variables: time 0.0003206/14.44, allocations: 211.6 kB / 7.543 GB, free: 25.23 MB / 472.6 MB Notification: Performance of remove unused functions: time 0.008426/14.44, allocations: 2.249 MB / 7.545 GB, free: 24.77 MB / 472.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.01477/14.46, allocations: 3.577 MB / 7.549 GB, free: 24.14 MB / 472.6 MB Notification: Performance of simCode: created initialization part: time 0.002298/14.46, allocations: 1.076 MB / 7.55 GB, free: 23.9 MB / 472.6 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/14.46, allocations: 0 / 7.55 GB, free: 23.9 MB / 472.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/14.46, allocations: 0.4922 MB / 7.55 GB, free: 23.85 MB / 472.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/14.47, allocations: 307.8 kB / 7.551 GB, free: 23.83 MB / 472.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003634/14.47, allocations: 1.424 MB / 7.552 GB, free: 23.52 MB / 472.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/14.47, allocations: 1.033 MB / 7.553 GB, free: 22.8 MB / 472.6 MB Notification: Performance of SimCode: time 2.304e-06/14.47, allocations: 1.719 kB / 7.553 GB, free: 22.8 MB / 472.6 MB Notification: Performance of Templates: time 0.3449/14.82, allocations: 75.92 MB / 7.627 GB, free: 102.7 MB / 472.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.MoistAir2.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_ReferenceAir_MoistAir2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.MoistAir2.o Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.MoistAir2.c In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.MoistAir2.c:2: ./Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.MoistAir2_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_MoistAir2__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.MoistAir2_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_MoistAir2__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.ReferenceAir.MoistAir2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_MoistAir2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.ReferenceAir.MoistAir2.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_MoistAir2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.ReferenceAir.MoistAir2.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_MoistAir2_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.ReferenceAir.MoistAir2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_MoistAir2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.ReferenceAir.MoistAir2.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_MoistAir2_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.ReferenceAir.MoistAir2.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_MoistAir2_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.ReferenceAir.MoistAir2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_MoistAir2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.ReferenceAir.MoistAir2.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_MoistAir2_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.MoistAir2.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_MoistAir2_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.ReferenceAir.MoistAir2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_MoistAir2_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.MoistAir2.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_MoistAir2_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.MoistAir2.c:1150:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_MoistAir2_eqFunction_203(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.MoistAir2.c:1150:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_MoistAir2_eqFunction_203(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.MoistAir2.c:1159:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_MoistAir2_eqFunction_205(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.MoistAir2.c:1159:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_MoistAir2_eqFunction_205(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.MoistAir2.c:1246:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_MoistAir2_eqFunction_211(DATA*,threadData_t*); ^ 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.ReferenceAir.MoistAir2.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.MoistAir2.o] Error 1