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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009622/0.009621, allocations: 164 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.147/0.147, allocations: 17.62 MB / 33.47 MB, free: 1.426 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.578/1.578, allocations: 170.8 MB / 209.5 MB, free: 15.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00147/0.001469, allocations: 121.4 kB / 253.6 MB, free: 8.289 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004902/0.0004903, allocations: 8 kB / 307.4 MB, free: 2.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2865, allocations: 43.3 MB / 350.7 MB, free: 36.09 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.751/10.04, allocations: 3.629 GB / 3.972 GB, free: 145.1 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/10.04, allocations: 89.44 kB / 3.972 GB, free: 145.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1318/10.17, allocations: 60.38 MB / 4.031 GB, free: 91.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.166e-06/10.17, allocations: 0 / 4.031 GB, free: 91.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.126e-06/10.17, allocations: 7.938 kB / 4.031 GB, free: 91.17 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.0009365/10.17, allocations: 0.511 MB / 4.031 GB, free: 90.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/10.17, allocations: 12.03 kB / 4.031 GB, free: 90.6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007637/10.18, allocations: 1.302 MB / 4.033 GB, free: 89.3 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/10.18, allocations: 195.3 kB / 4.033 GB, free: 89.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/10.18, allocations: 0 / 4.033 GB, free: 89.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.451e-05/10.18, allocations: 0 / 4.033 GB, free: 89.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004405/10.18, allocations: 189.4 kB / 4.033 GB, free: 88.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/10.18, allocations: 7.938 kB / 4.033 GB, free: 88.87 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/10.18, allocations: 3.953 kB / 4.033 GB, free: 88.86 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/10.18, allocations: 0 / 4.033 GB, free: 88.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003853/10.18, allocations: 155.8 kB / 4.033 GB, free: 88.71 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007866/10.18, allocations: 0.4888 MB / 4.034 GB, free: 88.17 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006657/10.18, allocations: 330.2 kB / 4.034 GB, free: 87.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/10.18, allocations: 0 / 4.034 GB, free: 87.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/10.18, allocations: 34.52 kB / 4.034 GB, free: 87.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.462e-06/10.18, allocations: 0 / 4.034 GB, free: 87.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.000997/10.18, allocations: 397.4 kB / 4.034 GB, free: 87.4 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/10.18, allocations: 55.39 kB / 4.034 GB, free: 87.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/10.18, allocations: 148.5 kB / 4.035 GB, free: 87.19 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/10.18, allocations: 33.7 kB / 4.035 GB, free: 87.15 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.488e-05/10.18, allocations: 96.12 kB / 4.035 GB, free: 87.05 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/10.18, allocations: 11.81 kB / 4.035 GB, free: 87.04 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.491e-05/10.18, allocations: 0 / 4.035 GB, free: 87.04 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.735e-05/10.18, allocations: 326.8 kB / 4.035 GB, free: 86.71 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/10.18, allocations: 115.8 kB / 4.035 GB, free: 86.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/10.18, allocations: 119.9 kB / 4.035 GB, free: 86.48 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/10.18, allocations: 107.9 kB / 4.035 GB, free: 86.38 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/10.18, allocations: 0 / 4.035 GB, free: 86.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0005986/10.18, allocations: 281.4 kB / 4.036 GB, free: 86.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/10.18, allocations: 8 kB / 4.036 GB, free: 86.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/10.18, allocations: 0 / 4.036 GB, free: 86.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/10.18, allocations: 3.953 kB / 4.036 GB, free: 86.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004334/10.19, allocations: 0.55 MB / 4.036 GB, free: 85.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002289/10.19, allocations: 1.093 MB / 4.037 GB, free: 84.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/10.19, allocations: 23.92 kB / 4.037 GB, free: 84.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.866e-05/10.19, allocations: 12.31 kB / 4.037 GB, free: 84.38 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 (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.0001822/10.19, allocations: 122.3 kB / 4.037 GB, free: 84.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-05/10.19, allocations: 11.91 kB / 4.037 GB, free: 84.24 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/10.19, allocations: 0.5535 MB / 4.038 GB, free: 83.67 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/10.19, allocations: 4 kB / 4.038 GB, free: 83.67 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/10.19, allocations: 0 / 4.038 GB, free: 83.67 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/10.19, allocations: 3.984 kB / 4.038 GB, free: 83.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/10.2, allocations: 0.8913 MB / 4.039 GB, free: 82.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/10.2, allocations: 3.938 kB / 4.039 GB, free: 82.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/10.2, allocations: 19.98 kB / 4.039 GB, free: 82.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003931/10.2, allocations: 0.6562 MB / 4.039 GB, free: 82.01 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-05/10.2, allocations: 11.98 kB / 4.039 GB, free: 82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001994/10.2, allocations: 1.048 MB / 4.041 GB, free: 80.92 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/10.2, allocations: 0 / 4.041 GB, free: 80.92 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/10.2, allocations: 0.5999 MB / 4.041 GB, free: 80.29 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/10.2, allocations: 128.9 kB / 4.041 GB, free: 80.15 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/10.2, allocations: 12 kB / 4.041 GB, free: 80.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/10.2, allocations: 27.97 kB / 4.041 GB, free: 80.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/10.2, allocations: 7.984 kB / 4.041 GB, free: 80.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.311e-05/10.2, allocations: 15.98 kB / 4.041 GB, free: 80.09 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001188/10.2, allocations: 134.7 kB / 4.041 GB, free: 79.96 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/10.2, allocations: 0 / 4.041 GB, free: 79.96 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000689/10.2, allocations: 123.9 kB / 4.042 GB, free: 79.84 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 () * Number of clocked 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.000953/10.21, allocations: 0.6365 MB / 4.042 GB, free: 79.19 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005737/10.21, allocations: 0.9364 MB / 4.043 GB, free: 78.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/10.21, allocations: 0 / 4.043 GB, free: 78.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001489/10.21, allocations: 347.6 kB / 4.043 GB, free: 77.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/10.21, allocations: 24.83 kB / 4.043 GB, free: 77.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007357/10.21, allocations: 454.1 kB / 4.044 GB, free: 77.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001636/10.21, allocations: 0.7198 MB / 4.045 GB, free: 76.67 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.435e-05/10.21, allocations: 16.55 kB / 4.045 GB, free: 76.65 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.386e-05/10.21, allocations: 15.44 kB / 4.045 GB, free: 76.64 MB / 394.7 MB Notification: Performance of SimCode: time 6.21e-07/10.21, allocations: 0 / 4.045 GB, free: 76.64 MB / 394.7 MB Notification: Performance of Templates: time 0.01512/10.23, allocations: 12.17 MB / 4.056 GB, free: 64.46 MB / 394.7 MB make -j1 -f FCSys_FCSys.Characteristics.Examples.HydrationLevel.makefile make -j1 -f FCSys_FCSys.Characteristics.Examples.HydrationLevel.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../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:95:73: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp1, 1, (modelica_real)real_array_get(b_v, 2, ((modelica_integer) 1), ((modelica_integer) 1))); ^ 1 error generated. make: *** [: FCSys_FCSys.Characteristics.Examples.HydrationLevel.o] Error 1