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: "" <> buildModelFMU(FCSys.Characteristics.Examples.SurfaceTension,fileNamePrefix="FCSys_FCSys_Characteristics_Examples_SurfaceTension",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FCSys.Characteristics.Examples.SurfaceTension,fileNamePrefix="FCSys_FCSys_Characteristics_Examples_SurfaceTension",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001599/0.001599, 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.1685/0.1685, allocations: 17.61 MB / 30.87 MB, free: 3.152 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.82/1.82, 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.001679/0.001679, allocations: 111.5 kB / 250.4 MB, free: 8.289 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.319e-05/4.321e-05, allocations: 7.984 kB / 301.7 MB, free: 8.691 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1143, allocations: 43.31 MB / 345 MB, free: 13.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4412/0.5555, allocations: 110.1 MB / 455.1 MB, free: 2.273 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.5559, allocations: 75.97 kB / 455.2 MB, free: 2.199 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06163/0.6175, allocations: 20.78 MB / 476 MB, free: 13.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6176, allocations: 0 / 476 MB, free: 13.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.6176, allocations: 0 / 476 MB, free: 13.46 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.000905/0.6185, allocations: 434.1 kB / 476.4 MB, free: 12.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.894e-05/0.6186, allocations: 8.031 kB / 476.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.878e-05/0.6187, allocations: 41.22 kB / 476.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.016/0.6347, allocations: 2.594 MB / 479.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.635, allocations: 171 kB / 479.2 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.635, allocations: 4 kB / 479.2 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.6351, allocations: 12.27 kB / 479.2 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005422/0.6357, allocations: 289.2 kB / 479.5 MB, free: 9.824 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.6357, allocations: 0 / 479.5 MB, free: 9.824 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.595e-05/0.6357, allocations: 6.281 kB / 479.5 MB, free: 9.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.6358, allocations: 4 kB / 479.5 MB, free: 9.816 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000393/0.6362, allocations: 203.8 kB / 479.7 MB, free: 9.617 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.023/0.6592, allocations: 3.501 MB / 483.2 MB, free: 6.094 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/0.661, allocations: 498.1 kB / 483.7 MB, free: 5.598 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002949/0.6613, allocations: 172.8 kB / 483.9 MB, free: 5.426 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.6614, allocations: 0 / 483.9 MB, free: 5.426 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.6614, allocations: 38.59 kB / 483.9 MB, free: 5.379 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.6614, allocations: 0 / 483.9 MB, free: 5.379 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008434/0.6623, allocations: 385.3 kB / 484.3 MB, free: 4.996 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.6623, allocations: 55.41 kB / 484.4 MB, free: 4.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.747e-05/0.6624, allocations: 105 kB / 484.5 MB, free: 4.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/0.6625, allocations: 25.7 kB / 484.5 MB, free: 4.789 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.445e-05/0.6626, allocations: 88.05 kB / 484.6 MB, free: 4.699 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.203e-05/0.6626, allocations: 23.64 kB / 484.6 MB, free: 4.676 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.74e-05/0.6627, allocations: 4 kB / 484.6 MB, free: 4.672 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.6628, allocations: 318.8 kB / 484.9 MB, free: 4.352 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/0.6631, allocations: 159.9 kB / 485.1 MB, free: 4.195 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/0.6633, allocations: 163.9 kB / 485.2 MB, free: 4.035 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.6636, allocations: 147.9 kB / 485.4 MB, free: 3.891 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.6636, allocations: 0 / 485.4 MB, free: 3.891 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007037/0.6643, allocations: 393.3 kB / 485.7 MB, free: 3.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.6643, allocations: 4 kB / 485.8 MB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.6644, allocations: 4 kB / 485.8 MB, free: 3.492 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.6644, allocations: 2.812 kB / 485.8 MB, free: 3.492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.09148/0.7559, allocations: 10.55 MB / 496.3 MB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003667/0.7596, allocations: 1.946 MB / 498.3 MB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/0.76, allocations: 44.09 kB / 498.3 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.616e-05/0.7601, allocations: 31.95 kB / 498.3 MB, free: 6.859 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.0001809/0.7603, allocations: 115.1 kB / 498.4 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.819e-05/0.7604, allocations: 0 / 498.4 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003633/0.764, allocations: 1.174 MB / 499.6 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.764, allocations: 0 / 499.6 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.764, allocations: 4 kB / 499.6 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.764, allocations: 0 / 499.6 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004828/0.7645, allocations: 382.4 kB / 500 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.7645, allocations: 0 / 500 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.7647, allocations: 47.95 kB / 0.4883 GB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3121/1.077, allocations: 5.822 MB / 0.494 GB, free: 108.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002438/1.077, allocations: 22.88 kB / 0.494 GB, free: 108.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003815/1.081, allocations: 1.953 MB / 0.4959 GB, free: 107.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.081, allocations: 5 kB / 0.4959 GB, free: 107.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003134/1.084, allocations: 1.08 MB / 0.497 GB, free: 107.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.313e-05/1.084, allocations: 92.89 kB / 0.4971 GB, free: 107 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.79e-05/1.084, allocations: 11.41 kB / 0.4971 GB, free: 107 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003359/1.085, allocations: 48.89 kB / 0.4971 GB, free: 107 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.963e-05/1.085, allocations: 22.33 kB / 0.4972 GB, free: 107 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.283e-05/1.085, allocations: 35.55 kB / 0.4972 GB, free: 107 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.883e-05/1.085, allocations: 85.25 kB / 0.4973 GB, free: 106.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/1.085, allocations: 0 / 0.4973 GB, free: 106.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005757/1.085, allocations: 89.02 kB / 0.4974 GB, free: 106.9 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.004103/1.09, allocations: 1.984 MB / 0.4993 GB, free: 106.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.09859/1.188, allocations: 10.99 MB / 0.51 GB, free: 106.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/1.188, allocations: 1.469 kB / 0.51 GB, free: 106.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003122/1.191, allocations: 0.6277 MB / 0.5107 GB, free: 106.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/1.192, allocations: 11.83 kB / 0.5107 GB, free: 106.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/1.193, allocations: 391.2 kB / 0.511 GB, free: 106.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/1.193, allocations: 0.7174 MB / 0.5117 GB, free: 105.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001114/1.193, allocations: 20.34 kB / 0.5118 GB, free: 105.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/1.193, allocations: 38.97 kB / 0.5118 GB, free: 105.4 MB / 378.7 MB Notification: Performance of SimCode: time 1.523e-06/1.193, allocations: 5.281 kB / 0.5118 GB, free: 105.4 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02841/1.222, allocations: 7.913 MB / 0.5195 GB, free: 104.8 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002719/1.222, allocations: 169.6 kB / 0.5197 GB, free: 104.6 MB / 378.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o FCSys_FCSys_Characteristics_Examples_SurfaceTension.o FCSys_FCSys_Characteristics_Examples_SurfaceTension.c In file included from FCSys_FCSys_Characteristics_Examples_SurfaceTension.c:7: In file included from ./FCSys_FCSys_Characteristics_Examples_SurfaceTension_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ FCSys_FCSys_Characteristics_Examples_SurfaceTension.c:193:82: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp6, 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:193:78: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp6, 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:193:108: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp6, 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:193:104: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp6, 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:193:143: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp6, 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:193:139: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp6, 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:207:82: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp7, 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:207:78: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp7, 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:207:108: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp7, 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:207:104: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp7, 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:311: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:313:65: error: use of undeclared identifier 'T_lim_c' tmp2 = Less(data->localData[0]->realVars[22] /* T variable */,T_lim_c[2]); ^ 7 warnings and 7 errors generated. make: *** [: FCSys_FCSys_Characteristics_Examples_SurfaceTension.o] Error 1