Notification: Performance of loadModel(Modelica): time 1.479/1.479, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.055e-05/1.055e-05, allocations: 2.031 kB / 247.3 MB, free: 4.73 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06495/0.06503, allocations: 44.37 MB / 291.7 MB, free: 9.285 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.125/1.19, allocations: 0.6352 GB / 0.92 GB, free: 10.1 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/1.19, allocations: 87.25 kB / 0.9201 GB, free: 10.02 MB / 392.6 MB Notification: Performance of FrontEnd: time 0.5314/1.721, allocations: 148.9 MB / 1.066 GB, free: 17.76 MB / 392.6 MB Notification: Performance of Transformations before backend: time 2.843e-05/1.722, allocations: 12 kB / 1.066 GB, free: 17.75 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.001127/1.723, allocations: 0.663 MB / 1.066 GB, free: 17.05 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/1.723, allocations: 8.031 kB / 1.066 GB, free: 17.04 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000958/1.724, allocations: 79.39 kB / 1.066 GB, free: 16.96 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004995/1.724, allocations: 334.2 kB / 1.067 GB, free: 16.6 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/1.725, allocations: 12.22 kB / 1.067 GB, free: 16.59 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.628e-05/1.725, allocations: 27.91 kB / 1.067 GB, free: 16.56 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005754/1.725, allocations: 265.4 kB / 1.067 GB, free: 16.3 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006823/1.726, allocations: 390.8 kB / 1.067 GB, free: 15.87 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/1.726, allocations: 0 / 1.067 GB, free: 15.87 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.378e-05/1.726, allocations: 8 kB / 1.067 GB, free: 15.86 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/1.726, allocations: 8 kB / 1.067 GB, free: 15.86 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01391/1.74, allocations: 6.287 MB / 1.073 GB, free: 9.027 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003994/1.741, allocations: 169.9 kB / 1.074 GB, free: 8.855 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/1.741, allocations: 133.5 kB / 1.074 GB, free: 8.723 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01122/1.752, allocations: 3.526 MB / 1.077 GB, free: 4.91 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/1.753, allocations: 42.56 kB / 1.077 GB, free: 4.859 MB / 392.6 MB Notification: Performance of pre-optimization done (n=35): time 5.028e-06/1.753, allocations: 0 / 1.077 GB, free: 4.859 MB / 392.6 MB Notification: Performance of matching and sorting (n=45): time 0.006085/1.759, allocations: 1.409 MB / 1.079 GB, free: 3.395 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/1.759, allocations: 55.41 kB / 1.079 GB, free: 3.328 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/1.759, allocations: 232.9 kB / 1.079 GB, free: 3.09 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/1.759, allocations: 29.7 kB / 1.079 GB, free: 3.055 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 8.982e-05/1.759, allocations: 207.8 kB / 1.079 GB, free: 2.848 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/1.76, allocations: 153.8 kB / 1.079 GB, free: 2.695 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/1.76, allocations: 0 / 1.079 GB, free: 2.695 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 7.592e-05/1.76, allocations: 342.8 kB / 1.08 GB, free: 2.352 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/1.76, allocations: 137.3 kB / 1.08 GB, free: 2.219 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/1.761, allocations: 259.3 kB / 1.08 GB, free: 1.914 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/1.762, allocations: 257.9 kB / 1.08 GB, free: 1.664 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.61e-06/1.762, allocations: 0 / 1.08 GB, free: 1.664 MB / 392.6 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002224/1.764, allocations: 0.6025 MB / 1.081 GB, free: 1.043 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/1.764, allocations: 10.75 kB / 1.081 GB, free: 1.035 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/1.764, allocations: 8.453 kB / 1.081 GB, free: 1.027 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005281/1.765, allocations: 110.5 kB / 1.081 GB, free: 0.9102 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005279/1.766, allocations: 107.8 kB / 1.081 GB, free: 0.8047 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1216/1.887, allocations: 2.487 MB / 1.083 GB, free: 112.4 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006087/1.888, allocations: 28.72 kB / 1.083 GB, free: 112.4 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.147e-05/1.888, allocations: 22.31 kB / 1.083 GB, free: 112.4 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 7.724e-05/1.888, allocations: 80.3 kB / 1.084 GB, free: 112.4 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/1.888, allocations: 36 kB / 1.084 GB, free: 112.4 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002399/1.891, allocations: 0.8272 MB / 1.084 GB, free: 112.3 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/1.891, allocations: 14.38 kB / 1.084 GB, free: 112.3 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.54e-06/1.891, allocations: 0 / 1.084 GB, free: 112.3 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001918/1.893, allocations: 0.9375 MB / 1.085 GB, free: 111.9 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003238/1.896, allocations: 1.402 MB / 1.087 GB, free: 111.6 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-06/1.896, allocations: 0 / 1.087 GB, free: 111.6 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004923/1.897, allocations: 79.23 kB / 1.087 GB, free: 111.6 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007389/1.898, allocations: 182.2 kB / 1.087 GB, free: 111.6 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.707e-05/1.898, allocations: 10.41 kB / 1.087 GB, free: 111.6 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001524/1.899, allocations: 1.375 MB / 1.088 GB, free: 110.6 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.727e-06/1.9, allocations: 0 / 1.088 GB, free: 110.6 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002668/1.902, allocations: 1.206 MB / 1.089 GB, free: 110.4 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/1.903, allocations: 109.2 kB / 1.09 GB, free: 110.3 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.533e-05/1.903, allocations: 11.11 kB / 1.09 GB, free: 110.3 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004791/1.903, allocations: 19.48 kB / 1.09 GB, free: 110.3 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/1.903, allocations: 26.7 kB / 1.09 GB, free: 110.3 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.301e-05/1.903, allocations: 23.42 kB / 1.09 GB, free: 110.3 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.0002169/1.904, allocations: 174.2 kB / 1.09 GB, free: 110.2 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.001134/1.905, allocations: 226.8 kB / 1.09 GB, free: 110.2 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.001769/1.907, allocations: 0.49 MB / 1.091 GB, free: 110.1 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.001524/1.908, allocations: 0.6362 MB / 1.091 GB, free: 110 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 5.867e-06/1.909, allocations: 3.719 kB / 1.091 GB, free: 110 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0008278/1.909, allocations: 396 kB / 1.092 GB, free: 110 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/1.911, allocations: 177.1 kB / 1.092 GB, free: 110 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/1.913, allocations: 0.9392 MB / 1.093 GB, free: 109.8 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004477/1.914, allocations: 0.8868 MB / 1.093 GB, free: 109.1 MB / 392.6 MB Notification: Performance of SimCode: time 2.584e-06/1.914, allocations: 0 / 1.093 GB, free: 109.1 MB / 392.6 MB Notification: Performance of Templates: time 0.07219/1.986, allocations: 11.81 MB / 1.105 GB, free: 108.7 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.DryAir2.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_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_-O2_Modelica.Media.Examples.ReferenceAir.DryAir2.o Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.DryAir2.c In file included from Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.DryAir2.c:2: ./Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.DryAir2_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_DryAir2__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.DryAir2_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_DryAir2__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Media.Examples.ReferenceAir.DryAir2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_DryAir2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Media.Examples.ReferenceAir.DryAir2.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_DryAir2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Media.Examples.ReferenceAir.DryAir2.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Media.Examples.ReferenceAir.DryAir2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_DryAir2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Media.Examples.ReferenceAir.DryAir2.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_DryAir2_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Media.Examples.ReferenceAir.DryAir2.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Media.Examples.ReferenceAir.DryAir2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_DryAir2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Media.Examples.ReferenceAir.DryAir2.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_DryAir2_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Media.Examples.ReferenceAir.DryAir2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_DryAir2_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.DryAir2.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_DryAir2_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.DryAir2.c:524:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_DryAir2_eqFunction_111(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.DryAir2.c:524:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_DryAir2_eqFunction_111(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.DryAir2.c:525:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_DryAir2_eqFunction_110(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.DryAir2.c:525:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Media_Examples_ReferenceAir_DryAir2_eqFunction_110(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.DryAir2.c:534:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_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_-O2_Modelica.Media.Examples.ReferenceAir.DryAir2.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Media.Examples.ReferenceAir.DryAir2.o] Error 1