Running command: "" <> buildModelFMU(FCSys.Characteristics.Examples.CellPotential,fileNamePrefix="FCSys_FCSys_Characteristics_Examples_CellPotential",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(FCSys): time 1.905/1.905, allocations: 188.8 MB / 201 MB, free: 8.633 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.203e-05/4.205e-05, allocations: 4.703 kB / 247.3 MB, free: 5.859 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1083, allocations: 43.33 MB / 290.6 MB, free: 14.52 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.83/10.93, allocations: 3.631 GB / 3.915 GB, free: 40.78 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/10.94, allocations: 83.08 kB / 3.915 GB, free: 40.74 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6376/11.57, allocations: 79.81 MB / 3.993 GB, free: 111.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.674e-06/11.57, allocations: 3.656 kB / 3.993 GB, free: 111.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.075e-06/11.57, allocations: 0 / 3.993 GB, free: 111.8 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.001748/11.57, allocations: 0.6196 MB / 3.994 GB, free: 111.3 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/11.57, allocations: 11.09 kB / 3.994 GB, free: 111.3 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.377e-05/11.57, allocations: 43.48 kB / 3.994 GB, free: 111.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07884/11.65, allocations: 7.034 MB / 4.001 GB, free: 110.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/11.65, allocations: 199.5 kB / 4.001 GB, free: 110 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/11.65, allocations: 11.17 kB / 4.001 GB, free: 110 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000406/11.65, allocations: 3.188 kB / 4.001 GB, free: 110 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/11.66, allocations: 0.6865 MB / 4.002 GB, free: 109.7 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/11.66, allocations: 0 / 4.002 GB, free: 109.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/11.66, allocations: 0 / 4.002 GB, free: 109.7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/11.66, allocations: 352 / 4.002 GB, free: 109.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002936/11.66, allocations: 1.121 MB / 4.003 GB, free: 109.4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009012/11.67, allocations: 2.297 MB / 4.005 GB, free: 108.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002445/11.67, allocations: 0.9102 MB / 4.006 GB, free: 108 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/11.67, allocations: 462.4 kB / 4.006 GB, free: 107.9 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.497e-05/11.67, allocations: 0 / 4.006 GB, free: 107.9 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/11.67, allocations: 37.75 kB / 4.006 GB, free: 107.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.435e-06/11.67, allocations: 3.969 kB / 4.006 GB, free: 107.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.003272/11.68, allocations: 0.9682 MB / 4.007 GB, free: 107.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/11.68, allocations: 55.03 kB / 4.007 GB, free: 107.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/11.68, allocations: 157.8 kB / 4.008 GB, free: 107.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001449/11.68, allocations: 25.7 kB / 4.008 GB, free: 107.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.479e-05/11.68, allocations: 101.8 kB / 4.008 GB, free: 107.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/11.68, allocations: 18.42 kB / 4.008 GB, free: 107.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/11.68, allocations: 4 kB / 4.008 GB, free: 107.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.232e-05/11.68, allocations: 320.7 kB / 4.008 GB, free: 106.9 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/11.68, allocations: 460.4 kB / 4.008 GB, free: 106.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/11.68, allocations: 449.9 kB / 4.009 GB, free: 106.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/11.68, allocations: 407 kB / 4.009 GB, free: 105.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/11.68, allocations: 0 / 4.009 GB, free: 105.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.002949/11.68, allocations: 0.9752 MB / 4.01 GB, free: 104.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/11.68, allocations: 4 kB / 4.01 GB, free: 104.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/11.68, allocations: 0 / 4.01 GB, free: 104.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/11.68, allocations: 0 / 4.01 GB, free: 104.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002058/11.68, allocations: 219.7 kB / 4.01 GB, free: 104.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/11.68, allocations: 4 kB / 4.01 GB, free: 104.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/11.69, allocations: 119.3 kB / 4.011 GB, free: 104.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002801/11.69, allocations: 78.52 kB / 4.011 GB, free: 104.5 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.0002932/11.69, allocations: 109 kB / 4.011 GB, free: 104.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/11.69, allocations: 11.86 kB / 4.011 GB, free: 104.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004395/11.69, allocations: 1.433 MB / 4.012 GB, free: 103.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/11.69, allocations: 4 kB / 4.012 GB, free: 103.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/11.69, allocations: 0 / 4.012 GB, free: 103.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/11.69, allocations: 0 / 4.012 GB, free: 103.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008518/11.69, allocations: 461.8 kB / 4.013 GB, free: 102.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/11.69, allocations: 0 / 4.013 GB, free: 102.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00211/11.69, allocations: 238 kB / 4.013 GB, free: 102.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/11.69, allocations: 4 kB / 4.013 GB, free: 102.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001584/11.69, allocations: 47.58 kB / 4.013 GB, free: 102.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/11.7, allocations: 0 / 4.013 GB, free: 102.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/11.7, allocations: 4 kB / 4.013 GB, free: 102.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002894/11.7, allocations: 1.115 MB / 4.014 GB, free: 101.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006337/11.7, allocations: 271.2 kB / 4.014 GB, free: 101.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001946/11.7, allocations: 6.688 kB / 4.014 GB, free: 101.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/11.7, allocations: 126.7 kB / 4.014 GB, free: 101 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.782e-05/11.7, allocations: 23.91 kB / 4.014 GB, free: 101 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002414/11.7, allocations: 71.22 kB / 4.014 GB, free: 100.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001711/11.7, allocations: 139.3 kB / 4.015 GB, free: 100.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.653e-06/11.7, allocations: 0 / 4.015 GB, free: 100.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001649/11.7, allocations: 258.3 kB / 4.015 GB, free: 100.6 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.006134/11.71, allocations: 2.909 MB / 4.018 GB, free: 97.95 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002614/11.71, allocations: 0.9577 MB / 4.019 GB, free: 96.99 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/11.71, allocations: 3.938 kB / 4.019 GB, free: 96.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001271/11.71, allocations: 0.53 MB / 4.019 GB, free: 96.46 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005097/11.71, allocations: 29.2 kB / 4.019 GB, free: 96.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002614/11.72, allocations: 0.7977 MB / 4.02 GB, free: 95.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/11.72, allocations: 0.736 MB / 4.021 GB, free: 94.84 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001888/11.72, allocations: 309.1 kB / 4.021 GB, free: 94.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001278/11.72, allocations: 179.1 kB / 4.021 GB, free: 94.4 MB / 394.7 MB Notification: Performance of SimCode: time 1.192e-06/11.72, allocations: 4 kB / 4.021 GB, free: 94.39 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06683/11.79, allocations: 28.38 MB / 4.049 GB, free: 65.99 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/11.79, allocations: 140.3 kB / 4.049 GB, free: 65.76 MB / 394.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./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:285:65: error: use of undeclared identifier '_omcQuot_545F6C696D5F635B325D' tmp4 = Less(data->localData[0]->realVars[27] /* T variable */,_omcQuot_545F6C696D5F635B325D); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:287:65: error: use of undeclared identifier '_omcQuot_545F6C696D5F635B335D' tmp6 = Less(data->localData[0]->realVars[27] /* T variable */,_omcQuot_545F6C696D5F635B335D); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:289:65: error: use of undeclared identifier '_omcQuot_545F6C696D5F635B325D' tmp8 = Less(data->localData[0]->realVars[27] /* T variable */,_omcQuot_545F6C696D5F635B325D); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:293:62: error: use of undeclared identifier '_omcQuot_625F635B312C325D' array_alloc_scalar_real_array(&tmp9, 2, (modelica_real)(-_omcQuot_625F635B312C325D), (modelica_real)(_omcQuot_625F635B312C315D) * (-0.5)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:293:106: error: use of undeclared identifier '_omcQuot_625F635B312C315D' array_alloc_scalar_real_array(&tmp9, 2, (modelica_real)(-_omcQuot_625F635B312C325D), (modelica_real)(_omcQuot_625F635B312C315D) * (-0.5)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:300:62: error: use of undeclared identifier '_omcQuot_625F635B312C345D' }array_alloc_scalar_real_array(&tmp11, 4, (modelica_real)_omcQuot_625F635B312C345D, (modelica_real)(_omcQuot_625F635B312C355D) * (0.5), (modelica_real)(_omcQuot_625F635B312C365D) * (0.3333333333333333), (modelica_real)(_omcQuot_625F635B312C375D) * (0.25)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:300:105: error: use of undeclared identifier '_omcQuot_625F635B312C355D' }array_alloc_scalar_real_array(&tmp11, 4, (modelica_real)_omcQuot_625F635B312C345D, (modelica_real)(_omcQuot_625F635B312C355D) * (0.5), (modelica_real)(_omcQuot_625F635B312C365D) * (0.3333333333333333), (modelica_real)(_omcQuot_625F635B312C375D) * (0.25)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:300:157: error: use of undeclared identifier '_omcQuot_625F635B312C365D' }array_alloc_scalar_real_array(&tmp11, 4, (modelica_real)_omcQuot_625F635B312C345D, (modelica_real)(_omcQuot_625F635B312C355D) * (0.5), (modelica_real)(_omcQuot_625F635B312C365D) * (0.3333333333333333), (modelica_real)(_omcQuot_625F635B312C375D) * (0.25)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:300:224: error: use of undeclared identifier '_omcQuot_625F635B312C375D' }array_alloc_scalar_real_array(&tmp11, 4, (modelica_real)_omcQuot_625F635B312C345D, (modelica_real)(_omcQuot_625F635B312C355D) * (0.5), (modelica_real)(_omcQuot_625F635B312C365D) * (0.3333333333333333), (modelica_real)(_omcQuot_625F635B312C375D) * (0.25)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:301:169: error: use of undeclared identifier '_omcQuot_625F635B312C335D' tmp13 = omc_FCSys_Utilities_Polynomial_f_positivePoly(threadData, DIVISION_SIM(1.0,data->localData[0]->realVars[27] /* T variable */,"T",equationIndexes), tmp9) + (_omcQuot_625F635B312C335D) * (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:66: error: use of undeclared identifier '_omcQuot_545F6C696D5F635B335D' tmp15 = Less(data->localData[0]->realVars[27] /* T variable */,_omcQuot_545F6C696D5F635B335D); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:312:63: error: use of undeclared identifier '_omcQuot_625F635B322C325D' array_alloc_scalar_real_array(&tmp16, 2, (modelica_real)(-_omcQuot_625F635B322C325D), (modelica_real)(_omcQuot_625F635B322C315D) * (-0.5)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:312:107: error: use of undeclared identifier '_omcQuot_625F635B322C315D' array_alloc_scalar_real_array(&tmp16, 2, (modelica_real)(-_omcQuot_625F635B322C325D), (modelica_real)(_omcQuot_625F635B322C315D) * (-0.5)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:319:62: error: use of undeclared identifier '_omcQuot_625F635B322C345D' }array_alloc_scalar_real_array(&tmp18, 4, (modelica_real)_omcQuot_625F635B322C345D, (modelica_real)(_omcQuot_625F635B322C355D) * (0.5), (modelica_real)(_omcQuot_625F635B322C365D) * (0.3333333333333333), (modelica_real)(_omcQuot_625F635B322C375D) * (0.25)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:319:105: error: use of undeclared identifier '_omcQuot_625F635B322C355D' }array_alloc_scalar_real_array(&tmp18, 4, (modelica_real)_omcQuot_625F635B322C345D, (modelica_real)(_omcQuot_625F635B322C355D) * (0.5), (modelica_real)(_omcQuot_625F635B322C365D) * (0.3333333333333333), (modelica_real)(_omcQuot_625F635B322C375D) * (0.25)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:319:157: error: use of undeclared identifier '_omcQuot_625F635B322C365D' }array_alloc_scalar_real_array(&tmp18, 4, (modelica_real)_omcQuot_625F635B322C345D, (modelica_real)(_omcQuot_625F635B322C355D) * (0.5), (modelica_real)(_omcQuot_625F635B322C365D) * (0.3333333333333333), (modelica_real)(_omcQuot_625F635B322C375D) * (0.25)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:319:224: error: use of undeclared identifier '_omcQuot_625F635B322C375D' }array_alloc_scalar_real_array(&tmp18, 4, (modelica_real)_omcQuot_625F635B322C345D, (modelica_real)(_omcQuot_625F635B322C355D) * (0.5), (modelica_real)(_omcQuot_625F635B322C365D) * (0.3333333333333333), (modelica_real)(_omcQuot_625F635B322C375D) * (0.25)); ^ FCSys_FCSys_Characteristics_Examples_CellPotential.c:320:170: error: use of undeclared identifier '_omcQuot_625F635B322C335D' tmp20 = omc_FCSys_Utilities_Polynomial_f_positivePoly(threadData, DIVISION_SIM(1.0,data->localData[0]->realVars[27] /* T variable */,"T",equationIndexes), tmp16) + (_omcQuot_625F635B322C335D) * (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:63: error: use of undeclared identifier '_omcQuot_625F635B332C325D' array_alloc_scalar_real_array(&tmp22, 2, (modelica_real)(-_omcQuot_625F635B332C325D), (modelica_real)(_omcQuot_625F635B332C315D) * (-0.5)); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. : recipe for target 'FCSys_FCSys_Characteristics_Examples_CellPotential.o' failed make: *** [FCSys_FCSys_Characteristics_Examples_CellPotential.o] Error 1