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.001235/0.001235, allocations: 170.4 kB / 15.96 MB, free: 5.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo): time 0.09494/0.09494, allocations: 17.63 MB / 34.34 MB, free: 0.9727 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.297/1.297, allocations: 170.8 MB / 210.4 MB, free: 12.44 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.00152/0.00152, allocations: 118.7 kB / 254.5 MB, free: 0.7305 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003335, allocations: 9.906 kB / 308.5 MB, free: 49.93 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06299/0.06334, allocations: 43.32 MB / 351.8 MB, free: 12.12 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3065/0.3699, allocations: 110.2 MB / 462 MB, free: 22.21 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/0.3701, allocations: 78.52 kB / 462.1 MB, free: 22.21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05306/0.4232, allocations: 20.75 MB / 482.8 MB, free: 13.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4233, allocations: 0 / 482.8 MB, free: 13.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.4233, allocations: 3.562 kB / 482.8 MB, free: 13.09 MB / 314.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.0005793/0.4239, allocations: 438.5 kB / 483.3 MB, free: 12.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.4239, allocations: 12.03 kB / 483.3 MB, free: 12.6 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01508/0.439, allocations: 2.582 MB / 485.9 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.4392, allocations: 168.3 kB / 486 MB, free: 9.961 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.4392, allocations: 384 / 486 MB, free: 9.961 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.699e-05/0.4393, allocations: 12.31 kB / 486 MB, free: 9.949 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007274/0.44, allocations: 367.9 kB / 486.4 MB, free: 9.602 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.44, allocations: 192 / 486.4 MB, free: 9.602 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.836e-05/0.4401, allocations: 3.938 kB / 486.4 MB, free: 9.598 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4401, allocations: 0 / 486.4 MB, free: 9.598 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007345/0.4408, allocations: 330.2 kB / 486.7 MB, free: 9.293 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02148/0.4623, allocations: 3.446 MB / 490.2 MB, free: 5.852 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002159/0.4645, allocations: 0.6461 MB / 490.8 MB, free: 5.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005384/0.4651, allocations: 262.2 kB / 491.1 MB, free: 4.988 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.4651, allocations: 0 / 491.1 MB, free: 4.988 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.4651, allocations: 30.56 kB / 491.1 MB, free: 4.949 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.4651, allocations: 0 / 491.1 MB, free: 4.949 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.001868/0.467, allocations: 0.7922 MB / 491.9 MB, free: 4.195 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.4671, allocations: 58.84 kB / 491.9 MB, free: 4.129 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.467e-05/0.4671, allocations: 105.5 kB / 492 MB, free: 4.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.867e-05/0.4672, allocations: 25.7 kB / 492.1 MB, free: 3.988 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.168e-05/0.4672, allocations: 84.14 kB / 492.2 MB, free: 3.902 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.865e-05/0.4673, allocations: 27.45 kB / 492.2 MB, free: 3.879 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/0.4673, allocations: 0 / 492.2 MB, free: 3.879 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.748e-05/0.4673, allocations: 318.8 kB / 492.5 MB, free: 3.562 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005309/0.4679, allocations: 250.3 kB / 492.7 MB, free: 3.332 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005147/0.4684, allocations: 246 kB / 493 MB, free: 3.105 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.4694, allocations: 484.5 kB / 493.5 MB, free: 2.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4694, allocations: 0 / 493.5 MB, free: 2.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.001206/0.4706, allocations: 0.552 MB / 494 MB, free: 2.133 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.4707, allocations: 11.94 kB / 494 MB, free: 2.121 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4707, allocations: 0 / 494 MB, free: 2.121 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.4707, allocations: 0 / 494 MB, free: 2.121 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.09031/0.561, allocations: 10.56 MB / 0.4927 GB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004503/0.5656, allocations: 2.226 MB / 0.4949 GB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003421/0.5659, allocations: 51.67 kB / 0.495 GB, free: 5.488 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-05/0.566, allocations: 35.95 kB / 0.495 GB, free: 5.453 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.0001273/0.5662, allocations: 109.2 kB / 0.4951 GB, free: 5.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.497e-05/0.5662, allocations: 11.84 kB / 0.4951 GB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0044/0.5706, allocations: 1.391 MB / 0.4965 GB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.5706, allocations: 0 / 0.4965 GB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5707, allocations: 7.938 kB / 0.4965 GB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.5707, allocations: 7.938 kB / 0.4965 GB, free: 4.031 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004449/0.5711, allocations: 375.8 kB / 0.4969 GB, free: 3.641 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.5711, allocations: 0 / 0.4969 GB, free: 3.641 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.5713, allocations: 39.95 kB / 0.4969 GB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.05043/0.6217, allocations: 5.949 MB / 0.5027 GB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001609/0.622, allocations: 19.28 kB / 0.5027 GB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004347/0.6263, allocations: 2.123 MB / 0.5048 GB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.6263, allocations: 0 / 0.5048 GB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003922/0.6303, allocations: 1.32 MB / 0.5061 GB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.824e-05/0.6303, allocations: 88.95 kB / 0.5062 GB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.856e-05/0.6304, allocations: 7.188 kB / 0.5062 GB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003677/0.6308, allocations: 55.39 kB / 0.5062 GB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.003e-05/0.6308, allocations: 15.97 kB / 0.5062 GB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.726e-05/0.6309, allocations: 35.47 kB / 0.5063 GB, free: 10.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.549e-05/0.631, allocations: 90.89 kB / 0.5064 GB, free: 10.11 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.631, allocations: 0 / 0.5064 GB, free: 10.11 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005216/0.6315, allocations: 87.53 kB / 0.5064 GB, free: 10.03 MB / 346.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.000357/0.6319, allocations: 166.9 kB / 0.5066 GB, free: 9.867 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.1056/0.7376, allocations: 11.71 MB / 0.518 GB, free: 14.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.7376, allocations: 0 / 0.518 GB, free: 14.42 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003078/0.7407, allocations: 0.7102 MB / 0.5187 GB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.7411, allocations: 19.3 kB / 0.5188 GB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.7422, allocations: 0.5218 MB / 0.5193 GB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.7425, allocations: 0.712 MB / 0.52 GB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001401/0.7426, allocations: 32.89 kB / 0.52 GB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.946e-05/0.7427, allocations: 23.36 kB / 0.52 GB, free: 12.44 MB / 362.7 MB Notification: Performance of SimCode: time 1.462e-06/0.7427, allocations: 0 / 0.52 GB, free: 12.44 MB / 362.7 MB Notification: Performance of Templates: time 0.01069/0.7534, allocations: 6.81 MB / 0.5267 GB, free: 5.629 MB / 362.7 MB make -j1 -f FCSys_FCSys.Characteristics.Examples.SurfaceTension.makefile make -j1 -f FCSys_FCSys.Characteristics.Examples.SurfaceTension.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_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\nFCSys_FCSys.Characteristics.Examples.SurfaceTension.c:208:93: error: use of undeclared identifier \'b_v\'\n 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));\n ^\nFCSys_FCSys.Characteristics.Examples.SurfaceTension.c:208:181: error: use of undeclared identifier \'b_v\'\n 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));\n ^\nFCSys_FCSys.Characteristics.Examples.SurfaceTension.c:208:278: error: use of undeclared identifier \'b_v\'\n 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));\n ^\nFCSys_FCSys.Characteristics.Examples.SurfaceTension.c:222:93: error: use of undeclared identifier \'b_v\'\n 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));\n ^\nFCSys_FCSys.Characteristics.Examples.SurfaceTension.c:222:181: error: use of undeclared identifier \'b_v\'\n 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));\n ^\nFCSys_FCSys.Characteristics.Examples.SurfaceTension.c:326:80: error: use of undeclared identifier \'T_lim_c\'\n tmp0 = Less(data->localData[0]->realVars[22] /* T variable */,real_array_get(T_lim_c, 1, ((modelica_integer) 2)));\n ^\nFCSys_FCSys.Characteristics.Examples.SurfaceTension.c:328:80: error: use of undeclared identifier \'T_lim_c\'\n tmp2 = Less(data->localData[0]->realVars[22] /* T variable */,real_array_get(T_lim_c, 1, ((modelica_integer) 2)));\n ^\nFCSys_FCSys.Characteristics.Examples.SurfaceTension.c:637: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.SurfaceTension.c:643: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 7 errors generated.\nmake: *** [: FCSys_FCSys.Characteristics.Examples.SurfaceTension.o] Error 1\n'