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: translateModel(FCSys.Characteristics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="FCSys_FCSys.Characteristics.Examples.SaturationPressure") translateModel(FCSys.Characteristics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="FCSys_FCSys.Characteristics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001432/0.001433, allocations: 170.2 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.1456/0.1456, allocations: 17.61 MB / 30.87 MB, free: 3.148 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.73/1.73, allocations: 170.6 MB / 206.5 MB, free: 5.664 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.001805/0.001804, allocations: 109.2 kB / 250.4 MB, free: 8.305 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.268e-05/5.27e-05, allocations: 7.938 kB / 301.6 MB, free: 8.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.133, allocations: 43.31 MB / 344.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.84/11.97, allocations: 3.626 GB / 3.963 GB, free: 40.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004081/11.97, allocations: 70.34 kB / 3.963 GB, free: 40.22 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4737/12.45, allocations: 48.63 MB / 4.01 GB, free: 99.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.819e-06/12.45, allocations: 0 / 4.01 GB, free: 99.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.501e-05/12.45, allocations: 5.125 kB / 4.01 GB, free: 99.82 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.001169/12.45, allocations: 467.2 kB / 4.011 GB, free: 99.45 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.946e-05/12.45, allocations: 8.719 kB / 4.011 GB, free: 99.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0136/12.46, allocations: 2.463 MB / 4.013 GB, free: 99.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/12.46, allocations: 167 kB / 4.013 GB, free: 99.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/12.46, allocations: 5.453 kB / 4.013 GB, free: 99.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.178e-05/12.46, allocations: 3.375 kB / 4.013 GB, free: 99.25 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005188/12.46, allocations: 246.8 kB / 4.014 GB, free: 99.22 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/12.46, allocations: 1.625 kB / 4.014 GB, free: 99.22 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.694e-05/12.46, allocations: 3.266 kB / 4.014 GB, free: 99.22 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/12.46, allocations: 1.219 kB / 4.014 GB, free: 99.22 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004079/12.47, allocations: 190.3 kB / 4.014 GB, free: 99.22 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/12.47, allocations: 0.7157 MB / 4.014 GB, free: 98.9 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005678/12.47, allocations: 304.8 kB / 4.015 GB, free: 98.88 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002753/12.47, allocations: 153.7 kB / 4.015 GB, free: 98.87 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/12.47, allocations: 7.953 kB / 4.015 GB, free: 98.87 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/12.47, allocations: 31.59 kB / 4.015 GB, free: 98.83 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.494e-06/12.47, allocations: 1.594 kB / 4.015 GB, free: 98.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008471/12.47, allocations: 345 kB / 4.015 GB, free: 98.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/12.47, allocations: 58.19 kB / 4.015 GB, free: 98.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.152e-05/12.47, allocations: 98.12 kB / 4.015 GB, free: 98.64 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/12.47, allocations: 25.7 kB / 4.015 GB, free: 98.61 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/12.47, allocations: 84.12 kB / 4.016 GB, free: 98.53 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.889e-05/12.47, allocations: 19.2 kB / 4.016 GB, free: 98.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-05/12.47, allocations: 0 / 4.016 GB, free: 98.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.276e-05/12.47, allocations: 312.2 kB / 4.016 GB, free: 98.21 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/12.47, allocations: 143.9 kB / 4.016 GB, free: 98.21 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/12.47, allocations: 143.7 kB / 4.016 GB, free: 98.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/12.47, allocations: 131.5 kB / 4.016 GB, free: 98.21 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/12.47, allocations: 0 / 4.016 GB, free: 98.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0007289/12.47, allocations: 349.1 kB / 4.017 GB, free: 98.17 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/12.47, allocations: 6.25 kB / 4.017 GB, free: 98.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/12.47, allocations: 1.906 kB / 4.017 GB, free: 98.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/12.47, allocations: 2.312 kB / 4.017 GB, free: 98.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03191/12.5, allocations: 3.926 MB / 4.02 GB, free: 98.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004261/12.51, allocations: 2.002 MB / 4.022 GB, free: 97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003691/12.51, allocations: 38.95 kB / 4.022 GB, free: 97 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.832e-05/12.51, allocations: 30.47 kB / 4.022 GB, free: 97 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.0001342/12.51, allocations: 108.1 kB / 4.023 GB, free: 96.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.855e-05/12.51, allocations: 7.188 kB / 4.023 GB, free: 96.89 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003513/12.51, allocations: 1.001 MB / 4.024 GB, free: 96.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/12.51, allocations: 3.781 kB / 4.024 GB, free: 96.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/12.51, allocations: 7.078 kB / 4.024 GB, free: 96.83 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/12.51, allocations: 1.766 kB / 4.024 GB, free: 96.83 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005242/12.51, allocations: 381 kB / 4.024 GB, free: 96.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/12.51, allocations: 0 / 4.024 GB, free: 96.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/12.51, allocations: 32.06 kB / 4.024 GB, free: 96.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02671/12.54, allocations: 3.29 MB / 4.027 GB, free: 96.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001952/12.54, allocations: 16.8 kB / 4.027 GB, free: 96.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003857/12.54, allocations: 1.901 MB / 4.029 GB, free: 95.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/12.54, allocations: 3.562 kB / 4.029 GB, free: 95.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003176/12.55, allocations: 0.9672 MB / 4.03 GB, free: 95.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-05/12.55, allocations: 86.7 kB / 4.03 GB, free: 95.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.452e-05/12.55, allocations: 4.75 kB / 4.03 GB, free: 95.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003051/12.55, allocations: 43.09 kB / 4.03 GB, free: 95.29 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.486e-05/12.55, allocations: 17.97 kB / 4.03 GB, free: 95.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.744e-05/12.55, allocations: 29.55 kB / 4.03 GB, free: 95.29 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.971e-05/12.55, allocations: 86.5 kB / 4.03 GB, free: 95.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/12.55, allocations: 0 / 4.03 GB, free: 95.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009309/12.55, allocations: 132.4 kB / 4.03 GB, free: 95.2 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.001285/12.55, allocations: 0.5983 MB / 4.031 GB, free: 95.03 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.03825/12.59, allocations: 4.916 MB / 4.036 GB, free: 94.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/12.59, allocations: 0 / 4.036 GB, free: 94.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002532/12.59, allocations: 0.5958 MB / 4.036 GB, free: 94.95 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/12.59, allocations: 18.61 kB / 4.036 GB, free: 94.95 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007506/12.59, allocations: 287.8 kB / 4.037 GB, free: 94.87 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/12.59, allocations: 0.7042 MB / 4.037 GB, free: 94.17 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.511e-05/12.59, allocations: 19.47 kB / 4.037 GB, free: 94.17 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.172e-05/12.59, allocations: 17.61 kB / 4.037 GB, free: 94.16 MB / 394.7 MB Notification: Performance of SimCode: time 1.883e-06/12.59, allocations: 0 / 4.037 GB, free: 94.16 MB / 394.7 MB Notification: Performance of Templates: time 0.02531/12.62, allocations: 14.27 MB / 4.051 GB, free: 93.2 MB / 394.7 MB make -j1 -f FCSys_FCSys.Characteristics.Examples.SaturationPressure.makefile make -j1 -f FCSys_FCSys.Characteristics.Examples.SaturationPressure.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=FCSys_FCSys_Characteristics_Examples_SaturationPressure -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.SaturationPressure.o FCSys_FCSys.Characteristics.Examples.SaturationPressure.c FCSys_FCSys.Characteristics.Examples.SaturationPressure.c:158:82: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp5, 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:158:78: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp5, 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:158:108: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp5, 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:158:104: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp5, 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:158:143: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp5, 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:158:139: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp5, 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:172:82: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp6, 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:172:78: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp6, 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:172:108: warning: expression result unused [-Wunused-value] array_alloc_scalar_real_array(&tmp6, 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:172:104: error: use of undeclared identifier 'b_v' array_alloc_scalar_real_array(&tmp6, 3, (modelica_real)0.0, (modelica_real)b_v[1,2], (modelica_real)(b_v[1,1]) * (2.0)); ^ 5 warnings and 5 errors generated. make: *** [: FCSys_FCSys.Characteristics.Examples.SaturationPressure.o] Error 1