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.001119/0.001119, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo): time 0.1344/0.1344, allocations: 17.63 MB / 25.7 MB, free: 0.5234 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.557/1.557, allocations: 170.6 MB / 201.3 MB, free: 4.582 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.001867/0.001867, allocations: 105.6 kB / 245.1 MB, free: 13.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.372e-05/2.376e-05, allocations: 4 kB / 294.6 MB, free: 11.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3203, allocations: 43.29 MB / 337.9 MB, free: 37.73 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1593/0.4797, allocations: 109.5 MB / 447.4 MB, free: 11.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003332/0.4801, allocations: 75.95 kB / 447.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3095/0.7895, allocations: 20.62 MB / 468.1 MB, free: 106.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.7896, allocations: 1.031 kB / 468.1 MB, free: 106.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.7896, allocations: 0 / 468.1 MB, free: 106.5 MB / 346.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.0008586/0.7905, allocations: 426.2 kB / 468.5 MB, free: 106.1 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/0.7906, allocations: 11.03 kB / 468.5 MB, free: 106.1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01588/0.8065, allocations: 2.601 MB / 471.1 MB, free: 104.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.8067, allocations: 163 kB / 471.3 MB, free: 104.6 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.8068, allocations: 4.219 kB / 471.3 MB, free: 104.6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.807, allocations: 0 / 471.3 MB, free: 104.6 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004812/0.8074, allocations: 213.3 kB / 471.5 MB, free: 104.6 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004803/0.8079, allocations: 273 kB / 471.8 MB, free: 104.4 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.808, allocations: 0 / 471.8 MB, free: 104.4 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.301e-05/0.808, allocations: 0 / 471.8 MB, free: 104.4 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.808, allocations: 1.219 kB / 471.8 MB, free: 104.4 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02032/0.8284, allocations: 3.432 MB / 475.2 MB, free: 103.1 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.8299, allocations: 0.4894 MB / 475.7 MB, free: 102.9 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/0.8302, allocations: 169.6 kB / 475.8 MB, free: 102.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.8302, allocations: 3.281 kB / 475.8 MB, free: 102.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.8303, allocations: 34.56 kB / 475.9 MB, free: 102.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 3.387e-06/0.8303, allocations: 3.844 kB / 475.9 MB, free: 102.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.05013/0.8804, allocations: 6.929 MB / 482.8 MB, free: 96.21 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.8805, allocations: 55.41 kB / 482.9 MB, free: 96.15 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.105e-05/0.8806, allocations: 97.06 kB / 483 MB, free: 96.05 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.547e-05/0.8807, allocations: 25.7 kB / 483 MB, free: 96.02 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.67e-05/0.8807, allocations: 84.08 kB / 483.1 MB, free: 95.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.869e-05/0.8808, allocations: 23.7 kB / 483.1 MB, free: 95.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.8808, allocations: 1.969 kB / 483.1 MB, free: 95.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.154e-05/0.8809, allocations: 318.8 kB / 483.4 MB, free: 95.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.8811, allocations: 163.9 kB / 483.6 MB, free: 95.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.8812, allocations: 159.9 kB / 483.7 MB, free: 95.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04948/0.9307, allocations: 6.695 MB / 490.4 MB, free: 88.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/0.9308, allocations: 3.938 kB / 490.4 MB, free: 88.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.05054/0.9813, allocations: 6.934 MB / 497.3 MB, free: 81.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.858e-05/0.9814, allocations: 4.781 kB / 497.4 MB, free: 81.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.9815, allocations: 3.75 kB / 497.4 MB, free: 81.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/0.9815, allocations: 3.984 kB / 497.4 MB, free: 81.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1132/1.095, allocations: 13.99 MB / 0.4994 GB, free: 67.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03224/1.127, allocations: 5.709 MB / 0.5049 GB, free: 61.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000542/1.128, allocations: 44 kB / 0.505 GB, free: 61.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/1.128, allocations: 42.53 kB / 0.505 GB, free: 61.75 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: p_sat:VARIABLE(min = 0.0 unit = "M/(L.T2)" ) "Saturation pressure" type: Real 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.00027/1.128, allocations: 112.8 kB / 0.5051 GB, free: 61.64 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.493e-05/1.128, allocations: 3.984 kB / 0.5051 GB, free: 61.63 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06064/1.189, allocations: 8.741 MB / 0.5137 GB, free: 52.88 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/1.189, allocations: 4 kB / 0.5137 GB, free: 52.87 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.189, allocations: 1.406 kB / 0.5137 GB, free: 52.87 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/1.189, allocations: 0 / 0.5137 GB, free: 52.87 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004184/1.189, allocations: 327.8 kB / 0.514 GB, free: 52.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/1.189, allocations: 0 / 0.514 GB, free: 52.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/1.19, allocations: 39.95 kB / 0.514 GB, free: 52.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003152/1.193, allocations: 0.8674 MB / 0.5149 GB, free: 51.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.33e-05/1.193, allocations: 15.97 kB / 0.5149 GB, free: 51.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04639/1.239, allocations: 7.314 MB / 0.522 GB, free: 44.22 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-05/1.239, allocations: 4.031 kB / 0.522 GB, free: 44.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06126/1.301, allocations: 8.664 MB / 0.5305 GB, free: 35.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.321e-05/1.301, allocations: 88.95 kB / 0.5306 GB, free: 35.42 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.09e-05/1.301, allocations: 3.938 kB / 0.5306 GB, free: 35.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003574/1.301, allocations: 51.95 kB / 0.5306 GB, free: 35.36 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.183e-05/1.301, allocations: 15.97 kB / 0.5307 GB, free: 35.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.887e-05/1.301, allocations: 35.97 kB / 0.5307 GB, free: 35.31 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.268e-05/1.301, allocations: 88.48 kB / 0.5308 GB, free: 35.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.301, allocations: 0 / 0.5308 GB, free: 35.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006212/1.302, allocations: 83.94 kB / 0.5309 GB, free: 35.14 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 () * 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.0005075/1.303, allocations: 165.9 kB / 0.531 GB, free: 34.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.1247/1.427, allocations: 14.41 MB / 0.5451 GB, free: 20.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/1.427, allocations: 4 kB / 0.5451 GB, free: 20.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002593/1.43, allocations: 0.6242 MB / 0.5457 GB, free: 19.93 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/1.43, allocations: 7.953 kB / 0.5457 GB, free: 19.92 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000626/1.431, allocations: 304.4 kB / 0.546 GB, free: 19.6 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/1.431, allocations: 0.709 MB / 0.5467 GB, free: 18.86 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001105/1.431, allocations: 24.86 kB / 0.5467 GB, free: 18.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.269e-05/1.431, allocations: 27.42 kB / 0.5467 GB, free: 18.81 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/1.431, allocations: 0 / 0.5467 GB, free: 18.81 MB / 346.7 MB Notification: Performance of Templates: time 0.01061/1.442, allocations: 6.028 MB / 0.5526 GB, free: 12.84 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 -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/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:182:78: error: use of undeclared identifier '$Pb_v$lB2$c3$rB' array_alloc_scalar_real_array(&tmp7, 4, (modelica_real)0.0, (modelica_real)$Pb_v$lB2$c3$rB, (modelica_real)($Pb_v$lB2$c2$rB) * (2.0), (modelica_real)($Pb_v$lB2$c1$rB) * (3.0)); ^ FCSys_FCSys.Characteristics.Examples.SurfaceTension.c:182:111: error: use of undeclared identifier '$Pb_v$lB2$c2$rB' array_alloc_scalar_real_array(&tmp7, 4, (modelica_real)0.0, (modelica_real)$Pb_v$lB2$c3$rB, (modelica_real)($Pb_v$lB2$c2$rB) * (2.0), (modelica_real)($Pb_v$lB2$c1$rB) * (3.0)); ^ FCSys_FCSys.Characteristics.Examples.SurfaceTension.c:182:153: error: use of undeclared identifier '$Pb_v$lB2$c1$rB' array_alloc_scalar_real_array(&tmp7, 4, (modelica_real)0.0, (modelica_real)$Pb_v$lB2$c3$rB, (modelica_real)($Pb_v$lB2$c2$rB) * (2.0), (modelica_real)($Pb_v$lB2$c1$rB) * (3.0)); ^ FCSys_FCSys.Characteristics.Examples.SurfaceTension.c:196:78: error: use of undeclared identifier '$Pb_v$lB1$c2$rB' array_alloc_scalar_real_array(&tmp8, 3, (modelica_real)0.0, (modelica_real)$Pb_v$lB1$c2$rB, (modelica_real)($Pb_v$lB1$c1$rB) * (2.0)); ^ FCSys_FCSys.Characteristics.Examples.SurfaceTension.c:196:111: error: use of undeclared identifier '$Pb_v$lB1$c1$rB' array_alloc_scalar_real_array(&tmp8, 3, (modelica_real)0.0, (modelica_real)$Pb_v$lB1$c2$rB, (modelica_real)($Pb_v$lB1$c1$rB) * (2.0)); ^ FCSys_FCSys.Characteristics.Examples.SurfaceTension.c:300:65: error: use of undeclared identifier '$PT_lim_c$lB2$rB' tmp0 = Less(data->localData[0]->realVars[22] /* T variable */,$PT_lim_c$lB2$rB); ^ FCSys_FCSys.Characteristics.Examples.SurfaceTension.c:302:65: error: use of undeclared identifier '$PT_lim_c$lB2$rB' tmp2 = Less(data->localData[0]->realVars[22] /* T variable */,$PT_lim_c$lB2$rB); ^ 7 errors generated. make: *** [: FCSys_FCSys.Characteristics.Examples.SurfaceTension.o] Error 1