Notification: Performance of loadModel(Modelica): time 1.539/1.539, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.847e-06/9.988e-06, allocations: 0.9062 kB / 247.3 MB, free: 4.762 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06775/0.06784, allocations: 44.36 MB / 291.7 MB, free: 9.32 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.319/1.387, allocations: 0.5899 GB / 0.8747 GB, free: 56.19 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003313/1.387, allocations: 79.95 kB / 0.8748 GB, free: 56.11 MB / 392.6 MB Notification: Performance of FrontEnd: time 0.2299/1.617, allocations: 40.88 MB / 0.9147 GB, free: 15.11 MB / 392.6 MB Notification: Performance of Transformations before backend: time 1.32e-05/1.617, allocations: 0 / 0.9147 GB, free: 15.11 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.0008752/1.618, allocations: 450.1 kB / 0.9152 GB, free: 14.62 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/1.618, allocations: 8.031 kB / 0.9152 GB, free: 14.62 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002292/1.621, allocations: 115.7 kB / 0.9153 GB, free: 14.5 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/1.621, allocations: 190.9 kB / 0.9155 GB, free: 14.28 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/1.621, allocations: 0 / 0.9155 GB, free: 14.28 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.833e-05/1.621, allocations: 7.984 kB / 0.9155 GB, free: 14.27 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001655/1.622, allocations: 28 kB / 0.9155 GB, free: 14.24 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/1.622, allocations: 63.38 kB / 0.9156 GB, free: 14.17 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/1.622, allocations: 0 / 0.9156 GB, free: 14.17 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/1.622, allocations: 0 / 0.9156 GB, free: 14.17 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.242e-06/1.622, allocations: 3.938 kB / 0.9156 GB, free: 14.16 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003333/1.623, allocations: 167.7 kB / 0.9157 GB, free: 13.96 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006462/1.623, allocations: 97.27 kB / 0.9158 GB, free: 13.85 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.973e-05/1.624, allocations: 25.78 kB / 0.9158 GB, free: 13.82 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00121/1.625, allocations: 1.375 MB / 0.9172 GB, free: 12.15 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/1.625, allocations: 38.5 kB / 0.9172 GB, free: 12.1 MB / 392.6 MB Notification: Performance of pre-optimization done (n=6): time 5.238e-06/1.625, allocations: 4 kB / 0.9172 GB, free: 12.1 MB / 392.6 MB Notification: Performance of matching and sorting (n=6): time 0.001744/1.627, allocations: 153.5 kB / 0.9174 GB, free: 11.94 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/1.627, allocations: 81.05 kB / 0.9175 GB, free: 11.84 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/1.628, allocations: 125 kB / 0.9176 GB, free: 11.71 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/1.628, allocations: 25.7 kB / 0.9176 GB, free: 11.68 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 2.368e-05/1.628, allocations: 84.12 kB / 0.9177 GB, free: 11.6 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 5.902e-05/1.628, allocations: 23.66 kB / 0.9177 GB, free: 11.57 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.488e-05/1.628, allocations: 3.938 kB / 0.9177 GB, free: 11.57 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 6.963e-05/1.628, allocations: 326.8 kB / 0.918 GB, free: 11.24 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.835e-05/1.628, allocations: 12 kB / 0.918 GB, free: 11.23 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/1.629, allocations: 43.44 kB / 0.9181 GB, free: 11.18 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/1.63, allocations: 95.86 kB / 0.9182 GB, free: 11.08 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.425e-06/1.63, allocations: 4 kB / 0.9182 GB, free: 11.08 MB / 392.6 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001667/1.632, allocations: 169.4 kB / 0.9183 GB, free: 10.91 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/1.632, allocations: 4 kB / 0.9183 GB, free: 10.9 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/1.632, allocations: 7.922 kB / 0.9183 GB, free: 10.89 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.073e-05/1.632, allocations: 4 kB / 0.9183 GB, free: 10.89 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/1.633, allocations: 15.98 kB / 0.9184 GB, free: 10.88 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.046e-05/1.633, allocations: 7.938 kB / 0.9184 GB, free: 10.87 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/1.633, allocations: 7.906 kB / 0.9184 GB, free: 10.86 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/1.633, allocations: 7.984 kB / 0.9184 GB, free: 10.85 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 4.637e-05/1.634, allocations: 79.34 kB / 0.9185 GB, free: 10.77 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-05/1.634, allocations: 7.906 kB / 0.9185 GB, free: 10.77 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/1.635, allocations: 193.6 kB / 0.9186 GB, free: 10.57 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/1.636, allocations: 4 kB / 0.9187 GB, free: 10.56 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.636, allocations: 4.047 kB / 0.9187 GB, free: 10.56 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.359e-06/1.636, allocations: 3.984 kB / 0.9187 GB, free: 10.55 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/1.636, allocations: 158.1 kB / 0.9188 GB, free: 10.36 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.448e-06/1.636, allocations: 4 kB / 0.9188 GB, free: 10.36 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002931/1.637, allocations: 15.92 kB / 0.9188 GB, free: 10.34 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/1.637, allocations: 4 kB / 0.9188 GB, free: 10.34 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/1.637, allocations: 4 kB / 0.9188 GB, free: 10.34 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/1.637, allocations: 0 / 0.9188 GB, free: 10.34 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.308e-06/1.637, allocations: 0 / 0.9188 GB, free: 10.34 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001605/1.639, allocations: 227.4 kB / 0.9191 GB, free: 10.09 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/1.639, allocations: 93.02 kB / 0.9191 GB, free: 9.977 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.745e-05/1.639, allocations: 7.906 kB / 0.9191 GB, free: 9.969 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003373/1.639, allocations: 4 kB / 0.9192 GB, free: 9.965 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.48e-05/1.64, allocations: 11.98 kB / 0.9192 GB, free: 9.953 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/1.64, allocations: 4 kB / 0.9192 GB, free: 9.949 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.0001438/1.64, allocations: 107.3 kB / 0.9193 GB, free: 9.844 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.001299/1.641, allocations: 211.7 kB / 0.9195 GB, free: 9.637 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.002731/1.644, allocations: 0.9005 MB / 0.9204 GB, free: 8.738 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.0003044/1.645, allocations: 39.92 kB / 0.9204 GB, free: 8.699 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 4.47e-06/1.645, allocations: 8.125 kB / 0.9204 GB, free: 8.691 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/1.645, allocations: 28.2 kB / 0.9204 GB, free: 8.664 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/1.645, allocations: 4.281 kB / 0.9204 GB, free: 8.66 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009471/1.646, allocations: 230.2 kB / 0.9206 GB, free: 8.41 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004588/1.647, allocations: 0.7386 MB / 0.9214 GB, free: 7.645 MB / 392.6 MB Notification: Performance of SimCode: time 2.584e-06/1.647, allocations: 0 / 0.9214 GB, free: 7.645 MB / 392.6 MB Notification: Performance of Templates: time 0.05589/1.703, allocations: 7.45 MB / 0.9286 GB, free: 184 kB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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_SolveOneNonlinearEquation_Inverse_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_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.o Modelica_3.2.2_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.c In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.c:2: ./Modelica_3.2.2_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_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_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_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_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_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_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_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_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_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_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_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_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_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_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_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_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_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_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.c:212:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_eqFunction_11(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.c:216:19: warning: implicit declaration of function 'O1_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_eqFunction_14' is invalid in C99 [-Wimplicit-function-declaration] Modelica_3_2_2_-O1_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_eqFunction_14(data, threadData); ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.c:216:18: error: invalid operands to binary expression ('void' and 'int') Modelica_3_2_2_-O1_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_eqFunction_14(data, threadData); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_3.2.2_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.c:218:19: warning: implicit declaration of function 'O1_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_eqFunction_11' is invalid in C99 [-Wimplicit-function-declaration] Modelica_3_2_2_-O1_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_eqFunction_11(data, threadData); ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.c:218:18: error: invalid operands to binary expression ('void' and 'int') Modelica_3_2_2_-O1_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_eqFunction_11(data, threadData); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_3.2.2_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.c:221:5: error: redefinition of 'Modelica_3_2_2_' with a different type: 'int' vs 'void' int Modelica_3_2_2_-O1_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_functionODE(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.c:212:13: note: previous declaration is here extern void Modelica_3_2_2_-O1_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_eqFunction_11(DATA* data, threadData_t *threadData); ^ Modelica_3.2.2_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.c:221:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T_functionODE(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.c:241: ./Modelica_3.2.2_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_12jac.h:7:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O1_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_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_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.o] Error 1