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.001596/0.001596, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FCSys 0.2.6/package.mo): time 0.1554/0.1554, allocations: 17.63 MB / 25.7 MB, free: 0.5234 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.467/1.467, allocations: 170.6 MB / 201.3 MB, free: 4.57 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.001787/0.001788, allocations: 98.83 kB / 245.1 MB, free: 13.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.071e-05/2.066e-05, allocations: 0 / 294.6 MB, free: 11.74 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3049, allocations: 43.29 MB / 337.9 MB, free: 37.76 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.01/10.31, allocations: 3.625 GB / 3.955 GB, free: 18.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/10.31, allocations: 80.83 kB / 3.955 GB, free: 18.94 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3856/10.7, allocations: 47.96 MB / 4.002 GB, free: 128.4 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.587e-06/10.7, allocations: 0 / 4.002 GB, free: 128.4 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.18e-05/10.7, allocations: 3.938 kB / 4.002 GB, free: 128.4 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.001511/10.7, allocations: 477.9 kB / 4.003 GB, free: 127.9 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.018e-05/10.7, allocations: 9.312 kB / 4.003 GB, free: 127.9 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01503/10.72, allocations: 2.465 MB / 4.005 GB, free: 127.9 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/10.72, allocations: 169 kB / 4.005 GB, free: 127.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/10.72, allocations: 3.312 kB / 4.005 GB, free: 127.7 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/10.72, allocations: 0 / 4.005 GB, free: 127.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000373/10.72, allocations: 190.1 kB / 4.005 GB, free: 127.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004036/10.72, allocations: 245.1 kB / 4.006 GB, free: 127.6 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/10.72, allocations: 0 / 4.006 GB, free: 127.6 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.142e-05/10.72, allocations: 0 / 4.006 GB, free: 127.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/10.72, allocations: 0 / 4.006 GB, free: 127.6 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/10.72, allocations: 0.7025 MB / 4.006 GB, free: 127.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/10.72, allocations: 305.7 kB / 4.007 GB, free: 127.3 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/10.72, allocations: 150.5 kB / 4.007 GB, free: 127.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/10.72, allocations: 2.938 kB / 4.007 GB, free: 127.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/10.72, allocations: 40.34 kB / 4.007 GB, free: 127.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/10.72, allocations: 0 / 4.007 GB, free: 127.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.02631/10.75, allocations: 3.775 MB / 4.01 GB, free: 126.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/10.75, allocations: 63.03 kB / 4.011 GB, free: 126.4 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/10.75, allocations: 92.81 kB / 4.011 GB, free: 126.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.397e-05/10.75, allocations: 25.7 kB / 4.011 GB, free: 126.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.321e-05/10.75, allocations: 83.95 kB / 4.011 GB, free: 126.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.256e-05/10.75, allocations: 19.7 kB / 4.011 GB, free: 126.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/10.75, allocations: 0 / 4.011 GB, free: 126.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/10.75, allocations: 318.6 kB / 4.011 GB, free: 125.9 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/10.75, allocations: 139.2 kB / 4.011 GB, free: 125.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/10.75, allocations: 141.8 kB / 4.011 GB, free: 125.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02545/10.77, allocations: 3.582 MB / 4.015 GB, free: 123.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/10.77, allocations: 0 / 4.015 GB, free: 123.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.02566/10.8, allocations: 3.782 MB / 4.019 GB, free: 119.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/10.8, allocations: 8.781 kB / 4.019 GB, free: 119.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/10.8, allocations: 0 / 4.019 GB, free: 119.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/10.8, allocations: 0 / 4.019 GB, free: 119.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06509/10.86, allocations: 9.03 MB / 4.027 GB, free: 110.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02772/10.89, allocations: 5.401 MB / 4.033 GB, free: 105.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004677/10.89, allocations: 36 kB / 4.033 GB, free: 105.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/10.89, allocations: 27.95 kB / 4.033 GB, free: 105.4 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.0001548/10.89, allocations: 109 kB / 4.033 GB, free: 105.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.334e-05/10.89, allocations: 11.86 kB / 4.033 GB, free: 105.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04229/10.93, allocations: 6.171 MB / 4.039 GB, free: 99.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/10.93, allocations: 0 / 4.039 GB, free: 99.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/10.93, allocations: 0 / 4.039 GB, free: 99.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/10.93, allocations: 3.984 kB / 4.039 GB, free: 99.06 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004447/10.93, allocations: 357 kB / 4.039 GB, free: 98.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/10.93, allocations: 0 / 4.039 GB, free: 98.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/10.93, allocations: 27.98 kB / 4.039 GB, free: 98.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002551/10.94, allocations: 0.7416 MB / 4.04 GB, free: 97.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.837e-05/10.94, allocations: 15.97 kB / 4.04 GB, free: 97.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02743/10.96, allocations: 5.472 MB / 4.045 GB, free: 92.37 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/10.96, allocations: 0 / 4.045 GB, free: 92.37 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04097/11.01, allocations: 6.129 MB / 4.051 GB, free: 86.21 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/11.01, allocations: 84.95 kB / 4.051 GB, free: 86.11 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.729e-05/11.01, allocations: 8 kB / 4.051 GB, free: 86.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/11.01, allocations: 35.95 kB / 4.051 GB, free: 86.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.89e-05/11.01, allocations: 15.97 kB / 4.051 GB, free: 86.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-05/11.01, allocations: 31.97 kB / 4.051 GB, free: 86.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.129e-05/11.01, allocations: 83.28 kB / 4.052 GB, free: 85.94 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.91e-07/11.01, allocations: 0 / 4.052 GB, free: 85.94 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007097/11.01, allocations: 123.8 kB / 4.052 GB, free: 85.82 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.000933/11.01, allocations: 0.6924 MB / 4.052 GB, free: 85.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.07095/11.08, allocations: 10 MB / 4.062 GB, free: 75.18 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.088e-06/11.08, allocations: 0 / 4.062 GB, free: 75.18 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002418/11.08, allocations: 0.584 MB / 4.063 GB, free: 74.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/11.08, allocations: 17.67 kB / 4.063 GB, free: 74.58 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005274/11.08, allocations: 284.2 kB / 4.063 GB, free: 74.28 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/11.08, allocations: 0.7077 MB / 4.064 GB, free: 73.55 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.431e-05/11.08, allocations: 12.55 kB / 4.064 GB, free: 73.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.182e-05/11.08, allocations: 11.44 kB / 4.064 GB, free: 73.52 MB / 394.7 MB Notification: Performance of SimCode: time 1.714e-06/11.08, allocations: 4 kB / 4.064 GB, free: 73.52 MB / 394.7 MB Notification: Performance of Templates: time 0.01251/11.09, allocations: 8.64 MB / 4.072 GB, free: 64.9 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 -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/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:141:78: error: use of undeclared identifier '$Pb_v$lB2$c3$rB' array_alloc_scalar_real_array(&tmp5, 4, (modelica_real)0.0, (modelica_real)$Pb_v$lB2$c3$rB, (modelica_real)($Pb_v$lB2$c2$rB) * (2.0), (modelica_real)($Pb_v$lB2$c1$rB) * (3.0)); ^ FCSys_FCSys.Characteristics.Examples.SaturationPressure.c:141:111: error: use of undeclared identifier '$Pb_v$lB2$c2$rB' array_alloc_scalar_real_array(&tmp5, 4, (modelica_real)0.0, (modelica_real)$Pb_v$lB2$c3$rB, (modelica_real)($Pb_v$lB2$c2$rB) * (2.0), (modelica_real)($Pb_v$lB2$c1$rB) * (3.0)); ^ FCSys_FCSys.Characteristics.Examples.SaturationPressure.c:141:153: error: use of undeclared identifier '$Pb_v$lB2$c1$rB' array_alloc_scalar_real_array(&tmp5, 4, (modelica_real)0.0, (modelica_real)$Pb_v$lB2$c3$rB, (modelica_real)($Pb_v$lB2$c2$rB) * (2.0), (modelica_real)($Pb_v$lB2$c1$rB) * (3.0)); ^ FCSys_FCSys.Characteristics.Examples.SaturationPressure.c:155:78: error: use of undeclared identifier '$Pb_v$lB1$c2$rB' array_alloc_scalar_real_array(&tmp6, 3, (modelica_real)0.0, (modelica_real)$Pb_v$lB1$c2$rB, (modelica_real)($Pb_v$lB1$c1$rB) * (2.0)); ^ FCSys_FCSys.Characteristics.Examples.SaturationPressure.c:155:111: error: use of undeclared identifier '$Pb_v$lB1$c1$rB' array_alloc_scalar_real_array(&tmp6, 3, (modelica_real)0.0, (modelica_real)$Pb_v$lB1$c2$rB, (modelica_real)($Pb_v$lB1$c1$rB) * (2.0)); ^ 5 errors generated. make: *** [: FCSys_FCSys.Characteristics.Examples.SaturationPressure.o] Error 1