Notification: Performance of loadModel(Modelica): time 1.59/1.59, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.201e-05/1.222e-05, allocations: 1.5 kB / 247.3 MB, free: 4.746 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1184, allocations: 44.36 MB / 291.7 MB, free: 9.305 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5498/0.6684, allocations: 267.6 MB / 0.5462 GB, free: 83.27 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/0.6687, allocations: 72.64 kB / 0.5462 GB, free: 83.24 MB / 392.6 MB Notification: Performance of FrontEnd: time 0.03156/0.7003, allocations: 9.064 MB / 0.5551 GB, free: 75.96 MB / 392.6 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.7004, allocations: 0 / 0.5551 GB, free: 75.96 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.0008859/0.7014, allocations: 449.9 kB / 0.5555 GB, free: 75.49 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.7015, allocations: 12.03 kB / 0.5555 GB, free: 75.48 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003031/0.7018, allocations: 23.38 kB / 0.5556 GB, free: 75.46 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.7021, allocations: 217.5 kB / 0.5558 GB, free: 75.21 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.7022, allocations: 4 kB / 0.5558 GB, free: 75.21 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.093e-05/0.7023, allocations: 8 kB / 0.5558 GB, free: 75.2 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003002/0.7027, allocations: 109.6 kB / 0.5559 GB, free: 75.12 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003188/0.7031, allocations: 180 kB / 0.556 GB, free: 74.96 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.7031, allocations: 11.89 kB / 0.5561 GB, free: 74.95 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.618e-05/0.7032, allocations: 0 / 0.5561 GB, free: 74.95 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.7033, allocations: 4 kB / 0.5561 GB, free: 74.94 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.7048, allocations: 0.9068 MB / 0.5569 GB, free: 74.05 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.7052, allocations: 119.4 kB / 0.5571 GB, free: 73.95 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.589e-05/0.7053, allocations: 46.31 kB / 0.5571 GB, free: 73.92 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006043/0.706, allocations: 0.5005 MB / 0.5576 GB, free: 73.38 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.7061, allocations: 34.55 kB / 0.5576 GB, free: 73.33 MB / 392.6 MB Notification: Performance of pre-optimization done (n=14): time 3.212e-06/0.7061, allocations: 0 / 0.5576 GB, free: 73.33 MB / 392.6 MB Notification: Performance of matching and sorting (n=20): time 0.002423/0.7086, allocations: 0.5999 MB / 0.5582 GB, free: 72.76 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.018e-05/0.7087, allocations: 55.34 kB / 0.5583 GB, free: 72.69 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.7089, allocations: 140.1 kB / 0.5584 GB, free: 72.55 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.709, allocations: 25.7 kB / 0.5584 GB, free: 72.52 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.7091, allocations: 138.4 kB / 0.5586 GB, free: 72.39 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 5.545e-05/0.7092, allocations: 73.5 kB / 0.5586 GB, free: 72.33 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.06e-05/0.7093, allocations: 0 / 0.5586 GB, free: 72.33 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 5.943e-05/0.7094, allocations: 325.8 kB / 0.5589 GB, free: 72.01 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.7096, allocations: 61.67 kB / 0.559 GB, free: 71.97 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.7099, allocations: 159 kB / 0.5591 GB, free: 71.79 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.7102, allocations: 88.95 kB / 0.5592 GB, free: 71.73 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.841e-06/0.7103, allocations: 0 / 0.5592 GB, free: 71.73 MB / 392.6 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006188/0.7109, allocations: 249.4 kB / 0.5595 GB, free: 71.53 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.711, allocations: 8 kB / 0.5595 GB, free: 71.52 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.7111, allocations: 7.938 kB / 0.5595 GB, free: 71.51 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.7112, allocations: 4.469 kB / 0.5595 GB, free: 71.51 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005578/0.7118, allocations: 87.52 kB / 0.5596 GB, free: 71.43 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.7118, allocations: 4 kB / 0.5596 GB, free: 71.42 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/0.7123, allocations: 19.83 kB / 0.5596 GB, free: 71.4 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/0.7124, allocations: 12 kB / 0.5596 GB, free: 71.39 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 5.161e-05/0.7125, allocations: 82.83 kB / 0.5597 GB, free: 71.31 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.983e-05/0.7126, allocations: 15.81 kB / 0.5597 GB, free: 71.3 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006752/0.7133, allocations: 207.7 kB / 0.5599 GB, free: 71.13 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.425e-06/0.7134, allocations: 0 / 0.5599 GB, free: 71.13 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.146e-06/0.7135, allocations: 0 / 0.5599 GB, free: 71.13 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.146e-06/0.7135, allocations: 0 / 0.5599 GB, free: 71.13 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.7149, allocations: 0.5077 MB / 0.5604 GB, free: 70.63 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.867e-06/0.715, allocations: 0 / 0.5604 GB, free: 70.63 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004368/0.7155, allocations: 55.89 kB / 0.5604 GB, free: 70.58 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.73e-06/0.7156, allocations: 0 / 0.5604 GB, free: 70.58 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/0.7157, allocations: 7.984 kB / 0.5605 GB, free: 70.57 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.054e-06/0.7157, allocations: 8 kB / 0.5605 GB, free: 70.56 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.495e-06/0.7158, allocations: 4.062 kB / 0.5605 GB, free: 70.56 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006398/0.7165, allocations: 396.5 kB / 0.5608 GB, free: 70.18 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 5.154e-05/0.7166, allocations: 88.92 kB / 0.5609 GB, free: 70.07 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.531e-05/0.7167, allocations: 4 kB / 0.5609 GB, free: 70.07 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003706/0.7171, allocations: 7.984 kB / 0.5609 GB, free: 70.06 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.7172, allocations: 23.27 kB / 0.561 GB, free: 70.04 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/0.7173, allocations: 11.98 kB / 0.561 GB, free: 70.03 MB / 392.6 MB Notification: Performance of sort global known variables: time 8.06e-05/0.7175, allocations: 109.3 kB / 0.5611 GB, free: 69.94 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.0005637/0.7181, allocations: 56 kB / 0.5611 GB, free: 69.88 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001854/0.7183, allocations: 125.4 kB / 0.5613 GB, free: 69.75 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.0004051/0.7188, allocations: 160.9 kB / 0.5614 GB, free: 69.64 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 4.61e-06/0.7189, allocations: 0 / 0.5614 GB, free: 69.64 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.7191, allocations: 83.03 kB / 0.5615 GB, free: 69.58 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.7196, allocations: 28.86 kB / 0.5615 GB, free: 69.55 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009439/0.7206, allocations: 277.4 kB / 0.5618 GB, free: 69.28 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000306/0.721, allocations: 0.7391 MB / 0.5625 GB, free: 68.52 MB / 392.6 MB Notification: Performance of SimCode: time 2.025e-06/0.721, allocations: 4 kB / 0.5625 GB, free: 68.51 MB / 392.6 MB Notification: Performance of Templates: time 0.04487/0.7659, allocations: 3.065 MB / 0.5655 GB, free: 65.45 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