Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.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.SinglePhase_Transport,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009061/0.000906, allocations: 98.64 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.001338/0.001338, allocations: 182.8 kB / 16.92 MB, free: 6.918 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.846/1.846, allocations: 205.4 MB / 223.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04325/0.04325, allocations: 9.063 MB / 280.4 MB, free: 12.16 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.0005572/0.0005572, allocations: 12.22 kB / 340.4 MB, free: 25.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1098, allocations: 49.19 MB / 389.6 MB, free: 8.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.01956/0.1294, allocations: 17.13 MB / 406.7 MB, free: 7.207 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.1397, allocations: 10.14 MB / 416.9 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.867e-05/0.1398, allocations: 0 / 416.9 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007529/0.1406, allocations: 255.8 kB / 417.1 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000401/0.141, allocations: 123.5 kB / 417.2 MB, free: 12.66 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/Transport/thermalConductivity_dilute.mo:2:1-75:31:writable] Warning: Pure function ‘HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.Medium.Transport.thermalConductivity_dilute‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.01501/0.156, allocations: 4.79 MB / 422 MB, free: 7.855 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.1563, allocations: 155.2 kB / 422.2 MB, free: 7.703 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.587e-05/0.1564, allocations: 9.406 kB / 422.2 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.1566, allocations: 75.59 kB / 422.3 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.1567, allocations: 55.77 kB / 422.3 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.1567, allocations: 0 / 422.3 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2823/0.439, allocations: 8.48 MB / 430.8 MB, free: 20.2 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.845e-05/0.4391, allocations: 13.27 kB / 430.8 MB, free: 20.2 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.4393, allocations: 73.83 kB / 430.9 MB, free: 20.17 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006552/0.4459, allocations: 1.934 MB / 432.8 MB, free: 20.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4459, allocations: 0 / 432.8 MB, free: 20.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.4459, allocations: 0 / 432.8 MB, free: 20.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.4459, allocations: 0 / 432.8 MB, free: 20.16 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.003574/0.4495, allocations: 0.797 MB / 433.6 MB, free: 19.58 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/0.4495, allocations: 11.81 kB / 433.6 MB, free: 19.58 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.4496, allocations: 9.219 kB / 433.6 MB, free: 19.58 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.4498, allocations: 183.3 kB / 433.8 MB, free: 19.37 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.4498, allocations: 2.875 kB / 433.8 MB, free: 19.37 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.4498, allocations: 6.969 kB / 433.8 MB, free: 19.37 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004061/0.4502, allocations: 132.7 kB / 433.9 MB, free: 19.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.4502, allocations: 3.188 kB / 433.9 MB, free: 19.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.4503, allocations: 1.156 kB / 433.9 MB, free: 19.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.4503, allocations: 1.781 kB / 433.9 MB, free: 19.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005043/0.4508, allocations: 165.8 kB / 434.1 MB, free: 19.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006046/0.4514, allocations: 356.9 kB / 434.5 MB, free: 19.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003796/0.4518, allocations: 124.8 kB / 434.6 MB, free: 19.05 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000315/0.4521, allocations: 108.1 kB / 434.7 MB, free: 19.04 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01105/0.4632, allocations: 8.245 MB / 442.9 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.585e-05/0.4633, allocations: 35.94 kB / 443 MB, free: 11.2 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.875e-06/0.4633, allocations: 0 / 443 MB, free: 11.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001022/0.4643, allocations: 332.4 kB / 443.3 MB, free: 11.15 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.4644, allocations: 52.59 kB / 443.3 MB, free: 11.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.4645, allocations: 135.2 kB / 443.5 MB, free: 10.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.4645, allocations: 25.7 kB / 443.5 MB, free: 10.95 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.4646, allocations: 94.91 kB / 443.6 MB, free: 10.87 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.025e-05/0.4646, allocations: 41 kB / 443.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.4647, allocations: 18.27 kB / 443.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.885e-05/0.4648, allocations: 323.2 kB / 444 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.465, allocations: 89.17 kB / 444.1 MB, free: 10.51 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.4652, allocations: 91.2 kB / 444.1 MB, free: 10.51 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/0.4657, allocations: 184.4 kB / 444.3 MB, free: 10.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.4658, allocations: 6.984 kB / 444.3 MB, free: 10.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005119/0.4663, allocations: 226 kB / 444.5 MB, free: 10.45 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.4663, allocations: 4.719 kB / 444.6 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.4663, allocations: 0 / 444.6 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.4663, allocations: 5.281 kB / 444.6 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.4665, allocations: 28.73 kB / 444.6 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.4665, allocations: 0.875 kB / 444.6 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.4667, allocations: 22.5 kB / 444.6 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.4667, allocations: 8.75 kB / 444.6 MB, free: 10.44 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: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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 8.745e-05/0.4668, allocations: 123.2 kB / 444.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.4669, allocations: 16.53 kB / 444.8 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006498/0.4675, allocations: 247.7 kB / 445 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.4675, allocations: 1.469 kB / 445 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4675, allocations: 4 kB / 445 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.4675, allocations: 2.062 kB / 445 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.4678, allocations: 217.7 kB / 445.2 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4678, allocations: 0 / 445.2 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.4679, allocations: 31.23 kB / 445.2 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4679, allocations: 1.25 kB / 445.2 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.4679, allocations: 1.125 kB / 445.2 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.468, allocations: 0 / 445.2 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.468, allocations: 8.75 kB / 445.3 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005167/0.4685, allocations: 326.2 kB / 445.6 MB, free: 9.922 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.4686, allocations: 94.55 kB / 445.7 MB, free: 9.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.4686, allocations: 6.469 kB / 445.7 MB, free: 9.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.4687, allocations: 25.23 kB / 445.7 MB, free: 9.816 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/0.4688, allocations: 8.609 kB / 445.7 MB, free: 9.816 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.4688, allocations: 3.562 kB / 445.7 MB, free: 9.816 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.107e-05/0.4689, allocations: 104.3 kB / 445.8 MB, free: 9.742 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4689, allocations: 0 / 445.8 MB, free: 9.742 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.004092/0.473, allocations: 0.7279 MB / 446.5 MB, free: 9.602 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: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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.004689/0.4777, allocations: 1.218 MB / 447.8 MB, free: 9.285 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006477/0.4783, allocations: 198.2 kB / 448 MB, free: 9.281 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4783, allocations: 1.594 kB / 448 MB, free: 9.281 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002512/0.4786, allocations: 108.9 kB / 448.1 MB, free: 9.277 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.4791, allocations: 43.11 kB / 448.1 MB, free: 9.273 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006668/0.4797, allocations: 352.3 kB / 448.4 MB, free: 9.055 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/0.4799, allocations: 0.6991 MB / 449.1 MB, free: 8.355 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.549e-05/0.48, allocations: 16.89 kB / 449.2 MB, free: 8.348 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.48, allocations: 0 / 449.2 MB, free: 8.348 MB / 318.1 MB Notification: Performance of Templates: time 0.03077/0.5108, allocations: 15.5 MB / 464.7 MB, free: 2.766 MB / 318.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.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.SinglePhase_TransportCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_TransportCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_TransportCalcHelperMain.o] Error 1