Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FCSys_FCSys.Characteristics.Examples.SurfaceTension.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.SurfaceTension,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="FCSys_FCSys.Characteristics.Examples.SurfaceTension") translateModel(FCSys.Characteristics.Examples.SurfaceTension,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="FCSys_FCSys.Characteristics.Examples.SurfaceTension") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009971/0.009971, allocations: 165.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo): time 0.1373/0.1373, allocations: 17.63 MB / 33.47 MB, free: 1.422 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.743/1.743, allocations: 170.7 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.001828/0.001827, allocations: 109.4 kB / 253.6 MB, free: 8.297 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004403/0.0004403, allocations: 16 kB / 307.4 MB, free: 2.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3192, allocations: 43.3 MB / 350.7 MB, free: 36.09 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4681/0.7874, allocations: 110.2 MB / 460.9 MB, free: 45.13 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/0.7878, allocations: 80.97 kB / 461 MB, free: 45.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05766/0.8455, allocations: 20.83 MB / 481.8 MB, free: 41.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.8456, allocations: 0 / 481.8 MB, free: 41.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.8456, allocations: 3.781 kB / 481.8 MB, free: 41.23 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008063/0.8464, allocations: 440.9 kB / 482.3 MB, free: 40.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.8465, allocations: 7.719 kB / 482.3 MB, free: 40.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01424/0.8607, allocations: 2.581 MB / 484.9 MB, free: 39.56 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.861, allocations: 166.8 kB / 485 MB, free: 39.36 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.861, allocations: 7.484 kB / 485 MB, free: 39.36 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.796e-05/0.8611, allocations: 4.219 kB / 485 MB, free: 39.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007342/0.8618, allocations: 369.7 kB / 485.4 MB, free: 39.19 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.8619, allocations: 3.938 kB / 485.4 MB, free: 39.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/0.8619, allocations: 3.875 kB / 485.4 MB, free: 39.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.8619, allocations: 0 / 485.4 MB, free: 39.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006859/0.8626, allocations: 318.4 kB / 485.7 MB, free: 39.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02157/0.8842, allocations: 3.453 MB / 489.2 MB, free: 37.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002158/0.8864, allocations: 0.6421 MB / 489.8 MB, free: 37.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.8865, allocations: 11.62 kB / 489.8 MB, free: 37.53 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.8865, allocations: 34.19 kB / 489.9 MB, free: 37.49 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 3.467e-06/0.8865, allocations: 0 / 489.9 MB, free: 37.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.001805/0.8883, allocations: 0.7928 MB / 490.6 MB, free: 37.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.8884, allocations: 55.41 kB / 490.7 MB, free: 37.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.613e-05/0.8884, allocations: 104.6 kB / 490.8 MB, free: 37.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/0.8885, allocations: 25.7 kB / 490.8 MB, free: 37.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.903e-05/0.8885, allocations: 80.14 kB / 490.9 MB, free: 36.97 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.995e-05/0.8886, allocations: 22.77 kB / 490.9 MB, free: 36.96 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.8886, allocations: 0 / 490.9 MB, free: 36.96 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.8887, allocations: 314.6 kB / 491.2 MB, free: 36.64 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004926/0.8892, allocations: 250.6 kB / 491.5 MB, free: 36.58 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004971/0.8897, allocations: 253.8 kB / 491.7 MB, free: 36.51 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004767/0.8902, allocations: 235.5 kB / 492 MB, free: 36.45 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8902, allocations: 0 / 492 MB, free: 36.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.001124/0.8914, allocations: 0.5533 MB / 492.5 MB, free: 36.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.8914, allocations: 7.875 kB / 492.5 MB, free: 36.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.8914, allocations: 0 / 492.5 MB, free: 36.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.8914, allocations: 0 / 492.5 MB, free: 36.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.08393/0.9754, allocations: 10.55 MB / 0.4913 GB, free: 29.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003727/0.9792, allocations: 2.101 MB / 0.4933 GB, free: 27.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003772/0.9796, allocations: 48.05 kB / 0.4934 GB, free: 27.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.903e-05/0.9797, allocations: 39.64 kB / 0.4934 GB, free: 27.52 MB / 330.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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001641/0.9798, allocations: 114.4 kB / 0.4935 GB, free: 27.4 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/0.9799, allocations: 4 kB / 0.4935 GB, free: 27.4 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004054/0.984, allocations: 1.405 MB / 0.4949 GB, free: 26.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.984, allocations: 3.938 kB / 0.4949 GB, free: 26.1 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.984, allocations: 4 kB / 0.4949 GB, free: 26.1 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.984, allocations: 0 / 0.4949 GB, free: 26.1 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000402/0.9844, allocations: 375.9 kB / 0.4953 GB, free: 25.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.9845, allocations: 0 / 0.4953 GB, free: 25.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.9846, allocations: 43.95 kB / 0.4953 GB, free: 25.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04639/1.031, allocations: 5.941 MB / 0.5011 GB, free: 19.85 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000221/1.031, allocations: 23.33 kB / 0.5011 GB, free: 19.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004251/1.036, allocations: 2.128 MB / 0.5032 GB, free: 17.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/1.036, allocations: 0 / 0.5032 GB, free: 17.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003634/1.039, allocations: 1.319 MB / 0.5045 GB, free: 16.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/1.039, allocations: 88.95 kB / 0.5046 GB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.469e-05/1.039, allocations: 3.312 kB / 0.5046 GB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003388/1.04, allocations: 51.52 kB / 0.5046 GB, free: 16.33 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.747e-05/1.04, allocations: 27.59 kB / 0.5047 GB, free: 16.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-05/1.04, allocations: 27.97 kB / 0.5047 GB, free: 16.28 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.619e-05/1.04, allocations: 90.58 kB / 0.5048 GB, free: 16.19 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.21e-07/1.04, allocations: 0 / 0.5048 GB, free: 16.19 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005855/1.041, allocations: 91.5 kB / 0.5049 GB, free: 16.11 MB / 330.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003892/1.041, allocations: 170.1 kB / 0.505 GB, free: 15.94 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.09381/1.135, allocations: 11.16 MB / 0.5159 GB, free: 5.055 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/1.135, allocations: 0 / 0.5159 GB, free: 5.055 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002918/1.138, allocations: 0.707 MB / 0.5166 GB, free: 4.391 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/1.138, allocations: 13.75 kB / 0.5166 GB, free: 4.383 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/1.139, allocations: 0.5371 MB / 0.5172 GB, free: 3.859 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/1.139, allocations: 0.7121 MB / 0.5178 GB, free: 3.117 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001124/1.14, allocations: 28.91 kB / 0.5179 GB, free: 3.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.165e-05/1.14, allocations: 19.42 kB / 0.5179 GB, free: 3.07 MB / 330.7 MB Notification: Performance of SimCode: time 2.074e-06/1.14, allocations: 0 / 0.5179 GB, free: 3.07 MB / 330.7 MB Notification: Performance of Templates: time 0.01146/1.151, allocations: 6.808 MB / 0.5245 GB, free: 12.27 MB / 346.7 MB make -j1 -f FCSys_FCSys.Characteristics.Examples.SurfaceTension.makefile make -j1 -f FCSys_FCSys.Characteristics.Examples.SurfaceTension.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_SurfaceTension -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o FCSys_FCSys.Characteristics.Examples.SurfaceTension.o FCSys_FCSys.Characteristics.Examples.SurfaceTension.c FCSys_FCSys.Characteristics.Examples.SurfaceTension.c:199:93: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp7, 4, (modelica_real)0.0, (modelica_real)real_array_get(b_v, 2, ((modelica_integer) 2), ((modelica_integer) 3)), (modelica_real)(real_array_get(b_v, 2, ((modelica_integer) 2), ((modelica_integer) 2))) * (2.0), (modelica_real)(real_array_get(b_v, 2, ((modelica_integer) 2), ((modelica_integer) 1))) * (3.0)); ^ FCSys_FCSys.Characteristics.Examples.SurfaceTension.c:199:181: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp7, 4, (modelica_real)0.0, (modelica_real)real_array_get(b_v, 2, ((modelica_integer) 2), ((modelica_integer) 3)), (modelica_real)(real_array_get(b_v, 2, ((modelica_integer) 2), ((modelica_integer) 2))) * (2.0), (modelica_real)(real_array_get(b_v, 2, ((modelica_integer) 2), ((modelica_integer) 1))) * (3.0)); ^ FCSys_FCSys.Characteristics.Examples.SurfaceTension.c:199:278: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp7, 4, (modelica_real)0.0, (modelica_real)real_array_get(b_v, 2, ((modelica_integer) 2), ((modelica_integer) 3)), (modelica_real)(real_array_get(b_v, 2, ((modelica_integer) 2), ((modelica_integer) 2))) * (2.0), (modelica_real)(real_array_get(b_v, 2, ((modelica_integer) 2), ((modelica_integer) 1))) * (3.0)); ^ FCSys_FCSys.Characteristics.Examples.SurfaceTension.c:213:93: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp8, 3, (modelica_real)0.0, (modelica_real)real_array_get(b_v, 2, ((modelica_integer) 1), ((modelica_integer) 2)), (modelica_real)(real_array_get(b_v, 2, ((modelica_integer) 1), ((modelica_integer) 1))) * (2.0)); ^ FCSys_FCSys.Characteristics.Examples.SurfaceTension.c:213:181: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp8, 3, (modelica_real)0.0, (modelica_real)real_array_get(b_v, 2, ((modelica_integer) 1), ((modelica_integer) 2)), (modelica_real)(real_array_get(b_v, 2, ((modelica_integer) 1), ((modelica_integer) 1))) * (2.0)); ^ FCSys_FCSys.Characteristics.Examples.SurfaceTension.c:317:80: error: use of undeclared identifier 'T_lim_c' tmp0 = Less(data->localData[0]->realVars[22] /* T variable */,real_array_get(T_lim_c, 1, ((modelica_integer) 2))); ^ FCSys_FCSys.Characteristics.Examples.SurfaceTension.c:319:80: error: use of undeclared identifier 'T_lim_c' tmp2 = Less(data->localData[0]->realVars[22] /* T variable */,real_array_get(T_lim_c, 1, ((modelica_integer) 2))); ^ 7 errors generated. make: *** [: FCSys_FCSys.Characteristics.Examples.SurfaceTension.o] Error 1