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.001363/0.001363, 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.1821/0.1821, 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.877/1.877, allocations: 170.6 MB / 206.5 MB, free: 5.605 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.001904/0.001905, allocations: 113 kB / 250.4 MB, free: 8.297 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.177e-05/5.178e-05, allocations: 224 / 301.6 MB, free: 8.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1579, allocations: 43.32 MB / 344.9 MB, free: 13.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5033/0.6613, allocations: 110.1 MB / 455 MB, free: 2.379 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004041/0.6618, allocations: 76.62 kB / 455.1 MB, free: 2.305 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0635/0.7253, allocations: 20.79 MB / 475.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.457e-06/0.7254, allocations: 0 / 475.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.7254, allocations: 0 / 475.9 MB, free: 13.55 MB / 362.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.001047/0.7265, allocations: 426.2 kB / 476.3 MB, free: 13.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.542e-05/0.7266, allocations: 11.97 kB / 476.3 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01555/0.7421, allocations: 2.596 MB / 478.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.7424, allocations: 159.1 kB / 479.1 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.7424, allocations: 8 kB / 479.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-05/0.7425, allocations: 352 / 479.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005432/0.743, allocations: 287.1 kB / 479.4 MB, free: 9.988 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.7431, allocations: 0 / 479.4 MB, free: 9.988 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.014e-05/0.7431, allocations: 3.938 kB / 479.4 MB, free: 9.984 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.7431, allocations: 4 kB / 479.4 MB, free: 9.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003961/0.7435, allocations: 199.8 kB / 479.6 MB, free: 9.785 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02098/0.7645, allocations: 3.455 MB / 483 MB, free: 6.309 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.7664, allocations: 0.4904 MB / 483.5 MB, free: 5.809 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002991/0.7667, allocations: 171.2 kB / 483.7 MB, free: 5.641 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.7667, allocations: 4 kB / 483.7 MB, free: 5.637 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.98e-05/0.7668, allocations: 38.55 kB / 483.7 MB, free: 5.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.327e-06/0.7668, allocations: 0 / 483.7 MB, free: 5.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008797/0.7677, allocations: 389.3 kB / 484.1 MB, free: 5.203 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.7678, allocations: 55.36 kB / 484.2 MB, free: 5.137 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.059e-05/0.7679, allocations: 93.06 kB / 484.2 MB, free: 5.039 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.746e-05/0.7679, allocations: 29.7 kB / 484.3 MB, free: 5.004 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.768, allocations: 88.12 kB / 484.4 MB, free: 4.914 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6e-05/0.7681, allocations: 19.66 kB / 484.4 MB, free: 4.895 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.7681, allocations: 4 kB / 484.4 MB, free: 4.891 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.7682, allocations: 314.8 kB / 484.7 MB, free: 4.574 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.7685, allocations: 163.9 kB / 484.9 MB, free: 4.414 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.7688, allocations: 159.9 kB / 485 MB, free: 4.258 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.769, allocations: 151.9 kB / 485.2 MB, free: 4.109 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.769, allocations: 0 / 485.2 MB, free: 4.109 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007172/0.7698, allocations: 389.2 kB / 485.5 MB, free: 3.723 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.7698, allocations: 8 kB / 485.5 MB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.7698, allocations: 0 / 485.5 MB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.7698, allocations: 0 / 485.5 MB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.08868/0.8585, allocations: 10.56 MB / 496.1 MB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003677/0.8623, allocations: 1.937 MB / 498 MB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000412/0.8627, allocations: 55.94 kB / 498.1 MB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.8629, allocations: 39.95 kB / 498.1 MB, free: 7.066 MB / 378.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 (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.0001976/0.8631, allocations: 105 kB / 498.2 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.668e-05/0.8632, allocations: 6.812 kB / 498.2 MB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003706/0.8669, allocations: 1.166 MB / 499.4 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.8669, allocations: 4 kB / 499.4 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.8669, allocations: 4 kB / 499.4 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.8669, allocations: 3.984 kB / 499.4 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005789/0.8675, allocations: 378.5 kB / 499.8 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.8675, allocations: 0 / 499.8 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.8677, allocations: 39.91 kB / 499.8 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3811/1.249, allocations: 5.827 MB / 0.4938 GB, free: 108.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000244/1.249, allocations: 21.06 kB / 0.4938 GB, free: 108.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003803/1.253, allocations: 1.962 MB / 0.4957 GB, free: 107.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/1.253, allocations: 0 / 0.4957 GB, free: 107.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003456/1.257, allocations: 1.076 MB / 0.4968 GB, free: 107.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.952e-05/1.257, allocations: 98.23 kB / 0.4969 GB, free: 107.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.997e-05/1.257, allocations: 6.531 kB / 0.4969 GB, free: 107.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003552/1.257, allocations: 59.17 kB / 0.4969 GB, free: 107.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/1.257, allocations: 14.05 kB / 0.497 GB, free: 107.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-05/1.257, allocations: 32.73 kB / 0.497 GB, free: 107.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.72e-05/1.257, allocations: 86.12 kB / 0.4971 GB, free: 107.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/1.257, allocations: 0 / 0.4971 GB, free: 107.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006572/1.258, allocations: 87.92 kB / 0.4972 GB, free: 107.1 MB / 378.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 () * 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.0005105/1.259, allocations: 173.4 kB / 0.4973 GB, free: 107 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.09837/1.357, allocations: 10.99 MB / 0.5081 GB, free: 107 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/1.357, allocations: 0 / 0.5081 GB, free: 107 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003025/1.36, allocations: 0.6237 MB / 0.5087 GB, free: 107 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/1.36, allocations: 11.89 kB / 0.5087 GB, free: 107 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008728/1.361, allocations: 327.9 kB / 0.509 GB, free: 106.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/1.362, allocations: 0.7143 MB / 0.5097 GB, free: 106.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00014/1.362, allocations: 23.61 kB / 0.5097 GB, free: 106.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.998e-05/1.362, allocations: 25.69 kB / 0.5097 GB, free: 106.2 MB / 378.7 MB Notification: Performance of SimCode: time 1.352e-06/1.362, allocations: 0 / 0.5097 GB, free: 106.2 MB / 378.7 MB Notification: Performance of Templates: time 0.0182/1.38, allocations: 6.435 MB / 0.516 GB, free: 105.8 MB / 378.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:82: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp7, 4, (modelica_real)0.0, (modelica_real)b_v[2,3], (modelica_real)(b_v[2,2]) * (2.0), (modelica_real)(b_v[2,1]) * (3.0)); ^ FCSys_FCSys.Characteristics.Examples.SurfaceTension.c:199:78: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp7, 4, (modelica_real)0.0, (modelica_real)b_v[2,3], (modelica_real)(b_v[2,2]) * (2.0), (modelica_real)(b_v[2,1]) * (3.0)); ^ FCSys_FCSys.Characteristics.Examples.SurfaceTension.c:199:108: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp7, 4, (modelica_real)0.0, (modelica_real)b_v[2,3], (modelica_real)(b_v[2,2]) * (2.0), (modelica_real)(b_v[2,1]) * (3.0)); ^ FCSys_FCSys.Characteristics.Examples.SurfaceTension.c:199:104: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp7, 4, (modelica_real)0.0, (modelica_real)b_v[2,3], (modelica_real)(b_v[2,2]) * (2.0), (modelica_real)(b_v[2,1]) * (3.0)); ^ FCSys_FCSys.Characteristics.Examples.SurfaceTension.c:199:143: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp7, 4, (modelica_real)0.0, (modelica_real)b_v[2,3], (modelica_real)(b_v[2,2]) * (2.0), (modelica_real)(b_v[2,1]) * (3.0)); ^ FCSys_FCSys.Characteristics.Examples.SurfaceTension.c:199:139: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp7, 4, (modelica_real)0.0, (modelica_real)b_v[2,3], (modelica_real)(b_v[2,2]) * (2.0), (modelica_real)(b_v[2,1]) * (3.0)); ^ FCSys_FCSys.Characteristics.Examples.SurfaceTension.c:213:82: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp8, 3, (modelica_real)0.0, (modelica_real)b_v[1,2], (modelica_real)(b_v[1,1]) * (2.0)); ^ FCSys_FCSys.Characteristics.Examples.SurfaceTension.c:213:78: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp8, 3, (modelica_real)0.0, (modelica_real)b_v[1,2], (modelica_real)(b_v[1,1]) * (2.0)); ^ FCSys_FCSys.Characteristics.Examples.SurfaceTension.c:213:108: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp8, 3, (modelica_real)0.0, (modelica_real)b_v[1,2], (modelica_real)(b_v[1,1]) * (2.0)); ^ FCSys_FCSys.Characteristics.Examples.SurfaceTension.c:213:104: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp8, 3, (modelica_real)0.0, (modelica_real)b_v[1,2], (modelica_real)(b_v[1,1]) * (2.0)); ^ FCSys_FCSys.Characteristics.Examples.SurfaceTension.c:317:65: error: use of undeclared identifier 'T_lim_c' tmp0 = Less(data->localData[0]->realVars[22] /* T variable */,T_lim_c[2]); ^ FCSys_FCSys.Characteristics.Examples.SurfaceTension.c:319:65: error: use of undeclared identifier 'T_lim_c' tmp2 = Less(data->localData[0]->realVars[22] /* T variable */,T_lim_c[2]); ^ 5 warnings and 7 errors generated. make: *** [: FCSys_FCSys.Characteristics.Examples.SurfaceTension.o] Error 1