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.009923/0.009923, allocations: 165.4 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo): time 0.1531/0.1531, allocations: 17.62 MB / 33.47 MB, free: 1.418 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.601/1.601, allocations: 170.8 MB / 209.5 MB, free: 0 / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00209/0.00209, allocations: 121.4 kB / 253.6 MB, free: 8.301 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004251/0.0004252, allocations: 12 kB / 307.5 MB, free: 2.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3126, allocations: 43.29 MB / 350.8 MB, free: 36.05 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3939/0.7066, allocations: 110.2 MB / 461 MB, free: 45.19 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/0.707, allocations: 78.84 kB / 461.1 MB, free: 45.19 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05962/0.7666, allocations: 20.84 MB / 482 MB, free: 41.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.125e-06/0.7666, allocations: 0 / 482 MB, free: 41.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.7667, allocations: 3.938 kB / 482 MB, free: 41.25 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.0008345/0.7675, allocations: 441.7 kB / 482.4 MB, free: 40.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.195e-05/0.7676, allocations: 7.594 kB / 482.4 MB, free: 40.82 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.247e-05/0.7677, allocations: 34.55 kB / 482.4 MB, free: 40.78 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01558/0.7833, allocations: 2.589 MB / 485 MB, free: 39.54 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.7836, allocations: 162.8 kB / 485.2 MB, free: 39.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/0.7836, allocations: 7.875 kB / 485.2 MB, free: 39.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.7838, allocations: 7.844 kB / 485.2 MB, free: 39.33 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009135/0.7847, allocations: 375.1 kB / 485.6 MB, free: 39.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.7848, allocations: 0 / 485.6 MB, free: 39.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.055e-05/0.7848, allocations: 0 / 485.6 MB, free: 39.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.7848, allocations: 3.969 kB / 485.6 MB, free: 39.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007951/0.7856, allocations: 322.7 kB / 485.9 MB, free: 39.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0233/0.8089, allocations: 3.506 MB / 489.4 MB, free: 37.7 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002242/0.8112, allocations: 0.6443 MB / 490 MB, free: 37.49 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.8113, allocations: 0 / 490 MB, free: 37.49 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.8113, allocations: 34.59 kB / 490.1 MB, free: 37.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.8113, allocations: 0 / 490.1 MB, free: 37.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.001789/0.8131, allocations: 0.8027 MB / 490.9 MB, free: 37.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.8132, allocations: 58.91 kB / 490.9 MB, free: 37.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.444e-05/0.8132, allocations: 96.39 kB / 491 MB, free: 37.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/0.8133, allocations: 29.39 kB / 491 MB, free: 37.01 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.463e-05/0.8133, allocations: 80.14 kB / 491.1 MB, free: 36.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.57e-05/0.8134, allocations: 26.94 kB / 491.1 MB, free: 36.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.8134, allocations: 0 / 491.1 MB, free: 36.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.587e-05/0.8135, allocations: 318.6 kB / 491.5 MB, free: 36.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004967/0.814, allocations: 247.4 kB / 491.7 MB, free: 36.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004987/0.8145, allocations: 249.7 kB / 491.9 MB, free: 36.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005117/0.815, allocations: 239.6 kB / 492.2 MB, free: 36.4 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.815, allocations: 3.938 kB / 492.2 MB, free: 36.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.001127/0.8162, allocations: 0.5439 MB / 492.7 MB, free: 36.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.8162, allocations: 7.844 kB / 492.7 MB, free: 36.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.8162, allocations: 0 / 492.7 MB, free: 36.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.8162, allocations: 3.875 kB / 492.7 MB, free: 36.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.08499/0.9012, allocations: 10.56 MB / 0.4915 GB, free: 29.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003778/0.9051, allocations: 2.102 MB / 0.4936 GB, free: 27.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004049/0.9055, allocations: 44.09 kB / 0.4936 GB, free: 27.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.383e-05/0.9056, allocations: 35.94 kB / 0.4936 GB, free: 27.4 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.000153/0.9058, allocations: 118.1 kB / 0.4937 GB, free: 27.28 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.457e-05/0.9058, allocations: 7.906 kB / 0.4937 GB, free: 27.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003959/0.9098, allocations: 1.397 MB / 0.4951 GB, free: 25.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.9098, allocations: 4 kB / 0.4951 GB, free: 25.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.9098, allocations: 0 / 0.4951 GB, free: 25.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.9099, allocations: 7.922 kB / 0.4951 GB, free: 25.97 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004393/0.9103, allocations: 383 kB / 0.4955 GB, free: 25.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.257e-06/0.9103, allocations: 0 / 0.4955 GB, free: 25.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.9105, allocations: 47.45 kB / 0.4955 GB, free: 25.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04677/0.9573, allocations: 5.934 MB / 0.5013 GB, free: 19.72 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002479/0.9576, allocations: 19.59 kB / 0.5013 GB, free: 19.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00431/0.9619, allocations: 2.136 MB / 0.5034 GB, free: 17.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.9619, allocations: 4.031 kB / 0.5034 GB, free: 17.58 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004425/0.9664, allocations: 1.304 MB / 0.5047 GB, free: 16.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.9665, allocations: 96.84 kB / 0.5048 GB, free: 16.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.257e-05/0.9666, allocations: 7.5 kB / 0.5048 GB, free: 16.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/0.9669, allocations: 43.28 kB / 0.5048 GB, free: 16.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.778e-05/0.967, allocations: 23.59 kB / 0.5049 GB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.904e-05/0.9672, allocations: 31.95 kB / 0.5049 GB, free: 16.15 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.312e-05/0.9672, allocations: 91.09 kB / 0.505 GB, free: 16.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9672, allocations: 3.938 kB / 0.505 GB, free: 16.06 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007133/0.968, allocations: 90.67 kB / 0.5051 GB, free: 15.98 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.004883/0.9729, allocations: 2.294 MB / 0.5073 GB, free: 13.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.09632/1.069, allocations: 11.17 MB / 0.5182 GB, free: 2.941 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/1.069, allocations: 0 / 0.5182 GB, free: 2.941 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003118/1.072, allocations: 0.7052 MB / 0.5189 GB, free: 2.281 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/1.073, allocations: 19.95 kB / 0.5189 GB, free: 2.266 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003277/1.076, allocations: 1.647 MB / 0.5205 GB, free: 0.707 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/1.076, allocations: 0.7165 MB / 0.5212 GB, free: 15.96 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001278/1.076, allocations: 25.03 kB / 0.5213 GB, free: 15.94 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/1.077, allocations: 41.78 kB / 0.5213 GB, free: 15.91 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/1.077, allocations: 0 / 0.5213 GB, free: 15.91 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/1.102, allocations: 8.203 MB / 0.5293 GB, free: 7.711 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/1.102, allocations: 195.9 kB / 0.5295 GB, free: 7.461 MB / 346.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ FCSys_FCSys_Characteristics_Examples_SurfaceTension.c:193:93: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp6, 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:193:181: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp6, 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:193:278: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp6, 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:207:93: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp7, 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:207:181: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp7, 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:311: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:313: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))); ^ 2 warnings and 7 errors generated. make: *** [: FCSys_FCSys_Characteristics_Examples_SurfaceTension.o] Error 1