Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FCSys_FCSys.Characteristics.Examples.CellPotential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package FCSys with version 0.2.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(FCSys.Characteristics.Examples.CellPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="FCSys_FCSys.Characteristics.Examples.CellPotential") translateModel(FCSys.Characteristics.Examples.CellPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="FCSys_FCSys.Characteristics.Examples.CellPotential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00176/0.00176, allocations: 170.4 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo): time 0.2032/0.2032, allocations: 17.61 MB / 30.87 MB, free: 3.152 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.97/1.97, allocations: 170.6 MB / 206.5 MB, free: 5.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001797/0.001797, allocations: 109 kB / 250.4 MB, free: 8.305 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.048e-05/5.051e-05, allocations: 7.938 kB / 301.6 MB, free: 8.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1285, allocations: 43.31 MB / 344.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.67/11.8, allocations: 3.631 GB / 3.968 GB, free: 118.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/11.8, allocations: 73.84 kB / 3.968 GB, free: 118.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1866/11.99, allocations: 79.88 MB / 4.046 GB, free: 39.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.046e-06/11.99, allocations: 0 / 4.046 GB, free: 39.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.069e-05/11.99, allocations: 3.938 kB / 4.046 GB, free: 39.19 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001851/11.99, allocations: 0.6154 MB / 4.047 GB, free: 38.53 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/11.99, allocations: 12.03 kB / 4.047 GB, free: 38.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03957/12.03, allocations: 7.034 MB / 4.054 GB, free: 31.47 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/12.03, allocations: 198 kB / 4.054 GB, free: 31.24 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.454e-05/12.03, allocations: 8 kB / 4.054 GB, free: 31.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004021/12.03, allocations: 0 / 4.054 GB, free: 31.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/12.03, allocations: 0.6803 MB / 4.055 GB, free: 30.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/12.03, allocations: 0 / 4.055 GB, free: 30.55 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.22e-05/12.03, allocations: 0 / 4.055 GB, free: 30.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/12.03, allocations: 0 / 4.055 GB, free: 30.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001705/12.04, allocations: 1.124 MB / 4.056 GB, free: 29.42 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002581/12.04, allocations: 1.868 MB / 4.058 GB, free: 27.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/12.04, allocations: 0.9119 MB / 4.059 GB, free: 26.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006317/12.04, allocations: 464.6 kB / 4.059 GB, free: 26.14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/12.04, allocations: 0 / 4.059 GB, free: 26.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/12.04, allocations: 31.12 kB / 4.059 GB, free: 26.1 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.442e-06/12.04, allocations: 3.938 kB / 4.059 GB, free: 26.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.001819/12.04, allocations: 0.9732 MB / 4.06 GB, free: 25.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/12.04, allocations: 59.36 kB / 4.06 GB, free: 25.04 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/12.04, allocations: 161.1 kB / 4.06 GB, free: 24.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.98e-05/12.04, allocations: 29.7 kB / 4.06 GB, free: 24.85 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.754e-05/12.04, allocations: 93.55 kB / 4.06 GB, free: 24.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.028e-05/12.04, allocations: 19.73 kB / 4.06 GB, free: 24.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.465e-05/12.04, allocations: 0 / 4.06 GB, free: 24.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/12.04, allocations: 318.8 kB / 4.061 GB, free: 24.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006566/12.04, allocations: 451.6 kB / 4.061 GB, free: 23.97 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006317/12.04, allocations: 459.6 kB / 4.061 GB, free: 23.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006174/12.04, allocations: 399.6 kB / 4.062 GB, free: 23.13 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/12.04, allocations: 4 kB / 4.062 GB, free: 23.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001598/12.05, allocations: 0.9734 MB / 4.063 GB, free: 22.15 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/12.05, allocations: 8 kB / 4.063 GB, free: 22.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/12.05, allocations: 4 kB / 4.063 GB, free: 22.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/12.05, allocations: 0 / 4.063 GB, free: 22.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/12.05, allocations: 223.6 kB / 4.063 GB, free: 21.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/12.05, allocations: 0 / 4.063 GB, free: 21.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007887/12.05, allocations: 131.8 kB / 4.063 GB, free: 21.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/12.05, allocations: 76.55 kB / 4.063 GB, free: 21.71 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001841/12.05, allocations: 107.1 kB / 4.063 GB, free: 21.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.948e-05/12.05, allocations: 11.81 kB / 4.063 GB, free: 21.59 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002599/12.05, allocations: 1.428 MB / 4.065 GB, free: 20.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/12.05, allocations: 4 kB / 4.065 GB, free: 20.15 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/12.05, allocations: 0 / 4.065 GB, free: 20.15 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/12.05, allocations: 0 / 4.065 GB, free: 20.15 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006496/12.05, allocations: 466.2 kB / 4.065 GB, free: 19.65 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/12.05, allocations: 4 kB / 4.065 GB, free: 19.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/12.05, allocations: 243.6 kB / 4.065 GB, free: 19.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/12.05, allocations: 4 kB / 4.065 GB, free: 19.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-05/12.05, allocations: 43.91 kB / 4.065 GB, free: 19.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.309e-06/12.05, allocations: 4 kB / 4.065 GB, free: 19.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/12.05, allocations: 0 / 4.065 GB, free: 19.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/12.05, allocations: 1.099 MB / 4.067 GB, free: 18.24 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004866/12.06, allocations: 272.6 kB / 4.067 GB, free: 17.96 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/12.06, allocations: 4 kB / 4.067 GB, free: 17.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007925/12.06, allocations: 119.9 kB / 4.067 GB, free: 17.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/12.06, allocations: 27.95 kB / 4.067 GB, free: 17.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001542/12.06, allocations: 67.91 kB / 4.067 GB, free: 17.74 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001534/12.06, allocations: 140.6 kB / 4.067 GB, free: 17.61 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/12.06, allocations: 0 / 4.067 GB, free: 17.61 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00154/12.06, allocations: 259.7 kB / 4.067 GB, free: 17.35 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001457/12.06, allocations: 0.6774 MB / 4.068 GB, free: 16.67 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001635/12.06, allocations: 0.9601 MB / 4.069 GB, free: 15.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/12.06, allocations: 0 / 4.069 GB, free: 15.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008392/12.06, allocations: 0.5388 MB / 4.07 GB, free: 15.17 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/12.06, allocations: 25.2 kB / 4.07 GB, free: 15.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/12.06, allocations: 0.6815 MB / 4.07 GB, free: 14.44 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/12.06, allocations: 0.7361 MB / 4.071 GB, free: 13.67 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00106/12.07, allocations: 305.2 kB / 4.071 GB, free: 13.38 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007093/12.07, allocations: 147.1 kB / 4.071 GB, free: 13.23 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/12.07, allocations: 0.75 kB / 4.071 GB, free: 13.23 MB / 394.7 MB Notification: Performance of Templates: time 0.35/12.42, allocations: 24.51 MB / 4.095 GB, free: 80.37 MB / 394.7 MB make -j1 -f FCSys_FCSys.Characteristics.Examples.CellPotential.makefile make -j1 -f FCSys_FCSys.Characteristics.Examples.CellPotential.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=FCSys_FCSys_Characteristics_Examples_CellPotential -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 FCSys_FCSys.Characteristics.Examples.CellPotential.o FCSys_FCSys.Characteristics.Examples.CellPotential.c FCSys_FCSys.Characteristics.Examples.CellPotential.c:291:65: error: use of undeclared identifier 'T_lim_c' tmp5 = Less(data->localData[0]->realVars[27] /* T variable */,T_lim_c[2]); ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:293:65: error: use of undeclared identifier 'T_lim_c' tmp7 = Less(data->localData[0]->realVars[27] /* T variable */,T_lim_c[3]); ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:295:65: error: use of undeclared identifier 'T_lim_c' tmp9 = Less(data->localData[0]->realVars[27] /* T variable */,T_lim_c[2]); ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:299:67: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp10, 2, (modelica_real)(-b_c[1,2]), (modelica_real)(b_c[1,1]) * (-0.5)); ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:299:63: error: use of undeclared identifier 'b_c' array_alloc_scalar_real_array(&tmp10, 2, (modelica_real)(-b_c[1,2]), (modelica_real)(b_c[1,1]) * (-0.5)); ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:299:94: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp10, 2, (modelica_real)(-b_c[1,2]), (modelica_real)(b_c[1,1]) * (-0.5)); ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:299:90: error: use of undeclared identifier 'b_c' array_alloc_scalar_real_array(&tmp10, 2, (modelica_real)(-b_c[1,2]), (modelica_real)(b_c[1,1]) * (-0.5)); ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:306:66: warning: expression result unused [-Wunused-value] }array_alloc_scalar_real_array(&tmp12, 4, (modelica_real)b_c[1,4], (modelica_real)(b_c[1,5]) * (0.5), (modelica_real)(b_c[1,6]) * (0.3333333333333333), (modelica_real)(b_c[1,7]) * (0.25)); ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:306:62: error: use of undeclared identifier 'b_c' }array_alloc_scalar_real_array(&tmp12, 4, (modelica_real)b_c[1,4], (modelica_real)(b_c[1,5]) * (0.5), (modelica_real)(b_c[1,6]) * (0.3333333333333333), (modelica_real)(b_c[1,7]) * (0.25)); ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:306:92: warning: expression result unused [-Wunused-value] }array_alloc_scalar_real_array(&tmp12, 4, (modelica_real)b_c[1,4], (modelica_real)(b_c[1,5]) * (0.5), (modelica_real)(b_c[1,6]) * (0.3333333333333333), (modelica_real)(b_c[1,7]) * (0.25)); ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:306:88: error: use of undeclared identifier 'b_c' }array_alloc_scalar_real_array(&tmp12, 4, (modelica_real)b_c[1,4], (modelica_real)(b_c[1,5]) * (0.5), (modelica_real)(b_c[1,6]) * (0.3333333333333333), (modelica_real)(b_c[1,7]) * (0.25)); ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:306:127: warning: expression result unused [-Wunused-value] }array_alloc_scalar_real_array(&tmp12, 4, (modelica_real)b_c[1,4], (modelica_real)(b_c[1,5]) * (0.5), (modelica_real)(b_c[1,6]) * (0.3333333333333333), (modelica_real)(b_c[1,7]) * (0.25)); ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:306:123: error: use of undeclared identifier 'b_c' }array_alloc_scalar_real_array(&tmp12, 4, (modelica_real)b_c[1,4], (modelica_real)(b_c[1,5]) * (0.5), (modelica_real)(b_c[1,6]) * (0.3333333333333333), (modelica_real)(b_c[1,7]) * (0.25)); ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:306:177: warning: expression result unused [-Wunused-value] }array_alloc_scalar_real_array(&tmp12, 4, (modelica_real)b_c[1,4], (modelica_real)(b_c[1,5]) * (0.5), (modelica_real)(b_c[1,6]) * (0.3333333333333333), (modelica_real)(b_c[1,7]) * (0.25)); ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:306:173: error: use of undeclared identifier 'b_c' }array_alloc_scalar_real_array(&tmp12, 4, (modelica_real)b_c[1,4], (modelica_real)(b_c[1,5]) * (0.5), (modelica_real)(b_c[1,6]) * (0.3333333333333333), (modelica_real)(b_c[1,7]) * (0.25)); ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:307:174: warning: expression result unused [-Wunused-value] tmp14 = omc_FCSys_Utilities_Polynomial_f_positivePoly(threadData, DIVISION_SIM(1.0,data->localData[0]->realVars[27] /* T variable */,"T",equationIndexes), tmp10) + (b_c[1,3]) * (log(tmp11)) + omc_FCSys_Utilities_Polynomial_f_positivePoly(threadData, data->localData[0]->realVars[27] /* T variable */, tmp12) + 62.19512479545057; ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:307:170: error: use of undeclared identifier 'b_c' tmp14 = omc_FCSys_Utilities_Polynomial_f_positivePoly(threadData, DIVISION_SIM(1.0,data->localData[0]->realVars[27] /* T variable */,"T",equationIndexes), tmp10) + (b_c[1,3]) * (log(tmp11)) + omc_FCSys_Utilities_Polynomial_f_positivePoly(threadData, data->localData[0]->realVars[27] /* T variable */, tmp12) + 62.19512479545057; ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:314:66: error: use of undeclared identifier 'T_lim_c' tmp16 = Less(data->localData[0]->realVars[27] /* T variable */,T_lim_c[3]); ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:318:67: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp17, 2, (modelica_real)(-b_c[2,2]), (modelica_real)(b_c[2,1]) * (-0.5)); ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:318:63: error: use of undeclared identifier 'b_c' array_alloc_scalar_real_array(&tmp17, 2, (modelica_real)(-b_c[2,2]), (modelica_real)(b_c[2,1]) * (-0.5)); ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:318:94: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp17, 2, (modelica_real)(-b_c[2,2]), (modelica_real)(b_c[2,1]) * (-0.5)); ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:318:90: error: use of undeclared identifier 'b_c' array_alloc_scalar_real_array(&tmp17, 2, (modelica_real)(-b_c[2,2]), (modelica_real)(b_c[2,1]) * (-0.5)); ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:325:66: warning: expression result unused [-Wunused-value] }array_alloc_scalar_real_array(&tmp19, 4, (modelica_real)b_c[2,4], (modelica_real)(b_c[2,5]) * (0.5), (modelica_real)(b_c[2,6]) * (0.3333333333333333), (modelica_real)(b_c[2,7]) * (0.25)); ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:325:62: error: use of undeclared identifier 'b_c' }array_alloc_scalar_real_array(&tmp19, 4, (modelica_real)b_c[2,4], (modelica_real)(b_c[2,5]) * (0.5), (modelica_real)(b_c[2,6]) * (0.3333333333333333), (modelica_real)(b_c[2,7]) * (0.25)); ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:325:92: warning: expression result unused [-Wunused-value] }array_alloc_scalar_real_array(&tmp19, 4, (modelica_real)b_c[2,4], (modelica_real)(b_c[2,5]) * (0.5), (modelica_real)(b_c[2,6]) * (0.3333333333333333), (modelica_real)(b_c[2,7]) * (0.25)); ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:325:88: error: use of undeclared identifier 'b_c' }array_alloc_scalar_real_array(&tmp19, 4, (modelica_real)b_c[2,4], (modelica_real)(b_c[2,5]) * (0.5), (modelica_real)(b_c[2,6]) * (0.3333333333333333), (modelica_real)(b_c[2,7]) * (0.25)); ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:325:127: warning: expression result unused [-Wunused-value] }array_alloc_scalar_real_array(&tmp19, 4, (modelica_real)b_c[2,4], (modelica_real)(b_c[2,5]) * (0.5), (modelica_real)(b_c[2,6]) * (0.3333333333333333), (modelica_real)(b_c[2,7]) * (0.25)); ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:325:123: error: use of undeclared identifier 'b_c' }array_alloc_scalar_real_array(&tmp19, 4, (modelica_real)b_c[2,4], (modelica_real)(b_c[2,5]) * (0.5), (modelica_real)(b_c[2,6]) * (0.3333333333333333), (modelica_real)(b_c[2,7]) * (0.25)); ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:325:177: warning: expression result unused [-Wunused-value] }array_alloc_scalar_real_array(&tmp19, 4, (modelica_real)b_c[2,4], (modelica_real)(b_c[2,5]) * (0.5), (modelica_real)(b_c[2,6]) * (0.3333333333333333), (modelica_real)(b_c[2,7]) * (0.25)); ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:325:173: error: use of undeclared identifier 'b_c' }array_alloc_scalar_real_array(&tmp19, 4, (modelica_real)b_c[2,4], (modelica_real)(b_c[2,5]) * (0.5), (modelica_real)(b_c[2,6]) * (0.3333333333333333), (modelica_real)(b_c[2,7]) * (0.25)); ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:326:174: warning: expression result unused [-Wunused-value] tmp21 = omc_FCSys_Utilities_Polynomial_f_positivePoly(threadData, DIVISION_SIM(1.0,data->localData[0]->realVars[27] /* T variable */,"T",equationIndexes), tmp17) + (b_c[2,3]) * (log(tmp18)) + omc_FCSys_Utilities_Polynomial_f_positivePoly(threadData, data->localData[0]->realVars[27] /* T variable */, tmp19) + 31.34889658043294; ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:326:170: error: use of undeclared identifier 'b_c' tmp21 = omc_FCSys_Utilities_Polynomial_f_positivePoly(threadData, DIVISION_SIM(1.0,data->localData[0]->realVars[27] /* T variable */,"T",equationIndexes), tmp17) + (b_c[2,3]) * (log(tmp18)) + omc_FCSys_Utilities_Polynomial_f_positivePoly(threadData, data->localData[0]->realVars[27] /* T variable */, tmp19) + 31.34889658043294; ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:336:67: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp23, 2, (modelica_real)(-b_c[3,2]), (modelica_real)(b_c[3,1]) * (-0.5)); ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:336:63: error: use of undeclared identifier 'b_c' array_alloc_scalar_real_array(&tmp23, 2, (modelica_real)(-b_c[3,2]), (modelica_real)(b_c[3,1]) * (-0.5)); ^ FCSys_FCSys.Characteristics.Examples.CellPotential.c:336:94: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp23, 2, (modelica_real)(-b_c[3,2]), (modelica_real)(b_c[3,1]) * (-0.5)); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 16 warnings and 20 errors generated. make: *** [: FCSys_FCSys.Characteristics.Examples.CellPotential.o] Error 1