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.0009689/0.0009689, allocations: 96.14 kB / 15.87 MB, free: 16 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.0009552/0.0009552, allocations: 194.1 kB / 16.79 MB, free: 6.812 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.446/1.446, allocations: 205.1 MB / 222.6 MB, free: 4.84 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.07992/0.07992, allocations: 9.088 MB / 279.1 MB, free: 12.45 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.001233/0.001233, allocations: 59.92 kB / 338 MB, free: 25.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09601/0.09725, allocations: 48.18 MB / 386.2 MB, free: 9.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.0218/0.1191, allocations: 18.46 MB / 404.6 MB, free: 7.152 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004852/0.124, allocations: 4.942 MB / 409.6 MB, free: 2.195 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.086e-05/0.1241, allocations: 4 kB / 409.6 MB, free: 2.191 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.1252, allocations: 286.9 kB / 409.8 MB, free: 1.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002058/0.1273, allocations: 0.6232 MB / 410.5 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005178/0.1325, allocations: 1.478 MB / 411.9 MB, free: 15.81 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003592/0.1328, allocations: 183 kB / 412.1 MB, free: 15.63 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.681e-05/0.1329, allocations: 9.125 kB / 412.1 MB, free: 15.62 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002681/0.1332, allocations: 91.52 kB / 412.2 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.208e-05/0.1333, allocations: 51.72 kB / 412.3 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.1333, allocations: 4 kB / 412.3 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006025/0.1393, allocations: 3.102 MB / 415.4 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.956e-05/0.1394, allocations: 15.92 kB / 415.4 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.1395, allocations: 59.67 kB / 415.5 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.1411, allocations: 0.8536 MB / 416.3 MB, free: 11.44 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1411, allocations: 3.938 kB / 416.3 MB, free: 11.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1411, allocations: 4 kB / 416.3 MB, free: 11.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.1411, allocations: 3.938 kB / 416.3 MB, free: 11.43 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.0009093/0.142, allocations: 0.6158 MB / 416.9 MB, free: 10.76 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1421, allocations: 8.031 kB / 416.9 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/0.1421, allocations: 11.81 kB / 417 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.1423, allocations: 178.9 kB / 417.1 MB, free: 10.53 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1423, allocations: 4 kB / 417.1 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.1423, allocations: 8 kB / 417.1 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003372/0.1427, allocations: 197.5 kB / 417.3 MB, free: 10.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1427, allocations: 0 / 417.3 MB, free: 10.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.1427, allocations: 4 kB / 417.3 MB, free: 10.31 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.1427, allocations: 7.984 kB / 417.3 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/0.1431, allocations: 275.8 kB / 417.6 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006551/0.1438, allocations: 0.5142 MB / 418.1 MB, free: 9.469 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.1441, allocations: 246.4 kB / 418.4 MB, free: 9.219 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.1444, allocations: 193 kB / 418.6 MB, free: 9.027 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006713/0.1511, allocations: 7.219 MB / 425.8 MB, free: 228 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.1512, allocations: 38.48 kB / 425.8 MB, free: 180 kB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.425e-06/0.1512, allocations: 0 / 425.8 MB, free: 180 kB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.1855/0.3367, allocations: 0.5656 MB / 426.4 MB, free: 48.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.3368, allocations: 53.66 kB / 426.4 MB, free: 48.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.3369, allocations: 106.1 kB / 426.5 MB, free: 48.72 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.3369, allocations: 26.89 kB / 426.6 MB, free: 48.69 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.855e-05/0.337, allocations: 86.12 kB / 426.6 MB, free: 48.61 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.3371, allocations: 112.8 kB / 426.8 MB, free: 48.55 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.936e-05/0.3372, allocations: 41.05 kB / 426.8 MB, free: 48.53 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.598e-05/0.3373, allocations: 328.3 kB / 427.1 MB, free: 48.22 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.3375, allocations: 142.4 kB / 427.3 MB, free: 48.22 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.3377, allocations: 148.3 kB / 427.4 MB, free: 48.22 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004145/0.3381, allocations: 329.1 kB / 427.7 MB, free: 48.2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3381, allocations: 0 / 427.7 MB, free: 48.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005619/0.3387, allocations: 376.4 kB / 428.1 MB, free: 48.05 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.3387, allocations: 11.48 kB / 428.1 MB, free: 48.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.3388, allocations: 1.062 kB / 428.1 MB, free: 48.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3388, allocations: 1.156 kB / 428.1 MB, free: 48.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.3389, allocations: 26.27 kB / 428.1 MB, free: 48.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.3389, allocations: 1.562 kB / 428.1 MB, free: 48.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.979e-05/0.339, allocations: 26.67 kB / 428.2 MB, free: 48.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.339, allocations: 11.14 kB / 428.2 MB, free: 48.03 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 7.256e-05/0.3391, allocations: 118 kB / 428.3 MB, free: 47.91 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.3392, allocations: 21.38 kB / 428.3 MB, free: 47.9 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000664/0.3398, allocations: 417 kB / 428.7 MB, free: 47.72 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.3399, allocations: 8.547 kB / 428.7 MB, free: 47.71 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3399, allocations: 1.656 kB / 428.7 MB, free: 47.71 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3399, allocations: 3.125 kB / 428.7 MB, free: 47.71 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.3402, allocations: 287.4 kB / 429 MB, free: 47.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.3402, allocations: 2.203 kB / 429 MB, free: 47.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.3403, allocations: 31.39 kB / 429 MB, free: 47.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3403, allocations: 1.094 kB / 429 MB, free: 47.45 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.3403, allocations: 6.047 kB / 429 MB, free: 47.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3403, allocations: 5.328 kB / 429 MB, free: 47.45 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3403, allocations: 0 / 429 MB, free: 47.45 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005899/0.3409, allocations: 473.4 kB / 429.5 MB, free: 47.18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.967e-05/0.341, allocations: 109.8 kB / 429.6 MB, free: 47.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.341, allocations: 4.312 kB / 429.6 MB, free: 47.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.409e-05/0.3411, allocations: 10.89 kB / 429.6 MB, free: 47.06 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.3412, allocations: 9 kB / 429.6 MB, free: 47.06 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.3412, allocations: 3.438 kB / 429.6 MB, free: 47.06 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.267e-05/0.3412, allocations: 85.08 kB / 429.7 MB, free: 46.98 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3412, allocations: 0 / 429.7 MB, free: 46.98 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001571/0.3428, allocations: 420.7 kB / 430.1 MB, free: 46.96 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.001559/0.3444, allocations: 0.646 MB / 430.8 MB, free: 46.79 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006138/0.345, allocations: 365.9 kB / 431.1 MB, free: 46.64 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.345, allocations: 0 / 431.1 MB, free: 46.64 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002748/0.3453, allocations: 207.2 kB / 431.3 MB, free: 46.54 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005559/0.3459, allocations: 69.8 kB / 431.4 MB, free: 46.53 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005937/0.3465, allocations: 436.5 kB / 431.8 MB, free: 46.23 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.3467, allocations: 0.7172 MB / 432.6 MB, free: 45.53 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.918e-05/0.3467, allocations: 18.84 kB / 432.6 MB, free: 45.53 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3467, allocations: 0 / 432.6 MB, free: 45.53 MB / 318.1 MB Notification: Performance of Templates: time 0.01973/0.3664, allocations: 8.112 MB / 440.7 MB, free: 42.76 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