Notification: Performance of loadModel(Modelica): time 1.578/1.578, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.94e-06/9.009e-06, allocations: 1.125 kB / 247.3 MB, free: 4.777 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0635/0.06357, allocations: 44.36 MB / 291.7 MB, free: 9.344 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3354/0.3991, allocations: 186.3 MB / 478 MB, free: 2.234 MB / 376.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.3994, allocations: 75.5 kB / 478.1 MB, free: 2.195 MB / 376.6 MB Notification: Performance of FrontEnd: time 0.2901/0.6895, allocations: 45.88 MB / 0.5117 GB, free: 135.2 MB / 392.6 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.6897, allocations: 4 kB / 0.5117 GB, free: 135.2 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.0007132/0.6904, allocations: 486 kB / 0.5122 GB, free: 134.7 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.6905, allocations: 8.031 kB / 0.5122 GB, free: 134.7 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.114e-05/0.6906, allocations: 8.062 kB / 0.5122 GB, free: 134.7 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.6909, allocations: 188.4 kB / 0.5123 GB, free: 134.5 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.691, allocations: 0 / 0.5123 GB, free: 134.5 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.6911, allocations: 4 kB / 0.5123 GB, free: 134.5 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.363e-05/0.6912, allocations: 11.98 kB / 0.5124 GB, free: 134.4 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.792e-05/0.6913, allocations: 63.33 kB / 0.5124 GB, free: 134.4 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.6914, allocations: 0 / 0.5124 GB, free: 134.4 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.6915, allocations: 7.938 kB / 0.5124 GB, free: 134.4 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.356e-06/0.6916, allocations: 0 / 0.5124 GB, free: 134.4 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001715/0.6918, allocations: 151 kB / 0.5126 GB, free: 134.2 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.6921, allocations: 69.33 kB / 0.5126 GB, free: 134.1 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.197e-05/0.6922, allocations: 25.72 kB / 0.5127 GB, free: 134.1 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/0.6933, allocations: 1.828 MB / 0.5144 GB, free: 131.8 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.6934, allocations: 30.56 kB / 0.5145 GB, free: 131.8 MB / 392.6 MB Notification: Performance of pre-optimization done (n=6): time 3.981e-06/0.6935, allocations: 4 kB / 0.5145 GB, free: 131.8 MB / 392.6 MB Notification: Performance of matching and sorting (n=6): time 0.001372/0.6949, allocations: 149.5 kB / 0.5146 GB, free: 131.6 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.695, allocations: 81.05 kB / 0.5147 GB, free: 131.5 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.6952, allocations: 98.02 kB / 0.5148 GB, free: 131.4 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.6953, allocations: 25.7 kB / 0.5148 GB, free: 131.4 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 1.655e-05/0.6953, allocations: 88.12 kB / 0.5149 GB, free: 131.3 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.6954, allocations: 23.66 kB / 0.5149 GB, free: 131.3 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.845e-06/0.6955, allocations: 3.938 kB / 0.5149 GB, free: 131.3 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 5.434e-05/0.6956, allocations: 322.8 kB / 0.5152 GB, free: 131 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.443e-05/0.6957, allocations: 8 kB / 0.5152 GB, free: 131 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.505e-05/0.6958, allocations: 31.44 kB / 0.5153 GB, free: 130.9 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.697, allocations: 99.94 kB / 0.5154 GB, free: 130.8 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.6971, allocations: 0 / 0.5154 GB, free: 130.8 MB / 392.6 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001249/0.6984, allocations: 157.4 kB / 0.5155 GB, free: 130.7 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.6985, allocations: 4 kB / 0.5155 GB, free: 130.6 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.149e-06/0.6986, allocations: 4 kB / 0.5155 GB, free: 130.6 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.6987, allocations: 0 / 0.5155 GB, free: 130.6 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.6988, allocations: 19.92 kB / 0.5155 GB, free: 130.6 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.473e-06/0.6989, allocations: 4 kB / 0.5156 GB, free: 130.6 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.324e-05/0.6991, allocations: 3.906 kB / 0.5156 GB, free: 130.6 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.6991, allocations: 4 kB / 0.5156 GB, free: 130.6 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/0.6992, allocations: 79.27 kB / 0.5156 GB, free: 130.5 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.6993, allocations: 15.97 kB / 0.5156 GB, free: 130.5 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/0.7009, allocations: 201.4 kB / 0.5158 GB, free: 130.3 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.701, allocations: 0 / 0.5158 GB, free: 130.3 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.7011, allocations: 4 kB / 0.5158 GB, free: 130.3 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.101e-06/0.7012, allocations: 4 kB / 0.5158 GB, free: 130.3 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.7013, allocations: 151.8 kB / 0.516 GB, free: 130.1 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.356e-06/0.7014, allocations: 3.938 kB / 0.516 GB, free: 130.1 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.7016, allocations: 19.94 kB / 0.516 GB, free: 130.1 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.661e-06/0.7017, allocations: 3.984 kB / 0.516 GB, free: 130.1 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.7018, allocations: 4 kB / 0.516 GB, free: 130.1 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.841e-06/0.7018, allocations: 0 / 0.516 GB, free: 130.1 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.4e-06/0.7019, allocations: 0 / 0.516 GB, free: 130.1 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00142/0.7034, allocations: 224.8 kB / 0.5162 GB, free: 129.8 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 6.942e-05/0.7035, allocations: 101 kB / 0.5163 GB, free: 129.7 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.7036, allocations: 0 / 0.5163 GB, free: 129.7 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.638e-05/0.7038, allocations: 7.906 kB / 0.5163 GB, free: 129.7 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.7039, allocations: 7.922 kB / 0.5164 GB, free: 129.7 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.704, allocations: 4 kB / 0.5164 GB, free: 129.7 MB / 392.6 MB Notification: Performance of sort global known variables: time 5.085e-05/0.7041, allocations: 93.45 kB / 0.5164 GB, free: 129.6 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.0008894/0.705, allocations: 219.7 kB / 0.5167 GB, free: 129.4 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.001245/0.7063, allocations: 403.7 kB / 0.517 GB, free: 129 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.7066, allocations: 43.34 kB / 0.5171 GB, free: 129 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.7067, allocations: 4 kB / 0.5171 GB, free: 129 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 6.782e-05/0.7068, allocations: 28.14 kB / 0.5171 GB, free: 129 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.7071, allocations: 8 kB / 0.5171 GB, free: 128.9 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03682/0.744, allocations: 12.36 MB / 0.5292 GB, free: 116.7 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.7443, allocations: 0.723 MB / 0.5299 GB, free: 116 MB / 392.6 MB Notification: Performance of SimCode: time 1.955e-06/0.7444, allocations: 0 / 0.5299 GB, free: 116 MB / 392.6 MB Notification: Performance of Templates: time 0.04276/0.7872, allocations: 4.331 MB / 0.5341 GB, free: 111.7 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.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_SolveOneNonlinearEquation_InverseIncompressible_sh_T -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.SolveOneNonlinearEquation.InverseIncompressible_sh_T.o Modelica_3.2.2_-O2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.c In file included from Modelica_3.2.2_-O2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.c:2: ./Modelica_3.2.2_-O2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.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.SolveOneNonlinearEquation.InverseIncompressible_sh_T.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.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.SolveOneNonlinearEquation.InverseIncompressible_sh_T.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.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.SolveOneNonlinearEquation.InverseIncompressible_sh_T.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_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.SolveOneNonlinearEquation.InverseIncompressible_sh_T.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.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.SolveOneNonlinearEquation.InverseIncompressible_sh_T.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.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.SolveOneNonlinearEquation.InverseIncompressible_sh_T.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_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.SolveOneNonlinearEquation.InverseIncompressible_sh_T.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.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.SolveOneNonlinearEquation.InverseIncompressible_sh_T.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_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.SolveOneNonlinearEquation.InverseIncompressible_sh_T.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.c:197:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_eqFunction_11(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.c:201:19: warning: implicit declaration of function 'O2_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_eqFunction_15' is invalid in C99 [-Wimplicit-function-declaration] Modelica_3_2_2_-O2_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_eqFunction_15(data, threadData); ^ Modelica_3.2.2_-O2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.c:201:18: error: invalid operands to binary expression ('void' and 'int') Modelica_3_2_2_-O2_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_eqFunction_15(data, threadData); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_3.2.2_-O2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.c:203:19: warning: implicit declaration of function 'O2_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_eqFunction_11' is invalid in C99 [-Wimplicit-function-declaration] Modelica_3_2_2_-O2_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_eqFunction_11(data, threadData); ^ Modelica_3.2.2_-O2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.c:203:18: error: invalid operands to binary expression ('void' and 'int') Modelica_3_2_2_-O2_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_eqFunction_11(data, threadData); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_3.2.2_-O2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.c:206:5: error: redefinition of 'Modelica_3_2_2_' with a different type: 'int' vs 'void' int Modelica_3_2_2_-O2_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_functionODE(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.c:197:13: note: previous declaration is here extern void Modelica_3_2_2_-O2_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_eqFunction_11(DATA* data, threadData_t *threadData); ^ Modelica_3.2.2_-O2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.c:206:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_functionODE(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.c:226: ./Modelica_3.2.2_-O2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_12jac.h:7:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O2_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_INDEX_JAC_A 3 ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 9 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.o] Error 1