Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.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.Validation.Derivatives_SaturationBoundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary") translateModel(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008403/0.008403, allocations: 99.98 kB / 15.87 MB, free: 6.305 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.001783/0.001783, allocations: 195.2 kB / 16.79 MB, free: 6.234 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.568/1.568, allocations: 205.1 MB / 222.6 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04369/0.04369, allocations: 9.088 MB / 279.1 MB, free: 12.39 MB / 238.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.001399/0.001399, allocations: 59.92 kB / 338 MB, free: 25.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08668/0.08809, allocations: 48.17 MB / 386.2 MB, free: 9.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.02074/0.1089, allocations: 20 MB / 406.2 MB, free: 5.582 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01721/0.1261, allocations: 17.37 MB / 423.5 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004647/0.1266, allocations: 4 kB / 423.5 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.1281, allocations: 0.506 MB / 424 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2058/0.334, allocations: 4.492 MB / 428.5 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003265/0.3372, allocations: 0.8506 MB / 429.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00129/0.3386, allocations: 0.7759 MB / 430.2 MB, free: 15.17 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.3387, allocations: 43.75 kB / 430.2 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000488/0.3392, allocations: 330.2 kB / 430.5 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004119/0.3396, allocations: 307.6 kB / 430.8 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.732e-05/0.3397, allocations: 29.88 kB / 430.9 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01859/0.3583, allocations: 8.793 MB / 439.6 MB, free: 15.1 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.3585, allocations: 91.34 kB / 439.7 MB, free: 15.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006838/0.3592, allocations: 274.9 kB / 440 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006082/0.3653, allocations: 2.37 MB / 442.4 MB, free: 14.88 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3653, allocations: 0 / 442.4 MB, free: 14.88 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3653, allocations: 0 / 442.4 MB, free: 14.88 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.3653, allocations: 1.188 kB / 442.4 MB, free: 14.88 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.003324/0.3686, allocations: 1.199 MB / 443.6 MB, free: 14.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.3687, allocations: 8.906 kB / 443.6 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004744/0.3692, allocations: 94.86 kB / 443.7 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.3694, allocations: 219.7 kB / 443.9 MB, free: 13.9 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.059e-05/0.3694, allocations: 24.84 kB / 443.9 MB, free: 13.9 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.956e-05/0.3695, allocations: 30.34 kB / 443.9 MB, free: 13.9 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.3709, allocations: 1.259 MB / 445.2 MB, free: 13.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.3709, allocations: 0 / 445.2 MB, free: 13.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.894e-05/0.3709, allocations: 21.47 kB / 445.2 MB, free: 13.76 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.371, allocations: 22.98 kB / 445.2 MB, free: 13.76 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002307/0.3733, allocations: 2.316 MB / 447.6 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.3753, allocations: 2.147 MB / 449.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.3765, allocations: 1.354 MB / 451.1 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/0.3776, allocations: 1.276 MB / 452.3 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01908/0.3967, allocations: 11.21 MB / 463.6 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.3968, allocations: 43.12 kB / 463.6 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of pre-optimization done (n=185): time 2.615e-06/0.3968, allocations: 0 / 463.6 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of matching and sorting (n=185): time 0.00419/0.401, allocations: 3.598 MB / 467.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.401, allocations: 59.97 kB / 467.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.552e-05/0.4011, allocations: 109.8 kB / 467.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.433e-05/0.4012, allocations: 41.7 kB / 467.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.914e-05/0.4012, allocations: 86.55 kB / 467.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003912/0.4016, allocations: 0.5802 MB / 468.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.4018, allocations: 154.2 kB / 468.2 MB, free: 12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.402, allocations: 317.9 kB / 468.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.403, allocations: 1.014 MB / 469.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.4041, allocations: 1.039 MB / 470.6 MB, free: 9.633 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002324/0.4064, allocations: 2.234 MB / 472.8 MB, free: 7.398 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.4065, allocations: 0 / 472.8 MB, free: 7.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.002719/0.4092, allocations: 2.332 MB / 475.1 MB, free: 5.059 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.4092, allocations: 4 kB / 475.1 MB, free: 5.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.4092, allocations: 4 kB / 475.2 MB, free: 5.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.4093, allocations: 4 kB / 475.2 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/0.4099, allocations: 119.8 kB / 475.3 MB, free: 4.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.4099, allocations: 4.875 kB / 475.3 MB, free: 4.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004176/0.4103, allocations: 90.77 kB / 475.4 MB, free: 4.836 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.793e-05/0.4104, allocations: 27.92 kB / 475.4 MB, free: 4.809 MB / 334.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: 10 (sat_pminus.vap.phase,sat_pminus.liq.phase,sat_pplus.vap.phase,sat_pplus.liq.phase,sat_Tminus.vap.phase,sat_Tminus.liq.phase,sat_Tplus.vap.phase,sat_Tplus.liq.phase,sat.vap.phase,sat.liq.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 0.0002157/0.4106, allocations: 161.8 kB / 475.6 MB, free: 4.641 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.4108, allocations: 60.31 kB / 475.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003071/0.4139, allocations: 2.646 MB / 478.3 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-05/0.4139, allocations: 26.08 kB / 478.3 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4139, allocations: 0 / 478.3 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.4139, allocations: 11.92 kB / 478.3 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.4151, allocations: 1.16 MB / 479.5 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4151, allocations: 0 / 479.5 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006318/0.4157, allocations: 139.8 kB / 479.6 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.4158, allocations: 4 kB / 479.6 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.911e-05/0.4158, allocations: 15.44 kB / 479.6 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.4158, allocations: 8 kB / 479.6 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4158, allocations: 0 / 479.6 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002695/0.4185, allocations: 2.338 MB / 482 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002827/0.4188, allocations: 222.5 kB / 482.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.675e-05/0.4189, allocations: 16 kB / 482.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003452/0.4192, allocations: 23.92 kB / 482.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.4194, allocations: 52.92 kB / 482.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-05/0.4194, allocations: 23.94 kB / 482.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.304e-05/0.4195, allocations: 92.14 kB / 482.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4195, allocations: 4 kB / 482.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003728/0.4232, allocations: 0.8801 MB / 483.3 MB, free: 12.88 MB / 350.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: 10 (sat.liq.phase,sat.vap.phase,sat_Tplus.liq.phase,sat_Tplus.vap.phase,sat_Tminus.liq.phase,sat_Tminus.vap.phase,sat_pplus.liq.phase,sat_pplus.vap.phase,sat_pminus.liq.phase,sat_pminus.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.004271/0.4275, allocations: 1.302 MB / 484.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003086/0.4306, allocations: 2.361 MB / 486.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.4306, allocations: 0 / 486.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001309/0.432, allocations: 1.26 MB / 488.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/0.4338, allocations: 345.6 kB / 488.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.4361, allocations: 1.955 MB / 490.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006511/0.4368, allocations: 0.886 MB / 491.4 MB, free: 4.891 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.4371, allocations: 71.41 kB / 491.4 MB, free: 4.824 MB / 350.1 MB Notification: Performance of SimCode: time 1.163e-06/0.4371, allocations: 0 / 491.4 MB, free: 4.824 MB / 350.1 MB Notification: Performance of Templates: time 0.03604/0.4731, allocations: 23.69 MB / 0.503 GB, free: 13.18 MB / 382.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.makefile clang++ -std=c++14 NOTFOUND -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.Validation.Derivatives_SaturationBoundaryCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundaryCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundaryCalcHelperMain.o] Error 1