Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FCSys_FCSys.Characteristics.Examples.SaturationPressure.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.SaturationPressure,fileNamePrefix="FCSys_FCSys_Characteristics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FCSys.Characteristics.Examples.SaturationPressure,fileNamePrefix="FCSys_FCSys_Characteristics_Examples_SaturationPressure",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.001768/0.001767, allocations: 170.4 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.192/0.192, 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.797/1.797, allocations: 170.6 MB / 206.5 MB, free: 5.668 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.001792/0.001792, allocations: 111.5 kB / 250.4 MB, free: 8.297 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.544e-05/4.548e-05, allocations: 0 / 301.7 MB, free: 8.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1326, allocations: 43.31 MB / 345 MB, free: 13.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.25/11.38, allocations: 3.626 GB / 3.963 GB, free: 40.35 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003949/11.38, allocations: 77.2 kB / 3.963 GB, free: 40.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4043/11.79, allocations: 48.64 MB / 4.01 GB, free: 99.61 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.66e-06/11.79, allocations: 0 / 4.01 GB, free: 99.61 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/11.79, allocations: 2.531 kB / 4.01 GB, free: 99.61 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001241/11.79, allocations: 482.9 kB / 4.011 GB, free: 99.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.821e-05/11.79, allocations: 9.812 kB / 4.011 GB, free: 99.23 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.056e-05/11.79, allocations: 30.56 kB / 4.011 GB, free: 99.19 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01423/11.8, allocations: 2.462 MB / 4.013 GB, free: 99.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/11.81, allocations: 170.8 kB / 4.013 GB, free: 98.99 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/11.81, allocations: 0 / 4.013 GB, free: 98.99 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/11.81, allocations: 4.438 kB / 4.013 GB, free: 98.99 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004732/11.81, allocations: 254.6 kB / 4.014 GB, free: 98.96 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/11.81, allocations: 3.125 kB / 4.014 GB, free: 98.96 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/11.81, allocations: 4.797 kB / 4.014 GB, free: 98.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/11.81, allocations: 0 / 4.014 GB, free: 98.96 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003507/11.81, allocations: 190 kB / 4.014 GB, free: 98.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/11.81, allocations: 0.7254 MB / 4.015 GB, free: 98.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005386/11.81, allocations: 308.7 kB / 4.015 GB, free: 98.62 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002605/11.81, allocations: 152.3 kB / 4.015 GB, free: 98.61 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/11.81, allocations: 0 / 4.015 GB, free: 98.61 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/11.81, allocations: 36.58 kB / 4.015 GB, free: 98.57 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 6.602e-06/11.81, allocations: 2.016 kB / 4.015 GB, free: 98.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008473/11.81, allocations: 347.2 kB / 4.015 GB, free: 98.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/11.81, allocations: 57.25 kB / 4.015 GB, free: 98.47 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.412e-05/11.81, allocations: 92.94 kB / 4.016 GB, free: 98.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/11.81, allocations: 28.95 kB / 4.016 GB, free: 98.35 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.464e-05/11.81, allocations: 85.33 kB / 4.016 GB, free: 98.27 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.615e-05/11.81, allocations: 13.86 kB / 4.016 GB, free: 98.26 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/11.81, allocations: 0.5625 kB / 4.016 GB, free: 98.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.753e-05/11.81, allocations: 321 kB / 4.016 GB, free: 97.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/11.81, allocations: 140.7 kB / 4.016 GB, free: 97.95 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/11.81, allocations: 143.3 kB / 4.016 GB, free: 97.95 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/11.81, allocations: 131.1 kB / 4.016 GB, free: 97.95 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/11.81, allocations: 3 kB / 4.016 GB, free: 97.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0006997/11.81, allocations: 347 kB / 4.017 GB, free: 97.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/11.81, allocations: 6.219 kB / 4.017 GB, free: 97.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/11.81, allocations: 0.5156 kB / 4.017 GB, free: 97.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/11.81, allocations: 3.953 kB / 4.017 GB, free: 97.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03362/11.84, allocations: 3.927 MB / 4.021 GB, free: 97.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003938/11.85, allocations: 2.001 MB / 4.023 GB, free: 96.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/11.85, allocations: 36.83 kB / 4.023 GB, free: 96.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.423e-05/11.85, allocations: 29.81 kB / 4.023 GB, free: 96.75 MB / 394.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 (5): * Single equations (assignments): 3 * 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.0001416/11.85, allocations: 118 kB / 4.023 GB, free: 96.64 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/11.85, allocations: 7.188 kB / 4.023 GB, free: 96.63 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003435/11.85, allocations: 0.9943 MB / 4.024 GB, free: 96.58 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/11.85, allocations: 9.109 kB / 4.024 GB, free: 96.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/11.85, allocations: 0 / 4.024 GB, free: 96.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/11.85, allocations: 5.297 kB / 4.024 GB, free: 96.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005363/11.85, allocations: 385 kB / 4.024 GB, free: 96.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/11.85, allocations: 0 / 4.024 GB, free: 96.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/11.85, allocations: 25.86 kB / 4.024 GB, free: 96.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02892/11.88, allocations: 3.293 MB / 4.027 GB, free: 96.33 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002322/11.88, allocations: 22.69 kB / 4.027 GB, free: 96.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004569/11.89, allocations: 1.896 MB / 4.029 GB, free: 95.29 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/11.89, allocations: 4.844 kB / 4.029 GB, free: 95.29 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00354/11.89, allocations: 0.9598 MB / 4.03 GB, free: 95.13 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.13e-05/11.89, allocations: 88.03 kB / 4.03 GB, free: 95.04 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.827e-05/11.89, allocations: 11.52 kB / 4.03 GB, free: 95.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003389/11.89, allocations: 43.83 kB / 4.03 GB, free: 95.03 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.705e-05/11.89, allocations: 20.77 kB / 4.03 GB, free: 95.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.879e-05/11.89, allocations: 30.2 kB / 4.03 GB, free: 95.03 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.53e-05/11.89, allocations: 80.34 kB / 4.03 GB, free: 94.96 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.32e-07/11.89, allocations: 0 / 4.03 GB, free: 94.96 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00101/11.89, allocations: 137.9 kB / 4.031 GB, free: 94.95 MB / 394.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 (13): * Single equations (assignments): 11 * 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 4,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.005731/11.9, allocations: 2.265 MB / 4.033 GB, free: 94.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.03873/11.94, allocations: 4.907 MB / 4.038 GB, free: 94.11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/11.94, allocations: 0 / 4.038 GB, free: 94.11 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002668/11.94, allocations: 0.5994 MB / 4.038 GB, free: 94.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/11.94, allocations: 11 kB / 4.038 GB, free: 94.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/11.94, allocations: 380.6 kB / 4.038 GB, free: 93.94 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/11.94, allocations: 0.7052 MB / 4.039 GB, free: 93.24 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.762e-05/11.94, allocations: 12.52 kB / 4.039 GB, free: 93.24 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.189e-05/11.94, allocations: 29.27 kB / 4.039 GB, free: 93.23 MB / 394.7 MB Notification: Performance of SimCode: time 1.313e-06/11.94, allocations: 4 kB / 4.039 GB, free: 93.23 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03947/11.98, allocations: 17.4 MB / 4.056 GB, free: 91.61 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/11.98, allocations: 171.6 kB / 4.056 GB, free: 91.38 MB / 394.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_SaturationPressure.o FCSys_FCSys_Characteristics_Examples_SaturationPressure.c In file included from FCSys_FCSys_Characteristics_Examples_SaturationPressure.c:7: In file included from ./FCSys_FCSys_Characteristics_Examples_SaturationPressure_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_SaturationPressure.c:152:82: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp4, 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_SaturationPressure.c:152:78: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp4, 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_SaturationPressure.c:152:108: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp4, 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_SaturationPressure.c:152:104: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp4, 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_SaturationPressure.c:152:143: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp4, 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_SaturationPressure.c:152:139: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp4, 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_SaturationPressure.c:166:82: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp5, 3, (modelica_real)0.0, (modelica_real)b_v[1,2], (modelica_real)(b_v[1,1]) * (2.0)); ^ FCSys_FCSys_Characteristics_Examples_SaturationPressure.c:166:78: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp5, 3, (modelica_real)0.0, (modelica_real)b_v[1,2], (modelica_real)(b_v[1,1]) * (2.0)); ^ FCSys_FCSys_Characteristics_Examples_SaturationPressure.c:166:108: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp5, 3, (modelica_real)0.0, (modelica_real)b_v[1,2], (modelica_real)(b_v[1,1]) * (2.0)); ^ FCSys_FCSys_Characteristics_Examples_SaturationPressure.c:166:104: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp5, 3, (modelica_real)0.0, (modelica_real)b_v[1,2], (modelica_real)(b_v[1,1]) * (2.0)); ^ 7 warnings and 5 errors generated. make: *** [: FCSys_FCSys_Characteristics_Examples_SaturationPressure.o] Error 1