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.0008028/0.0008025, allocations: 100.5 kB / 15.71 MB, free: 452 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.0008613/0.0008614, allocations: 176 kB / 16.58 MB, free: 6.422 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.476/1.476, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04417/0.04417, allocations: 9.065 MB / 280.1 MB, free: 12.27 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.0004814/0.0004814, allocations: 8 kB / 339.7 MB, free: 26.03 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1033, allocations: 49.2 MB / 389 MB, free: 8.781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.01881/0.1221, allocations: 17.75 MB / 406.7 MB, free: 6.961 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008648/0.1308, allocations: 8.824 MB / 415.5 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.131, allocations: 4 kB / 415.5 MB, free: 14.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00088/0.1319, allocations: 362.4 kB / 415.9 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005248/0.1324, allocations: 222.6 kB / 416.1 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009857/0.1423, allocations: 3.661 MB / 419.8 MB, free: 9.879 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004815/0.1428, allocations: 385.9 kB / 420.1 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.16e-05/0.1428, allocations: 16.41 kB / 420.2 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002915/0.1431, allocations: 159.2 kB / 420.3 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.1433, allocations: 95.59 kB / 420.4 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.1433, allocations: 4 kB / 420.4 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01018/0.1535, allocations: 6.103 MB / 426.5 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.116e-05/0.1536, allocations: 19.86 kB / 426.5 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.1537, allocations: 81.56 kB / 426.6 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002912/0.1566, allocations: 1.816 MB / 428.4 MB, free: 1.184 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1566, allocations: 0 / 428.4 MB, free: 1.184 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.1566, allocations: 0 / 428.4 MB, free: 1.184 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1566, allocations: 4 kB / 428.4 MB, free: 1.18 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.00139/0.158, allocations: 0.7991 MB / 429.2 MB, free: 340 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1581, allocations: 11.97 kB / 429.2 MB, free: 328 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003055/0.1584, allocations: 63.58 kB / 429.3 MB, free: 264 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.1586, allocations: 182.8 kB / 429.5 MB, free: 40 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.1586, allocations: 8 kB / 429.5 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.1586, allocations: 8 kB / 429.5 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1998/0.3584, allocations: 229.6 kB / 429.7 MB, free: 46.14 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.3585, allocations: 0 / 429.7 MB, free: 46.14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.3585, allocations: 2.688 kB / 429.7 MB, free: 46.14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.658e-05/0.3585, allocations: 10.64 kB / 429.7 MB, free: 46.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004595/0.359, allocations: 232.8 kB / 430 MB, free: 46.13 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.3594, allocations: 348.6 kB / 430.3 MB, free: 45.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000895/0.3603, allocations: 353.7 kB / 430.6 MB, free: 45.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003106/0.3606, allocations: 261.4 kB / 430.9 MB, free: 45.89 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03843/0.399, allocations: 27.88 MB / 458.8 MB, free: 19.81 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.3991, allocations: 31.84 kB / 458.8 MB, free: 19.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 3.006e-06/0.3991, allocations: 0 / 458.8 MB, free: 19.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.001139/0.4003, allocations: 0.6888 MB / 459.5 MB, free: 19.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.4003, allocations: 53.66 kB / 459.5 MB, free: 19.35 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.75e-05/0.4004, allocations: 117.6 kB / 459.7 MB, free: 19.24 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.4004, allocations: 26.92 kB / 459.7 MB, free: 19.21 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.779e-05/0.4005, allocations: 87.58 kB / 459.8 MB, free: 19.12 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.4006, allocations: 229.7 kB / 460 MB, free: 18.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-06/0.4006, allocations: 1.344 kB / 460 MB, free: 18.93 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.7e-05/0.4007, allocations: 340 kB / 460.3 MB, free: 18.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.4009, allocations: 180.4 kB / 460.5 MB, free: 18.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.4012, allocations: 178.8 kB / 460.7 MB, free: 18.4 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.4015, allocations: 207.9 kB / 460.9 MB, free: 18.29 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.4015, allocations: 0 / 460.9 MB, free: 18.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006073/0.4021, allocations: 480.3 kB / 461.4 MB, free: 18.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.4021, allocations: 8.25 kB / 461.4 MB, free: 18.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.4021, allocations: 3.562 kB / 461.4 MB, free: 18.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.4022, allocations: 5.672 kB / 461.4 MB, free: 18.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.4023, allocations: 29.58 kB / 461.4 MB, free: 18.01 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.4023, allocations: 4.266 kB / 461.4 MB, free: 18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.4025, allocations: 38.98 kB / 461.4 MB, free: 17.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.4025, allocations: 11.58 kB / 461.5 MB, free: 17.97 MB / 318.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_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 initialization (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.4026, allocations: 138.9 kB / 461.6 MB, free: 17.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.4027, allocations: 19.66 kB / 461.6 MB, free: 17.83 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009042/0.4036, allocations: 0.7805 MB / 462.4 MB, free: 17.36 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/0.4036, allocations: 8.297 kB / 462.4 MB, free: 17.36 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.4036, allocations: 1.344 kB / 462.4 MB, free: 17.36 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4036, allocations: 2.719 kB / 462.4 MB, free: 17.36 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.404, allocations: 432 kB / 462.8 MB, free: 16.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.404, allocations: 0 / 462.8 MB, free: 16.99 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.4041, allocations: 31.22 kB / 462.9 MB, free: 16.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4041, allocations: 1.375 kB / 462.9 MB, free: 16.98 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.4042, allocations: 5.359 kB / 462.9 MB, free: 16.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.4042, allocations: 4.281 kB / 462.9 MB, free: 16.97 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4042, allocations: 0 / 462.9 MB, free: 16.97 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006749/0.4049, allocations: 0.5266 MB / 463.4 MB, free: 16.65 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.699e-05/0.4049, allocations: 122.2 kB / 463.5 MB, free: 16.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.405, allocations: 1.312 kB / 463.5 MB, free: 16.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.4051, allocations: 17.23 kB / 463.5 MB, free: 16.51 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.4051, allocations: 9.797 kB / 463.5 MB, free: 16.51 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.4052, allocations: 6.562 kB / 463.5 MB, free: 16.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.289e-05/0.4052, allocations: 84.2 kB / 463.6 MB, free: 16.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4052, allocations: 0 / 463.6 MB, free: 16.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00211/0.4073, allocations: 0.705 MB / 464.3 MB, free: 16.37 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002292/0.4096, allocations: 1.037 MB / 465.4 MB, free: 15.99 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005809/0.4102, allocations: 452.1 kB / 465.8 MB, free: 15.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4102, allocations: 0 / 465.8 MB, free: 15.75 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002471/0.4105, allocations: 256.3 kB / 466.1 MB, free: 15.6 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.4115, allocations: 227.2 kB / 466.3 MB, free: 15.5 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007717/0.4123, allocations: 0.6788 MB / 467 MB, free: 14.99 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.4125, allocations: 0.7597 MB / 467.7 MB, free: 14.26 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.311e-05/0.4125, allocations: 23.42 kB / 467.7 MB, free: 14.24 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4125, allocations: 0 / 467.7 MB, free: 14.24 MB / 318.1 MB Notification: Performance of Templates: time 0.02299/0.4355, allocations: 16.39 MB / 484.1 MB, free: 13.84 MB / 334.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/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