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.001973/0.001973, allocations: 164.6 kB / 15.96 MB, free: 5.82 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo): time 0.1365/0.1365, allocations: 17.63 MB / 34.33 MB, free: 1.121 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.441/1.441, allocations: 170.8 MB / 210.4 MB, free: 12.41 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.001593/0.001593, allocations: 102.8 kB / 254.5 MB, free: 0.7422 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004245/0.0004249, allocations: 10.62 kB / 308.5 MB, free: 50.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09927/0.09972, allocations: 43.32 MB / 351.8 MB, free: 12.16 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.049/7.149, allocations: 3.626 GB / 3.97 GB, free: 128.9 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/7.149, allocations: 83.41 kB / 3.97 GB, free: 128.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1062/7.255, allocations: 48.6 MB / 4.017 GB, free: 81.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.184e-06/7.256, allocations: 0 / 4.017 GB, free: 81.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.862e-06/7.256, allocations: 0 / 4.017 GB, free: 81.14 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.0007422/7.256, allocations: 491 kB / 4.018 GB, free: 80.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/7.256, allocations: 8.031 kB / 4.018 GB, free: 80.6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0134/7.27, allocations: 2.457 MB / 4.02 GB, free: 78.14 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.507e-05/7.27, allocations: 168.2 kB / 4.02 GB, free: 77.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/7.27, allocations: 8.312 kB / 4.02 GB, free: 77.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.124e-05/7.27, allocations: 4.312 kB / 4.02 GB, free: 77.92 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006157/7.271, allocations: 321.8 kB / 4.021 GB, free: 77.6 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/7.271, allocations: 192 / 4.021 GB, free: 77.6 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/7.271, allocations: 7.938 kB / 4.021 GB, free: 77.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/7.271, allocations: 0 / 4.021 GB, free: 77.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005876/7.271, allocations: 279.7 kB / 4.021 GB, free: 77.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008916/7.272, allocations: 0.7045 MB / 4.022 GB, free: 76.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008559/7.273, allocations: 447.3 kB / 4.022 GB, free: 76.12 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004388/7.273, allocations: 224.8 kB / 4.022 GB, free: 75.9 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/7.273, allocations: 0 / 4.022 GB, free: 75.9 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/7.273, allocations: 38.55 kB / 4.022 GB, free: 75.86 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/7.273, allocations: 0 / 4.022 GB, free: 75.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.002292/7.276, allocations: 0.6923 MB / 4.023 GB, free: 75.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/7.276, allocations: 51.41 kB / 4.023 GB, free: 75.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.068e-05/7.276, allocations: 105.8 kB / 4.023 GB, free: 74.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/7.276, allocations: 25.7 kB / 4.023 GB, free: 74.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.311e-05/7.276, allocations: 84.14 kB / 4.023 GB, free: 74.86 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.347e-05/7.276, allocations: 15.75 kB / 4.023 GB, free: 74.85 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/7.276, allocations: 4 kB / 4.023 GB, free: 74.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.916e-05/7.276, allocations: 314.8 kB / 4.023 GB, free: 74.53 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006207/7.277, allocations: 219.8 kB / 4.024 GB, free: 74.31 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004289/7.277, allocations: 215.8 kB / 4.024 GB, free: 74.1 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000843/7.278, allocations: 408.5 kB / 4.024 GB, free: 73.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/7.278, allocations: 4 kB / 4.024 GB, free: 73.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001004/7.279, allocations: 497.2 kB / 4.025 GB, free: 73.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/7.279, allocations: 4 kB / 4.025 GB, free: 73.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/7.279, allocations: 3.938 kB / 4.025 GB, free: 73.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/7.279, allocations: 7.938 kB / 4.025 GB, free: 73.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03093/7.31, allocations: 3.921 MB / 4.029 GB, free: 69.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003906/7.314, allocations: 2.19 MB / 4.031 GB, free: 67.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002912/7.314, allocations: 36 kB / 4.031 GB, free: 66.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-05/7.314, allocations: 27.97 kB / 4.031 GB, free: 66.96 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 () * Number of clocked 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.0001155/7.315, allocations: 117.9 kB / 4.031 GB, free: 66.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.561e-05/7.315, allocations: 7.938 kB / 4.031 GB, free: 66.83 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003485/7.318, allocations: 1.197 MB / 4.032 GB, free: 65.61 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/7.318, allocations: 4 kB / 4.032 GB, free: 65.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/7.318, allocations: 0 / 4.032 GB, free: 65.61 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/7.318, allocations: 4 kB / 4.032 GB, free: 65.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003402/7.319, allocations: 387.2 kB / 4.032 GB, free: 65.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/7.319, allocations: 4 kB / 4.032 GB, free: 65.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/7.319, allocations: 27.98 kB / 4.032 GB, free: 65.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02574/7.344, allocations: 3.404 MB / 4.036 GB, free: 61.74 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/7.345, allocations: 19.97 kB / 4.036 GB, free: 61.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003624/7.348, allocations: 2.061 MB / 4.038 GB, free: 59.61 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/7.348, allocations: 0 / 4.038 GB, free: 59.61 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003181/7.351, allocations: 1.171 MB / 4.039 GB, free: 58.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.364e-05/7.351, allocations: 88.95 kB / 4.039 GB, free: 58.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.08e-05/7.352, allocations: 8 kB / 4.039 GB, free: 58.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/7.352, allocations: 39.95 kB / 4.039 GB, free: 58.26 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.724e-05/7.352, allocations: 15.98 kB / 4.039 GB, free: 58.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.726e-05/7.352, allocations: 31.84 kB / 4.039 GB, free: 58.21 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.806e-05/7.352, allocations: 87.27 kB / 4.039 GB, free: 58.13 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.91e-07/7.352, allocations: 0 / 4.039 GB, free: 58.13 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006193/7.353, allocations: 139.9 kB / 4.039 GB, free: 57.99 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 () * Number of clocked 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.0007744/7.353, allocations: 0.5964 MB / 4.04 GB, free: 57.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.03766/7.391, allocations: 5.29 MB / 4.045 GB, free: 52.08 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/7.391, allocations: 0 / 4.045 GB, free: 52.08 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002677/7.394, allocations: 0.6672 MB / 4.046 GB, free: 51.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/7.394, allocations: 15.94 kB / 4.046 GB, free: 51.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008505/7.395, allocations: 472 kB / 4.046 GB, free: 50.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/7.395, allocations: 0.7055 MB / 4.047 GB, free: 50.18 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.832e-05/7.395, allocations: 16.55 kB / 4.047 GB, free: 50.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.603e-05/7.395, allocations: 15.42 kB / 4.047 GB, free: 50.15 MB / 394.7 MB Notification: Performance of SimCode: time 1.503e-06/7.395, allocations: 0 / 4.047 GB, free: 50.15 MB / 394.7 MB Notification: Performance of Templates: time 0.01445/7.41, allocations: 13.08 MB / 4.06 GB, free: 37.05 MB / 394.7 MB make -j1 -f FCSys_FCSys.Characteristics.Examples.SaturationPressure.makefile make -j1 -f FCSys_FCSys.Characteristics.Examples.SaturationPressure.makefile b'clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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\nFCSys_FCSys.Characteristics.Examples.SaturationPressure.c:167:93: error: use of undeclared identifier \'b_v\'\n array_alloc_scalar_real_array(&tmp5, 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));\n ^\nFCSys_FCSys.Characteristics.Examples.SaturationPressure.c:167:181: error: use of undeclared identifier \'b_v\'\n array_alloc_scalar_real_array(&tmp5, 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));\n ^\nFCSys_FCSys.Characteristics.Examples.SaturationPressure.c:167:278: error: use of undeclared identifier \'b_v\'\n array_alloc_scalar_real_array(&tmp5, 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));\n ^\nFCSys_FCSys.Characteristics.Examples.SaturationPressure.c:181:93: error: use of undeclared identifier \'b_v\'\n array_alloc_scalar_real_array(&tmp6, 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));\n ^\nFCSys_FCSys.Characteristics.Examples.SaturationPressure.c:181:181: error: use of undeclared identifier \'b_v\'\n array_alloc_scalar_real_array(&tmp6, 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));\n ^\nFCSys_FCSys.Characteristics.Examples.SaturationPressure.c:608:14: warning: incompatible pointer types assigning to \'void (*)(threadData_t *, FILE_INFO, const char *, ...) __attribute__((noreturn))\' (aka \'void (*)(struct threadData_s *, struct _FILE_INFO, const char *, ...) __attribute__((noreturn))\') from \'void (threadData_t *, FILE_INFO, const char *, ...)\' (aka \'void (struct threadData_s *, struct _FILE_INFO, const char *, ...)\') [-Wincompatible-pointer-types]\n omc_assert = omc_assert_simulation;\n ^ ~~~~~~~~~~~~~~~~~~~~~\nFCSys_FCSys.Characteristics.Examples.SaturationPressure.c:614:13: warning: incompatible pointer types assigning to \'void (*)(threadData_t *) __attribute__((noreturn))\' (aka \'void (*)(struct threadData_s *) __attribute__((noreturn))\') from \'void (threadData_t *)\' (aka \'void (struct threadData_s *)\') [-Wincompatible-pointer-types]\n omc_throw = omc_throw_simulation;\n ^ ~~~~~~~~~~~~~~~~~~~~\n2 warnings and 5 errors generated.\nmake: *** [: FCSys_FCSys.Characteristics.Examples.SaturationPressure.o] Error 1\n'