Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues") translateModel(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 107.3 kB / 16.41 MB, free: 6.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 188.9 kB / 17.34 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0468/0.0468, allocations: 9.092 MB / 279.7 MB, free: 2.941 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 73.48 kB / 388.1 MB, free: 47.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08012/0.08155, allocations: 48.17 MB / 436.3 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.01846/0.1, allocations: 18.08 MB / 454.4 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.1107, allocations: 11.07 MB / 465.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.1109, allocations: 0 / 465.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.657e-05/0.111, allocations: 11.86 kB / 465.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009417/0.112, allocations: 342.2 kB / 465.8 MB, free: 10 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.01399/0.126, allocations: 5.223 MB / 471 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.1262, allocations: 147.3 kB / 471.2 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.494e-05/0.1263, allocations: 8 kB / 471.2 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002698/0.1266, allocations: 87.5 kB / 471.2 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.894e-05/0.1267, allocations: 51.83 kB / 471.3 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.1267, allocations: 4 kB / 471.3 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01378/0.1405, allocations: 8.106 MB / 479.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.732e-05/0.1406, allocations: 19.92 kB / 479.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.1407, allocations: 43.75 kB / 479.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009693/0.1504, allocations: 3.395 MB / 482.9 MB, free: 8.891 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1505, allocations: 0 / 482.9 MB, free: 8.891 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1505, allocations: 0 / 482.9 MB, free: 8.891 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.1505, allocations: 0 / 482.9 MB, free: 8.891 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.001762/0.1523, allocations: 0.7991 MB / 483.7 MB, free: 8.043 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.1523, allocations: 12.03 kB / 483.7 MB, free: 8.031 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/0.1525, allocations: 19.83 kB / 483.7 MB, free: 8.012 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.1526, allocations: 174.9 kB / 483.9 MB, free: 7.801 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.1527, allocations: 4 kB / 483.9 MB, free: 7.797 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.1527, allocations: 4 kB / 483.9 MB, free: 7.793 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003712/0.153, allocations: 97.61 kB / 484 MB, free: 7.691 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1531, allocations: 4 kB / 484 MB, free: 7.688 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.1531, allocations: 4 kB / 484 MB, free: 7.684 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.934e-06/0.1531, allocations: 7.984 kB / 484 MB, free: 7.676 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003995/0.1535, allocations: 103.8 kB / 484.1 MB, free: 7.574 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005058/0.154, allocations: 320.6 kB / 484.4 MB, free: 7.211 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004109/0.1545, allocations: 110.8 kB / 484.5 MB, free: 7.094 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.1547, allocations: 68.75 kB / 484.6 MB, free: 7.023 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02328/0.178, allocations: 15.93 MB / 0.4888 GB, free: 4.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.178, allocations: 38.5 kB / 0.4888 GB, free: 4.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.074e-06/0.178, allocations: 0 / 0.4888 GB, free: 4.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008762/0.1789, allocations: 213.4 kB / 0.489 GB, free: 4.016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.179, allocations: 55.41 kB / 0.4891 GB, free: 3.949 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.1791, allocations: 129.6 kB / 0.4892 GB, free: 3.816 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1791, allocations: 33.7 kB / 0.4892 GB, free: 3.777 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.1792, allocations: 84.14 kB / 0.4893 GB, free: 3.691 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.1792, allocations: 35.55 kB / 0.4893 GB, free: 3.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.1793, allocations: 21.72 kB / 0.4894 GB, free: 3.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1794, allocations: 318.8 kB / 0.4897 GB, free: 3.309 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.1796, allocations: 47.95 kB / 0.4897 GB, free: 3.262 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.1797, allocations: 55.88 kB / 0.4898 GB, free: 3.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003284/0.1801, allocations: 109.3 kB / 0.4899 GB, free: 3.098 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1801, allocations: 0 / 0.4899 GB, free: 3.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003969/0.1805, allocations: 157.4 kB / 0.49 GB, free: 2.938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1805, allocations: 7.938 kB / 0.49 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1805, allocations: 0 / 0.49 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.1806, allocations: 4 kB / 0.49 GB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.1807, allocations: 31.97 kB / 0.4901 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.1807, allocations: 0 / 0.4901 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.1809, allocations: 11.98 kB / 0.4901 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.1809, allocations: 7.984 kB / 0.4901 GB, free: 2.875 MB / 382.1 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.491e-05/0.181, allocations: 120.9 kB / 0.4902 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.181, allocations: 19.75 kB / 0.4902 GB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007034/0.1817, allocations: 390.6 kB / 0.4906 GB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.1818, allocations: 3.984 kB / 0.4906 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.1818, allocations: 4 kB / 0.4906 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1818, allocations: 4 kB / 0.4906 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.1821, allocations: 281.8 kB / 0.4909 GB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1821, allocations: 0 / 0.4909 GB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.1822, allocations: 31.97 kB / 0.4909 GB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1823, allocations: 3.938 kB / 0.4909 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.1823, allocations: 4 kB / 0.4909 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1823, allocations: 0 / 0.4909 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.1823, allocations: 0 / 0.4909 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006086/0.1829, allocations: 431.9 kB / 0.4913 GB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.646e-05/0.183, allocations: 112.8 kB / 0.4914 GB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.183, allocations: 7.938 kB / 0.4914 GB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.1832, allocations: 11.98 kB / 0.4914 GB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.787e-05/0.1832, allocations: 11.98 kB / 0.4914 GB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.1833, allocations: 8 kB / 0.4915 GB, free: 1.371 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.755e-05/0.1833, allocations: 111.2 kB / 0.4916 GB, free: 1.262 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1833, allocations: 0 / 0.4916 GB, free: 1.262 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001306/0.1847, allocations: 443.8 kB / 0.492 GB, free: 0.8281 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($cse1.liq.phase,$cse1.vap.phase,$cse2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00176/0.1864, allocations: 0.7109 MB / 0.4927 GB, free: 108 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005518/0.187, allocations: 203.9 kB / 0.4929 GB, free: 15.9 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.187, allocations: 0 / 0.4929 GB, free: 15.9 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002739/0.1873, allocations: 171.8 kB / 0.493 GB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.1877, allocations: 26 kB / 0.4931 GB, free: 15.71 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005974/0.1883, allocations: 379.4 kB / 0.4934 GB, free: 15.31 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.1886, allocations: 0.72 MB / 0.4941 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.109e-05/0.1886, allocations: 19.44 kB / 0.4941 GB, free: 14.55 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1886, allocations: 4 kB / 0.4941 GB, free: 14.54 MB / 398.1 MB Notification: Performance of Templates: time 0.01574/0.2044, allocations: 9.514 MB / 0.5034 GB, free: 5.035 MB / 398.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValuesCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValuesCalcHelperMain.cpp In file included from OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValuesCalcHelperMain.cpp:28: ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValuesFunctions.cpp:4388:32: error: use of undeclared identifier 'MM_' f_.R_s_ = division(8.3144598,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValuesFunctions.cpp:4389:25: error: use of undeclared identifier 'MM_' f_.d_crit_ = division(MM_,9.411847733105218e-5,!_initial,"9.411847733105218e-5"); ^ In file included from OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValuesCalcHelperMain.cpp:33: ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.cpp:208:3: error: use of undeclared identifier '_omcQ_24cse1_P_liq_' _omcQ_24cse1_P_liq_ = tmp455.liq_; ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.cpp:209:3: error: use of undeclared identifier '_omcQ_24cse1_P_vap_' _omcQ_24cse1_P_vap_ = tmp455.vap_; ^ 4 errors generated. make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValuesCalcHelperMain.o] Error 1