Notification: Performance of loadModel(Modelica): time 1.489/1.489, allocations: 194.5 MB / 200.7 MB, free: 5.156 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.006e-05/1.013e-05, allocations: 1.25 kB / 247.9 MB, free: 4.207 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06206/0.06214, allocations: 44.36 MB / 292.2 MB, free: 8.762 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.03/11.09, allocations: 6.293 GB / 6.579 GB, free: 80.7 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/11.09, allocations: 90.41 kB / 6.579 GB, free: 80.69 MB / 392.6 MB Notification: Performance of FrontEnd: time 4.674/15.76, allocations: 1.1 GB / 7.679 GB, free: 10.05 MB / 456.6 MB Notification: Performance of Transformations before backend: time 0.0005828/15.76, allocations: 254.4 kB / 7.679 GB, free: 9.805 MB / 456.6 MB Notification: Performance of Generate backend data structure: time 0.05305/15.82, allocations: 12.17 MB / 7.691 GB, free: 14.87 MB / 472.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/15.82, allocations: 8.031 kB / 7.691 GB, free: 14.86 MB / 472.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04094/15.86, allocations: 3.509 MB / 7.694 GB, free: 11.34 MB / 472.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2567/16.11, allocations: 11.67 MB / 7.706 GB, free: 52.89 MB / 472.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009061/16.12, allocations: 446.1 kB / 7.706 GB, free: 52.89 MB / 472.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006947/16.12, allocations: 0.7082 MB / 7.707 GB, free: 52.89 MB / 472.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06189/16.18, allocations: 26.18 MB / 7.732 GB, free: 52.84 MB / 472.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06752/16.25, allocations: 24.13 MB / 7.756 GB, free: 50.71 MB / 472.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006305/16.25, allocations: 42.44 kB / 7.756 GB, free: 50.71 MB / 472.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006477/16.26, allocations: 29.69 kB / 7.756 GB, free: 50.71 MB / 472.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001174/16.26, allocations: 1.372 MB / 7.757 GB, free: 50.68 MB / 472.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6302/16.89, allocations: 173.5 MB / 7.927 GB, free: 35 MB / 488.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02387/16.92, allocations: 10.36 MB / 7.937 GB, free: 34.96 MB / 488.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02084/16.94, allocations: 9.718 MB / 7.946 GB, free: 34.88 MB / 488.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1401/17.08, allocations: 55.37 MB / 8 GB, free: 31.09 MB / 0.5084 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001938/17.08, allocations: 179.8 kB / 8.001 GB, free: 31.04 MB / 0.5084 GB Notification: Performance of pre-optimization done (n=1163): time 2.123e-05/17.08, allocations: 0 / 8.001 GB, free: 31.04 MB / 0.5084 GB Notification: Performance of matching and sorting (n=1363): time 0.2789/17.36, allocations: 69.6 MB / 8.069 GB, free: 10.9 MB / 0.5084 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002223/17.36, allocations: 0.8023 MB / 8.069 GB, free: 9.938 MB / 0.5084 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01181/17.37, allocations: 4.652 MB / 8.074 GB, free: 5.762 MB / 0.5084 GB Notification: Performance of collectPreVariables (initialization): time 0.003891/17.37, allocations: 29.7 kB / 8.074 GB, free: 5.727 MB / 0.5084 GB Notification: Performance of collectInitialEqns (initialization): time 0.003057/17.37, allocations: 4.341 MB / 8.078 GB, free: 1.926 MB / 0.5084 GB Notification: Performance of collectInitialBindings (initialization): time 0.2374/17.61, allocations: 4.599 MB / 8.083 GB, free: 96.52 MB / 0.5084 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004631/17.62, allocations: 3.844 kB / 8.083 GB, free: 96.52 MB / 0.5084 GB Notification: Performance of setup shared object (initialization): time 0.001816/17.62, allocations: 0.9304 MB / 8.084 GB, free: 96.18 MB / 0.5084 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02703/17.65, allocations: 11.53 MB / 8.095 GB, free: 96.15 MB / 0.5084 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02984/17.68, allocations: 14.6 MB / 8.109 GB, free: 92.98 MB / 0.5084 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06299/17.74, allocations: 16.79 MB / 8.125 GB, free: 92.8 MB / 0.5084 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001175/17.74, allocations: 26.38 kB / 8.125 GB, free: 92.8 MB / 0.5084 GB Notification: Performance of matching and sorting (n=1958) (initialization): time 0.1379/17.88, allocations: 41.45 MB / 8.166 GB, free: 92.24 MB / 0.5084 GB Notification: Performance of prepare postOptimizeDAE: time 0.006587/17.88, allocations: 34.01 MB / 8.199 GB, free: 56.41 MB / 0.5084 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000342/17.88, allocations: 84.59 kB / 8.199 GB, free: 56.41 MB / 0.5084 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2309/18.12, allocations: 37.66 MB / 8.236 GB, free: 51.18 MB / 0.5084 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008608/18.12, allocations: 1.592 MB / 8.238 GB, free: 51.12 MB / 0.5084 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3733/18.5, allocations: 49.17 MB / 8.286 GB, free: 88.27 MB / 0.5084 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02154/18.52, allocations: 1.128 MB / 8.287 GB, free: 88.27 MB / 0.5084 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005437/18.52, allocations: 0.6919 MB / 8.287 GB, free: 88.27 MB / 0.5084 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/18.52, allocations: 5.781 kB / 8.287 GB, free: 88.27 MB / 0.5084 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1213/18.65, allocations: 36.12 MB / 8.323 GB, free: 87.88 MB / 0.5084 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003/18.65, allocations: 82.5 kB / 8.323 GB, free: 87.88 MB / 0.5084 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2133/18.86, allocations: 29.74 MB / 8.352 GB, free: 87.42 MB / 0.5084 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009254/18.87, allocations: 1.666 MB / 8.353 GB, free: 87.42 MB / 0.5084 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1126/18.98, allocations: 43.34 MB / 8.396 GB, free: 67.87 MB / 0.5084 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01865/19, allocations: 1.069 MB / 8.397 GB, free: 67.25 MB / 0.5084 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004584/19.01, allocations: 0.6611 MB / 8.397 GB, free: 66.64 MB / 0.5084 GB Notification: Performance of prepare postOptimizeDAE: time 0.003784/19.01, allocations: 99.86 kB / 8.398 GB, free: 66.55 MB / 0.5084 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01024/19.02, allocations: 1.724 MB / 8.399 GB, free: 65.52 MB / 0.5084 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3735/19.39, allocations: 49.87 MB / 8.448 GB, free: 86.64 MB / 0.5084 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003491/19.39, allocations: 275.5 kB / 8.448 GB, free: 86.64 MB / 0.5084 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001304/19.39, allocations: 7.312 kB / 8.448 GB, free: 86.64 MB / 0.5084 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1032/19.5, allocations: 39.9 MB / 8.487 GB, free: 84.58 MB / 0.5084 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1632/19.66, allocations: 68.82 MB / 8.554 GB, free: 62.99 MB / 0.5084 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001289/19.66, allocations: 0 / 8.554 GB, free: 62.99 MB / 0.5084 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02498/19.69, allocations: 2.783 MB / 8.557 GB, free: 62.91 MB / 0.5084 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02553/19.71, allocations: 6.699 MB / 8.564 GB, free: 60.67 MB / 0.5084 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004038/19.72, allocations: 431 kB / 8.564 GB, free: 60.55 MB / 0.5084 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3067/20.02, allocations: 86.43 MB / 8.648 GB, free: 29.8 MB / 0.5084 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.752e-06/20.02, allocations: 0 / 8.648 GB, free: 29.8 MB / 0.5084 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1401/20.16, allocations: 58.36 MB / 8.705 GB, free: 28.02 MB / 0.5084 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003579/20.17, allocations: 1.12 MB / 8.707 GB, free: 27.42 MB / 0.5084 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005706/20.17, allocations: 224.3 kB / 8.707 GB, free: 27.42 MB / 0.5084 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0163/20.19, allocations: 0.7684 MB / 8.707 GB, free: 27.33 MB / 0.5084 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004002/20.19, allocations: 0.7713 MB / 8.708 GB, free: 27.32 MB / 0.5084 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003647/20.2, allocations: 0.4896 MB / 8.709 GB, free: 27.32 MB / 0.5084 GB Notification: Performance of sort global known variables: time 0.007291/20.2, allocations: 3.26 MB / 8.712 GB, free: 27.14 MB / 0.5084 GB Notification: Performance of remove unused functions: time 0.04097/20.25, allocations: 8.185 MB / 8.72 GB, free: 27.03 MB / 0.5084 GB Notification: Performance of Backend phase and start with SimCode phase: time 0.01245/20.26, allocations: 3.514 MB / 8.723 GB, free: 26.66 MB / 0.5084 GB Notification: Performance of simCode: created initialization part: time 0.355/20.61, allocations: 52.28 MB / 8.774 GB, free: 84.28 MB / 0.5084 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/20.61, allocations: 11.69 kB / 8.774 GB, free: 84.28 MB / 0.5084 GB Notification: Performance of simCode: created simulation system equations: time 0.04457/20.66, allocations: 24.13 MB / 8.798 GB, free: 80.21 MB / 0.5084 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0225/20.68, allocations: 3.011 MB / 8.801 GB, free: 80.16 MB / 0.5084 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.165/20.85, allocations: 58.74 MB / 8.858 GB, free: 73.92 MB / 0.5084 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02907/20.87, allocations: 9.861 MB / 8.868 GB, free: 72.82 MB / 0.5084 GB Notification: Performance of SimCode: time 3.771e-06/20.87, allocations: 0 / 8.868 GB, free: 72.82 MB / 0.5084 GB Notification: Performance of Templates: time 1.639/22.51, allocations: 492.6 MB / 9.349 GB, free: 64.97 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