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.0008697/0.0008698, 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.0008874/0.0008875, allocations: 175.8 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.489/1.489, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04504/0.04504, allocations: 9.056 MB / 280.1 MB, free: 12.26 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.0004743/0.0004743, allocations: 12 kB / 339.7 MB, free: 26.02 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09093/0.09142, allocations: 49.21 MB / 389 MB, free: 8.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.01717/0.1086, allocations: 16.73 MB / 405.7 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009249/0.1179, allocations: 10.39 MB / 416.1 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.76e-05/0.1181, allocations: 0 / 416.1 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.412e-05/0.1181, allocations: 7.922 kB / 416.1 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008324/0.119, allocations: 290.5 kB / 416.4 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01111/0.1301, allocations: 4.265 MB / 420.6 MB, free: 9.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.1303, allocations: 127.3 kB / 420.8 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.862e-05/0.1303, allocations: 4 kB / 420.8 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.1305, allocations: 83.62 kB / 420.8 MB, free: 8.797 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.066e-05/0.1306, allocations: 51.77 kB / 420.9 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.1307, allocations: 4 kB / 420.9 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01157/0.1422, allocations: 6.742 MB / 427.6 MB, free: 1.984 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.085e-05/0.1423, allocations: 19.92 kB / 427.7 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.941e-05/0.1424, allocations: 41.7 kB / 427.7 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1816/0.324, allocations: 1.916 MB / 429.6 MB, free: 25.05 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.324, allocations: 0 / 429.6 MB, free: 25.05 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.324, allocations: 0.5312 kB / 429.6 MB, free: 25.05 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.557e-06/0.324, allocations: 0 / 429.6 MB, free: 25.05 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.001883/0.3259, allocations: 0.8009 MB / 430.4 MB, free: 24.56 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.326, allocations: 9.625 kB / 430.4 MB, free: 24.56 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.3261, allocations: 12.38 kB / 430.4 MB, free: 24.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.846e-05/0.3262, allocations: 173.8 kB / 430.6 MB, free: 24.35 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.3262, allocations: 4.125 kB / 430.6 MB, free: 24.35 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.3262, allocations: 9.781 kB / 430.6 MB, free: 24.35 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.3265, allocations: 113.1 kB / 430.7 MB, free: 24.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.3266, allocations: 0.7188 kB / 430.7 MB, free: 24.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.3266, allocations: 3.969 kB / 430.7 MB, free: 24.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.3266, allocations: 1.188 kB / 430.7 MB, free: 24.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003853/0.327, allocations: 136.1 kB / 430.9 MB, free: 24.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.3274, allocations: 322.3 kB / 431.2 MB, free: 24.05 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/0.3278, allocations: 121.7 kB / 431.3 MB, free: 24.03 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.328, allocations: 83.23 kB / 431.4 MB, free: 24.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01797/0.346, allocations: 15.64 MB / 447 MB, free: 9.707 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.3461, allocations: 37.88 kB / 447.1 MB, free: 9.668 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 3.537e-06/0.3461, allocations: 0 / 447.1 MB, free: 9.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009261/0.347, allocations: 248.2 kB / 447.3 MB, free: 9.633 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.3471, allocations: 56.34 kB / 447.4 MB, free: 9.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.3472, allocations: 141.5 kB / 447.5 MB, free: 9.469 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.3472, allocations: 25.7 kB / 447.5 MB, free: 9.438 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.3472, allocations: 99.08 kB / 447.6 MB, free: 9.352 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.3473, allocations: 26.59 kB / 447.6 MB, free: 9.332 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-06/0.3473, allocations: 0 / 447.6 MB, free: 9.332 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.997e-05/0.3474, allocations: 324.3 kB / 448 MB, free: 9.016 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.3475, allocations: 65.67 kB / 448 MB, free: 9.012 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.3477, allocations: 61.47 kB / 448.1 MB, free: 9.008 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.3479, allocations: 57.16 kB / 448.1 MB, free: 9.008 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3479, allocations: 0 / 448.1 MB, free: 9.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004002/0.3483, allocations: 183.2 kB / 448.3 MB, free: 8.969 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3483, allocations: 8.312 kB / 448.3 MB, free: 8.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3483, allocations: 0 / 448.3 MB, free: 8.969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3483, allocations: 1.094 kB / 448.3 MB, free: 8.969 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.3485, allocations: 33.52 kB / 448.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3485, allocations: 0 / 448.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.3486, allocations: 30.64 kB / 448.4 MB, free: 8.957 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.3487, allocations: 5.828 kB / 448.4 MB, free: 8.957 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.732e-05/0.3487, allocations: 116.3 kB / 448.5 MB, free: 8.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.3488, allocations: 13.64 kB / 448.5 MB, free: 8.836 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007069/0.3495, allocations: 423.9 kB / 448.9 MB, free: 8.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.3495, allocations: 2.594 kB / 448.9 MB, free: 8.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3495, allocations: 2.219 kB / 448.9 MB, free: 8.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.3495, allocations: 3.375 kB / 448.9 MB, free: 8.77 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.3498, allocations: 279.9 kB / 449.2 MB, free: 8.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3498, allocations: 0 / 449.2 MB, free: 8.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.3499, allocations: 43.28 kB / 449.3 MB, free: 8.566 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.3499, allocations: 0 / 449.3 MB, free: 8.566 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.3499, allocations: 1.875 kB / 449.3 MB, free: 8.566 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.35, allocations: 1.375 kB / 449.3 MB, free: 8.566 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.35, allocations: 0 / 449.3 MB, free: 8.566 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005664/0.3505, allocations: 454.3 kB / 449.7 MB, free: 8.414 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/0.3506, allocations: 113.1 kB / 449.8 MB, free: 8.301 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.3506, allocations: 1.375 kB / 449.8 MB, free: 8.301 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.3508, allocations: 23.19 kB / 449.8 MB, free: 8.301 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/0.3508, allocations: 14.33 kB / 449.9 MB, free: 8.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.3509, allocations: 6.641 kB / 449.9 MB, free: 8.297 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.457e-05/0.3509, allocations: 99.84 kB / 450 MB, free: 8.223 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3509, allocations: 0 / 450 MB, free: 8.223 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001531/0.3525, allocations: 459.8 kB / 450.4 MB, free: 8.141 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: 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 (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.001729/0.3542, allocations: 0.6993 MB / 451.1 MB, free: 7.953 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004813/0.3547, allocations: 220.1 kB / 451.3 MB, free: 7.949 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3547, allocations: 0 / 451.3 MB, free: 7.949 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002677/0.355, allocations: 182.7 kB / 451.5 MB, free: 7.941 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.3553, allocations: 27.77 kB / 451.5 MB, free: 7.941 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005768/0.3559, allocations: 460.7 kB / 452 MB, free: 7.684 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.3561, allocations: 0.7222 MB / 452.7 MB, free: 6.984 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.3561, allocations: 15.62 kB / 452.7 MB, free: 6.98 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3561, allocations: 0 / 452.7 MB, free: 6.98 MB / 318.1 MB Notification: Performance of Templates: time 0.01479/0.3709, allocations: 9.536 MB / 462.3 MB, free: 4.707 MB / 318.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.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.Ancillary_StartValuesCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValuesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValuesCalcHelperMain.o] Error 1