Notification: Performance of loadModel(Modelica): time 1.515/1.515, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.568e-06/9.708e-06, allocations: 1.156 kB / 247.9 MB, free: 4.145 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06405/0.06412, allocations: 44.36 MB / 292.2 MB, free: 8.758 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.33/11.4, allocations: 6.293 GB / 6.579 GB, free: 78.14 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/11.4, allocations: 80.52 kB / 6.579 GB, free: 78.14 MB / 392.6 MB Notification: Performance of FrontEnd: time 4.71/16.11, allocations: 1.1 GB / 7.679 GB, free: 10.23 MB / 456.6 MB Notification: Performance of Transformations before backend: time 0.0005722/16.11, allocations: 245.2 kB / 7.679 GB, free: 10 MB / 456.6 MB Notification: Performance of Generate backend data structure: time 0.05516/16.16, allocations: 12.17 MB / 7.691 GB, free: 15.13 MB / 472.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/16.16, allocations: 12.03 kB / 7.691 GB, free: 15.12 MB / 472.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04076/16.2, allocations: 3.509 MB / 7.694 GB, free: 11.59 MB / 472.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2596/16.46, allocations: 11.67 MB / 7.706 GB, free: 52.27 MB / 472.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008439/16.46, allocations: 456.2 kB / 7.706 GB, free: 52.27 MB / 472.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006651/16.47, allocations: 0.7028 MB / 7.707 GB, free: 52.27 MB / 472.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06091/16.53, allocations: 26.18 MB / 7.732 GB, free: 52.21 MB / 472.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06837/16.6, allocations: 24.13 MB / 7.756 GB, free: 50.08 MB / 472.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000618/16.6, allocations: 43.22 kB / 7.756 GB, free: 50.08 MB / 472.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006411/16.61, allocations: 23.66 kB / 7.756 GB, free: 50.08 MB / 472.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001159/16.61, allocations: 1.376 MB / 7.757 GB, free: 50.05 MB / 472.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6154/17.22, allocations: 173.5 MB / 7.927 GB, free: 33.21 MB / 488.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0218/17.25, allocations: 10.36 MB / 7.937 GB, free: 33.16 MB / 488.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01993/17.27, allocations: 9.721 MB / 7.946 GB, free: 33.09 MB / 488.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1387/17.41, allocations: 55.37 MB / 8 GB, free: 29.05 MB / 0.5084 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002058/17.41, allocations: 173.7 kB / 8.001 GB, free: 29 MB / 0.5084 GB Notification: Performance of pre-optimization done (n=1163): time 2.284e-05/17.41, allocations: 0.6562 kB / 8.001 GB, free: 29 MB / 0.5084 GB Notification: Performance of matching and sorting (n=1363): time 0.2825/17.69, allocations: 69.61 MB / 8.069 GB, free: 7.105 MB / 0.5084 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004156/17.69, allocations: 0.7986 MB / 8.069 GB, free: 6.148 MB / 0.5084 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01173/17.7, allocations: 4.655 MB / 8.074 GB, free: 1.973 MB / 0.5084 GB Notification: Performance of collectPreVariables (initialization): time 0.003686/17.7, allocations: 29.7 kB / 8.074 GB, free: 1.938 MB / 0.5084 GB Notification: Performance of collectInitialEqns (initialization): time 0.2273/17.93, allocations: 4.328 MB / 8.078 GB, free: 96.49 MB / 0.5084 GB Notification: Performance of collectInitialBindings (initialization): time 0.008063/17.94, allocations: 4.606 MB / 8.083 GB, free: 93.74 MB / 0.5084 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003818/17.94, allocations: 3.75 kB / 8.083 GB, free: 93.74 MB / 0.5084 GB Notification: Performance of setup shared object (initialization): time 0.001347/17.95, allocations: 0.9295 MB / 8.084 GB, free: 93.41 MB / 0.5084 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02473/17.97, allocations: 11.53 MB / 8.095 GB, free: 93.38 MB / 0.5084 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02791/18, allocations: 14.59 MB / 8.109 GB, free: 90.21 MB / 0.5084 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0614/18.06, allocations: 16.8 MB / 8.125 GB, free: 90.03 MB / 0.5084 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001419/18.06, allocations: 22.72 kB / 8.125 GB, free: 90.03 MB / 0.5084 GB Notification: Performance of matching and sorting (n=1958) (initialization): time 0.1403/18.2, allocations: 41.46 MB / 8.166 GB, free: 89.2 MB / 0.5084 GB Notification: Performance of prepare postOptimizeDAE: time 0.006487/18.21, allocations: 34.01 MB / 8.199 GB, free: 53.37 MB / 0.5084 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003686/18.21, allocations: 81.31 kB / 8.199 GB, free: 53.37 MB / 0.5084 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2319/18.44, allocations: 37.66 MB / 8.236 GB, free: 47.62 MB / 0.5084 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008772/18.45, allocations: 1.592 MB / 8.238 GB, free: 47.56 MB / 0.5084 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3685/18.82, allocations: 49.17 MB / 8.286 GB, free: 87.95 MB / 0.5084 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02161/18.84, allocations: 1.13 MB / 8.287 GB, free: 87.95 MB / 0.5084 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005223/18.84, allocations: 0.6929 MB / 8.287 GB, free: 87.95 MB / 0.5084 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/18.84, allocations: 2 kB / 8.287 GB, free: 87.95 MB / 0.5084 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1168/18.96, allocations: 36.13 MB / 8.323 GB, free: 87.56 MB / 0.5084 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003219/18.96, allocations: 79.56 kB / 8.323 GB, free: 87.56 MB / 0.5084 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2119/19.17, allocations: 29.73 MB / 8.352 GB, free: 87.1 MB / 0.5084 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009179/19.18, allocations: 1.671 MB / 8.353 GB, free: 87.1 MB / 0.5084 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.113/19.3, allocations: 43.34 MB / 8.396 GB, free: 67.62 MB / 0.5084 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01913/19.32, allocations: 1.064 MB / 8.397 GB, free: 67.01 MB / 0.5084 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004736/19.32, allocations: 0.6711 MB / 8.397 GB, free: 66.39 MB / 0.5084 GB Notification: Performance of prepare postOptimizeDAE: time 0.003687/19.32, allocations: 87.28 kB / 8.398 GB, free: 66.3 MB / 0.5084 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0103/19.33, allocations: 1.731 MB / 8.399 GB, free: 65.27 MB / 0.5084 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3798/19.71, allocations: 49.96 MB / 8.448 GB, free: 85.98 MB / 0.5084 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003321/19.71, allocations: 272.1 kB / 8.448 GB, free: 85.98 MB / 0.5084 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001008/19.71, allocations: 13.44 kB / 8.448 GB, free: 85.98 MB / 0.5084 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1044/19.82, allocations: 39.89 MB / 8.487 GB, free: 83.92 MB / 0.5084 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1684/19.99, allocations: 68.82 MB / 8.554 GB, free: 62.4 MB / 0.5084 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001341/19.99, allocations: 0 / 8.554 GB, free: 62.4 MB / 0.5084 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02344/20.01, allocations: 2.782 MB / 8.557 GB, free: 62.32 MB / 0.5084 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02532/20.04, allocations: 6.71 MB / 8.564 GB, free: 60.08 MB / 0.5084 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004478/20.04, allocations: 423.5 kB / 8.564 GB, free: 59.96 MB / 0.5084 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3315/20.37, allocations: 86.35 MB / 8.648 GB, free: 29.45 MB / 0.5084 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.403e-06/20.37, allocations: 0 / 8.648 GB, free: 29.45 MB / 0.5084 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1419/20.52, allocations: 58.36 MB / 8.705 GB, free: 27.71 MB / 0.5084 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003724/20.52, allocations: 1.129 MB / 8.707 GB, free: 27.11 MB / 0.5084 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006007/20.52, allocations: 218.5 kB / 8.707 GB, free: 27.11 MB / 0.5084 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01698/20.54, allocations: 0.7687 MB / 8.707 GB, free: 27.02 MB / 0.5084 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004475/20.55, allocations: 0.7702 MB / 8.708 GB, free: 27 MB / 0.5084 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0043/20.55, allocations: 0.4936 MB / 8.709 GB, free: 27 MB / 0.5084 GB Notification: Performance of sort global known variables: time 0.007991/20.56, allocations: 3.261 MB / 8.712 GB, free: 26.82 MB / 0.5084 GB Notification: Performance of remove unused functions: time 0.0445/20.6, allocations: 8.188 MB / 8.72 GB, free: 26.71 MB / 0.5084 GB Notification: Performance of Backend phase and start with SimCode phase: time 0.01322/20.62, allocations: 3.51 MB / 8.723 GB, free: 26.34 MB / 0.5084 GB Notification: Performance of simCode: created initialization part: time 0.3656/20.98, allocations: 50.77 MB / 8.773 GB, free: 84.71 MB / 0.5084 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/20.98, allocations: 7 kB / 8.773 GB, free: 84.71 MB / 0.5084 GB Notification: Performance of simCode: created simulation system equations: time 0.04784/21.03, allocations: 24.14 MB / 8.796 GB, free: 80.64 MB / 0.5084 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02442/21.06, allocations: 3.014 MB / 8.799 GB, free: 80.59 MB / 0.5084 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1798/21.24, allocations: 58.76 MB / 8.857 GB, free: 73.98 MB / 0.5084 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02917/21.26, allocations: 9.863 MB / 8.866 GB, free: 71.32 MB / 0.5084 GB Notification: Performance of SimCode: time 2.794e-06/21.26, allocations: 0 / 8.866 GB, free: 71.32 MB / 0.5084 GB Notification: Performance of Templates: time 1.543/22.81, allocations: 492.6 MB / 9.348 GB, free: 55.68 MB / 0.5084 GB make -j1 -f Modelica_3.2.2_-O1_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.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_Fluid_Examples_HeatExchanger_HeatExchangerSimulation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=40 -DOMC_NUM_NONLINEAR_SYSTEMS=42 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.o Modelica_3.2.2_-O1_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c In file included from Modelica_3.2.2_-O1_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:2: ./Modelica_3.2.2_-O1_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.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.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.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.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.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.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation_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.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.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.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.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.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation_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.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.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.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation_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.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:3379:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation_eqFunction_4874(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:3379:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation_eqFunction_4874(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:3380:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation_eqFunction_4873(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:3380:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation_eqFunction_4873(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:3389:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation_eqFunction_4875(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.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.o] Error 1