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.001158/0.001158, allocations: 176.2 kB / 7.646 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo): time 0.1494/0.1494, allocations: 17.63 MB / 25.7 MB, free: 0.5156 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.807/1.807, allocations: 170.6 MB / 201.3 MB, free: 4.594 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.001723/0.001724, allocations: 110.4 kB / 245.1 MB, free: 13.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.249e-05/3.205e-05, allocations: 4 kB / 294.7 MB, free: 11.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.329, allocations: 43.29 MB / 338 MB, free: 37.71 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.45/10.78, allocations: 3.631 GB / 3.961 GB, free: 11.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/10.78, allocations: 84.27 kB / 3.961 GB, free: 11.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4876/11.27, allocations: 78.98 MB / 4.038 GB, free: 100.9 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.023e-06/11.27, allocations: 0 / 4.038 GB, free: 100.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/11.27, allocations: 8 kB / 4.038 GB, free: 100.9 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.001749/11.27, allocations: 0.6229 MB / 4.039 GB, free: 100.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/11.27, allocations: 12.03 kB / 4.039 GB, free: 100.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04018/11.31, allocations: 7.038 MB / 4.046 GB, free: 93.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/11.31, allocations: 194.8 kB / 4.046 GB, free: 92.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/11.31, allocations: 0 / 4.046 GB, free: 92.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004786/11.31, allocations: 8 kB / 4.046 GB, free: 92.92 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001787/11.31, allocations: 1.112 MB / 4.047 GB, free: 91.81 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008914/11.31, allocations: 0.6764 MB / 4.048 GB, free: 91.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/11.31, allocations: 0 / 4.048 GB, free: 91.12 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.323e-05/11.31, allocations: 0 / 4.048 GB, free: 91.12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/11.31, allocations: 3.953 kB / 4.048 GB, free: 91.12 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002571/11.32, allocations: 1.865 MB / 4.049 GB, free: 89.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/11.32, allocations: 0.904 MB / 4.05 GB, free: 88.31 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000512/11.32, allocations: 464.6 kB / 4.051 GB, free: 87.86 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/11.32, allocations: 7.891 kB / 4.051 GB, free: 87.85 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/11.32, allocations: 34.56 kB / 4.051 GB, free: 87.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.665e-06/11.32, allocations: 0 / 4.051 GB, free: 87.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.08525/11.4, allocations: 12.24 MB / 4.063 GB, free: 75.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/11.4, allocations: 51.41 kB / 4.063 GB, free: 75.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/11.4, allocations: 153.8 kB / 4.063 GB, free: 75.33 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.644e-05/11.4, allocations: 33.7 kB / 4.063 GB, free: 75.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.068e-05/11.4, allocations: 96.14 kB / 4.063 GB, free: 75.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.927e-05/11.4, allocations: 11.8 kB / 4.063 GB, free: 75.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-05/11.41, allocations: 0 / 4.063 GB, free: 75.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.046e-05/11.41, allocations: 322.8 kB / 4.063 GB, free: 74.86 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004666/11.41, allocations: 451.6 kB / 4.064 GB, free: 74.42 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004599/11.41, allocations: 455.5 kB / 4.064 GB, free: 73.97 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.08206/11.49, allocations: 11.66 MB / 4.076 GB, free: 62.3 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/11.49, allocations: 0 / 4.076 GB, free: 62.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.08444/11.57, allocations: 12.24 MB / 4.088 GB, free: 50.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/11.57, allocations: 8.734 kB / 4.088 GB, free: 50.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/11.57, allocations: 0 / 4.088 GB, free: 50.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/11.57, allocations: 0 / 4.088 GB, free: 50.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/11.57, allocations: 219.7 kB / 4.088 GB, free: 49.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/11.57, allocations: 4 kB / 4.088 GB, free: 49.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007902/11.57, allocations: 119.8 kB / 4.088 GB, free: 49.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001907/11.57, allocations: 76.08 kB / 4.088 GB, free: 49.62 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.0002018/11.58, allocations: 105 kB / 4.088 GB, free: 49.51 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.08459/11.66, allocations: 12.26 MB / 4.1 GB, free: 37.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/11.66, allocations: 15.84 kB / 4.1 GB, free: 37.22 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09926/11.76, allocations: 13.77 MB / 4.114 GB, free: 23.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/11.76, allocations: 4 kB / 4.114 GB, free: 23.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/11.76, allocations: 0 / 4.114 GB, free: 23.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/11.76, allocations: 0 / 4.114 GB, free: 23.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005666/11.76, allocations: 427.2 kB / 4.114 GB, free: 22.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/11.76, allocations: 4 kB / 4.114 GB, free: 22.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/11.76, allocations: 243.6 kB / 4.114 GB, free: 22.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/11.76, allocations: 7.938 kB / 4.114 GB, free: 22.73 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.032e-05/11.76, allocations: 47.89 kB / 4.114 GB, free: 22.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/11.76, allocations: 0 / 4.114 GB, free: 22.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/11.76, allocations: 0 / 4.114 GB, free: 22.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09771/11.86, allocations: 13.45 MB / 4.127 GB, free: 9.203 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003846/11.86, allocations: 272.5 kB / 4.128 GB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/11.86, allocations: 7.953 kB / 4.128 GB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008249/11.86, allocations: 115.9 kB / 4.128 GB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.364e-05/11.86, allocations: 19.97 kB / 4.128 GB, free: 8.777 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001832/11.86, allocations: 75.89 kB / 4.128 GB, free: 8.703 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001429/11.86, allocations: 134.5 kB / 4.128 GB, free: 8.574 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/11.86, allocations: 0 / 4.128 GB, free: 8.574 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001401/11.86, allocations: 239.8 kB / 4.128 GB, free: 8.34 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.4044/12.27, allocations: 15.31 MB / 4.143 GB, free: 115 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001619/12.27, allocations: 0.9548 MB / 4.144 GB, free: 115 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/12.27, allocations: 0 / 4.144 GB, free: 115 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008387/12.27, allocations: 0.5284 MB / 4.145 GB, free: 115 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/12.27, allocations: 26.11 kB / 4.145 GB, free: 115 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/12.27, allocations: 0.7604 MB / 4.145 GB, free: 114.9 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/12.27, allocations: 0.7381 MB / 4.146 GB, free: 114.2 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001156/12.27, allocations: 301.5 kB / 4.146 GB, free: 114.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007324/12.27, allocations: 181 kB / 4.147 GB, free: 114.2 MB / 394.7 MB Notification: Performance of SimCode: time 8.12e-07/12.27, allocations: 0 / 4.147 GB, free: 114.2 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04716/12.32, allocations: 21.16 MB / 4.167 GB, free: 113.4 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/12.32, allocations: 128.8 kB / 4.167 GB, free: 113.2 MB / 394.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -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_FMU.o FCSys_FCSys_Characteristics_Examples_CellPotential_FMU.c In file included from FCSys_FCSys_Characteristics_Examples_CellPotential_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from FCSys_FCSys_Characteristics_Examples_CellPotential_FMU.c:54: include/fmi2/fmu2_model_interface.c:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ include/fmi2/fmu2_model_interface.c:162:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ include/util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -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 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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:268:65: error: use of undeclared identifier '$PT_lim_c$lB2$rB' tmp4 = Less(data->localData[0]->realVars[27] /* T variable */,$PT_lim_c$lB2$rB); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:270:65: error: use of undeclared identifier '$PT_lim_c$lB3$rB' tmp6 = Less(data->localData[0]->realVars[27] /* T variable */,$PT_lim_c$lB3$rB); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:272:65: error: use of undeclared identifier '$PT_lim_c$lB2$rB' tmp8 = Less(data->localData[0]->realVars[27] /* T variable */,$PT_lim_c$lB2$rB); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:276:62: error: use of undeclared identifier '$Pb_c$lB1$c2$rB' array_alloc_scalar_real_array(&tmp9, 2, (modelica_real)(-$Pb_c$lB1$c2$rB), (modelica_real)($Pb_c$lB1$c1$rB) * (-0.5)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:276:96: error: use of undeclared identifier '$Pb_c$lB1$c1$rB' array_alloc_scalar_real_array(&tmp9, 2, (modelica_real)(-$Pb_c$lB1$c2$rB), (modelica_real)($Pb_c$lB1$c1$rB) * (-0.5)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:283:62: error: use of undeclared identifier '$Pb_c$lB1$c4$rB' }array_alloc_scalar_real_array(&tmp11, 4, (modelica_real)$Pb_c$lB1$c4$rB, (modelica_real)($Pb_c$lB1$c5$rB) * (0.5), (modelica_real)($Pb_c$lB1$c6$rB) * (0.3333333333333333), (modelica_real)($Pb_c$lB1$c7$rB) * (0.25)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:283:95: error: use of undeclared identifier '$Pb_c$lB1$c5$rB' }array_alloc_scalar_real_array(&tmp11, 4, (modelica_real)$Pb_c$lB1$c4$rB, (modelica_real)($Pb_c$lB1$c5$rB) * (0.5), (modelica_real)($Pb_c$lB1$c6$rB) * (0.3333333333333333), (modelica_real)($Pb_c$lB1$c7$rB) * (0.25)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:283:137: error: use of undeclared identifier '$Pb_c$lB1$c6$rB' }array_alloc_scalar_real_array(&tmp11, 4, (modelica_real)$Pb_c$lB1$c4$rB, (modelica_real)($Pb_c$lB1$c5$rB) * (0.5), (modelica_real)($Pb_c$lB1$c6$rB) * (0.3333333333333333), (modelica_real)($Pb_c$lB1$c7$rB) * (0.25)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:283:194: error: use of undeclared identifier '$Pb_c$lB1$c7$rB' }array_alloc_scalar_real_array(&tmp11, 4, (modelica_real)$Pb_c$lB1$c4$rB, (modelica_real)($Pb_c$lB1$c5$rB) * (0.5), (modelica_real)($Pb_c$lB1$c6$rB) * (0.3333333333333333), (modelica_real)($Pb_c$lB1$c7$rB) * (0.25)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:284:169: error: use of undeclared identifier '$Pb_c$lB1$c3$rB' tmp13 = omc_FCSys_Utilities_Polynomial_f_positivePoly(threadData, DIVISION_SIM(1.0,data->localData[0]->realVars[27] /* T variable */,"T",equationIndexes), tmp9) + ($Pb_c$lB1$c3$rB) * (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:291:66: error: use of undeclared identifier '$PT_lim_c$lB3$rB' tmp15 = Less(data->localData[0]->realVars[27] /* T variable */,$PT_lim_c$lB3$rB); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:295:63: error: use of undeclared identifier '$Pb_c$lB2$c2$rB' array_alloc_scalar_real_array(&tmp16, 2, (modelica_real)(-$Pb_c$lB2$c2$rB), (modelica_real)($Pb_c$lB2$c1$rB) * (-0.5)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:295:97: error: use of undeclared identifier '$Pb_c$lB2$c1$rB' array_alloc_scalar_real_array(&tmp16, 2, (modelica_real)(-$Pb_c$lB2$c2$rB), (modelica_real)($Pb_c$lB2$c1$rB) * (-0.5)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:302:62: error: use of undeclared identifier '$Pb_c$lB2$c4$rB' }array_alloc_scalar_real_array(&tmp18, 4, (modelica_real)$Pb_c$lB2$c4$rB, (modelica_real)($Pb_c$lB2$c5$rB) * (0.5), (modelica_real)($Pb_c$lB2$c6$rB) * (0.3333333333333333), (modelica_real)($Pb_c$lB2$c7$rB) * (0.25)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:302:95: error: use of undeclared identifier '$Pb_c$lB2$c5$rB' }array_alloc_scalar_real_array(&tmp18, 4, (modelica_real)$Pb_c$lB2$c4$rB, (modelica_real)($Pb_c$lB2$c5$rB) * (0.5), (modelica_real)($Pb_c$lB2$c6$rB) * (0.3333333333333333), (modelica_real)($Pb_c$lB2$c7$rB) * (0.25)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:302:137: error: use of undeclared identifier '$Pb_c$lB2$c6$rB' }array_alloc_scalar_real_array(&tmp18, 4, (modelica_real)$Pb_c$lB2$c4$rB, (modelica_real)($Pb_c$lB2$c5$rB) * (0.5), (modelica_real)($Pb_c$lB2$c6$rB) * (0.3333333333333333), (modelica_real)($Pb_c$lB2$c7$rB) * (0.25)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:302:194: error: use of undeclared identifier '$Pb_c$lB2$c7$rB' }array_alloc_scalar_real_array(&tmp18, 4, (modelica_real)$Pb_c$lB2$c4$rB, (modelica_real)($Pb_c$lB2$c5$rB) * (0.5), (modelica_real)($Pb_c$lB2$c6$rB) * (0.3333333333333333), (modelica_real)($Pb_c$lB2$c7$rB) * (0.25)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:303:170: error: use of undeclared identifier '$Pb_c$lB2$c3$rB' tmp20 = omc_FCSys_Utilities_Polynomial_f_positivePoly(threadData, DIVISION_SIM(1.0,data->localData[0]->realVars[27] /* T variable */,"T",equationIndexes), tmp16) + ($Pb_c$lB2$c3$rB) * (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:313:63: error: use of undeclared identifier '$Pb_c$lB3$c2$rB' array_alloc_scalar_real_array(&tmp22, 2, (modelica_real)(-$Pb_c$lB3$c2$rB), (modelica_real)($Pb_c$lB3$c1$rB) * (-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