Notification: Performance of loadModel(Modelica): time 1.542/1.542, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.661e-06/8.8e-06, allocations: 1.281 kB / 247.3 MB, free: 4.723 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06032/0.0604, allocations: 44.36 MB / 291.7 MB, free: 9.316 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.223/0.2835, allocations: 75.43 MB / 367.1 MB, free: 6.957 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001914/0.2838, allocations: 74.91 kB / 367.2 MB, free: 6.953 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.03475/0.3186, allocations: 9.214 MB / 376.4 MB, free: 4.93 MB / 296.6 MB Notification: Performance of Transformations before backend: time 2.912e-05/0.3187, allocations: 11.66 kB / 376.4 MB, free: 4.93 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001226/0.32, allocations: 0.7299 MB / 377.2 MB, free: 4.352 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3201, allocations: 11.53 kB / 377.2 MB, free: 4.352 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.3203, allocations: 62.38 kB / 377.2 MB, free: 4.32 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006226/0.321, allocations: 389.3 kB / 377.6 MB, free: 4.043 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.3211, allocations: 53.62 kB / 377.7 MB, free: 4 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-05/0.3213, allocations: 19.28 kB / 377.7 MB, free: 4 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006291/0.322, allocations: 254.1 kB / 377.9 MB, free: 3.984 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006706/0.3227, allocations: 394.1 kB / 378.3 MB, free: 3.77 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.3228, allocations: 0 / 378.3 MB, free: 3.77 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.763e-05/0.3229, allocations: 3.938 kB / 378.3 MB, free: 3.766 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.323, allocations: 7.75 kB / 378.3 MB, free: 3.766 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/0.3254, allocations: 1.185 MB / 379.5 MB, free: 3.105 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004774/0.326, allocations: 233.6 kB / 379.7 MB, free: 3.07 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00034/0.3264, allocations: 140.1 kB / 379.9 MB, free: 3.062 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 5.392e-05/0.3265, allocations: 15.48 kB / 379.9 MB, free: 3.059 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.3266, allocations: 38.78 kB / 379.9 MB, free: 3.02 MB / 296.6 MB Notification: Performance of pre-optimization done (n=36): time 3.772e-06/0.3266, allocations: 3.938 kB / 379.9 MB, free: 3.016 MB / 296.6 MB Notification: Performance of matching and sorting (n=36): time 0.0009769/0.3276, allocations: 353.9 kB / 380.3 MB, free: 2.91 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.403e-05/0.3278, allocations: 448.8 kB / 380.7 MB, free: 2.375 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005211/0.3284, allocations: 342.2 kB / 381.1 MB, free: 18.24 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 4.337e-05/0.3285, allocations: 29.55 kB / 381.1 MB, free: 18.21 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.3286, allocations: 170.9 kB / 381.2 MB, free: 18.08 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 9.289e-05/0.3288, allocations: 121.6 kB / 381.4 MB, free: 17.98 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/0.3289, allocations: 3.938 kB / 381.4 MB, free: 17.98 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.3291, allocations: 359.3 kB / 381.7 MB, free: 17.65 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/0.3294, allocations: 100.1 kB / 381.8 MB, free: 17.65 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/0.3298, allocations: 232.2 kB / 382 MB, free: 17.5 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.3301, allocations: 116.4 kB / 382.2 MB, free: 17.49 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.981e-06/0.3302, allocations: 0 / 382.2 MB, free: 17.49 MB / 312.6 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009285/0.3312, allocations: 387.6 kB / 382.5 MB, free: 17.38 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3312, allocations: 7.719 kB / 382.5 MB, free: 17.38 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.613e-06/0.3313, allocations: 0 / 382.5 MB, free: 17.38 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003037/0.3317, allocations: 55.09 kB / 382.6 MB, free: 17.35 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006274/0.3324, allocations: 97.06 kB / 382.7 MB, free: 17.33 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002378/0.3348, allocations: 2.621 MB / 385.3 MB, free: 14.83 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006163/0.3355, allocations: 58.27 kB / 385.4 MB, free: 14.8 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.065e-05/0.3356, allocations: 7.75 kB / 385.4 MB, free: 14.8 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.0003009/0.336, allocations: 79.16 kB / 385.5 MB, free: 14.73 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.3361, allocations: 50.8 kB / 385.5 MB, free: 14.7 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.3363, allocations: 48.17 kB / 385.6 MB, free: 14.69 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.867e-06/0.3364, allocations: 3.969 kB / 385.6 MB, free: 14.69 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.4e-06/0.3364, allocations: 0 / 385.6 MB, free: 14.69 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006135/0.3371, allocations: 0.653 MB / 386.2 MB, free: 14.12 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.3386, allocations: 0.8886 MB / 387.1 MB, free: 13.64 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3387, allocations: 0 / 387.1 MB, free: 13.64 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006592/0.3394, allocations: 100.3 kB / 387.2 MB, free: 13.62 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.219e-06/0.3395, allocations: 3.906 kB / 387.2 MB, free: 13.62 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.269e-05/0.3396, allocations: 0 / 387.2 MB, free: 13.62 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.007e-06/0.3397, allocations: 3.969 kB / 387.2 MB, free: 13.62 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.562e-06/0.3397, allocations: 0 / 387.2 MB, free: 13.62 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009566/0.3407, allocations: 0.5416 MB / 387.7 MB, free: 13.43 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.3409, allocations: 126.7 kB / 387.9 MB, free: 13.3 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-05/0.3411, allocations: 3.906 kB / 387.9 MB, free: 13.3 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004892/0.3416, allocations: 31.39 kB / 387.9 MB, free: 13.28 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.053e-05/0.3418, allocations: 23.11 kB / 387.9 MB, free: 13.27 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/0.3419, allocations: 11.12 kB / 387.9 MB, free: 13.27 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0003565/0.3423, allocations: 270.1 kB / 388.2 MB, free: 13.17 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0006285/0.343, allocations: 132.2 kB / 388.3 MB, free: 13.15 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001143/0.3432, allocations: 88.72 kB / 388.4 MB, free: 13.08 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0009426/0.3442, allocations: 0.4988 MB / 388.9 MB, free: 12.82 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.981e-06/0.3442, allocations: 0 / 388.9 MB, free: 12.82 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0002837/0.3446, allocations: 143 kB / 389.1 MB, free: 12.81 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007122/0.3453, allocations: 119.8 kB / 389.2 MB, free: 12.77 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.3471, allocations: 0.6332 MB / 389.8 MB, free: 12.44 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006131/0.3478, allocations: 0.8801 MB / 390.7 MB, free: 11.67 MB / 312.6 MB Notification: Performance of SimCode: time 2.445e-06/0.3479, allocations: 0 / 390.7 MB, free: 11.67 MB / 312.6 MB Notification: Performance of Templates: time 0.07258/0.4205, allocations: 7.121 MB / 397.8 MB, free: 8.145 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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_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_-O1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.o Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.c In file included from Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.c:2: ./Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Thermal_FluidHeatFlow_Examples_OneMass__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Thermal_FluidHeatFlow_Examples_OneMass__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.c:1056:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_eqFunction_68(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.c:1057:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_eqFunction_69(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.c:1058:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_eqFunction_70(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.c:1059:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_eqFunction_71(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.c:1060:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_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_-O1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.o] Error 1