Notification: Performance of loadModel(Modelica): time 1.5/1.5, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.939e-06/9.01e-06, allocations: 1.406 kB / 247.3 MB, free: 4.754 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06121/0.06129, allocations: 44.37 MB / 291.7 MB, free: 9.332 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5141/0.5755, allocations: 267.6 MB / 0.5462 GB, free: 97.93 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/0.5758, allocations: 71.95 kB / 0.5462 GB, free: 97.86 MB / 392.6 MB Notification: Performance of FrontEnd: time 0.03092/0.6068, allocations: 9.056 MB / 0.5551 GB, free: 88.77 MB / 392.6 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.6069, allocations: 4 kB / 0.5551 GB, free: 88.76 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.0008819/0.6078, allocations: 447 kB / 0.5555 GB, free: 88.28 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.608, allocations: 8.031 kB / 0.5555 GB, free: 88.27 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000306/0.6083, allocations: 23.8 kB / 0.5555 GB, free: 88.25 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.6086, allocations: 214.8 kB / 0.5558 GB, free: 88 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.6087, allocations: 4 kB / 0.5558 GB, free: 87.99 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/0.6088, allocations: 12 kB / 0.5558 GB, free: 87.98 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002979/0.6092, allocations: 108.5 kB / 0.5559 GB, free: 87.88 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003156/0.6095, allocations: 176.4 kB / 0.556 GB, free: 87.68 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.6096, allocations: 7.906 kB / 0.556 GB, free: 87.67 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.604e-05/0.6097, allocations: 7.984 kB / 0.5561 GB, free: 87.66 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.87e-06/0.6098, allocations: 4 kB / 0.5561 GB, free: 87.66 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.6113, allocations: 0.9092 MB / 0.5569 GB, free: 86.69 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.6116, allocations: 126.8 kB / 0.5571 GB, free: 86.55 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.589e-05/0.6118, allocations: 40.86 kB / 0.5571 GB, free: 86.51 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006089/0.6125, allocations: 0.4996 MB / 0.5576 GB, free: 85.95 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.6126, allocations: 34.56 kB / 0.5576 GB, free: 85.91 MB / 392.6 MB Notification: Performance of pre-optimization done (n=14): time 5.447e-06/0.6126, allocations: 0 / 0.5576 GB, free: 85.91 MB / 392.6 MB Notification: Performance of matching and sorting (n=20): time 0.002503/0.6152, allocations: 0.6001 MB / 0.5582 GB, free: 85.25 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.6153, allocations: 59.34 kB / 0.5583 GB, free: 85.18 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.6155, allocations: 133.5 kB / 0.5584 GB, free: 85.04 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.6156, allocations: 29.7 kB / 0.5584 GB, free: 85 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 6.237e-05/0.6157, allocations: 143.7 kB / 0.5586 GB, free: 84.86 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 5.58e-05/0.6158, allocations: 67 kB / 0.5586 GB, free: 84.79 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.032e-05/0.6159, allocations: 0 / 0.5586 GB, free: 84.79 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 5.909e-05/0.616, allocations: 330.8 kB / 0.5589 GB, free: 84.46 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.6162, allocations: 56 kB / 0.559 GB, free: 84.41 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.6165, allocations: 171.2 kB / 0.5592 GB, free: 84.19 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.6168, allocations: 72.89 kB / 0.5592 GB, free: 84.12 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.981e-06/0.6169, allocations: 4 kB / 0.5592 GB, free: 84.12 MB / 392.6 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006304/0.6175, allocations: 250.9 kB / 0.5595 GB, free: 83.87 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.6176, allocations: 4 kB / 0.5595 GB, free: 83.86 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.6177, allocations: 4 kB / 0.5595 GB, free: 83.86 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.6178, allocations: 8 kB / 0.5595 GB, free: 83.85 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000559/0.6184, allocations: 88.34 kB / 0.5596 GB, free: 83.77 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.6185, allocations: 8 kB / 0.5596 GB, free: 83.76 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003693/0.6189, allocations: 19.83 kB / 0.5596 GB, free: 83.74 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.619, allocations: 12 kB / 0.5596 GB, free: 83.73 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 5.14e-05/0.6191, allocations: 75.28 kB / 0.5597 GB, free: 83.65 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.906e-05/0.6192, allocations: 19.81 kB / 0.5597 GB, free: 83.63 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006747/0.62, allocations: 205 kB / 0.5599 GB, free: 83.43 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.62, allocations: 4 kB / 0.5599 GB, free: 83.43 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.006e-06/0.6201, allocations: 0 / 0.5599 GB, free: 83.43 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.6202, allocations: 3.984 kB / 0.5599 GB, free: 83.43 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.6215, allocations: 0.506 MB / 0.5604 GB, free: 82.86 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.378e-06/0.6216, allocations: 0 / 0.5604 GB, free: 82.86 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004436/0.6221, allocations: 51.95 kB / 0.5604 GB, free: 82.81 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.94e-06/0.6222, allocations: 4 kB / 0.5605 GB, free: 82.81 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.6223, allocations: 8 kB / 0.5605 GB, free: 82.8 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.356e-06/0.6224, allocations: 3.938 kB / 0.5605 GB, free: 82.8 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.356e-06/0.6224, allocations: 7.984 kB / 0.5605 GB, free: 82.79 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006265/0.6231, allocations: 385.5 kB / 0.5608 GB, free: 82.36 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 5.147e-05/0.6232, allocations: 96.91 kB / 0.5609 GB, free: 82.25 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.357e-05/0.6233, allocations: 0 / 0.5609 GB, free: 82.25 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003712/0.6238, allocations: 11.98 kB / 0.5609 GB, free: 82.23 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-05/0.6238, allocations: 23.77 kB / 0.561 GB, free: 82.21 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/0.6239, allocations: 11.98 kB / 0.561 GB, free: 82.2 MB / 392.6 MB Notification: Performance of sort global known variables: time 7.704e-05/0.6241, allocations: 103.5 kB / 0.5611 GB, free: 82.1 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.0005614/0.6247, allocations: 67.98 kB / 0.5611 GB, free: 82.04 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001775/0.6249, allocations: 113.5 kB / 0.5612 GB, free: 81.92 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.0004143/0.6254, allocations: 163.8 kB / 0.5614 GB, free: 81.76 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 4.4e-06/0.6255, allocations: 0 / 0.5614 GB, free: 81.76 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.6257, allocations: 77.83 kB / 0.5615 GB, free: 81.68 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.6262, allocations: 36.84 kB / 0.5615 GB, free: 81.65 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000929/0.6272, allocations: 268.2 kB / 0.5618 GB, free: 81.36 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002965/0.6276, allocations: 0.7469 MB / 0.5625 GB, free: 80.59 MB / 392.6 MB Notification: Performance of SimCode: time 2.165e-06/0.6276, allocations: 0 / 0.5625 GB, free: 80.59 MB / 392.6 MB Notification: Performance of Templates: time 0.0459/0.6736, allocations: 3.069 MB / 0.5655 GB, free: 77.51 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Media.Examples.SimpleLiquidWater.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_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_-O2_Modelica.Media.Examples.SimpleLiquidWater.o Modelica_3.2.2_-O2_Modelica.Media.Examples.SimpleLiquidWater.c In file included from Modelica_3.2.2_-O2_Modelica.Media.Examples.SimpleLiquidWater.c:2: ./Modelica_3.2.2_-O2_Modelica.Media.Examples.SimpleLiquidWater_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Media_Examples_SimpleLiquidWater__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Media.Examples.SimpleLiquidWater_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Media_Examples_SimpleLiquidWater__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Media.Examples.SimpleLiquidWater.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Media_Examples_SimpleLiquidWater_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Media.Examples.SimpleLiquidWater.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Media_Examples_SimpleLiquidWater_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Media.Examples.SimpleLiquidWater.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Media.Examples.SimpleLiquidWater.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Media_Examples_SimpleLiquidWater_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Media.Examples.SimpleLiquidWater.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Media_Examples_SimpleLiquidWater_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Media.Examples.SimpleLiquidWater.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Media.Examples.SimpleLiquidWater.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Media_Examples_SimpleLiquidWater_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Media.Examples.SimpleLiquidWater.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Media_Examples_SimpleLiquidWater_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Media.Examples.SimpleLiquidWater.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_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_-O2_Modelica.Media.Examples.SimpleLiquidWater.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Media_Examples_SimpleLiquidWater_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Media.Examples.SimpleLiquidWater.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Media_Examples_SimpleLiquidWater_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Media.Examples.SimpleLiquidWater.c:592:19: warning: implicit declaration of function 'O2_Modelica_Media_Examples_SimpleLiquidWater_eqFunction_42' is invalid in C99 [-Wimplicit-function-declaration] Modelica_3_2_2_-O2_Modelica_Media_Examples_SimpleLiquidWater_eqFunction_42(data, threadData); ^ Modelica_3.2.2_-O2_Modelica.Media.Examples.SimpleLiquidWater.c:595:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_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_-O2_Modelica.Media.Examples.SimpleLiquidWater.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Media_Examples_SimpleLiquidWater_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Media.Examples.SimpleLiquidWater.c:595:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Media_Examples_SimpleLiquidWater_functionODE(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O2_Modelica.Media.Examples.SimpleLiquidWater.c:615: ./Modelica_3.2.2_-O2_Modelica.Media.Examples.SimpleLiquidWater_12jac.h:7:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O2_Modelica_Media_Examples_SimpleLiquidWater_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Media.Examples.SimpleLiquidWater_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Media_Examples_SimpleLiquidWater_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Media.Examples.SimpleLiquidWater_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O2_Modelica.Media.Examples.SimpleLiquidWater_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Media_Examples_SimpleLiquidWater_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Media.Examples.SimpleLiquidWater_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Media_Examples_SimpleLiquidWater_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Media.Examples.SimpleLiquidWater_12jac.h:19:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O2_Modelica_Media_Examples_SimpleLiquidWater_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Media.Examples.SimpleLiquidWater_12jac.h:19:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Media_Examples_SimpleLiquidWater_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Media.Examples.SimpleLiquidWater_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Media_Examples_SimpleLiquidWater_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Media.Examples.SimpleLiquidWater_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Media_Examples_SimpleLiquidWater_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Media.Examples.SimpleLiquidWater_12jac.h:19:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_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_-O2_Modelica.Media.Examples.SimpleLiquidWater.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Media.Examples.SimpleLiquidWater.o] Error 1