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.001077/0.001077, allocations: 171.5 kB / 15.96 MB, free: 5.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo): time 0.1154/0.1154, allocations: 17.63 MB / 34.33 MB, free: 0.8633 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.328/1.328, allocations: 170.8 MB / 210.4 MB, free: 15.92 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.001576/0.001576, allocations: 110.5 kB / 254.5 MB, free: 8.227 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003607, allocations: 8 kB / 308.5 MB, free: 2.195 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2443, allocations: 43.3 MB / 351.8 MB, free: 36 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.947/7.191, allocations: 3.629 GB / 3.973 GB, free: 144.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/7.191, allocations: 90.66 kB / 3.973 GB, free: 144.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1248/7.316, allocations: 59.3 MB / 4.031 GB, free: 89.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.164e-06/7.316, allocations: 0 / 4.031 GB, free: 89.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/7.316, allocations: 4 kB / 4.031 GB, free: 89.3 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.0007815/7.317, allocations: 0.5181 MB / 4.031 GB, free: 88.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/7.317, allocations: 12.02 kB / 4.031 GB, free: 88.72 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007494/7.325, allocations: 1.377 MB / 4.033 GB, free: 87.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/7.325, allocations: 197.5 kB / 4.033 GB, free: 87.11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/7.325, allocations: 4 kB / 4.033 GB, free: 87.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/7.325, allocations: 0 / 4.033 GB, free: 87.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004184/7.325, allocations: 189.4 kB / 4.033 GB, free: 86.92 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/7.325, allocations: 0 / 4.033 GB, free: 86.92 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/7.325, allocations: 0 / 4.033 GB, free: 86.92 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/7.325, allocations: 0 / 4.033 GB, free: 86.92 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004165/7.326, allocations: 167.8 kB / 4.033 GB, free: 86.75 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006671/7.326, allocations: 496.6 kB / 4.034 GB, free: 86.22 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006862/7.327, allocations: 326.3 kB / 4.034 GB, free: 85.89 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/7.327, allocations: 120.8 kB / 4.034 GB, free: 85.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/7.327, allocations: 4 kB / 4.034 GB, free: 85.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/7.327, allocations: 38.55 kB / 4.034 GB, free: 85.72 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/7.327, allocations: 4 kB / 4.034 GB, free: 85.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.0009568/7.328, allocations: 397.2 kB / 4.035 GB, free: 85.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/7.328, allocations: 51.41 kB / 4.035 GB, free: 85.26 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/7.329, allocations: 181.3 kB / 4.035 GB, free: 85.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/7.329, allocations: 25.7 kB / 4.035 GB, free: 85.04 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/7.329, allocations: 104 kB / 4.035 GB, free: 84.94 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/7.329, allocations: 3.906 kB / 4.035 GB, free: 84.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.515e-05/7.329, allocations: 4 kB / 4.035 GB, free: 84.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.131e-05/7.329, allocations: 326.8 kB / 4.035 GB, free: 84.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/7.329, allocations: 111.9 kB / 4.035 GB, free: 84.49 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/7.329, allocations: 119.9 kB / 4.036 GB, free: 84.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005373/7.33, allocations: 240.9 kB / 4.036 GB, free: 84.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/7.33, allocations: 0 / 4.036 GB, free: 84.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0006157/7.331, allocations: 277.4 kB / 4.036 GB, free: 83.86 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/7.331, allocations: 4 kB / 4.036 GB, free: 83.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/7.331, allocations: 4 kB / 4.036 GB, free: 83.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/7.331, allocations: 0 / 4.036 GB, free: 83.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004455/7.335, allocations: 0.5578 MB / 4.037 GB, free: 83.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/7.337, allocations: 1.113 MB / 4.038 GB, free: 82.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/7.337, allocations: 28 kB / 4.038 GB, free: 82.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/7.337, allocations: 19.98 kB / 4.038 GB, free: 82.11 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.0001047/7.337, allocations: 117.8 kB / 4.038 GB, free: 81.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.83e-05/7.338, allocations: 15.91 kB / 4.038 GB, free: 81.97 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/7.339, allocations: 0.5417 MB / 4.038 GB, free: 81.42 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/7.339, allocations: 7.938 kB / 4.038 GB, free: 81.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/7.339, allocations: 0 / 4.038 GB, free: 81.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/7.339, allocations: 0 / 4.038 GB, free: 81.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00199/7.341, allocations: 0.8962 MB / 4.039 GB, free: 80.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/7.341, allocations: 3.984 kB / 4.039 GB, free: 80.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.399e-05/7.341, allocations: 23.92 kB / 4.039 GB, free: 80.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003969/7.345, allocations: 0.6602 MB / 4.04 GB, free: 79.74 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/7.345, allocations: 7.984 kB / 4.04 GB, free: 79.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001946/7.347, allocations: 1.044 MB / 4.041 GB, free: 78.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/7.347, allocations: 0 / 4.041 GB, free: 78.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/7.348, allocations: 0.5827 MB / 4.042 GB, free: 78.06 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/7.349, allocations: 136.8 kB / 4.042 GB, free: 77.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/7.349, allocations: 0 / 4.042 GB, free: 77.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/7.349, allocations: 35.84 kB / 4.042 GB, free: 77.87 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/7.349, allocations: 11.98 kB / 4.042 GB, free: 77.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/7.349, allocations: 11.98 kB / 4.042 GB, free: 77.85 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001082/7.349, allocations: 143.2 kB / 4.042 GB, free: 77.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/7.349, allocations: 0 / 4.042 GB, free: 77.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006209/7.35, allocations: 119.9 kB / 4.042 GB, free: 77.59 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.0009039/7.351, allocations: 0.6366 MB / 4.043 GB, free: 76.95 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006203/7.357, allocations: 0.9792 MB / 4.044 GB, free: 75.97 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/7.357, allocations: 4 kB / 4.044 GB, free: 75.97 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001503/7.358, allocations: 351.6 kB / 4.044 GB, free: 75.62 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/7.359, allocations: 30.39 kB / 4.044 GB, free: 75.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007054/7.359, allocations: 456.9 kB / 4.044 GB, free: 75.12 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/7.36, allocations: 0.7095 MB / 4.045 GB, free: 74.38 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.464e-05/7.36, allocations: 16.53 kB / 4.045 GB, free: 74.37 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.377e-05/7.36, allocations: 11.62 kB / 4.045 GB, free: 74.36 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/7.36, allocations: 7.938 kB / 4.045 GB, free: 74.35 MB / 394.7 MB Notification: Performance of Templates: time 0.01415/7.374, allocations: 12.24 MB / 4.057 GB, free: 62.1 MB / 394.7 MB make -j1 -f FCSys_FCSys.Characteristics.Examples.HydrationLevel.makefile make -j1 -f FCSys_FCSys.Characteristics.Examples.HydrationLevel.makefile b'clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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\nFCSys_FCSys.Characteristics.Examples.HydrationLevel.c:104:73: error: use of undeclared identifier \'b_v\'\n array_alloc_scalar_real_array(&tmp1, 1, (modelica_real)real_array_get(b_v, 2, ((modelica_integer) 1), ((modelica_integer) 1)));\n ^\nFCSys_FCSys.Characteristics.Examples.HydrationLevel.c:228:88: error: use of undeclared identifier \'b_v\'\n data->localData[0]->realVars[10] /* lambda variable */ = DIVISION_SIM(real_array_get(b_v, 2, ((modelica_integer) 1), ((modelica_integer) 1)),data->localData[0]->realVars[7] /* $cse8 variable */,"$cse8",equationIndexes);\n ^\nFCSys_FCSys.Characteristics.Examples.HydrationLevel.c:527:14: warning: incompatible pointer types assigning to \'void (*)(threadData_t *, FILE_INFO, const char *, ...) __attribute__((noreturn))\' (aka \'void (*)(struct threadData_s *, struct _FILE_INFO, const char *, ...) __attribute__((noreturn))\') from \'void (threadData_t *, FILE_INFO, const char *, ...)\' (aka \'void (struct threadData_s *, struct _FILE_INFO, const char *, ...)\') [-Wincompatible-pointer-types]\n omc_assert = omc_assert_simulation;\n ^ ~~~~~~~~~~~~~~~~~~~~~\nFCSys_FCSys.Characteristics.Examples.HydrationLevel.c:533:13: warning: incompatible pointer types assigning to \'void (*)(threadData_t *) __attribute__((noreturn))\' (aka \'void (*)(struct threadData_s *) __attribute__((noreturn))\') from \'void (threadData_t *)\' (aka \'void (struct threadData_s *)\') [-Wincompatible-pointer-types]\n omc_throw = omc_throw_simulation;\n ^ ~~~~~~~~~~~~~~~~~~~~\n2 warnings and 2 errors generated.\nmake: *** [: FCSys_FCSys.Characteristics.Examples.HydrationLevel.o] Error 1\n'