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: "" <> buildModelFMU(FCSys.Characteristics.Examples.CellPotential,fileNamePrefix="FCSys_FCSys_Characteristics_Examples_CellPotential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FCSys.Characteristics.Examples.CellPotential,fileNamePrefix="FCSys_FCSys_Characteristics_Examples_CellPotential",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01071/0.01071, allocations: 165 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo): time 0.1381/0.1381, allocations: 17.62 MB / 33.47 MB, free: 1.43 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.676/1.676, allocations: 170.8 MB / 209.5 MB, free: 4 kB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001779/0.001779, allocations: 107.4 kB / 253.6 MB, free: 8.309 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004062/0.000406, allocations: 12 kB / 307.5 MB, free: 2.336 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2991, allocations: 43.3 MB / 350.8 MB, free: 36.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.529/9.828, allocations: 3.632 GB / 3.974 GB, free: 144.7 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/9.828, allocations: 86.12 kB / 3.974 GB, free: 144.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1936/10.02, allocations: 79.99 MB / 4.052 GB, free: 68.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.797e-06/10.02, allocations: 0 / 4.052 GB, free: 68.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.148e-05/10.02, allocations: 0 / 4.052 GB, free: 68.57 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.001793/10.02, allocations: 0.6589 MB / 4.053 GB, free: 67.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/10.02, allocations: 8.031 kB / 4.053 GB, free: 67.85 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.687e-05/10.02, allocations: 38.75 kB / 4.053 GB, free: 67.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04278/10.07, allocations: 7.007 MB / 4.06 GB, free: 60.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/10.07, allocations: 199.3 kB / 4.06 GB, free: 60.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/10.07, allocations: 4 kB / 4.06 GB, free: 60.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004637/10.07, allocations: 7.938 kB / 4.06 GB, free: 60.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002248/10.07, allocations: 0.9105 MB / 4.061 GB, free: 59.62 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/10.07, allocations: 4 kB / 4.061 GB, free: 59.62 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/10.07, allocations: 0 / 4.061 GB, free: 59.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/10.07, allocations: 0 / 4.061 GB, free: 59.62 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003246/10.07, allocations: 1.568 MB / 4.063 GB, free: 58.05 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005372/10.08, allocations: 2.297 MB / 4.065 GB, free: 55.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002598/10.08, allocations: 1.337 MB / 4.066 GB, free: 54.35 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/10.08, allocations: 0 / 4.066 GB, free: 54.35 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/10.08, allocations: 34.56 kB / 4.066 GB, free: 54.31 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.733e-06/10.08, allocations: 0 / 4.066 GB, free: 54.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.004524/10.09, allocations: 2.089 MB / 4.068 GB, free: 52.21 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/10.09, allocations: 55.41 kB / 4.068 GB, free: 52.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/10.09, allocations: 156.5 kB / 4.068 GB, free: 51.99 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.455e-05/10.09, allocations: 25.7 kB / 4.068 GB, free: 51.96 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.791e-05/10.09, allocations: 108.3 kB / 4.068 GB, free: 51.85 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.597e-05/10.09, allocations: 15.81 kB / 4.069 GB, free: 51.83 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.355e-05/10.09, allocations: 4 kB / 4.069 GB, free: 51.83 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.522e-05/10.09, allocations: 318.8 kB / 4.069 GB, free: 51.51 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/10.09, allocations: 0.6635 MB / 4.069 GB, free: 50.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/10.09, allocations: 0.6634 MB / 4.07 GB, free: 50.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/10.09, allocations: 0.6167 MB / 4.071 GB, free: 49.56 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/10.09, allocations: 0 / 4.071 GB, free: 49.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.003025/10.09, allocations: 1.418 MB / 4.072 GB, free: 48.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/10.09, allocations: 4 kB / 4.072 GB, free: 48.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/10.09, allocations: 0 / 4.072 GB, free: 48.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/10.09, allocations: 0 / 4.072 GB, free: 48.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/10.1, allocations: 231.5 kB / 4.072 GB, free: 47.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/10.1, allocations: 0 / 4.072 GB, free: 47.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009542/10.1, allocations: 119.8 kB / 4.072 GB, free: 47.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002172/10.1, allocations: 83.88 kB / 4.073 GB, free: 47.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 () * Number of clocked 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.0003045/10.1, allocations: 114.4 kB / 4.073 GB, free: 47.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/10.1, allocations: 11.91 kB / 4.073 GB, free: 47.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004233/10.1, allocations: 1.88 MB / 4.074 GB, free: 45.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/10.1, allocations: 4 kB / 4.074 GB, free: 45.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/10.1, allocations: 3.953 kB / 4.074 GB, free: 45.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/10.1, allocations: 7.938 kB / 4.074 GB, free: 45.67 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006128/10.1, allocations: 464.3 kB / 4.075 GB, free: 45.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/10.1, allocations: 0 / 4.075 GB, free: 45.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/10.1, allocations: 251.5 kB / 4.075 GB, free: 44.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/10.1, allocations: 0 / 4.075 GB, free: 44.92 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/10.1, allocations: 43.91 kB / 4.075 GB, free: 44.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/10.1, allocations: 4 kB / 4.075 GB, free: 44.88 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/10.1, allocations: 3.953 kB / 4.075 GB, free: 44.87 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003067/10.11, allocations: 1.545 MB / 4.077 GB, free: 43.31 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005309/10.11, allocations: 276.5 kB / 4.077 GB, free: 43.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/10.11, allocations: 8 kB / 4.077 GB, free: 43.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008707/10.11, allocations: 123.9 kB / 4.077 GB, free: 42.89 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.519e-05/10.11, allocations: 23.92 kB / 4.077 GB, free: 42.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001879/10.11, allocations: 75.91 kB / 4.077 GB, free: 42.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001481/10.11, allocations: 134.7 kB / 4.077 GB, free: 42.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.91e-07/10.11, allocations: 0 / 4.077 GB, free: 42.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001466/10.11, allocations: 255.8 kB / 4.078 GB, free: 42.41 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 () * Number of clocked 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.006682/10.12, allocations: 3.574 MB / 4.081 GB, free: 38.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00308/10.12, allocations: 1.401 MB / 4.082 GB, free: 37.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/10.12, allocations: 4 kB / 4.082 GB, free: 37.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001482/10.12, allocations: 0.7532 MB / 4.083 GB, free: 36.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004544/10.12, allocations: 47.97 kB / 4.083 GB, free: 36.61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007403/10.13, allocations: 3.827 MB / 4.087 GB, free: 32.72 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/10.13, allocations: 0.7361 MB / 4.088 GB, free: 31.96 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001146/10.13, allocations: 305.3 kB / 4.088 GB, free: 31.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007633/10.13, allocations: 183.1 kB / 4.088 GB, free: 31.48 MB / 394.7 MB Notification: Performance of SimCode: time 2.054e-06/10.13, allocations: 0 / 4.088 GB, free: 31.48 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0586/10.19, allocations: 27.78 MB / 4.115 GB, free: 3.598 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002569/10.19, allocations: 154.3 kB / 4.115 GB, free: 3.363 MB / 394.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o FCSys_FCSys_Characteristics_Examples_CellPotential.o FCSys_FCSys_Characteristics_Examples_CellPotential.c In file included from FCSys_FCSys_Characteristics_Examples_CellPotential.c:7: In file included from ./FCSys_FCSys_Characteristics_Examples_CellPotential_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:285:80: error: use of undeclared identifier 'T_lim_c' tmp4 = Less(data->localData[0]->realVars[27] /* T variable */,real_array_get(T_lim_c, 1, ((modelica_integer) 2))); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:287:80: error: use of undeclared identifier 'T_lim_c' tmp6 = Less(data->localData[0]->realVars[27] /* T variable */,real_array_get(T_lim_c, 1, ((modelica_integer) 3))); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:289:80: error: use of undeclared identifier 'T_lim_c' tmp8 = Less(data->localData[0]->realVars[27] /* T variable */,real_array_get(T_lim_c, 1, ((modelica_integer) 2))); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:293:77: error: use of undeclared identifier 'b_c' array_alloc_scalar_real_array(&tmp9, 2, (modelica_real)(-real_array_get(b_c, 2, ((modelica_integer) 1), ((modelica_integer) 2))), (modelica_real)(real_array_get(b_c, 2, ((modelica_integer) 1), ((modelica_integer) 1))) * (-0.5)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:293:166: error: use of undeclared identifier 'b_c' array_alloc_scalar_real_array(&tmp9, 2, (modelica_real)(-real_array_get(b_c, 2, ((modelica_integer) 1), ((modelica_integer) 2))), (modelica_real)(real_array_get(b_c, 2, ((modelica_integer) 1), ((modelica_integer) 1))) * (-0.5)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:300:77: error: use of undeclared identifier 'b_c' }array_alloc_scalar_real_array(&tmp11, 4, (modelica_real)real_array_get(b_c, 2, ((modelica_integer) 1), ((modelica_integer) 4)), (modelica_real)(real_array_get(b_c, 2, ((modelica_integer) 1), ((modelica_integer) 5))) * (0.5), (modelica_real)(real_array_get(b_c, 2, ((modelica_integer) 1), ((modelica_integer) 6))) * (0.3333333333333333), (modelica_real)(real_array_get(b_c, 2, ((modelica_integer) 1), ((modelica_integer) 7))) * (0.25)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:300:165: error: use of undeclared identifier 'b_c' }array_alloc_scalar_real_array(&tmp11, 4, (modelica_real)real_array_get(b_c, 2, ((modelica_integer) 1), ((modelica_integer) 4)), (modelica_real)(real_array_get(b_c, 2, ((modelica_integer) 1), ((modelica_integer) 5))) * (0.5), (modelica_real)(real_array_get(b_c, 2, ((modelica_integer) 1), ((modelica_integer) 6))) * (0.3333333333333333), (modelica_real)(real_array_get(b_c, 2, ((modelica_integer) 1), ((modelica_integer) 7))) * (0.25)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:300:262: error: use of undeclared identifier 'b_c' }array_alloc_scalar_real_array(&tmp11, 4, (modelica_real)real_array_get(b_c, 2, ((modelica_integer) 1), ((modelica_integer) 4)), (modelica_real)(real_array_get(b_c, 2, ((modelica_integer) 1), ((modelica_integer) 5))) * (0.5), (modelica_real)(real_array_get(b_c, 2, ((modelica_integer) 1), ((modelica_integer) 6))) * (0.3333333333333333), (modelica_real)(real_array_get(b_c, 2, ((modelica_integer) 1), ((modelica_integer) 7))) * (0.25)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:300:374: error: use of undeclared identifier 'b_c' }array_alloc_scalar_real_array(&tmp11, 4, (modelica_real)real_array_get(b_c, 2, ((modelica_integer) 1), ((modelica_integer) 4)), (modelica_real)(real_array_get(b_c, 2, ((modelica_integer) 1), ((modelica_integer) 5))) * (0.5), (modelica_real)(real_array_get(b_c, 2, ((modelica_integer) 1), ((modelica_integer) 6))) * (0.3333333333333333), (modelica_real)(real_array_get(b_c, 2, ((modelica_integer) 1), ((modelica_integer) 7))) * (0.25)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:301:184: error: use of undeclared identifier 'b_c' tmp13 = omc_FCSys_Utilities_Polynomial_f_positivePoly(threadData, DIVISION_SIM(1.0,data->localData[0]->realVars[27] /* T variable */,"T",equationIndexes), tmp9) + (real_array_get(b_c, 2, ((modelica_integer) 1), ((modelica_integer) 3))) * (log(tmp10)) + omc_FCSys_Utilities_Polynomial_f_positivePoly(threadData, data->localData[0]->realVars[27] /* T variable */, tmp11) + 62.19512479545057; ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:308:81: error: use of undeclared identifier 'T_lim_c' tmp15 = Less(data->localData[0]->realVars[27] /* T variable */,real_array_get(T_lim_c, 1, ((modelica_integer) 3))); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:312:78: error: use of undeclared identifier 'b_c' array_alloc_scalar_real_array(&tmp16, 2, (modelica_real)(-real_array_get(b_c, 2, ((modelica_integer) 2), ((modelica_integer) 2))), (modelica_real)(real_array_get(b_c, 2, ((modelica_integer) 2), ((modelica_integer) 1))) * (-0.5)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:312:167: error: use of undeclared identifier 'b_c' array_alloc_scalar_real_array(&tmp16, 2, (modelica_real)(-real_array_get(b_c, 2, ((modelica_integer) 2), ((modelica_integer) 2))), (modelica_real)(real_array_get(b_c, 2, ((modelica_integer) 2), ((modelica_integer) 1))) * (-0.5)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:319:77: error: use of undeclared identifier 'b_c' }array_alloc_scalar_real_array(&tmp18, 4, (modelica_real)real_array_get(b_c, 2, ((modelica_integer) 2), ((modelica_integer) 4)), (modelica_real)(real_array_get(b_c, 2, ((modelica_integer) 2), ((modelica_integer) 5))) * (0.5), (modelica_real)(real_array_get(b_c, 2, ((modelica_integer) 2), ((modelica_integer) 6))) * (0.3333333333333333), (modelica_real)(real_array_get(b_c, 2, ((modelica_integer) 2), ((modelica_integer) 7))) * (0.25)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:319:165: error: use of undeclared identifier 'b_c' }array_alloc_scalar_real_array(&tmp18, 4, (modelica_real)real_array_get(b_c, 2, ((modelica_integer) 2), ((modelica_integer) 4)), (modelica_real)(real_array_get(b_c, 2, ((modelica_integer) 2), ((modelica_integer) 5))) * (0.5), (modelica_real)(real_array_get(b_c, 2, ((modelica_integer) 2), ((modelica_integer) 6))) * (0.3333333333333333), (modelica_real)(real_array_get(b_c, 2, ((modelica_integer) 2), ((modelica_integer) 7))) * (0.25)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:319:262: error: use of undeclared identifier 'b_c' }array_alloc_scalar_real_array(&tmp18, 4, (modelica_real)real_array_get(b_c, 2, ((modelica_integer) 2), ((modelica_integer) 4)), (modelica_real)(real_array_get(b_c, 2, ((modelica_integer) 2), ((modelica_integer) 5))) * (0.5), (modelica_real)(real_array_get(b_c, 2, ((modelica_integer) 2), ((modelica_integer) 6))) * (0.3333333333333333), (modelica_real)(real_array_get(b_c, 2, ((modelica_integer) 2), ((modelica_integer) 7))) * (0.25)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:319:374: error: use of undeclared identifier 'b_c' }array_alloc_scalar_real_array(&tmp18, 4, (modelica_real)real_array_get(b_c, 2, ((modelica_integer) 2), ((modelica_integer) 4)), (modelica_real)(real_array_get(b_c, 2, ((modelica_integer) 2), ((modelica_integer) 5))) * (0.5), (modelica_real)(real_array_get(b_c, 2, ((modelica_integer) 2), ((modelica_integer) 6))) * (0.3333333333333333), (modelica_real)(real_array_get(b_c, 2, ((modelica_integer) 2), ((modelica_integer) 7))) * (0.25)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:320:185: error: use of undeclared identifier 'b_c' tmp20 = omc_FCSys_Utilities_Polynomial_f_positivePoly(threadData, DIVISION_SIM(1.0,data->localData[0]->realVars[27] /* T variable */,"T",equationIndexes), tmp16) + (real_array_get(b_c, 2, ((modelica_integer) 2), ((modelica_integer) 3))) * (log(tmp17)) + omc_FCSys_Utilities_Polynomial_f_positivePoly(threadData, data->localData[0]->realVars[27] /* T variable */, tmp18) + 31.34889658043294; ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:330:78: error: use of undeclared identifier 'b_c' array_alloc_scalar_real_array(&tmp22, 2, (modelica_real)(-real_array_get(b_c, 2, ((modelica_integer) 3), ((modelica_integer) 2))), (modelica_real)(real_array_get(b_c, 2, ((modelica_integer) 3), ((modelica_integer) 1))) * (-0.5)); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. make: *** [: FCSys_FCSys_Characteristics_Examples_CellPotential.o] Error 1