Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.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.setSat,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat") translateModel(HelmholtzMedia.Examples.ConvergenceTest.setSat,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006575/0.006575, allocations: 100.5 kB / 15.87 MB, free: 5.867 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.001126/0.001126, allocations: 189.7 kB / 16.79 MB, free: 5.809 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.477/1.477, allocations: 205.1 MB / 222.6 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0441/0.0441, allocations: 9.076 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.001249/0.001249, allocations: 63.91 kB / 338 MB, free: 25.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1015, allocations: 48.16 MB / 386.2 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.02249/0.124, allocations: 19.41 MB / 405.6 MB, free: 6.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009755/0.1338, allocations: 9.643 MB / 415.2 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002834/0.1342, allocations: 4 kB / 415.2 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.1355, allocations: 390.3 kB / 415.6 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007011/0.1363, allocations: 238.6 kB / 415.8 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01296/0.1492, allocations: 3.822 MB / 419.6 MB, free: 8.066 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005596/0.1498, allocations: 389.9 kB / 420 MB, free: 7.684 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.106e-05/0.1499, allocations: 20.39 kB / 420 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000327/0.1502, allocations: 179.1 kB / 420.2 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.1504, allocations: 95.53 kB / 420.3 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.1504, allocations: 4 kB / 420.3 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01289/0.1633, allocations: 6.751 MB / 427.1 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.987e-05/0.1634, allocations: 19.86 kB / 427.1 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002975/0.1637, allocations: 123.4 kB / 427.2 MB, free: 492 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2481/0.4118, allocations: 1.825 MB / 429 MB, free: 22.62 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.4119, allocations: 0 / 429 MB, free: 22.62 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4119, allocations: 0 / 429 MB, free: 22.62 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.4119, allocations: 1.062 kB / 429 MB, free: 22.62 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.002737/0.4147, allocations: 0.8084 MB / 429.8 MB, free: 22.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/0.4147, allocations: 11.12 kB / 429.9 MB, free: 22.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003994/0.4151, allocations: 63.02 kB / 429.9 MB, free: 22.05 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.4153, allocations: 184.5 kB / 430.1 MB, free: 21.85 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/0.4153, allocations: 6.5 kB / 430.1 MB, free: 21.85 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.4154, allocations: 4 kB / 430.1 MB, free: 21.85 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000467/0.4158, allocations: 234 kB / 430.3 MB, free: 21.81 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.4159, allocations: 1.312 kB / 430.3 MB, free: 21.81 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.4159, allocations: 2.531 kB / 430.3 MB, free: 21.81 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.4159, allocations: 11.94 kB / 430.4 MB, free: 21.81 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004885/0.4164, allocations: 217.7 kB / 430.6 MB, free: 21.8 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004269/0.4168, allocations: 361.8 kB / 430.9 MB, free: 21.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.418, allocations: 347.8 kB / 431.3 MB, free: 21.56 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000381/0.4184, allocations: 251.1 kB / 431.5 MB, free: 21.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0492/0.4676, allocations: 28.61 MB / 460.1 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.672e-05/0.4677, allocations: 33.47 kB / 460.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 3.607e-06/0.4677, allocations: 0 / 460.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.001414/0.4691, allocations: 0.6775 MB / 460.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.959e-05/0.4692, allocations: 57.22 kB / 460.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.4693, allocations: 113 kB / 461 MB, free: 12.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.4694, allocations: 25.7 kB / 461 MB, free: 12.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.099e-05/0.4694, allocations: 87.02 kB / 461.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.4696, allocations: 228.3 kB / 461.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.231e-05/0.4697, allocations: 64.17 kB / 461.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.4699, allocations: 335.8 kB / 461.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/0.4702, allocations: 169.6 kB / 461.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.4704, allocations: 180.1 kB / 462.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005754/0.471, allocations: 424.5 kB / 462.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.471, allocations: 2.578 kB / 462.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000722/0.4718, allocations: 476 kB / 462.9 MB, free: 11.99 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.4718, allocations: 8.031 kB / 462.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.4718, allocations: 1.906 kB / 462.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.4718, allocations: 2.062 kB / 462.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.472, allocations: 26.77 kB / 463 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.472, allocations: 0 / 463 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.4722, allocations: 38.8 kB / 463 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.4723, allocations: 11.75 kB / 463 MB, free: 11.96 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: 8 (sat_dv.vap.phase,sat_dv.liq.phase,sat_dl.vap.phase,sat_dl.liq.phase,sat_p.vap.phase,sat_p.liq.phase,sat_T.vap.phase,sat_T.liq.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001272/0.4724, allocations: 131.3 kB / 463.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.834e-05/0.4724, allocations: 24.75 kB / 463.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.4735, allocations: 0.7729 MB / 463.9 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.4735, allocations: 7.25 kB / 464 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.4735, allocations: 0 / 464 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4735, allocations: 7.125 kB / 464 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003953/0.4739, allocations: 428 kB / 464.4 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4739, allocations: 8.922 kB / 464.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.4741, allocations: 31.27 kB / 464.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.4741, allocations: 2.438 kB / 464.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.4741, allocations: 3.891 kB / 464.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.4741, allocations: 0.875 kB / 464.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4741, allocations: 0 / 464.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006879/0.4748, allocations: 0.5148 MB / 464.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.06e-05/0.4749, allocations: 130.1 kB / 465.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.475, allocations: 0 / 465.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.4751, allocations: 10.22 kB / 465.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.4751, allocations: 11.89 kB / 465.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.4752, allocations: 3.125 kB / 465.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.008e-05/0.4752, allocations: 85.42 kB / 465.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4752, allocations: 0 / 465.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00307/0.4783, allocations: 0.7086 MB / 465.9 MB, free: 11.06 MB / 334.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: 8 (sat_T.liq.phase,sat_T.vap.phase,sat_p.liq.phase,sat_p.vap.phase,sat_dl.liq.phase,sat_dl.vap.phase,sat_dv.liq.phase,sat_dv.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.002628/0.481, allocations: 1.046 MB / 466.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006538/0.4816, allocations: 438.7 kB / 467.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4816, allocations: 0 / 467.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002821/0.4819, allocations: 257.1 kB / 467.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.483, allocations: 222.7 kB / 467.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000847/0.4838, allocations: 0.6659 MB / 468.5 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.4842, allocations: 0.757 MB / 469.3 MB, free: 9.738 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.611e-05/0.4843, allocations: 22.11 kB / 469.3 MB, free: 9.73 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4843, allocations: 0 / 469.3 MB, free: 9.73 MB / 334.1 MB Notification: Performance of Templates: time 0.02851/0.5128, allocations: 16.41 MB / 485.7 MB, free: 11.59 MB / 350.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.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.ConvergenceTest.setSatCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSatCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSatCalcHelperMain.o] Error 1