Notification: Performance of loadModel(Modelica): time 1.495/1.495, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.079e-06/9.15e-06, allocations: 0 / 247.3 MB, free: 4.754 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06142/0.0615, allocations: 44.36 MB / 291.7 MB, free: 9.305 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2258/0.2874, allocations: 75.43 MB / 367.1 MB, free: 6.984 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.2878, allocations: 75.27 kB / 367.2 MB, free: 6.977 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.03615/0.324, allocations: 9.217 MB / 376.4 MB, free: 4.996 MB / 296.6 MB Notification: Performance of Transformations before backend: time 3.241e-05/0.3241, allocations: 11.69 kB / 376.4 MB, free: 4.992 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001281/0.3255, allocations: 0.7273 MB / 377.2 MB, free: 4.418 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.3256, allocations: 7.75 kB / 377.2 MB, free: 4.418 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.3258, allocations: 62.25 kB / 377.2 MB, free: 4.387 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007409/0.3266, allocations: 394.7 kB / 377.6 MB, free: 4.105 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.3268, allocations: 46.73 kB / 377.7 MB, free: 4.07 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.949e-05/0.3269, allocations: 19.62 kB / 377.7 MB, free: 4.07 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006617/0.3276, allocations: 256 kB / 377.9 MB, free: 4.051 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006885/0.3284, allocations: 397.8 kB / 378.3 MB, free: 3.832 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.3285, allocations: 0 / 378.3 MB, free: 3.832 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.973e-05/0.3286, allocations: 0 / 378.3 MB, free: 3.832 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.3286, allocations: 7.812 kB / 378.3 MB, free: 3.832 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002654/0.3313, allocations: 1.194 MB / 379.5 MB, free: 3.168 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005174/0.332, allocations: 223.8 kB / 379.7 MB, free: 3.137 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003595/0.3324, allocations: 144.6 kB / 379.9 MB, free: 3.125 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 4.575e-05/0.3325, allocations: 7.344 kB / 379.9 MB, free: 3.125 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.3326, allocations: 45.92 kB / 379.9 MB, free: 3.082 MB / 296.6 MB Notification: Performance of pre-optimization done (n=36): time 4.749e-06/0.3327, allocations: 0.875 kB / 379.9 MB, free: 3.082 MB / 296.6 MB Notification: Performance of matching and sorting (n=36): time 0.0009954/0.3337, allocations: 351.4 kB / 380.3 MB, free: 2.977 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.3339, allocations: 447.8 kB / 380.7 MB, free: 18.45 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005285/0.3345, allocations: 342.4 kB / 381.1 MB, free: 18.31 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 6.544e-05/0.3346, allocations: 29.58 kB / 381.1 MB, free: 18.28 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.3348, allocations: 169.2 kB / 381.2 MB, free: 18.14 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.335, allocations: 123.6 kB / 381.4 MB, free: 18.05 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.335, allocations: 0 / 381.4 MB, free: 18.05 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3352, allocations: 363.6 kB / 381.7 MB, free: 17.72 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.3356, allocations: 96.94 kB / 381.8 MB, free: 17.72 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/0.336, allocations: 231.4 kB / 382 MB, free: 17.57 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.3363, allocations: 124.2 kB / 382.2 MB, free: 17.55 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.191e-06/0.3364, allocations: 0 / 382.2 MB, free: 17.55 MB / 312.6 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000969/0.3374, allocations: 384.1 kB / 382.5 MB, free: 17.44 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.3375, allocations: 3.938 kB / 382.5 MB, free: 17.44 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.66e-06/0.3375, allocations: 0 / 382.5 MB, free: 17.44 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003094/0.3379, allocations: 58.34 kB / 382.6 MB, free: 17.41 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006245/0.3386, allocations: 101.3 kB / 382.7 MB, free: 17.39 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002635/0.3413, allocations: 2.618 MB / 385.3 MB, free: 14.89 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006729/0.3421, allocations: 58.48 kB / 385.4 MB, free: 14.87 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/0.3422, allocations: 11.09 kB / 385.4 MB, free: 14.87 MB / 312.6 MB Warning: There are iteration variables with default zero start attribute. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.3424, allocations: 79.22 kB / 385.5 MB, free: 14.79 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.3426, allocations: 46.69 kB / 385.5 MB, free: 14.77 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/0.3428, allocations: 48.56 kB / 385.6 MB, free: 14.75 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.845e-06/0.3428, allocations: 7.906 kB / 385.6 MB, free: 14.75 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.587e-06/0.3429, allocations: 0 / 385.6 MB, free: 14.75 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000696/0.3437, allocations: 0.6532 MB / 386.2 MB, free: 14.19 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/0.3454, allocations: 0.886 MB / 387.1 MB, free: 13.71 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3455, allocations: 0 / 387.1 MB, free: 13.71 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007698/0.3463, allocations: 101.5 kB / 387.2 MB, free: 13.68 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.8e-06/0.3464, allocations: 3.938 kB / 387.2 MB, free: 13.68 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.792e-05/0.3465, allocations: 7.344 kB / 387.2 MB, free: 13.68 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.3466, allocations: 0 / 387.2 MB, free: 13.68 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.051e-06/0.3466, allocations: 0 / 387.2 MB, free: 13.68 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001053/0.3477, allocations: 0.5374 MB / 387.7 MB, free: 13.49 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.3479, allocations: 125.1 kB / 387.9 MB, free: 13.37 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.3481, allocations: 0 / 387.9 MB, free: 13.37 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004957/0.3487, allocations: 39 kB / 387.9 MB, free: 13.36 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.43e-05/0.3488, allocations: 22.95 kB / 387.9 MB, free: 13.34 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.101e-05/0.3489, allocations: 10.97 kB / 387.9 MB, free: 13.34 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0003727/0.3493, allocations: 267.3 kB / 388.2 MB, free: 13.24 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.000652/0.35, allocations: 127.6 kB / 388.3 MB, free: 13.22 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001255/0.3502, allocations: 80.8 kB / 388.4 MB, free: 13.16 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0009707/0.3513, allocations: 0.5103 MB / 388.9 MB, free: 12.89 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 5.448e-06/0.3513, allocations: 3.875 kB / 388.9 MB, free: 12.89 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0003155/0.3517, allocations: 142.7 kB / 389.1 MB, free: 12.88 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007993/0.3526, allocations: 116.4 kB / 389.2 MB, free: 12.83 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.3545, allocations: 0.6266 MB / 389.8 MB, free: 12.51 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006179/0.3552, allocations: 0.8863 MB / 390.7 MB, free: 11.73 MB / 312.6 MB Notification: Performance of SimCode: time 2.584e-06/0.3553, allocations: 0 / 390.7 MB, free: 11.73 MB / 312.6 MB Notification: Performance of Templates: time 0.06209/0.4174, allocations: 7.117 MB / 397.8 MB, free: 8.223 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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_Thermal_FluidHeatFlow_Examples_OneMass -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.o Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.c In file included from Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.c:2: ./Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_OneMass__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_OneMass__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.Thermal.FluidHeatFlow.Examples.OneMass.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.Thermal.FluidHeatFlow.Examples.OneMass.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.Thermal.FluidHeatFlow.Examples.OneMass.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_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.Thermal.FluidHeatFlow.Examples.OneMass.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.Thermal.FluidHeatFlow.Examples.OneMass.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.Thermal.FluidHeatFlow.Examples.OneMass.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_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.Thermal.FluidHeatFlow.Examples.OneMass.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.Thermal.FluidHeatFlow.Examples.OneMass.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_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.Thermal.FluidHeatFlow.Examples.OneMass.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.c:1056:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_eqFunction_68(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.c:1057:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_eqFunction_69(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.c:1058:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_eqFunction_70(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.c:1059:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_eqFunction_71(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.c:1060:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_eqFunction_72(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.Thermal.FluidHeatFlow.Examples.OneMass.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.o] Error 1