Notification: Performance of loadModel(Modelica): time 1.525/1.525, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.8e-06/8.869e-06, allocations: 1.562 kB / 247.3 MB, free: 4.691 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0636/0.06368, allocations: 44.37 MB / 291.7 MB, free: 9.254 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.226/0.2898, allocations: 76.37 MB / 368.1 MB, free: 6.805 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.2901, allocations: 68.59 kB / 368.2 MB, free: 6.801 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.0633/0.3535, allocations: 15.41 MB / 383.6 MB, free: 2.293 MB / 296.6 MB Notification: Performance of Transformations before backend: time 4.526e-05/0.3537, allocations: 19.14 kB / 383.6 MB, free: 2.293 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001992/0.3557, allocations: 1.061 MB / 384.6 MB, free: 1.52 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3558, allocations: 7.719 kB / 384.7 MB, free: 1.52 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.3561, allocations: 104.7 kB / 384.8 MB, free: 1.473 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009892/0.3571, allocations: 0.5218 MB / 385.3 MB, free: 1.145 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002315/0.3574, allocations: 131.9 kB / 385.4 MB, free: 1.039 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.3576, allocations: 39.69 kB / 385.4 MB, free: 1.035 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001108/0.3588, allocations: 468.3 kB / 385.9 MB, free: 1.004 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.36, allocations: 0.6905 MB / 386.6 MB, free: 0.6211 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.3601, allocations: 0 / 386.6 MB, free: 0.6211 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-05/0.3602, allocations: 7.75 kB / 386.6 MB, free: 0.6172 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.3603, allocations: 15.31 kB / 386.6 MB, free: 0.6133 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004203/0.3646, allocations: 1.963 MB / 388.6 MB, free: 15.66 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009601/0.3656, allocations: 430.8 kB / 389 MB, free: 15.62 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007937/0.3665, allocations: 351.5 kB / 389.3 MB, free: 15.59 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 7.382e-05/0.3666, allocations: 16.5 kB / 389.4 MB, free: 15.59 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/0.3667, allocations: 60.94 kB / 389.4 MB, free: 15.54 MB / 312.6 MB Notification: Performance of pre-optimization done (n=74): time 4.4e-06/0.3668, allocations: 0 / 389.4 MB, free: 15.54 MB / 312.6 MB Notification: Performance of matching and sorting (n=74): time 0.002943/0.3698, allocations: 0.8436 MB / 390.3 MB, free: 15.3 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005128/0.3704, allocations: 0.8228 MB / 391.1 MB, free: 14.3 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007942/0.3712, allocations: 473.7 kB / 391.5 MB, free: 14.16 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 9.079e-05/0.3714, allocations: 29.48 kB / 391.6 MB, free: 14.12 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.3716, allocations: 218 kB / 391.8 MB, free: 13.97 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/0.3719, allocations: 248 kB / 392 MB, free: 13.78 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.455e-05/0.372, allocations: 5.281 kB / 392 MB, free: 13.78 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3721, allocations: 379.1 kB / 392.4 MB, free: 13.44 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000518/0.3727, allocations: 202.3 kB / 392.6 MB, free: 13.44 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007278/0.3735, allocations: 463.9 kB / 393.1 MB, free: 13.16 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005788/0.3741, allocations: 247.4 kB / 393.3 MB, free: 13.12 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.378e-06/0.3742, allocations: 0 / 393.3 MB, free: 13.12 MB / 312.6 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002979/0.3772, allocations: 0.9055 MB / 394.2 MB, free: 12.88 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.3774, allocations: 5.5 kB / 394.2 MB, free: 12.88 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.3774, allocations: 4 kB / 394.2 MB, free: 12.88 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008421/0.3783, allocations: 198.2 kB / 394.4 MB, free: 12.81 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.3794, allocations: 160.5 kB / 394.6 MB, free: 12.77 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008321/0.3878, allocations: 6.046 MB / 400.6 MB, free: 7.551 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.389, allocations: 100.1 kB / 400.7 MB, free: 7.504 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.941e-05/0.3891, allocations: 23.31 kB / 400.7 MB, free: 7.504 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.0001516/0.3893, allocations: 90.38 kB / 400.8 MB, free: 7.422 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/0.3896, allocations: 76.84 kB / 400.9 MB, free: 7.387 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.3899, allocations: 80.03 kB / 401 MB, free: 7.359 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.3899, allocations: 10.62 kB / 401 MB, free: 7.355 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.079e-06/0.39, allocations: 1.125 kB / 401 MB, free: 7.355 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002583/0.3926, allocations: 1.134 MB / 402.1 MB, free: 6.676 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004607/0.3973, allocations: 1.744 MB / 403.9 MB, free: 5.965 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.426e-06/0.3974, allocations: 0 / 403.9 MB, free: 5.965 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.3986, allocations: 155.2 kB / 404 MB, free: 5.934 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006201/0.3993, allocations: 161.7 kB / 404.2 MB, free: 5.883 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.09e-05/0.3994, allocations: 10.02 kB / 404.2 MB, free: 5.879 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006595/0.4061, allocations: 4.619 MB / 408.8 MB, free: 1.926 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.076e-06/0.4062, allocations: 0 / 408.8 MB, free: 1.926 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003575/0.4098, allocations: 1.233 MB / 410 MB, free: 1.594 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002376/0.4101, allocations: 163.5 kB / 410.2 MB, free: 1.449 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/0.4103, allocations: 6.844 kB / 410.2 MB, free: 1.445 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008168/0.4112, allocations: 49.59 kB / 410.2 MB, free: 1.43 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.4114, allocations: 48.67 kB / 410.3 MB, free: 1.406 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.258e-05/0.4116, allocations: 20.92 kB / 410.3 MB, free: 1.402 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0005969/0.4122, allocations: 366 kB / 410.7 MB, free: 1.297 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.001152/0.4134, allocations: 260.7 kB / 410.9 MB, free: 1.27 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001171/0.4136, allocations: 81.61 kB / 411 MB, free: 1.211 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.002411/0.4161, allocations: 1.117 MB / 412.1 MB, free: 0.6367 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 7.473e-06/0.4162, allocations: 1.375 kB / 412.1 MB, free: 0.6367 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001445/0.4177, allocations: 0.6777 MB / 412.8 MB, free: 56 kB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.419, allocations: 172 kB / 413 MB, free: 15.92 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003543/0.4226, allocations: 1.232 MB / 414.2 MB, free: 14.79 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006265/0.4233, allocations: 1.013 MB / 415.2 MB, free: 13.76 MB / 328.6 MB Notification: Performance of SimCode: time 1.956e-06/0.4234, allocations: 4 kB / 415.2 MB, free: 13.75 MB / 328.6 MB Notification: Performance of Templates: time 0.0934/0.5168, allocations: 14.77 MB / 430 MB, free: 15.11 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