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.001153/0.001152, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo): time 0.1612/0.1612, allocations: 17.61 MB / 30.87 MB, free: 3.148 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.801/1.801, allocations: 170.6 MB / 206.5 MB, free: 5.602 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.002048/0.002048, allocations: 116 kB / 250.4 MB, free: 8.305 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.101e-05/5.104e-05, allocations: 0 / 301.6 MB, free: 8.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1534, allocations: 43.32 MB / 344.9 MB, free: 13.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.54/11.69, allocations: 3.629 GB / 3.966 GB, free: 120.1 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003911/11.69, allocations: 77.41 kB / 3.966 GB, free: 120.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1395/11.83, allocations: 60.28 MB / 4.025 GB, free: 60.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.196e-06/11.83, allocations: 0 / 4.025 GB, free: 60.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.365e-05/11.83, allocations: 4 kB / 4.025 GB, free: 60.57 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.001208/11.83, allocations: 0.4933 MB / 4.025 GB, free: 60.04 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.36e-05/11.83, allocations: 8.031 kB / 4.025 GB, free: 60.03 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007726/11.84, allocations: 1.306 MB / 4.027 GB, free: 58.72 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/11.84, allocations: 186.9 kB / 4.027 GB, free: 58.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/11.84, allocations: 4 kB / 4.027 GB, free: 58.49 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.357e-05/11.84, allocations: 0 / 4.027 GB, free: 58.49 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/11.84, allocations: 145.5 kB / 4.027 GB, free: 58.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/11.84, allocations: 2.812 kB / 4.027 GB, free: 58.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/11.84, allocations: 3.953 kB / 4.027 GB, free: 58.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/11.84, allocations: 3.938 kB / 4.027 GB, free: 58.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002071/11.84, allocations: 99.89 kB / 4.027 GB, free: 58.24 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008941/11.84, allocations: 0.4926 MB / 4.028 GB, free: 57.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/11.84, allocations: 214.4 kB / 4.028 GB, free: 57.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/11.84, allocations: 76.97 kB / 4.028 GB, free: 57.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/11.84, allocations: 8 kB / 4.028 GB, free: 57.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/11.84, allocations: 38.52 kB / 4.028 GB, free: 57.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 3.817e-06/11.84, allocations: 3.984 kB / 4.028 GB, free: 57.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004845/11.84, allocations: 189.4 kB / 4.028 GB, free: 57.15 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/11.84, allocations: 51.41 kB / 4.028 GB, free: 57.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/11.84, allocations: 161.8 kB / 4.028 GB, free: 56.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/11.84, allocations: 25.7 kB / 4.028 GB, free: 56.89 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.432e-05/11.84, allocations: 104.1 kB / 4.028 GB, free: 56.79 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/11.84, allocations: 11.81 kB / 4.028 GB, free: 56.78 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.449e-05/11.84, allocations: 0 / 4.028 GB, free: 56.78 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.656e-05/11.84, allocations: 318.8 kB / 4.029 GB, free: 56.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/11.84, allocations: 67.95 kB / 4.029 GB, free: 56.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.913e-05/11.84, allocations: 71.94 kB / 4.029 GB, free: 56.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/11.84, allocations: 63.94 kB / 4.029 GB, free: 56.26 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/11.84, allocations: 0 / 4.029 GB, free: 56.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003354/11.84, allocations: 197.4 kB / 4.029 GB, free: 56.06 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/11.84, allocations: 4 kB / 4.029 GB, free: 56.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/11.84, allocations: 7.953 kB / 4.029 GB, free: 56.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/11.84, allocations: 0 / 4.029 GB, free: 56.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00455/11.85, allocations: 0.5539 MB / 4.03 GB, free: 55.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/11.85, allocations: 1.004 MB / 4.031 GB, free: 54.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/11.85, allocations: 24.02 kB / 4.031 GB, free: 54.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.072e-05/11.85, allocations: 11.98 kB / 4.031 GB, free: 54.43 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 (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.0001077/11.85, allocations: 114.2 kB / 4.031 GB, free: 54.31 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/11.85, allocations: 15.81 kB / 4.031 GB, free: 54.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/11.85, allocations: 443 kB / 4.031 GB, free: 53.85 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/11.85, allocations: 0 / 4.031 GB, free: 53.85 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/11.85, allocations: 0 / 4.031 GB, free: 53.85 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/11.85, allocations: 0 / 4.031 GB, free: 53.85 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/11.85, allocations: 0.7709 MB / 4.032 GB, free: 53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/11.85, allocations: 9.25 kB / 4.032 GB, free: 52.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/11.85, allocations: 27.92 kB / 4.032 GB, free: 52.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004094/11.86, allocations: 0.5977 MB / 4.033 GB, free: 52.36 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.534e-05/11.86, allocations: 15.92 kB / 4.033 GB, free: 52.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/11.86, allocations: 0.9659 MB / 4.034 GB, free: 51.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/11.86, allocations: 4.031 kB / 4.034 GB, free: 51.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/11.86, allocations: 479.4 kB / 4.034 GB, free: 50.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/11.86, allocations: 140.8 kB / 4.034 GB, free: 50.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/11.86, allocations: 3.984 kB / 4.034 GB, free: 50.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/11.86, allocations: 19.98 kB / 4.034 GB, free: 50.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.118e-05/11.86, allocations: 15.92 kB / 4.034 GB, free: 50.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.745e-05/11.86, allocations: 15.98 kB / 4.034 GB, free: 50.64 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000147/11.86, allocations: 137.6 kB / 4.034 GB, free: 50.51 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/11.86, allocations: 0 / 4.034 GB, free: 50.51 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008203/11.86, allocations: 121.3 kB / 4.035 GB, free: 50.39 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.001471/11.86, allocations: 0.638 MB / 4.035 GB, free: 49.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005785/11.87, allocations: 0.8426 MB / 4.036 GB, free: 48.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/11.87, allocations: 0 / 4.036 GB, free: 48.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001338/11.87, allocations: 300.5 kB / 4.036 GB, free: 48.61 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/11.87, allocations: 25.81 kB / 4.036 GB, free: 48.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000694/11.87, allocations: 226.6 kB / 4.036 GB, free: 48.34 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/11.87, allocations: 0.7199 MB / 4.037 GB, free: 47.6 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001109/11.87, allocations: 12.64 kB / 4.037 GB, free: 47.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.166e-05/11.87, allocations: 23.44 kB / 4.037 GB, free: 47.56 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/11.87, allocations: 0 / 4.037 GB, free: 47.56 MB / 394.7 MB Notification: Performance of Templates: time 0.02104/11.89, allocations: 13.74 MB / 4.051 GB, free: 33.83 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:62: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp1, 1, (modelica_real)b_v[1,1]); ^ FCSys_FCSys.Characteristics.Examples.HydrationLevel.c:95:58: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp1, 1, (modelica_real)b_v[1,1]); ^ 1 warning and 1 error generated. make: *** [: FCSys_FCSys.Characteristics.Examples.HydrationLevel.o] Error 1