Notification: Performance of loadModel(Modelica): time 1.793/1.793, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.708e-06/9.847e-06, allocations: 5 kB / 247.3 MB, free: 4.742 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06347/0.06355, allocations: 44.36 MB / 291.7 MB, free: 9.328 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5276/0.5913, allocations: 267.6 MB / 0.5462 GB, free: 97.52 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001796/0.5916, allocations: 74.95 kB / 0.5462 GB, free: 97.45 MB / 392.6 MB Notification: Performance of FrontEnd: time 0.03121/0.6229, allocations: 9.05 MB / 0.5551 GB, free: 88.36 MB / 392.6 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.623, allocations: 8 kB / 0.5551 GB, free: 88.35 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.0008998/0.6239, allocations: 451 kB / 0.5555 GB, free: 87.86 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.624, allocations: 8.031 kB / 0.5555 GB, free: 87.85 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003119/0.6244, allocations: 23.8 kB / 0.5555 GB, free: 87.83 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.6247, allocations: 210.8 kB / 0.5557 GB, free: 87.58 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.6248, allocations: 15.98 kB / 0.5558 GB, free: 87.57 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/0.6249, allocations: 8 kB / 0.5558 GB, free: 87.56 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002961/0.6253, allocations: 108.5 kB / 0.5559 GB, free: 87.45 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.6256, allocations: 176.4 kB / 0.556 GB, free: 87.26 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.6257, allocations: 7.906 kB / 0.5561 GB, free: 87.25 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.436e-05/0.6258, allocations: 0 / 0.5561 GB, free: 87.25 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.94e-06/0.6259, allocations: 8 kB / 0.5561 GB, free: 87.24 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.6274, allocations: 0.9131 MB / 0.557 GB, free: 86.27 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.6278, allocations: 119.7 kB / 0.5571 GB, free: 86.14 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.659e-05/0.6279, allocations: 48.78 kB / 0.5571 GB, free: 86.09 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006265/0.6286, allocations: 0.4957 MB / 0.5576 GB, free: 85.53 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.6287, allocations: 34.56 kB / 0.5576 GB, free: 85.49 MB / 392.6 MB Notification: Performance of pre-optimization done (n=14): time 2.934e-06/0.6288, allocations: 0 / 0.5576 GB, free: 85.49 MB / 392.6 MB Notification: Performance of matching and sorting (n=20): time 0.002435/0.6312, allocations: 0.6001 MB / 0.5582 GB, free: 84.83 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.6314, allocations: 59.34 kB / 0.5583 GB, free: 84.76 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.6315, allocations: 137.5 kB / 0.5584 GB, free: 84.62 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.6316, allocations: 29.69 kB / 0.5584 GB, free: 84.58 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/0.6317, allocations: 143.8 kB / 0.5586 GB, free: 84.44 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 5.315e-05/0.6318, allocations: 67 kB / 0.5586 GB, free: 84.37 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/0.6319, allocations: 0 / 0.5586 GB, free: 84.37 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 5.86e-05/0.632, allocations: 326.8 kB / 0.5589 GB, free: 84.04 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.6322, allocations: 60 kB / 0.559 GB, free: 83.98 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.6325, allocations: 163.3 kB / 0.5592 GB, free: 83.78 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.6328, allocations: 84.83 kB / 0.5592 GB, free: 83.7 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.562e-06/0.6329, allocations: 0 / 0.5592 GB, free: 83.7 MB / 392.6 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006131/0.6335, allocations: 247 kB / 0.5595 GB, free: 83.45 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.6336, allocations: 4 kB / 0.5595 GB, free: 83.45 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.6337, allocations: 4 kB / 0.5595 GB, free: 83.44 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.6338, allocations: 15.92 kB / 0.5595 GB, free: 83.43 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005448/0.6343, allocations: 84.36 kB / 0.5596 GB, free: 83.34 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.6344, allocations: 8 kB / 0.5596 GB, free: 83.34 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/0.6349, allocations: 19.83 kB / 0.5596 GB, free: 83.32 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.351e-05/0.635, allocations: 12 kB / 0.5596 GB, free: 83.3 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 5.231e-05/0.6351, allocations: 75.28 kB / 0.5597 GB, free: 83.23 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.116e-05/0.6352, allocations: 15.81 kB / 0.5597 GB, free: 83.21 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006647/0.6359, allocations: 201 kB / 0.5599 GB, free: 83.02 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.704e-06/0.636, allocations: 8 kB / 0.5599 GB, free: 83.01 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.425e-06/0.6361, allocations: 0 / 0.5599 GB, free: 83.01 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.172e-06/0.6361, allocations: 7.984 kB / 0.5599 GB, free: 83 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.6375, allocations: 0.5106 MB / 0.5604 GB, free: 82.44 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.657e-06/0.6376, allocations: 0 / 0.5604 GB, free: 82.44 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004376/0.6381, allocations: 55.95 kB / 0.5605 GB, free: 82.38 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-06/0.6382, allocations: 0 / 0.5605 GB, free: 82.38 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.6383, allocations: 7.984 kB / 0.5605 GB, free: 82.38 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.565e-06/0.6383, allocations: 4 kB / 0.5605 GB, free: 82.37 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.241e-06/0.6384, allocations: 3.938 kB / 0.5605 GB, free: 82.37 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006401/0.6391, allocations: 385.5 kB / 0.5608 GB, free: 81.94 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 5.713e-05/0.6392, allocations: 96.98 kB / 0.5609 GB, free: 81.82 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.483e-05/0.6393, allocations: 0 / 0.5609 GB, free: 81.82 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003716/0.6398, allocations: 11.98 kB / 0.5609 GB, free: 81.81 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.6399, allocations: 23.83 kB / 0.561 GB, free: 81.79 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/0.64, allocations: 7.984 kB / 0.561 GB, free: 81.78 MB / 392.6 MB Notification: Performance of sort global known variables: time 8.067e-05/0.6401, allocations: 106.6 kB / 0.5611 GB, free: 81.68 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.0005719/0.6407, allocations: 60 kB / 0.5611 GB, free: 81.62 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001791/0.641, allocations: 121.6 kB / 0.5613 GB, free: 81.5 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.0004079/0.6414, allocations: 163.8 kB / 0.5614 GB, free: 81.34 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 4.19e-06/0.6415, allocations: 0 / 0.5614 GB, free: 81.34 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.6417, allocations: 79.73 kB / 0.5615 GB, free: 81.26 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004493/0.6422, allocations: 41.09 kB / 0.5615 GB, free: 81.22 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000944/0.6432, allocations: 272.1 kB / 0.5618 GB, free: 80.92 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003042/0.6436, allocations: 0.7472 MB / 0.5625 GB, free: 80.15 MB / 392.6 MB Notification: Performance of SimCode: time 2.095e-06/0.6437, allocations: 0 / 0.5625 GB, free: 80.15 MB / 392.6 MB Notification: Performance of Templates: time 0.05694/0.7007, allocations: 3.056 MB / 0.5655 GB, free: 77.08 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Media.Examples.SimpleLiquidWater.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_Media_Examples_SimpleLiquidWater -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Media.Examples.SimpleLiquidWater.o Modelica_3.2.2_-O1_Modelica.Media.Examples.SimpleLiquidWater.c In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.SimpleLiquidWater.c:2: ./Modelica_3.2.2_-O1_Modelica.Media.Examples.SimpleLiquidWater_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Media_Examples_SimpleLiquidWater__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.SimpleLiquidWater_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Media_Examples_SimpleLiquidWater__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.SimpleLiquidWater.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.Media.Examples.SimpleLiquidWater.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_SimpleLiquidWater_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.SimpleLiquidWater.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.Media.Examples.SimpleLiquidWater.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_SimpleLiquidWater_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.SimpleLiquidWater.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.Media.Examples.SimpleLiquidWater.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_SimpleLiquidWater_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.Media.Examples.SimpleLiquidWater.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_SimpleLiquidWater_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.SimpleLiquidWater.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.Media.Examples.SimpleLiquidWater.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_SimpleLiquidWater_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.SimpleLiquidWater.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.Media.Examples.SimpleLiquidWater.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_SimpleLiquidWater_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.Media.Examples.SimpleLiquidWater.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_SimpleLiquidWater_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.SimpleLiquidWater.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.Media.Examples.SimpleLiquidWater.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_SimpleLiquidWater_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.SimpleLiquidWater.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Media_Examples_SimpleLiquidWater_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.Media.Examples.SimpleLiquidWater.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_SimpleLiquidWater_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.SimpleLiquidWater.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Media_Examples_SimpleLiquidWater_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.SimpleLiquidWater.c:592:19: warning: implicit declaration of function 'O1_Modelica_Media_Examples_SimpleLiquidWater_eqFunction_42' is invalid in C99 [-Wimplicit-function-declaration] Modelica_3_2_2_-O1_Modelica_Media_Examples_SimpleLiquidWater_eqFunction_42(data, threadData); ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.SimpleLiquidWater.c:595:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Media_Examples_SimpleLiquidWater_functionODE(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.Media.Examples.SimpleLiquidWater.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_SimpleLiquidWater_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.SimpleLiquidWater.c:595:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Media_Examples_SimpleLiquidWater_functionODE(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.SimpleLiquidWater.c:615: ./Modelica_3.2.2_-O1_Modelica.Media.Examples.SimpleLiquidWater_12jac.h:7:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O1_Modelica_Media_Examples_SimpleLiquidWater_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.SimpleLiquidWater_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Media_Examples_SimpleLiquidWater_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.SimpleLiquidWater_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O1_Modelica.Media.Examples.SimpleLiquidWater_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Media_Examples_SimpleLiquidWater_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.SimpleLiquidWater_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Media_Examples_SimpleLiquidWater_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.SimpleLiquidWater_12jac.h:19:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O1_Modelica_Media_Examples_SimpleLiquidWater_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.SimpleLiquidWater_12jac.h:19:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Media_Examples_SimpleLiquidWater_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.SimpleLiquidWater_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Media_Examples_SimpleLiquidWater_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.SimpleLiquidWater_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Media_Examples_SimpleLiquidWater_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.SimpleLiquidWater_12jac.h:19:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Media_Examples_SimpleLiquidWater_INDEX_JAC_B 2 ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 10 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O1_Modelica.Media.Examples.SimpleLiquidWater.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Media.Examples.SimpleLiquidWater.o] Error 1