Notification: Performance of loadModel(Modelica): time 1.584/1.584, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.777e-06/9.778e-06, allocations: 2.156 kB / 247.3 MB, free: 4.699 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06345/0.06354, allocations: 44.36 MB / 291.7 MB, free: 9.32 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.346/1.41, allocations: 0.6352 GB / 0.92 GB, free: 108.5 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/1.41, allocations: 87.08 kB / 0.9201 GB, free: 108.5 MB / 392.6 MB Notification: Performance of FrontEnd: time 0.553/1.963, allocations: 148.9 MB / 1.066 GB, free: 79.17 MB / 392.6 MB Notification: Performance of Transformations before backend: time 3.031e-05/1.963, allocations: 9.844 kB / 1.066 GB, free: 79.17 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.001284/1.965, allocations: 0.6645 MB / 1.066 GB, free: 78.81 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/1.965, allocations: 11.75 kB / 1.066 GB, free: 78.81 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/1.966, allocations: 73.45 kB / 1.066 GB, free: 78.79 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000581/1.967, allocations: 333.6 kB / 1.067 GB, free: 78.58 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/1.967, allocations: 13.59 kB / 1.067 GB, free: 78.58 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.67e-05/1.967, allocations: 27.44 kB / 1.067 GB, free: 78.58 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006057/1.967, allocations: 261.5 kB / 1.067 GB, free: 78.57 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000709/1.968, allocations: 397.5 kB / 1.067 GB, free: 78.43 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/1.968, allocations: 6.438 kB / 1.067 GB, free: 78.43 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.469e-05/1.968, allocations: 0 / 1.067 GB, free: 78.43 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/1.968, allocations: 12.19 kB / 1.067 GB, free: 78.43 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01406/1.983, allocations: 6.284 MB / 1.073 GB, free: 74.68 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/1.983, allocations: 165.2 kB / 1.074 GB, free: 74.66 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002546/1.983, allocations: 142.9 kB / 1.074 GB, free: 74.65 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01132/1.995, allocations: 3.526 MB / 1.077 GB, free: 73.14 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/1.995, allocations: 37.31 kB / 1.077 GB, free: 73.1 MB / 392.6 MB Notification: Performance of pre-optimization done (n=35): time 4.19e-06/1.995, allocations: 0 / 1.077 GB, free: 73.1 MB / 392.6 MB Notification: Performance of matching and sorting (n=45): time 0.006163/2.001, allocations: 1.417 MB / 1.079 GB, free: 72.73 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/2.001, allocations: 58.66 kB / 1.079 GB, free: 72.67 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/2.002, allocations: 228.7 kB / 1.079 GB, free: 72.57 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 4.742e-05/2.002, allocations: 29.23 kB / 1.079 GB, free: 72.54 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 8.94e-05/2.002, allocations: 205.9 kB / 1.079 GB, free: 72.38 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/2.002, allocations: 158.4 kB / 1.079 GB, free: 72.28 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/2.002, allocations: 0 / 1.079 GB, free: 72.28 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 8.004e-05/2.002, allocations: 345.3 kB / 1.08 GB, free: 71.97 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003042/2.003, allocations: 132.8 kB / 1.08 GB, free: 71.96 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003705/2.003, allocations: 262.5 kB / 1.08 GB, free: 71.84 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/2.005, allocations: 253.6 kB / 1.08 GB, free: 71.83 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.867e-06/2.005, allocations: 3.906 kB / 1.08 GB, free: 71.83 MB / 392.6 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002287/2.007, allocations: 0.6007 MB / 1.081 GB, free: 71.75 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/2.007, allocations: 5.25 kB / 1.081 GB, free: 71.75 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/2.007, allocations: 3.875 kB / 1.081 GB, free: 71.75 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005461/2.008, allocations: 120 kB / 1.081 GB, free: 71.72 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005676/2.008, allocations: 108.7 kB / 1.081 GB, free: 71.72 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/2.011, allocations: 2.483 MB / 1.083 GB, free: 69.49 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000605/2.012, allocations: 29.27 kB / 1.083 GB, free: 69.49 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.924e-05/2.012, allocations: 22.47 kB / 1.083 GB, free: 69.48 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 7.759e-05/2.012, allocations: 79.83 kB / 1.084 GB, free: 69.41 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/2.012, allocations: 32.78 kB / 1.084 GB, free: 69.39 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/2.015, allocations: 0.8302 MB / 1.084 GB, free: 69.3 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/2.015, allocations: 13.17 kB / 1.084 GB, free: 69.3 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.75e-06/2.015, allocations: 0 / 1.084 GB, free: 69.3 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001986/2.017, allocations: 0.9433 MB / 1.085 GB, free: 68.91 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003304/2.02, allocations: 1.391 MB / 1.087 GB, free: 68.6 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.521e-06/2.02, allocations: 0 / 1.087 GB, free: 68.6 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005075/2.021, allocations: 78.83 kB / 1.087 GB, free: 68.6 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007609/2.022, allocations: 188.2 kB / 1.087 GB, free: 68.57 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.071e-05/2.022, allocations: 6.594 kB / 1.087 GB, free: 68.57 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/2.023, allocations: 1.385 MB / 1.088 GB, free: 67.52 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.543e-06/2.023, allocations: 0 / 1.088 GB, free: 67.52 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002665/2.026, allocations: 1.195 MB / 1.089 GB, free: 67.3 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/2.026, allocations: 123.5 kB / 1.09 GB, free: 67.19 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.652e-05/2.027, allocations: 3.969 kB / 1.09 GB, free: 67.19 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004838/2.027, allocations: 17.91 kB / 1.09 GB, free: 67.18 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.048e-05/2.027, allocations: 29.53 kB / 1.09 GB, free: 67.18 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.847e-05/2.027, allocations: 18.97 kB / 1.09 GB, free: 67.18 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.0002192/2.028, allocations: 177.8 kB / 1.09 GB, free: 67.1 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.00125/2.029, allocations: 230.2 kB / 1.09 GB, free: 67.08 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.001798/2.031, allocations: 499.6 kB / 1.091 GB, free: 66.99 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.001457/2.032, allocations: 0.634 MB / 1.091 GB, free: 66.89 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.495e-06/2.033, allocations: 9.25 kB / 1.091 GB, free: 66.89 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0008275/2.033, allocations: 390.2 kB / 1.092 GB, free: 66.88 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/2.035, allocations: 180.2 kB / 1.092 GB, free: 66.88 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/2.037, allocations: 0.9477 MB / 1.093 GB, free: 66.54 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004471/2.038, allocations: 0.8893 MB / 1.093 GB, free: 65.83 MB / 392.6 MB Notification: Performance of SimCode: time 2.235e-06/2.038, allocations: 4 kB / 1.093 GB, free: 65.82 MB / 392.6 MB Notification: Performance of Templates: time 0.05264/2.091, allocations: 11.82 MB / 1.105 GB, free: 65.02 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.DryAir2.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_DryAir2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.DryAir2.o Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.DryAir2.c In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.DryAir2.c:2: ./Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.DryAir2_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_DryAir2__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.DryAir2_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_DryAir2__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.DryAir2.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.DryAir2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_DryAir2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.DryAir2.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.DryAir2.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_DryAir2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.DryAir2.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.DryAir2.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_DryAir2_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.DryAir2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_DryAir2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.DryAir2.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.DryAir2.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_DryAir2_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.DryAir2.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.DryAir2.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_DryAir2_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.DryAir2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_DryAir2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.DryAir2.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.DryAir2.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_DryAir2_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.DryAir2.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_DryAir2_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.DryAir2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_DryAir2_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.DryAir2.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_DryAir2_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.DryAir2.c:524:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_DryAir2_eqFunction_111(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.DryAir2.c:524:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_DryAir2_eqFunction_111(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.DryAir2.c:525:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_DryAir2_eqFunction_110(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.DryAir2.c:525:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_DryAir2_eqFunction_110(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.DryAir2.c:534:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Media_Examples_ReferenceAir_DryAir2_eqFunction_112(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.ReferenceAir.DryAir2.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Media.Examples.ReferenceAir.DryAir2.o] Error 1