Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.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_Saturation,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation") translateModel(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008159/0.0008161, allocations: 92.78 kB / 16.02 MB, free: 80 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.0008679/0.000868, allocations: 179.5 kB / 16.92 MB, free: 6.652 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.692/1.692, allocations: 205.4 MB / 223.1 MB, free: 5.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.07776/0.07776, allocations: 9.065 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.0005074/0.0005074, allocations: 12.22 kB / 340.4 MB, free: 25.66 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1085, allocations: 49.2 MB / 389.6 MB, free: 8.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.02147/0.13, allocations: 17.95 MB / 407.5 MB, free: 6.387 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004763/0.1348, allocations: 4.884 MB / 412.4 MB, free: 1.488 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.582e-05/0.1349, allocations: 4 kB / 412.4 MB, free: 1.484 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.136, allocations: 294.9 kB / 412.7 MB, free: 1.195 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0019/0.1379, allocations: 0.6271 MB / 413.3 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004775/0.1427, allocations: 1.502 MB / 414.8 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002862/0.143, allocations: 175.1 kB / 415 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.269e-05/0.143, allocations: 9.125 kB / 415 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002554/0.1433, allocations: 91.45 kB / 415.1 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.129e-05/0.1434, allocations: 51.72 kB / 415.2 MB, free: 14.74 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.1434, allocations: 4 kB / 415.2 MB, free: 14.74 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00518/0.1486, allocations: 3.114 MB / 418.3 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.519e-05/0.1486, allocations: 11.94 kB / 418.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.1488, allocations: 81.38 kB / 418.4 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.1505, allocations: 0.8614 MB / 419.2 MB, free: 10.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1505, allocations: 0 / 419.2 MB, free: 10.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1505, allocations: 0 / 419.2 MB, free: 10.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1505, allocations: 0 / 419.2 MB, free: 10.66 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001385/0.1519, allocations: 0.6002 MB / 419.8 MB, free: 10.01 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.152, allocations: 8.031 kB / 419.8 MB, free: 10 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/0.152, allocations: 11.81 kB / 419.8 MB, free: 9.988 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.1522, allocations: 178.9 kB / 420 MB, free: 9.773 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.1522, allocations: 12 kB / 420 MB, free: 9.762 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.1522, allocations: 8 kB / 420 MB, free: 9.754 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003742/0.1526, allocations: 201.5 kB / 420.2 MB, free: 9.551 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1526, allocations: 3.938 kB / 420.2 MB, free: 9.547 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.1527, allocations: 0 / 420.2 MB, free: 9.547 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.1527, allocations: 4 kB / 420.2 MB, free: 9.543 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004203/0.1531, allocations: 291.8 kB / 420.5 MB, free: 9.258 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007761/0.1539, allocations: 0.5181 MB / 421 MB, free: 8.688 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/0.1542, allocations: 250.5 kB / 421.3 MB, free: 8.434 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/0.1545, allocations: 201 kB / 421.5 MB, free: 8.234 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2848/0.4393, allocations: 7.234 MB / 428.7 MB, free: 26.35 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.4394, allocations: 34.58 kB / 428.8 MB, free: 26.31 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.695e-06/0.4394, allocations: 0 / 428.8 MB, free: 26.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.001518/0.441, allocations: 0.5791 MB / 429.3 MB, free: 26.24 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.441, allocations: 54.8 kB / 429.4 MB, free: 26.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.4411, allocations: 102.4 kB / 429.5 MB, free: 26.08 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.4412, allocations: 32.08 kB / 429.5 MB, free: 26.05 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.4412, allocations: 84.34 kB / 429.6 MB, free: 25.97 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.469e-05/0.4413, allocations: 119.7 kB / 429.7 MB, free: 25.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.4414, allocations: 22.81 kB / 429.7 MB, free: 25.89 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.4415, allocations: 328.4 kB / 430.1 MB, free: 25.58 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.4417, allocations: 148.1 kB / 430.2 MB, free: 25.58 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.442, allocations: 155.4 kB / 430.4 MB, free: 25.58 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006191/0.4426, allocations: 337.4 kB / 430.7 MB, free: 25.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.4427, allocations: 0 / 430.7 MB, free: 25.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007803/0.4434, allocations: 386.8 kB / 431.1 MB, free: 25.52 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.4435, allocations: 4.406 kB / 431.1 MB, free: 25.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.4435, allocations: 3.562 kB / 431.1 MB, free: 25.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/0.4435, allocations: 1.844 kB / 431.1 MB, free: 25.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.4437, allocations: 28.19 kB / 431.1 MB, free: 25.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.4437, allocations: 1.844 kB / 431.1 MB, free: 25.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.4438, allocations: 30.17 kB / 431.1 MB, free: 25.51 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.4439, allocations: 5.203 kB / 431.1 MB, free: 25.51 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000108/0.444, allocations: 120.7 kB / 431.3 MB, free: 25.4 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.444, allocations: 9.406 kB / 431.3 MB, free: 25.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008512/0.4449, allocations: 438.7 kB / 431.7 MB, free: 25.34 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/0.4449, allocations: 8.172 kB / 431.7 MB, free: 25.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.4449, allocations: 1.078 kB / 431.7 MB, free: 25.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4449, allocations: 0.6562 kB / 431.7 MB, free: 25.34 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000351/0.4453, allocations: 299.5 kB / 432 MB, free: 25.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.4453, allocations: 3.656 kB / 432 MB, free: 25.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.4454, allocations: 28.11 kB / 432 MB, free: 25.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.4454, allocations: 1.031 kB / 432 MB, free: 25.14 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.4455, allocations: 5.531 kB / 432 MB, free: 25.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.4455, allocations: 1.344 kB / 432 MB, free: 25.14 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4455, allocations: 0.7031 kB / 432 MB, free: 25.14 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006914/0.4462, allocations: 489.1 kB / 432.5 MB, free: 24.99 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.219e-05/0.4463, allocations: 109.5 kB / 432.6 MB, free: 24.89 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.4463, allocations: 8.562 kB / 432.6 MB, free: 24.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.4464, allocations: 9.172 kB / 432.6 MB, free: 24.89 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/0.4465, allocations: 13.27 kB / 432.7 MB, free: 24.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.4465, allocations: 2.984 kB / 432.7 MB, free: 24.89 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.039e-05/0.4465, allocations: 86.52 kB / 432.7 MB, free: 24.81 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4465, allocations: 0 / 432.7 MB, free: 24.81 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001994/0.4485, allocations: 417.6 kB / 433.1 MB, free: 24.8 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002118/0.4507, allocations: 0.6393 MB / 433.8 MB, free: 24.7 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008591/0.4515, allocations: 378.8 kB / 434.2 MB, free: 24.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4515, allocations: 0 / 434.2 MB, free: 24.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003318/0.4519, allocations: 214.5 kB / 434.4 MB, free: 24.69 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006256/0.4525, allocations: 70.98 kB / 434.4 MB, free: 24.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.4536, allocations: 454 kB / 434.9 MB, free: 24.44 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004795/0.4541, allocations: 0.715 MB / 435.6 MB, free: 23.74 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.021e-05/0.4542, allocations: 24.84 kB / 435.6 MB, free: 23.73 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4542, allocations: 3.656 kB / 435.6 MB, free: 23.73 MB / 318.1 MB Notification: Performance of Templates: time 0.02413/0.4783, allocations: 8.098 MB / 443.7 MB, free: 22.52 MB / 318.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.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_SaturationCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_SaturationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_SaturationCalcHelperMain.o] Error 1