Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FCSys_FCSys.Characteristics.Examples.HydrationLevel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package FCSys with version 0.2.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(FCSys.Characteristics.Examples.HydrationLevel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="FCSys_FCSys.Characteristics.Examples.HydrationLevel") translateModel(FCSys.Characteristics.Examples.HydrationLevel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="FCSys_FCSys.Characteristics.Examples.HydrationLevel") [: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.001782/0.001782, allocations: 186 kB / 7.453 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo): time 0.07524/0.07524, allocations: 17.64 MB / 25.49 MB, free: 1.758 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.8126/0.8126, allocations: 170.6 MB / 201 MB, free: 9.852 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.001389/0.00139, allocations: 108.4 kB / 244.8 MB, free: 8.953 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.949e-06/4.979e-06, allocations: 0 / 294.1 MB, free: 14.94 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06152/0.06154, allocations: 43.32 MB / 337.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.316/4.377, allocations: 3.628 GB / 3.958 GB, free: 33.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001781/4.377, allocations: 76.31 kB / 3.958 GB, free: 33.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.2209/4.598, allocations: 59.48 MB / 4.016 GB, free: 104.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/4.598, allocations: 0 / 4.016 GB, free: 104.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005931/4.599, allocations: 0.4987 MB / 4.017 GB, free: 104.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.748e-05/4.599, allocations: 7.562 kB / 4.017 GB, free: 104.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007535/4.607, allocations: 1.408 MB / 4.018 GB, free: 104.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/4.607, allocations: 199.2 kB / 4.018 GB, free: 104.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/4.607, allocations: 0 / 4.018 GB, free: 104.3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/4.607, allocations: 0 / 4.018 GB, free: 104.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001734/4.607, allocations: 94.31 kB / 4.018 GB, free: 104.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/4.607, allocations: 138.7 kB / 4.018 GB, free: 104.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-06/4.607, allocations: 1.125 kB / 4.018 GB, free: 104.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/4.607, allocations: 4 kB / 4.018 GB, free: 104.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/4.607, allocations: 0 / 4.018 GB, free: 104.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006291/4.608, allocations: 483 kB / 4.019 GB, free: 104 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/4.608, allocations: 221.5 kB / 4.019 GB, free: 104 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.844e-05/4.608, allocations: 77.22 kB / 4.019 GB, free: 104 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/4.608, allocations: 3.938 kB / 4.019 GB, free: 104 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.224e-05/4.608, allocations: 31.59 kB / 4.019 GB, free: 103.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/4.608, allocations: 0 / 4.019 GB, free: 103.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.009186/4.617, allocations: 1.648 MB / 4.021 GB, free: 103.9 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.266e-05/4.618, allocations: 52.28 kB / 4.021 GB, free: 103.8 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/4.618, allocations: 153.1 kB / 4.021 GB, free: 103.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/4.618, allocations: 27.39 kB / 4.021 GB, free: 103.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.068e-05/4.618, allocations: 96.58 kB / 4.021 GB, free: 103.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/4.618, allocations: 10.69 kB / 4.021 GB, free: 103.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.539e-05/4.618, allocations: 0 / 4.021 GB, free: 103.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.928e-05/4.618, allocations: 319.2 kB / 4.021 GB, free: 103.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.946e-05/4.618, allocations: 76.97 kB / 4.022 GB, free: 103.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.12e-05/4.618, allocations: 68.95 kB / 4.022 GB, free: 103.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008869/4.627, allocations: 1.522 MB / 4.023 GB, free: 103.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/4.627, allocations: 0 / 4.023 GB, free: 103.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.009151/4.636, allocations: 1.647 MB / 4.025 GB, free: 103.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/4.636, allocations: 5.219 kB / 4.025 GB, free: 103.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/4.636, allocations: 0 / 4.025 GB, free: 103.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/4.636, allocations: 4.469 kB / 4.025 GB, free: 103.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02089/4.657, allocations: 3.27 MB / 4.028 GB, free: 103.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/4.668, allocations: 2.49 MB / 4.03 GB, free: 102.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/4.668, allocations: 26.5 kB / 4.03 GB, free: 102.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/4.668, allocations: 12.31 kB / 4.03 GB, free: 102.5 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: p_abs:VARIABLE(min = 0.0 unit = "M/(L.T2)" ) "H2O pressure in the ionomer" type: Real 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 (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000109/4.668, allocations: 108.8 kB / 4.03 GB, free: 102.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/4.668, allocations: 12.73 kB / 4.03 GB, free: 102.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009674/4.678, allocations: 2.021 MB / 4.032 GB, free: 102.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/4.678, allocations: 0 / 4.032 GB, free: 102.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/4.678, allocations: 0 / 4.032 GB, free: 102.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/4.678, allocations: 0 / 4.032 GB, free: 102.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/4.688, allocations: 2.388 MB / 4.035 GB, free: 101.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/4.688, allocations: 0 / 4.035 GB, free: 101.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/4.688, allocations: 20.33 kB / 4.035 GB, free: 101.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008955/4.689, allocations: 278.6 kB / 4.035 GB, free: 101.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/4.689, allocations: 13.36 kB / 4.035 GB, free: 101.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007529/4.697, allocations: 2.069 MB / 4.037 GB, free: 100.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/4.697, allocations: 2.812 kB / 4.037 GB, free: 100.7 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009763/4.707, allocations: 2.045 MB / 4.039 GB, free: 99.72 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/4.707, allocations: 132 kB / 4.039 GB, free: 99.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.785e-05/4.707, allocations: 3.984 kB / 4.039 GB, free: 99.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/4.707, allocations: 27.58 kB / 4.039 GB, free: 99.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/4.707, allocations: 7.703 kB / 4.039 GB, free: 99.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/4.707, allocations: 16.8 kB / 4.039 GB, free: 99.58 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.656e-05/4.707, allocations: 132.8 kB / 4.039 GB, free: 99.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004503/4.708, allocations: 110.5 kB / 4.04 GB, free: 99.47 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000812/4.709, allocations: 0.7584 MB / 4.04 GB, free: 99.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.02234/4.731, allocations: 3.596 MB / 4.044 GB, free: 97.53 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/4.731, allocations: 0 / 4.044 GB, free: 97.53 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00136/4.732, allocations: 299.7 kB / 4.044 GB, free: 97.45 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/4.733, allocations: 22.8 kB / 4.044 GB, free: 97.44 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005038/4.733, allocations: 235.2 kB / 4.044 GB, free: 97.31 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/4.733, allocations: 0.7303 MB / 4.045 GB, free: 96.59 MB / 394.7 MB Notification: Performance of SimCode: time 4.91e-07/4.733, allocations: 3.938 kB / 4.045 GB, free: 96.59 MB / 394.7 MB Notification: Performance of Templates: time 0.009488/4.743, allocations: 7.36 MB / 4.052 GB, free: 92.9 MB / 394.7 MB make -j1 -f FCSys_FCSys.Characteristics.Examples.HydrationLevel.makefile make -j1 -f FCSys_FCSys.Characteristics.Examples.HydrationLevel.makefile clang -fPIC -O0 -falign-functions -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=FCSys_FCSys_Characteristics_Examples_HydrationLevel -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o FCSys_FCSys.Characteristics.Examples.HydrationLevel.o FCSys_FCSys.Characteristics.Examples.HydrationLevel.c FCSys_FCSys.Characteristics.Examples.HydrationLevel.c:75:58: error: use of undeclared identifier '$Pb_v$lB1$c1$rB' array_alloc_scalar_real_array(&tmp1, 1, (modelica_real)$Pb_v$lB1$c1$rB); ^ 1 error generated. make: *** [: FCSys_FCSys.Characteristics.Examples.HydrationLevel.o] Error 1