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.0009862/0.0009863, allocations: 99.83 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.001272/0.001272, allocations: 177.6 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.451/1.451, allocations: 205.4 MB / 222.8 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.06516/0.06516, allocations: 9.06 MB / 280.1 MB, free: 12.25 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.0004652/0.0004652, allocations: 12 kB / 339.8 MB, free: 26.01 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.095/0.09547, allocations: 49.19 MB / 388.9 MB, free: 8.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.01803/0.1136, allocations: 16.87 MB / 405.8 MB, free: 7.832 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004398/0.118, allocations: 4.599 MB / 410.4 MB, free: 3.223 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.017e-05/0.1181, allocations: 0 / 410.4 MB, free: 3.223 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008112/0.1189, allocations: 266.7 kB / 410.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.1205, allocations: 0.6192 MB / 411.3 MB, free: 2.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003059/0.1236, allocations: 1.418 MB / 412.7 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.1238, allocations: 171.1 kB / 412.9 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.056e-05/0.1239, allocations: 5.406 kB / 412.9 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.1241, allocations: 83.52 kB / 413 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.341e-05/0.1242, allocations: 51.78 kB / 413 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.1242, allocations: 4 kB / 413 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003795/0.128, allocations: 2.79 MB / 415.8 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.128, allocations: 7.938 kB / 415.8 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.257e-05/0.1281, allocations: 49.64 kB / 415.9 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.1291, allocations: 0.8536 MB / 416.7 MB, free: 12.9 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1291, allocations: 7.938 kB / 416.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1291, allocations: 0 / 416.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.1291, allocations: 0 / 416.7 MB, free: 12.89 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.0007929/0.1299, allocations: 0.5925 MB / 417.3 MB, free: 12.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.1299, allocations: 8.031 kB / 417.3 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.13, allocations: 15.77 kB / 417.4 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.1301, allocations: 178.9 kB / 417.5 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.1301, allocations: 8 kB / 417.5 MB, free: 12.01 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.1302, allocations: 8 kB / 417.5 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.1305, allocations: 201.5 kB / 417.7 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.1305, allocations: 0 / 417.7 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1305, allocations: 4 kB / 417.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.1305, allocations: 7.984 kB / 417.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003662/0.1309, allocations: 291.7 kB / 418 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005857/0.1315, allocations: 0.5182 MB / 418.6 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003056/0.1318, allocations: 258.5 kB / 418.8 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.132, allocations: 201 kB / 419 MB, free: 10.47 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005429/0.1375, allocations: 7.239 MB / 426.2 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.1375, allocations: 34.56 kB / 426.3 MB, free: 1.602 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.393e-06/0.1375, allocations: 0 / 426.3 MB, free: 1.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.0007575/0.1383, allocations: 0.577 MB / 426.9 MB, free: 1.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.1383, allocations: 59.39 kB / 426.9 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.846e-05/0.1384, allocations: 97.86 kB / 427 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.1384, allocations: 29.7 kB / 427 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/0.1385, allocations: 84.8 kB / 427.1 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.757e-05/0.1386, allocations: 114.3 kB / 427.2 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.1386, allocations: 4 kB / 427.2 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1388, allocations: 326.8 kB / 427.6 MB, free: 280 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.1389, allocations: 143.9 kB / 427.7 MB, free: 136 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2062/0.3452, allocations: 151.5 kB / 427.8 MB, free: 29.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/0.3455, allocations: 158.8 kB / 428 MB, free: 29.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3455, allocations: 0 / 428 MB, free: 29.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000614/0.3462, allocations: 379.1 kB / 428.4 MB, free: 29.38 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.3462, allocations: 6.703 kB / 428.4 MB, free: 29.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.3462, allocations: 3.125 kB / 428.4 MB, free: 29.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.3462, allocations: 1.375 kB / 428.4 MB, free: 29.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.3464, allocations: 28.84 kB / 428.4 MB, free: 29.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3464, allocations: 3.469 kB / 428.4 MB, free: 29.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.532e-05/0.3465, allocations: 25.36 kB / 428.4 MB, free: 29.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.3465, allocations: 4.125 kB / 428.4 MB, free: 29.38 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.461e-05/0.3466, allocations: 123 kB / 428.6 MB, free: 29.26 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.3467, allocations: 15.05 kB / 428.6 MB, free: 29.26 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006444/0.3473, allocations: 434.4 kB / 429 MB, free: 29.21 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.3473, allocations: 8.438 kB / 429 MB, free: 29.21 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3473, allocations: 4.281 kB / 429 MB, free: 29.21 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.3474, allocations: 8.297 kB / 429 MB, free: 29.21 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.3476, allocations: 282.6 kB / 429.3 MB, free: 29.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3476, allocations: 6.484 kB / 429.3 MB, free: 29.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.709e-05/0.3477, allocations: 26.8 kB / 429.3 MB, free: 29.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3477, allocations: 1.797 kB / 429.3 MB, free: 29.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.3477, allocations: 5.031 kB / 429.3 MB, free: 29.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3477, allocations: 1.156 kB / 429.3 MB, free: 29.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3478, allocations: 0 / 429.3 MB, free: 29.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004981/0.3483, allocations: 495.9 kB / 429.8 MB, free: 28.88 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.3483, allocations: 106.4 kB / 429.9 MB, free: 28.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.3484, allocations: 5.406 kB / 429.9 MB, free: 28.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.953e-05/0.3485, allocations: 8.609 kB / 429.9 MB, free: 28.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.3485, allocations: 17.7 kB / 430 MB, free: 28.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.3485, allocations: 3.781 kB / 430 MB, free: 28.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.138e-05/0.3486, allocations: 85.75 kB / 430 MB, free: 28.7 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3486, allocations: 0 / 430 MB, free: 28.7 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001241/0.3498, allocations: 417.4 kB / 430.4 MB, free: 28.68 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 (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.001369/0.3512, allocations: 0.6402 MB / 431.1 MB, free: 28.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005372/0.3517, allocations: 375.9 kB / 431.5 MB, free: 28.56 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3518, allocations: 5.094 kB / 431.5 MB, free: 28.56 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002517/0.352, allocations: 206.2 kB / 431.7 MB, free: 28.56 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005135/0.3525, allocations: 70.73 kB / 431.7 MB, free: 28.55 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005581/0.3531, allocations: 465.3 kB / 432.2 MB, free: 28.32 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.3533, allocations: 0.714 MB / 432.9 MB, free: 27.62 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/0.3533, allocations: 22.89 kB / 432.9 MB, free: 27.61 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3533, allocations: 4 kB / 432.9 MB, free: 27.61 MB / 318.1 MB Notification: Performance of Templates: time 0.01467/0.368, allocations: 8.108 MB / 441 MB, free: 26.49 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++ 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_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