Notification: Performance of loadModel(Modelica): time 1.54/1.54, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.708e-06/9.569e-06, allocations: 1.375 kB / 247.9 MB, free: 4.199 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06001/0.06009, allocations: 44.36 MB / 292.2 MB, free: 8.777 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.09/11.15, allocations: 6.293 GB / 6.579 GB, free: 74.99 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/11.15, allocations: 92.53 kB / 6.579 GB, free: 74.99 MB / 392.6 MB Notification: Performance of FrontEnd: time 4.654/15.81, allocations: 1.1 GB / 7.679 GB, free: 10.77 MB / 456.6 MB Notification: Performance of Transformations before backend: time 0.0005632/15.81, allocations: 250.3 kB / 7.679 GB, free: 10.53 MB / 456.6 MB Notification: Performance of Generate backend data structure: time 0.05352/15.86, allocations: 12.16 MB / 7.691 GB, free: 156 kB / 456.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/15.86, allocations: 8.031 kB / 7.691 GB, free: 148 kB / 456.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04057/15.9, allocations: 3.51 MB / 7.694 GB, free: 12.62 MB / 472.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04406/15.95, allocations: 11.68 MB / 7.706 GB, free: 0.9141 MB / 472.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000961/15.95, allocations: 451.9 kB / 7.706 GB, free: 484 kB / 472.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2178/16.17, allocations: 0.7 MB / 7.707 GB, free: 53.47 MB / 472.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06144/16.23, allocations: 26.18 MB / 7.732 GB, free: 53.41 MB / 472.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06873/16.3, allocations: 24.13 MB / 7.756 GB, free: 51.29 MB / 472.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006367/16.3, allocations: 42.38 kB / 7.756 GB, free: 51.29 MB / 472.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006461/16.3, allocations: 27.45 kB / 7.756 GB, free: 51.29 MB / 472.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001176/16.31, allocations: 1.375 MB / 7.757 GB, free: 51.26 MB / 472.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.637/16.94, allocations: 173.5 MB / 7.927 GB, free: 35.13 MB / 488.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02432/16.97, allocations: 10.36 MB / 7.937 GB, free: 35.09 MB / 488.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02148/16.99, allocations: 9.72 MB / 7.946 GB, free: 35.01 MB / 488.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1415/17.13, allocations: 55.37 MB / 8 GB, free: 31.25 MB / 0.5084 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/17.13, allocations: 173.6 kB / 8.001 GB, free: 31.2 MB / 0.5084 GB Notification: Performance of pre-optimization done (n=1163): time 2.368e-05/17.13, allocations: 0 / 8.001 GB, free: 31.2 MB / 0.5084 GB Notification: Performance of matching and sorting (n=1363): time 0.2825/17.41, allocations: 69.6 MB / 8.069 GB, free: 11.98 MB / 0.5084 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002215/17.41, allocations: 0.8015 MB / 8.069 GB, free: 11.02 MB / 0.5084 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01152/17.42, allocations: 4.653 MB / 8.074 GB, free: 6.84 MB / 0.5084 GB Notification: Performance of collectPreVariables (initialization): time 0.003602/17.43, allocations: 29.7 kB / 8.074 GB, free: 6.805 MB / 0.5084 GB Notification: Performance of collectInitialEqns (initialization): time 0.003136/17.43, allocations: 4.334 MB / 8.078 GB, free: 3.008 MB / 0.5084 GB Notification: Performance of collectInitialBindings (initialization): time 0.2358/17.67, allocations: 4.606 MB / 8.083 GB, free: 96.12 MB / 0.5084 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00437/17.67, allocations: 0 / 8.083 GB, free: 96.12 MB / 0.5084 GB Notification: Performance of setup shared object (initialization): time 0.001581/17.67, allocations: 0.931 MB / 8.084 GB, free: 95.79 MB / 0.5084 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02478/17.7, allocations: 11.53 MB / 8.095 GB, free: 95.75 MB / 0.5084 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02842/17.73, allocations: 14.59 MB / 8.109 GB, free: 92.59 MB / 0.5084 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06139/17.79, allocations: 16.8 MB / 8.125 GB, free: 92.41 MB / 0.5084 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001351/17.79, allocations: 27.02 kB / 8.125 GB, free: 92.41 MB / 0.5084 GB Notification: Performance of matching and sorting (n=1958) (initialization): time 0.1356/17.92, allocations: 41.45 MB / 8.166 GB, free: 91.99 MB / 0.5084 GB Notification: Performance of prepare postOptimizeDAE: time 0.006498/17.93, allocations: 34.01 MB / 8.199 GB, free: 56.39 MB / 0.5084 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003322/17.93, allocations: 89.48 kB / 8.199 GB, free: 56.39 MB / 0.5084 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2324/18.16, allocations: 37.65 MB / 8.236 GB, free: 51.3 MB / 0.5084 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008754/18.17, allocations: 1.597 MB / 8.238 GB, free: 51.25 MB / 0.5084 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3752/18.55, allocations: 49.18 MB / 8.286 GB, free: 87.67 MB / 0.5084 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02145/18.57, allocations: 1.13 MB / 8.287 GB, free: 87.67 MB / 0.5084 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005236/18.58, allocations: 0.6904 MB / 8.287 GB, free: 87.67 MB / 0.5084 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/18.58, allocations: 6.688 kB / 8.287 GB, free: 87.67 MB / 0.5084 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1189/18.69, allocations: 36.12 MB / 8.323 GB, free: 87.28 MB / 0.5084 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003745/18.69, allocations: 78.91 kB / 8.323 GB, free: 87.28 MB / 0.5084 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2115/18.91, allocations: 29.73 MB / 8.352 GB, free: 86.82 MB / 0.5084 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00926/18.92, allocations: 1.668 MB / 8.353 GB, free: 86.82 MB / 0.5084 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1159/19.03, allocations: 43.34 MB / 8.396 GB, free: 67.67 MB / 0.5084 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01906/19.05, allocations: 1.07 MB / 8.397 GB, free: 67.06 MB / 0.5084 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004753/19.06, allocations: 0.6729 MB / 8.397 GB, free: 66.45 MB / 0.5084 GB Notification: Performance of prepare postOptimizeDAE: time 0.003743/19.06, allocations: 87.28 kB / 8.398 GB, free: 66.36 MB / 0.5084 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01033/19.07, allocations: 1.73 MB / 8.399 GB, free: 65.32 MB / 0.5084 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3706/19.44, allocations: 50.09 MB / 8.448 GB, free: 86.21 MB / 0.5084 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003056/19.44, allocations: 272.6 kB / 8.448 GB, free: 86.21 MB / 0.5084 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.883e-05/19.44, allocations: 11.53 kB / 8.448 GB, free: 86.21 MB / 0.5084 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.102/19.54, allocations: 39.9 MB / 8.487 GB, free: 84.16 MB / 0.5084 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1686/19.71, allocations: 68.83 MB / 8.555 GB, free: 62.91 MB / 0.5084 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001432/19.71, allocations: 5.25 kB / 8.555 GB, free: 62.91 MB / 0.5084 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02288/19.74, allocations: 2.78 MB / 8.557 GB, free: 62.83 MB / 0.5084 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02536/19.76, allocations: 6.704 MB / 8.564 GB, free: 60.59 MB / 0.5084 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004169/19.77, allocations: 424.3 kB / 8.564 GB, free: 60.47 MB / 0.5084 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3118/20.08, allocations: 86.43 MB / 8.649 GB, free: 30.14 MB / 0.5084 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/20.08, allocations: 1.781 kB / 8.649 GB, free: 30.14 MB / 0.5084 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1405/20.22, allocations: 58.36 MB / 8.706 GB, free: 28.39 MB / 0.5084 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003752/20.22, allocations: 1.12 MB / 8.707 GB, free: 27.79 MB / 0.5084 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006109/20.23, allocations: 222.9 kB / 8.707 GB, free: 27.79 MB / 0.5084 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01682/20.24, allocations: 0.7682 MB / 8.708 GB, free: 27.7 MB / 0.5084 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004505/20.25, allocations: 0.7673 MB / 8.708 GB, free: 27.69 MB / 0.5084 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004023/20.25, allocations: 0.4922 MB / 8.709 GB, free: 27.69 MB / 0.5084 GB Notification: Performance of sort global known variables: time 0.007777/20.26, allocations: 3.255 MB / 8.712 GB, free: 27.51 MB / 0.5084 GB Notification: Performance of remove unused functions: time 0.04271/20.3, allocations: 8.19 MB / 8.72 GB, free: 27.4 MB / 0.5084 GB Notification: Performance of Backend phase and start with SimCode phase: time 0.01264/20.32, allocations: 3.517 MB / 8.724 GB, free: 27.03 MB / 0.5084 GB Notification: Performance of simCode: created initialization part: time 0.3688/20.69, allocations: 52.03 MB / 8.774 GB, free: 84.46 MB / 0.5084 GB Notification: Performance of simCode: created event and clocks part: time 1.306e-05/20.69, allocations: 9.844 kB / 8.774 GB, free: 84.46 MB / 0.5084 GB Notification: Performance of simCode: created simulation system equations: time 0.04496/20.73, allocations: 24.13 MB / 8.798 GB, free: 80.39 MB / 0.5084 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02272/20.75, allocations: 3.009 MB / 8.801 GB, free: 80.33 MB / 0.5084 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.168/20.92, allocations: 58.76 MB / 8.858 GB, free: 74.04 MB / 0.5084 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02845/20.95, allocations: 9.861 MB / 8.868 GB, free: 72.95 MB / 0.5084 GB Notification: Performance of SimCode: time 2.724e-06/20.95, allocations: 0 / 8.868 GB, free: 72.95 MB / 0.5084 GB Notification: Performance of Templates: time 1.803/22.75, allocations: 492.6 MB / 9.349 GB, free: 63.17 MB / 0.5084 GB make -j1 -f Modelica_3.2.2_-O2_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.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_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_-O2_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.o Modelica_3.2.2_-O2_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c In file included from Modelica_3.2.2_-O2_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:2: ./Modelica_3.2.2_-O2_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:3379:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation_eqFunction_4874(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:3379:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation_eqFunction_4874(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:3380:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation_eqFunction_4873(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:3380:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Fluid_Examples_HeatExchanger_HeatExchangerSimulation_eqFunction_4873(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.c:3389:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_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_-O2_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.o] Error 1