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.001049/0.001049, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009304/0.0009304, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.819/1.819, allocations: 205.4 MB / 223.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04551/0.04551, allocations: 9.069 MB / 280.5 MB, free: 12.15 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.0005612/0.0005612, allocations: 12.22 kB / 340.4 MB, free: 25.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1253, allocations: 49.2 MB / 389.6 MB, free: 8.395 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.02315/0.1485, allocations: 19.45 MB / 409 MB, free: 4.855 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01882/0.1674, allocations: 17.17 MB / 426.2 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007527/0.1682, allocations: 0 / 426.2 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001988/0.1702, allocations: 0.5177 MB / 426.7 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2919/0.4622, allocations: 4.501 MB / 431.2 MB, free: 14.63 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00351/0.4657, allocations: 0.8529 MB / 432.1 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001289/0.467, allocations: 0.7762 MB / 432.9 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.4671, allocations: 41.75 kB / 432.9 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005084/0.4677, allocations: 323.5 kB / 433.2 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004568/0.4681, allocations: 307.7 kB / 433.5 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.723e-05/0.4682, allocations: 28.06 kB / 433.5 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01881/0.487, allocations: 8.799 MB / 442.3 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.4872, allocations: 91.98 kB / 442.4 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006374/0.4878, allocations: 300.6 kB / 442.7 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005788/0.4936, allocations: 2.357 MB / 445.1 MB, free: 14.01 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4937, allocations: 0 / 445.1 MB, free: 14.01 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4937, allocations: 0 / 445.1 MB, free: 14.01 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.134e-05/0.4937, allocations: 0 / 445.1 MB, free: 14.01 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.003538/0.4972, allocations: 1.164 MB / 446.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.4973, allocations: 10.97 kB / 446.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005559/0.4979, allocations: 92.06 kB / 446.4 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.4982, allocations: 220.3 kB / 446.6 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.336e-05/0.4982, allocations: 25.47 kB / 446.6 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.4984, allocations: 24.61 kB / 446.6 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.5002, allocations: 1.266 MB / 447.9 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.5003, allocations: 0 / 447.9 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.171e-05/0.5003, allocations: 13.44 kB / 447.9 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.808e-05/0.5004, allocations: 28.17 kB / 447.9 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002823/0.5032, allocations: 2.322 MB / 450.2 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00262/0.5058, allocations: 2.166 MB / 452.4 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.5074, allocations: 1.361 MB / 453.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/0.5085, allocations: 1.281 MB / 455.1 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01874/0.5272, allocations: 10.9 MB / 466 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.309e-05/0.5273, allocations: 39.94 kB / 466 MB, free: 64 kB / 318.1 MB Notification: Performance of pre-optimization done (n=185): time 3.437e-06/0.5273, allocations: 0 / 466 MB, free: 64 kB / 318.1 MB Notification: Performance of matching and sorting (n=185): time 0.005133/0.5325, allocations: 3.622 MB / 469.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.5325, allocations: 59.97 kB / 469.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.5327, allocations: 113.8 kB / 469.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.956e-05/0.5327, allocations: 37.7 kB / 469.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.5328, allocations: 83.08 kB / 469.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005473/0.5333, allocations: 0.5794 MB / 470.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.5335, allocations: 105.6 kB / 470.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.5336, allocations: 311.5 kB / 470.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.5349, allocations: 1.029 MB / 471.9 MB, free: 10.24 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.5361, allocations: 1.035 MB / 473 MB, free: 9.207 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002478/0.5385, allocations: 2.245 MB / 475.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5386, allocations: 0 / 475.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.002744/0.5413, allocations: 2.348 MB / 477.5 MB, free: 4.602 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.5413, allocations: 4 kB / 477.6 MB, free: 4.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.5414, allocations: 0 / 477.6 MB, free: 4.598 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.5414, allocations: 4 kB / 477.6 MB, free: 4.594 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006126/0.542, allocations: 115.8 kB / 477.7 MB, free: 4.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.542, allocations: 4 kB / 477.7 MB, free: 4.477 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004141/0.5424, allocations: 106.7 kB / 477.8 MB, free: 4.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.294e-05/0.5425, allocations: 19.98 kB / 477.8 MB, free: 4.352 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.0002327/0.5428, allocations: 165.7 kB / 478 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.5429, allocations: 51.34 kB / 478 MB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003316/0.5462, allocations: 2.658 MB / 480.7 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.49e-05/0.5463, allocations: 30.38 kB / 480.7 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.5463, allocations: 0 / 480.7 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.5463, allocations: 7.922 kB / 480.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.5475, allocations: 1.159 MB / 481.9 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.5475, allocations: 0 / 481.9 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006093/0.5481, allocations: 139.8 kB / 482 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.5481, allocations: 8 kB / 482 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-05/0.5482, allocations: 15.98 kB / 482 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.5482, allocations: 7.656 kB / 482 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5482, allocations: 0 / 482 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/0.5509, allocations: 2.356 MB / 484.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003072/0.5512, allocations: 216.7 kB / 484.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.446e-05/0.5513, allocations: 16 kB / 484.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/0.5517, allocations: 23.98 kB / 484.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.5518, allocations: 48.92 kB / 484.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.442e-05/0.5518, allocations: 27.94 kB / 484.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.101e-05/0.5519, allocations: 83.27 kB / 484.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.004e-06/0.5519, allocations: 4 kB / 484.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00373/0.5557, allocations: 0.8823 MB / 485.7 MB, free: 12.39 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.004031/0.5597, allocations: 1.312 MB / 487 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002832/0.5625, allocations: 2.365 MB / 489.4 MB, free: 8.863 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5626, allocations: 4 kB / 489.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.5639, allocations: 1.256 MB / 490.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/0.5657, allocations: 343 kB / 491 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.5682, allocations: 2 MB / 493 MB, free: 5.242 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.5686, allocations: 0.8821 MB / 493.8 MB, free: 4.332 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.5689, allocations: 71.41 kB / 493.9 MB, free: 4.266 MB / 350.1 MB Notification: Performance of SimCode: time 2.01e-07/0.5689, allocations: 0 / 493.9 MB, free: 4.266 MB / 350.1 MB Notification: Performance of Templates: time 0.03767/0.6065, allocations: 23.65 MB / 0.5054 GB, free: 12.65 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