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.000801/0.000801, allocations: 98.56 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.0009245/0.0009246, allocations: 187.7 kB / 16.92 MB, free: 6.75 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.74/1.74, allocations: 205.4 MB / 223.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04565/0.04565, allocations: 9.075 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.0005855/0.0005856, allocations: 12 kB / 340.4 MB, free: 25.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1303, allocations: 49.19 MB / 389.6 MB, free: 8.406 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.02284/0.1532, allocations: 17.81 MB / 407.4 MB, free: 6.516 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01191/0.1652, allocations: 11.15 MB / 418.5 MB, free: 11.33 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.036e-05/0.1654, allocations: 0 / 418.5 MB, free: 11.33 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.718e-05/0.1654, allocations: 3.984 kB / 418.5 MB, free: 11.33 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00111/0.1665, allocations: 314.4 kB / 418.8 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.014/0.1805, allocations: 4.517 MB / 423.4 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.1808, allocations: 139.3 kB / 423.5 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.92e-05/0.1808, allocations: 8 kB / 423.5 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002484/0.1811, allocations: 75.58 kB / 423.6 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.242e-05/0.1812, allocations: 51.81 kB / 423.6 MB, free: 6.234 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.1812, allocations: 8 kB / 423.6 MB, free: 6.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2567/0.4379, allocations: 7.477 MB / 431.1 MB, free: 19.6 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.53e-05/0.438, allocations: 17.59 kB / 431.1 MB, free: 19.6 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.4382, allocations: 67.34 kB / 431.2 MB, free: 19.57 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00513/0.4433, allocations: 1.915 MB / 433.1 MB, free: 19.55 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4433, allocations: 0 / 433.1 MB, free: 19.55 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.387e-06/0.4434, allocations: 1.125 kB / 433.1 MB, free: 19.55 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.391e-06/0.4434, allocations: 3.562 kB / 433.1 MB, free: 19.55 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.002098/0.4455, allocations: 0.7951 MB / 433.9 MB, free: 18.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.4455, allocations: 11.97 kB / 433.9 MB, free: 18.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.4457, allocations: 14.53 kB / 433.9 MB, free: 18.97 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.4458, allocations: 181.7 kB / 434.1 MB, free: 18.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.4459, allocations: 5.969 kB / 434.1 MB, free: 18.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.4459, allocations: 4.031 kB / 434.1 MB, free: 18.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003956/0.4463, allocations: 114.8 kB / 434.2 MB, free: 18.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.4463, allocations: 3.281 kB / 434.2 MB, free: 18.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.4463, allocations: 0.6875 kB / 434.2 MB, free: 18.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.4463, allocations: 3.438 kB / 434.2 MB, free: 18.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004709/0.4468, allocations: 128.2 kB / 434.4 MB, free: 18.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/0.4473, allocations: 325.7 kB / 434.7 MB, free: 18.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004492/0.4478, allocations: 123.9 kB / 434.8 MB, free: 18.44 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/0.448, allocations: 79.5 kB / 434.9 MB, free: 18.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01965/0.4677, allocations: 15.65 MB / 450.5 MB, free: 20.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.787e-05/0.4678, allocations: 32.09 kB / 450.6 MB, free: 20.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 5.169e-06/0.4678, allocations: 4 kB / 450.6 MB, free: 20.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.001016/0.4688, allocations: 255.6 kB / 450.8 MB, free: 20.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.4689, allocations: 56.72 kB / 450.9 MB, free: 19.96 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.469, allocations: 138.9 kB / 451 MB, free: 19.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.469, allocations: 30.95 kB / 451 MB, free: 19.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.4691, allocations: 88.34 kB / 451.1 MB, free: 19.74 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.4692, allocations: 31.31 kB / 451.2 MB, free: 19.72 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.558e-05/0.4692, allocations: 16.34 kB / 451.2 MB, free: 19.71 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.4693, allocations: 316.1 kB / 451.5 MB, free: 19.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.4695, allocations: 65 kB / 451.5 MB, free: 19.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.4697, allocations: 58.31 kB / 451.6 MB, free: 19.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.4701, allocations: 140.3 kB / 451.7 MB, free: 19.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4701, allocations: 1.5 kB / 451.7 MB, free: 19.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004319/0.4705, allocations: 172.9 kB / 451.9 MB, free: 19.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.4705, allocations: 5.062 kB / 451.9 MB, free: 19.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.4706, allocations: 4.328 kB / 451.9 MB, free: 19.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.4706, allocations: 0 / 451.9 MB, free: 19.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.4707, allocations: 44.31 kB / 452 MB, free: 19.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.4708, allocations: 1.406 kB / 452 MB, free: 19.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.4709, allocations: 21.62 kB / 452 MB, free: 19.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.4709, allocations: 2.719 kB / 452 MB, free: 19.32 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.292e-05/0.471, allocations: 119 kB / 452.1 MB, free: 19.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.471, allocations: 9.75 kB / 452.1 MB, free: 19.2 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007355/0.4718, allocations: 424.8 kB / 452.5 MB, free: 19.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.4718, allocations: 9.156 kB / 452.5 MB, free: 19.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.4718, allocations: 4 kB / 452.5 MB, free: 19.13 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.4718, allocations: 1.062 kB / 452.5 MB, free: 19.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.4721, allocations: 279 kB / 452.8 MB, free: 18.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4721, allocations: 0 / 452.8 MB, free: 18.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.4723, allocations: 36.45 kB / 452.8 MB, free: 18.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.4723, allocations: 1.656 kB / 452.8 MB, free: 18.94 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.4723, allocations: 0 / 452.8 MB, free: 18.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.4723, allocations: 9.25 kB / 452.9 MB, free: 18.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4723, allocations: 4 kB / 452.9 MB, free: 18.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000642/0.4729, allocations: 463 kB / 453.3 MB, free: 18.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.127e-05/0.473, allocations: 107.2 kB / 453.4 MB, free: 18.67 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.4731, allocations: 3.969 kB / 453.4 MB, free: 18.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.4732, allocations: 26.12 kB / 453.4 MB, free: 18.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.4733, allocations: 14.27 kB / 453.5 MB, free: 18.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.4733, allocations: 1.656 kB / 453.5 MB, free: 18.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.101e-05/0.4733, allocations: 103.1 kB / 453.6 MB, free: 18.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4733, allocations: 0 / 453.6 MB, free: 18.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001838/0.4752, allocations: 450.3 kB / 454 MB, free: 18.51 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: 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 (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.00194/0.4771, allocations: 0.7105 MB / 454.7 MB, free: 18.31 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005426/0.4777, allocations: 234.3 kB / 454.9 MB, free: 18.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4777, allocations: 0 / 454.9 MB, free: 18.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002654/0.478, allocations: 173.3 kB / 455.1 MB, free: 18.3 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.4783, allocations: 34.48 kB / 455.1 MB, free: 18.3 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005424/0.4789, allocations: 463.2 kB / 455.6 MB, free: 18.04 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.4792, allocations: 0.7207 MB / 456.3 MB, free: 17.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.368e-05/0.4792, allocations: 17.05 kB / 456.3 MB, free: 17.33 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4793, allocations: 0 / 456.3 MB, free: 17.33 MB / 334.1 MB Notification: Performance of Templates: time 0.01603/0.4953, allocations: 9.554 MB / 465.9 MB, free: 14.16 MB / 334.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.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.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