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.00168/0.00168, allocations: 102 kB / 16.4 MB, free: 6.461 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.001917/0.001917, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.315/1.315, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04859/0.04859, allocations: 9.096 MB / 279.7 MB, free: 2.938 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.001661/0.001661, allocations: 69.2 kB / 388.1 MB, free: 47.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09334/0.09502, allocations: 48.17 MB / 436.3 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.02035/0.1154, allocations: 18.08 MB / 454.4 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01164/0.1271, allocations: 11.08 MB / 465.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.075e-05/0.1272, allocations: 0 / 465.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.106e-05/0.1274, allocations: 11.86 kB / 465.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009955/0.1284, allocations: 366.2 kB / 465.8 MB, free: 9.98 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.01552/0.1439, allocations: 5.514 MB / 471.3 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000297/0.1442, allocations: 147.3 kB / 471.5 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.283e-05/0.1443, allocations: 4 kB / 471.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004106/0.1447, allocations: 99.5 kB / 471.6 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.1449, allocations: 47.83 kB / 471.6 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.1449, allocations: 4 kB / 471.6 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0218/0.1667, allocations: 8.102 MB / 479.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.473e-05/0.1668, allocations: 15.92 kB / 479.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.167, allocations: 51.73 kB / 479.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01349/0.1805, allocations: 3.395 MB / 483.2 MB, free: 8.578 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.1805, allocations: 4 kB / 483.2 MB, free: 8.574 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1805, allocations: 0 / 483.2 MB, free: 8.574 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.1806, allocations: 0 / 483.2 MB, free: 8.574 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.002903/0.1835, allocations: 0.7952 MB / 484 MB, free: 7.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.332e-05/0.1835, allocations: 12.03 kB / 484 MB, free: 7.719 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002368/0.1838, allocations: 15.84 kB / 484 MB, free: 7.703 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.184, allocations: 178.8 kB / 484.2 MB, free: 7.488 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.184, allocations: 8 kB / 484.2 MB, free: 7.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.1841, allocations: 4 kB / 484.2 MB, free: 7.477 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000539/0.1846, allocations: 93.62 kB / 484.3 MB, free: 7.379 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1847, allocations: 3.984 kB / 484.3 MB, free: 7.375 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.1847, allocations: 0 / 484.3 MB, free: 7.375 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.1847, allocations: 7.984 kB / 484.3 MB, free: 7.367 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004581/0.1852, allocations: 111.8 kB / 484.4 MB, free: 7.258 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005506/0.1858, allocations: 316.7 kB / 484.7 MB, free: 6.898 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004862/0.1863, allocations: 110.7 kB / 484.8 MB, free: 6.781 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.1865, allocations: 68.75 kB / 484.9 MB, free: 6.711 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02574/0.2123, allocations: 15.92 MB / 0.4891 GB, free: 3.973 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.735e-05/0.2124, allocations: 50.48 kB / 0.4891 GB, free: 3.914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 3.166e-06/0.2124, allocations: 0 / 0.4891 GB, free: 3.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001003/0.2134, allocations: 205.4 kB / 0.4893 GB, free: 3.707 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.2134, allocations: 59.39 kB / 0.4894 GB, free: 3.637 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.2136, allocations: 133.8 kB / 0.4895 GB, free: 3.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.2136, allocations: 29.7 kB / 0.4895 GB, free: 3.465 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/0.2137, allocations: 88.14 kB / 0.4896 GB, free: 3.375 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.989e-05/0.2137, allocations: 31.55 kB / 0.4897 GB, free: 3.344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.2138, allocations: 21.72 kB / 0.4897 GB, free: 3.316 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.2139, allocations: 322.8 kB / 0.49 GB, free: 2.992 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.2141, allocations: 47.95 kB / 0.49 GB, free: 2.945 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.2143, allocations: 51.89 kB / 0.4901 GB, free: 2.895 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.2147, allocations: 108.7 kB / 0.4902 GB, free: 2.785 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2147, allocations: 4.562 kB / 0.4902 GB, free: 2.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004692/0.2152, allocations: 153.4 kB / 0.4903 GB, free: 2.625 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.2152, allocations: 9.969 kB / 0.4903 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2153, allocations: 4 kB / 0.4903 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.2153, allocations: 0 / 0.4903 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.2154, allocations: 31.97 kB / 0.4904 GB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.2155, allocations: 0 / 0.4904 GB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.2156, allocations: 15.98 kB / 0.4904 GB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.2156, allocations: 4 kB / 0.4904 GB, free: 2.562 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.439e-05/0.2157, allocations: 120.9 kB / 0.4905 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.2158, allocations: 19.75 kB / 0.4905 GB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007829/0.2166, allocations: 394.7 kB / 0.4909 GB, free: 2.031 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.2166, allocations: 3.984 kB / 0.4909 GB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2166, allocations: 4 kB / 0.4909 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2166, allocations: 0 / 0.4909 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003647/0.217, allocations: 281.8 kB / 0.4912 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.217, allocations: 0 / 0.4912 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.2172, allocations: 27.97 kB / 0.4912 GB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.2172, allocations: 3.938 kB / 0.4912 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.2172, allocations: 12 kB / 0.4912 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2172, allocations: 0 / 0.4912 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.2172, allocations: 0 / 0.4912 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007263/0.2179, allocations: 427.9 kB / 0.4916 GB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.2181, allocations: 116.8 kB / 0.4917 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.2181, allocations: 3.938 kB / 0.4917 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.2182, allocations: 15.98 kB / 0.4918 GB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.2183, allocations: 7.984 kB / 0.4918 GB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.2183, allocations: 8 kB / 0.4918 GB, free: 1.055 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.34e-05/0.2184, allocations: 107.2 kB / 0.4919 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2184, allocations: 0 / 0.4919 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001417/0.2198, allocations: 447.8 kB / 0.4923 GB, free: 0.5117 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.002513/0.2224, allocations: 0.7147 MB / 0.493 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005503/0.2229, allocations: 199.9 kB / 0.4932 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.936e-06/0.2229, allocations: 0 / 0.4932 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003285/0.2233, allocations: 175.8 kB / 0.4934 GB, free: 15.42 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.2237, allocations: 27.95 kB / 0.4934 GB, free: 15.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006498/0.2243, allocations: 375.4 kB / 0.4937 GB, free: 15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.2247, allocations: 0.7278 MB / 0.4945 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.672e-05/0.2248, allocations: 11.44 kB / 0.4945 GB, free: 14.23 MB / 398.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2248, allocations: 4 kB / 0.4945 GB, free: 14.23 MB / 398.1 MB Notification: Performance of Templates: time 0.0173/0.2421, allocations: 9.5 MB / 0.5037 GB, free: 4.73 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