Notification: Performance of loadModel(Modelica): time 1.503/1.503, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.032e-06/8.171e-06, allocations: 0.9375 kB / 247.3 MB, free: 4.688 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06032/0.06039, allocations: 44.36 MB / 291.7 MB, free: 9.293 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2264/0.2869, allocations: 76.37 MB / 368.1 MB, free: 6.945 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.2872, allocations: 70.84 kB / 368.2 MB, free: 6.941 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.05895/0.3463, allocations: 15.42 MB / 383.6 MB, free: 2.441 MB / 296.6 MB Notification: Performance of Transformations before backend: time 4.505e-05/0.3464, allocations: 15.56 kB / 383.6 MB, free: 2.441 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.002133/0.3486, allocations: 1.058 MB / 384.6 MB, free: 1.668 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3487, allocations: 7.906 kB / 384.7 MB, free: 1.668 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002843/0.3491, allocations: 107.8 kB / 384.8 MB, free: 1.617 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.3502, allocations: 0.5258 MB / 385.3 MB, free: 1.285 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002232/0.3505, allocations: 133 kB / 385.4 MB, free: 1.184 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.3507, allocations: 38.88 kB / 385.5 MB, free: 1.18 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001149/0.3519, allocations: 469.4 kB / 385.9 MB, free: 1.148 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.3532, allocations: 0.6879 MB / 386.6 MB, free: 0.7656 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.3533, allocations: 3.719 kB / 386.6 MB, free: 0.7656 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-05/0.3534, allocations: 0 / 386.6 MB, free: 0.7656 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.3535, allocations: 15.34 kB / 386.6 MB, free: 0.7656 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004435/0.358, allocations: 1.966 MB / 388.6 MB, free: 15.82 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.3591, allocations: 436.6 kB / 389 MB, free: 15.77 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000818/0.36, allocations: 351.7 kB / 389.4 MB, free: 15.75 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 7.711e-05/0.3601, allocations: 13.12 kB / 389.4 MB, free: 15.74 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.378e-05/0.3603, allocations: 53.3 kB / 389.4 MB, free: 15.7 MB / 312.6 MB Notification: Performance of pre-optimization done (n=74): time 5.308e-06/0.3603, allocations: 3.938 kB / 389.4 MB, free: 15.7 MB / 312.6 MB Notification: Performance of matching and sorting (n=74): time 0.003004/0.3634, allocations: 0.8379 MB / 390.3 MB, free: 15.47 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005265/0.364, allocations: 0.8271 MB / 391.1 MB, free: 14.46 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008363/0.3649, allocations: 476.6 kB / 391.6 MB, free: 14.32 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001479/0.3651, allocations: 29.64 kB / 391.6 MB, free: 14.29 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.3653, allocations: 220.4 kB / 391.8 MB, free: 14.12 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/0.3656, allocations: 245.5 kB / 392 MB, free: 13.94 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-05/0.3657, allocations: 1.125 kB / 392 MB, free: 13.94 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3659, allocations: 383.4 kB / 392.4 MB, free: 13.6 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005323/0.3665, allocations: 201.7 kB / 392.6 MB, free: 13.6 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000738/0.3673, allocations: 467.1 kB / 393.1 MB, free: 13.32 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006013/0.368, allocations: 248.3 kB / 393.3 MB, free: 13.27 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.866e-06/0.368, allocations: 1.875 kB / 393.3 MB, free: 13.27 MB / 312.6 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003019/0.3711, allocations: 0.9015 MB / 394.2 MB, free: 13.04 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.3712, allocations: 5.656 kB / 394.2 MB, free: 13.04 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.3713, allocations: 0 / 394.2 MB, free: 13.04 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000875/0.3722, allocations: 205.6 kB / 394.4 MB, free: 12.97 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.3734, allocations: 152.6 kB / 394.6 MB, free: 12.93 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008533/0.382, allocations: 6.058 MB / 400.6 MB, free: 7.703 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.3832, allocations: 96.5 kB / 400.7 MB, free: 7.66 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.683e-05/0.3833, allocations: 21.59 kB / 400.7 MB, free: 7.66 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.0001554/0.3835, allocations: 94 kB / 400.8 MB, free: 7.574 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.3838, allocations: 82.05 kB / 400.9 MB, free: 7.535 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/0.3841, allocations: 76.17 kB / 401 MB, free: 7.512 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.3842, allocations: 8.188 kB / 401 MB, free: 7.512 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.359e-06/0.3842, allocations: 0 / 401 MB, free: 7.512 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002638/0.3869, allocations: 1.137 MB / 402.1 MB, free: 6.828 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004781/0.3918, allocations: 1.735 MB / 403.9 MB, free: 6.129 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.473e-06/0.3919, allocations: 0 / 403.9 MB, free: 6.129 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/0.3931, allocations: 158.4 kB / 404 MB, free: 6.09 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006392/0.3938, allocations: 157.9 kB / 404.2 MB, free: 6.043 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-05/0.3939, allocations: 6.984 kB / 404.2 MB, free: 6.039 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006683/0.4007, allocations: 4.622 MB / 408.8 MB, free: 2.086 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/0.4008, allocations: 4.156 kB / 408.8 MB, free: 2.082 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003606/0.4045, allocations: 1.234 MB / 410 MB, free: 1.754 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003144/0.4049, allocations: 160.2 kB / 410.2 MB, free: 1.609 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/0.4052, allocations: 6.875 kB / 410.2 MB, free: 1.605 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008836/0.4061, allocations: 50.09 kB / 410.3 MB, free: 1.59 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.4063, allocations: 48.73 kB / 410.3 MB, free: 1.566 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.719e-05/0.4065, allocations: 21.42 kB / 410.3 MB, free: 1.562 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0006072/0.4071, allocations: 363.8 kB / 410.7 MB, free: 1.457 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.001274/0.4085, allocations: 259 kB / 410.9 MB, free: 1.43 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000133/0.4087, allocations: 80.89 kB / 411 MB, free: 1.371 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.002592/0.4113, allocations: 1.123 MB / 412.1 MB, free: 0.7969 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 8.45e-06/0.4114, allocations: 2.062 kB / 412.1 MB, free: 0.7969 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.00156/0.413, allocations: 0.674 MB / 412.8 MB, free: 380 kB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.4145, allocations: 173.2 kB / 413 MB, free: 244 kB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003791/0.4183, allocations: 1.228 MB / 414.2 MB, free: 15.11 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006293/0.4191, allocations: 1.02 MB / 415.2 MB, free: 14.07 MB / 328.6 MB Notification: Performance of SimCode: time 2.026e-06/0.4191, allocations: 3.938 kB / 415.2 MB, free: 14.07 MB / 328.6 MB Notification: Performance of Templates: time 0.118/0.5372, allocations: 14.78 MB / 430 MB, free: 15.43 MB / 344.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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_TwoMass -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.o Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.c In file included from Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.c:2: ./Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.TwoMass.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.TwoMass.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.TwoMass.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_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.TwoMass.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.TwoMass.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.TwoMass.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_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.TwoMass.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.TwoMass.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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_TwoMass_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.TwoMass.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.c:349:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_eqFunction_155(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.c:349:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_eqFunction_155(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.c:350:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_eqFunction_156(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.c:350:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_eqFunction_156(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.c:351:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_eqFunction_157(DATA*,threadData_t*); ^ 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.TwoMass.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.o] Error 1