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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001714/0.001715, allocations: 176.9 kB / 7.458 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo): time 0.07185/0.07185, allocations: 17.64 MB / 25.5 MB, free: 1.781 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 0.7608/0.7608, allocations: 170.6 MB / 201 MB, free: 9.859 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.001419/0.001419, allocations: 107.2 kB / 244.8 MB, free: 8.961 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.06747/0.06891, allocations: 49.45 MB / 294.2 MB, free: 14.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05686/0.1258, allocations: 43.32 MB / 337.5 MB, free: 3.398 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.337/4.463, allocations: 3.631 GB / 3.96 GB, free: 104.7 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001772/4.463, allocations: 83.75 kB / 3.96 GB, free: 104.6 MB / 442.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.1597/4.623, allocations: 79.57 MB / 4.038 GB, free: 24.46 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/4.623, allocations: 8 kB / 4.038 GB, free: 24.45 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03921/4.662, allocations: 7.525 MB / 4.046 GB, free: 16.91 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/4.662, allocations: 194.8 kB / 4.046 GB, free: 16.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/4.662, allocations: 4 kB / 4.046 GB, free: 16.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/4.663, allocations: 0 / 4.046 GB, free: 16.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001312/4.664, allocations: 1.085 MB / 4.047 GB, free: 15.59 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007164/4.665, allocations: 0.6725 MB / 4.047 GB, free: 14.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/4.665, allocations: 4 kB / 4.047 GB, free: 14.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-05/4.665, allocations: 0 / 4.047 GB, free: 14.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/4.665, allocations: 3.906 kB / 4.047 GB, free: 14.91 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001981/4.667, allocations: 1.868 MB / 4.049 GB, free: 13 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009252/4.668, allocations: 0.9118 MB / 4.05 GB, free: 12.08 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004628/4.668, allocations: 468.6 kB / 4.051 GB, free: 11.62 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/4.668, allocations: 0 / 4.051 GB, free: 11.62 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.324e-05/4.668, allocations: 30.56 kB / 4.051 GB, free: 11.58 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/4.668, allocations: 0 / 4.051 GB, free: 11.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 0.1759/4.844, allocations: 12.58 MB / 4.063 GB, free: 144.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.561e-05/4.844, allocations: 51.41 kB / 4.063 GB, free: 144.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/4.844, allocations: 154.3 kB / 4.063 GB, free: 144.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.078e-05/4.844, allocations: 29.42 kB / 4.063 GB, free: 144.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.958e-05/4.844, allocations: 90.34 kB / 4.063 GB, free: 144.6 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.238e-05/4.844, allocations: 9.469 kB / 4.063 GB, free: 144.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.061e-05/4.844, allocations: 0 / 4.063 GB, free: 144.6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.592e-05/4.845, allocations: 324 kB / 4.064 GB, free: 144.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004495/4.845, allocations: 460.7 kB / 4.064 GB, free: 144.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004443/4.845, allocations: 455.8 kB / 4.064 GB, free: 144.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.07729/4.923, allocations: 11.99 MB / 4.076 GB, free: 144.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/4.923, allocations: 3.938 kB / 4.076 GB, free: 144.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.07816/5.001, allocations: 12.58 MB / 4.088 GB, free: 144.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/5.001, allocations: 7.344 kB / 4.088 GB, free: 144.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/5.001, allocations: 0 / 4.088 GB, free: 144.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/5.001, allocations: 3.75 kB / 4.088 GB, free: 144.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/5.002, allocations: 230.9 kB / 4.089 GB, free: 144.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/5.002, allocations: 3.203 kB / 4.089 GB, free: 144.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008244/5.003, allocations: 133.3 kB / 4.089 GB, free: 144.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/5.003, allocations: 74.23 kB / 4.089 GB, free: 144.2 MB / 442.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.0001563/5.003, allocations: 108.4 kB / 4.089 GB, free: 144.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/5.003, allocations: 11.03 kB / 4.089 GB, free: 144.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09052/5.094, allocations: 14.53 MB / 4.103 GB, free: 144.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/5.094, allocations: 3.875 kB / 4.103 GB, free: 144.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/5.094, allocations: 3.75 kB / 4.103 GB, free: 144.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/5.094, allocations: 0 / 4.103 GB, free: 144.1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006963/5.095, allocations: 0.8043 MB / 4.104 GB, free: 143.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/5.095, allocations: 0 / 4.104 GB, free: 143.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/5.096, allocations: 255 kB / 4.104 GB, free: 143.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/5.096, allocations: 2.031 kB / 4.104 GB, free: 143.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.194e-05/5.096, allocations: 43.73 kB / 4.104 GB, free: 143.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/5.096, allocations: 3.281 kB / 4.104 GB, free: 143.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/5.096, allocations: 3.844 kB / 4.104 GB, free: 143.7 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.09092/5.187, allocations: 14.13 MB / 4.118 GB, free: 139 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.09108/5.278, allocations: 15.92 MB / 4.134 GB, free: 124.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000319/5.278, allocations: 270.4 kB / 4.134 GB, free: 124.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/5.278, allocations: 0 / 4.134 GB, free: 124.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008485/5.279, allocations: 131.3 kB / 4.134 GB, free: 124.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/5.279, allocations: 15.97 kB / 4.134 GB, free: 124.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/5.279, allocations: 75.78 kB / 4.134 GB, free: 124 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.788e-05/5.279, allocations: 137.2 kB / 4.134 GB, free: 123.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001348/5.281, allocations: 304.8 kB / 4.134 GB, free: 123.8 MB / 442.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.0008675/5.282, allocations: 0.793 MB / 4.135 GB, free: 123.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001069/5.283, allocations: 0.9602 MB / 4.136 GB, free: 122.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/5.283, allocations: 2.094 kB / 4.136 GB, free: 122.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005608/5.283, allocations: 0.5312 MB / 4.137 GB, free: 121.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/5.284, allocations: 22.89 kB / 4.137 GB, free: 121.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/5.285, allocations: 0.746 MB / 4.137 GB, free: 121.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007991/5.286, allocations: 0.9082 MB / 4.138 GB, free: 120.3 MB / 442.7 MB Notification: Performance of SimCode: time 2.41e-07/5.286, allocations: 0 / 4.138 GB, free: 120.3 MB / 442.7 MB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/FCSys_FCSys.Characteristics.Examples.CellPotential/FCSys_FCSys_Characteristics_Examples_CellPotential.fmutmp/sources' clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -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:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -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:2: In file included from ./FCSys_FCSys_Characteristics_Examples_CellPotential_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:265:66: error: use of undeclared identifier '$PT_lim_c$lB2$rB' tmp57 = Less(data->localData[0]->realVars[27] /* T variable */,$PT_lim_c$lB2$rB); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:267:66: error: use of undeclared identifier '$PT_lim_c$lB3$rB' tmp59 = Less(data->localData[0]->realVars[27] /* T variable */,$PT_lim_c$lB3$rB); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:269:66: error: use of undeclared identifier '$PT_lim_c$lB2$rB' tmp61 = Less(data->localData[0]->realVars[27] /* T variable */,$PT_lim_c$lB2$rB); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:273:63: error: use of undeclared identifier '$Pb_c$lB1$c2$rB' array_alloc_scalar_real_array(&tmp62, 2, (modelica_real)(-$Pb_c$lB1$c2$rB), (modelica_real)($Pb_c$lB1$c1$rB) * (-0.5)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:273:97: error: use of undeclared identifier '$Pb_c$lB1$c1$rB' array_alloc_scalar_real_array(&tmp62, 2, (modelica_real)(-$Pb_c$lB1$c2$rB), (modelica_real)($Pb_c$lB1$c1$rB) * (-0.5)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:280:62: error: use of undeclared identifier '$Pb_c$lB1$c4$rB' }array_alloc_scalar_real_array(&tmp64, 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:280:95: error: use of undeclared identifier '$Pb_c$lB1$c5$rB' }array_alloc_scalar_real_array(&tmp64, 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:280:137: error: use of undeclared identifier '$Pb_c$lB1$c6$rB' }array_alloc_scalar_real_array(&tmp64, 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:280:194: error: use of undeclared identifier '$Pb_c$lB1$c7$rB' }array_alloc_scalar_real_array(&tmp64, 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:281:170: error: use of undeclared identifier '$Pb_c$lB1$c3$rB' tmp66 = omc_FCSys_Utilities_Polynomial_f_positivePoly(threadData, DIVISION_SIM(1.0,data->localData[0]->realVars[27] /* T variable */,"T",equationIndexes), tmp62) + ($Pb_c$lB1$c3$rB) * (log(tmp63)) + omc_FCSys_Utilities_Polynomial_f_positivePoly(threadData, data->localData[0]->realVars[27] /* T variable */, tmp64) + 62.19512479545057; ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:288:66: error: use of undeclared identifier '$PT_lim_c$lB3$rB' tmp68 = Less(data->localData[0]->realVars[27] /* T variable */,$PT_lim_c$lB3$rB); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:292:63: error: use of undeclared identifier '$Pb_c$lB2$c2$rB' array_alloc_scalar_real_array(&tmp69, 2, (modelica_real)(-$Pb_c$lB2$c2$rB), (modelica_real)($Pb_c$lB2$c1$rB) * (-0.5)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:292:97: error: use of undeclared identifier '$Pb_c$lB2$c1$rB' array_alloc_scalar_real_array(&tmp69, 2, (modelica_real)(-$Pb_c$lB2$c2$rB), (modelica_real)($Pb_c$lB2$c1$rB) * (-0.5)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:299:62: error: use of undeclared identifier '$Pb_c$lB2$c4$rB' }array_alloc_scalar_real_array(&tmp71, 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:299:95: error: use of undeclared identifier '$Pb_c$lB2$c5$rB' }array_alloc_scalar_real_array(&tmp71, 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:299:137: error: use of undeclared identifier '$Pb_c$lB2$c6$rB' }array_alloc_scalar_real_array(&tmp71, 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:299:194: error: use of undeclared identifier '$Pb_c$lB2$c7$rB' }array_alloc_scalar_real_array(&tmp71, 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:300:170: error: use of undeclared identifier '$Pb_c$lB2$c3$rB' tmp73 = omc_FCSys_Utilities_Polynomial_f_positivePoly(threadData, DIVISION_SIM(1.0,data->localData[0]->realVars[27] /* T variable */,"T",equationIndexes), tmp69) + ($Pb_c$lB2$c3$rB) * (log(tmp70)) + omc_FCSys_Utilities_Polynomial_f_positivePoly(threadData, data->localData[0]->realVars[27] /* T variable */, tmp71) + 31.34889658043294; ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:310:63: error: use of undeclared identifier '$Pb_c$lB3$c2$rB' array_alloc_scalar_real_array(&tmp75, 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 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/FCSys_FCSys.Characteristics.Examples.CellPotential/FCSys_FCSys_Characteristics_Examples_CellPotential.fmutmp/sources' Error: Error building simulator. Build log: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu build_short: x86_64-linux-gnu host_short: x86_64-linux-gnu checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang -E checking whether make sets $(MAKE)... yes checking for cross-compilation flags... not cross-compiling checking if -Werror works... ok checking looking for --no-undefined... yes checking looking for dollars in identifiers... CPPFLAGS: -fdollars-in-identifiers checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... no checking for an ANSI C-conforming const... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for vprintf... yes checking for _doprnt... yes checking for strdup... yes checking for strerror... yes checking LAPACK/BLAS flags... not found checking for static pthreads... no checking for pthread_mutex_lock in -lpthread... yes checking for cos in -lm... yes checking for filesystem access... OK configure: creating ./config.status config.status: creating Makefile rm -f FCSys_FCSys_Characteristics_Examples_CellPotential.def FCSys_FCSys_Characteristics_Examples_CellPotential.o FCSys_FCSys_Characteristics_Examples_CellPotential.a FCSys_FCSys_Characteristics_Examples_CellPotential.so FCSys_FCSys_Characteristics_Examples_CellPotential_FMU.o FCSys_FCSys_Characteristics_Examples_CellPotential.o FCSys_FCSys_Characteristics_Examples_CellPotential_functions.o FCSys_FCSys_Characteristics_Examples_CellPotential_records.o FCSys_FCSys_Characteristics_Examples_CellPotential_01exo.o FCSys_FCSys_Characteristics_Examples_CellPotential_02nls.o FCSys_FCSys_Characteristics_Examples_CellPotential_03lsy.o FCSys_FCSys_Characteristics_Examples_CellPotential_04set.o FCSys_FCSys_Characteristics_Examples_CellPotential_05evt.o FCSys_FCSys_Characteristics_Examples_CellPotential_06inz.o FCSys_FCSys_Characteristics_Examples_CellPotential_07dly.o FCSys_FCSys_Characteristics_Examples_CellPotential_08bnd.o FCSys_FCSys_Characteristics_Examples_CellPotential_09alg.o FCSys_FCSys_Characteristics_Examples_CellPotential_10asr.o FCSys_FCSys_Characteristics_Examples_CellPotential_11mix.o FCSys_FCSys_Characteristics_Examples_CellPotential_12jac.o FCSys_FCSys_Characteristics_Examples_CellPotential_13opt.o FCSys_FCSys_Characteristics_Examples_CellPotential_14lnz.o FCSys_FCSys_Characteristics_Examples_CellPotential_15syn.o FCSys_FCSys_Characteristics_Examples_CellPotential_16dae.o FCSys_FCSys_Characteristics_Examples_CellPotential_17inl.o FCSys_FCSys_Characteristics_Examples_CellPotential_init_fmu.o include/./gc/memory_pool.o include/./util/base_array.o include/./util/boolean_array.o include/./util/omc_error.o include/./util/division.o include/./util/generic_array.o include/./util/index_spec.o include/./util/integer_array.o include/./util/list.o include/./util/modelica_string.o include/./util/real_array.o include/./util/ringbuffer.o include/./util/string_array.o include/./util/utility.o include/./util/varinfo.o include/./util/ModelicaUtilities.o include/./util/omc_msvc.o include/./util/simulation_options.o include/./util/cJSON.o include/./util/rational.o include/./util/modelica_string_lit.o include/./util/omc_init.o include/./util/omc_mmap.o include/./math-support/pivot.o include/./simulation/simulation_info_json.o include/./simulation/options.o include/./simulation/simulation_omc_assert.o include/./simulation/solver/delay.o include/./simulation/solver/omc_math.o include/./simulation/solver/model_help.o include/./simulation/solver/stateset.o include/./simulation/solver/synchronous.o include/./simulation/solver/initialization/initialization.o include/./meta/meta_modelica_catch.o