Notification: Performance of loadModel(Modelica): time 1.504/1.504, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.568e-06/9.708e-06, allocations: 1 kB / 247.3 MB, free: 4.723 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06317/0.06325, allocations: 44.37 MB / 291.7 MB, free: 9.285 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2329/0.2963, allocations: 76.37 MB / 368.1 MB, free: 6.984 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/0.2966, allocations: 72.81 kB / 368.2 MB, free: 6.98 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.05957/0.3563, allocations: 15.4 MB / 383.6 MB, free: 2.504 MB / 296.6 MB Notification: Performance of Transformations before backend: time 4.54e-05/0.3564, allocations: 19.25 kB / 383.6 MB, free: 2.5 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.002109/0.3586, allocations: 1.062 MB / 384.6 MB, free: 1.711 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3587, allocations: 11.53 kB / 384.7 MB, free: 1.707 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002845/0.3591, allocations: 103.9 kB / 384.8 MB, free: 1.66 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.3602, allocations: 0.5249 MB / 385.3 MB, free: 1.328 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000223/0.3605, allocations: 132.7 kB / 385.4 MB, free: 1.223 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.3607, allocations: 43.8 kB / 385.5 MB, free: 1.219 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001198/0.3619, allocations: 467.1 kB / 385.9 MB, free: 1.188 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.3632, allocations: 0.6869 MB / 386.6 MB, free: 0.8086 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.3633, allocations: 0 / 386.6 MB, free: 0.8086 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.123e-05/0.3635, allocations: 4 kB / 386.6 MB, free: 0.8047 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.3635, allocations: 15.56 kB / 386.6 MB, free: 0.8047 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004641/0.3682, allocations: 1.952 MB / 388.6 MB, free: 15.84 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.3694, allocations: 438.7 kB / 389 MB, free: 15.8 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008596/0.3703, allocations: 350.1 kB / 389.3 MB, free: 15.78 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 8.053e-05/0.3705, allocations: 17.14 kB / 389.4 MB, free: 15.77 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.526e-05/0.3706, allocations: 57.28 kB / 389.4 MB, free: 15.72 MB / 312.6 MB Notification: Performance of pre-optimization done (n=74): time 6.216e-06/0.3706, allocations: 3.984 kB / 389.4 MB, free: 15.72 MB / 312.6 MB Notification: Performance of matching and sorting (n=74): time 0.00309/0.3738, allocations: 0.8399 MB / 390.3 MB, free: 15.49 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001585/0.374, allocations: 0.8271 MB / 391.1 MB, free: 14.48 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008617/0.375, allocations: 474.2 kB / 391.5 MB, free: 14.34 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001442/0.3752, allocations: 29.45 kB / 391.6 MB, free: 14.31 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.3754, allocations: 220.5 kB / 391.8 MB, free: 14.15 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004266/0.3758, allocations: 243.9 kB / 392 MB, free: 13.96 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.378e-05/0.376, allocations: 1.25 kB / 392 MB, free: 13.96 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.3761, allocations: 381.6 kB / 392.4 MB, free: 13.63 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005671/0.3768, allocations: 210.1 kB / 392.6 MB, free: 13.62 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007635/0.3776, allocations: 464.9 kB / 393.1 MB, free: 13.34 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006316/0.3783, allocations: 242.8 kB / 393.3 MB, free: 13.3 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.517e-06/0.3784, allocations: 0 / 393.3 MB, free: 13.3 MB / 312.6 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003107/0.3815, allocations: 0.9069 MB / 394.2 MB, free: 13.06 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.3816, allocations: 4.969 kB / 394.2 MB, free: 13.06 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.3817, allocations: 0 / 394.2 MB, free: 13.06 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008772/0.3826, allocations: 197.4 kB / 394.4 MB, free: 13 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.3837, allocations: 159.1 kB / 394.6 MB, free: 12.96 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008754/0.3926, allocations: 6.06 MB / 400.6 MB, free: 7.73 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.3938, allocations: 95.61 kB / 400.7 MB, free: 7.688 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.032e-05/0.394, allocations: 24.52 kB / 400.7 MB, free: 7.684 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.0001564/0.3942, allocations: 89.34 kB / 400.8 MB, free: 7.602 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003813/0.3946, allocations: 82.44 kB / 400.9 MB, free: 7.566 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.3949, allocations: 76.36 kB / 401 MB, free: 7.543 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.395, allocations: 10.47 kB / 401 MB, free: 7.539 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.3951, allocations: 1.406 kB / 401 MB, free: 7.539 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002728/0.3978, allocations: 1.135 MB / 402.1 MB, free: 6.855 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004721/0.4027, allocations: 1.736 MB / 403.9 MB, free: 6.152 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.4028, allocations: 192 / 403.9 MB, free: 6.152 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/0.404, allocations: 161.7 kB / 404 MB, free: 6.113 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006935/0.4048, allocations: 166.6 kB / 404.2 MB, free: 6.059 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/0.405, allocations: 6.375 kB / 404.2 MB, free: 6.059 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007074/0.4121, allocations: 4.629 MB / 408.8 MB, free: 2.102 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.915e-06/0.4122, allocations: 1.344 kB / 408.8 MB, free: 2.102 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003997/0.4163, allocations: 1.225 MB / 410 MB, free: 1.773 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003125/0.4167, allocations: 160.1 kB / 410.2 MB, free: 1.629 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002241/0.417, allocations: 6.188 kB / 410.2 MB, free: 1.629 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009189/0.418, allocations: 50.61 kB / 410.3 MB, free: 1.613 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.4182, allocations: 52.33 kB / 410.3 MB, free: 1.586 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-05/0.4183, allocations: 17.38 kB / 410.3 MB, free: 1.586 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0006441/0.419, allocations: 371.2 kB / 410.7 MB, free: 1.477 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.001374/0.4205, allocations: 254.3 kB / 410.9 MB, free: 1.453 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001454/0.4207, allocations: 77.67 kB / 411 MB, free: 1.398 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.002728/0.4235, allocations: 1.127 MB / 412.1 MB, free: 0.8164 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 8.661e-06/0.4236, allocations: 2.281 kB / 412.1 MB, free: 0.8164 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.00161/0.4253, allocations: 0.6704 MB / 412.8 MB, free: 368 kB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.4267, allocations: 178 kB / 413 MB, free: 228 kB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003703/0.4305, allocations: 1.222 MB / 414.2 MB, free: 15.1 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001017/0.4316, allocations: 1.016 MB / 415.2 MB, free: 14.07 MB / 328.6 MB Notification: Performance of SimCode: time 2.514e-06/0.4317, allocations: 3.938 kB / 415.2 MB, free: 14.06 MB / 328.6 MB Notification: Performance of Templates: time 0.09078/0.5225, allocations: 14.78 MB / 430 MB, free: 15.43 MB / 344.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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_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_-O2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.o Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.c In file included from Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.c:2: ./Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.c:349:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_eqFunction_155(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.c:349:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_eqFunction_155(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.c:350:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_eqFunction_156(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.c:350:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_eqFunction_156(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.c:351:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_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_-O2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.o] Error 1