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.006832/0.006832, allocations: 100.4 kB / 15.87 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 193.3 kB / 16.79 MB, free: 6.254 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.551/1.551, allocations: 205.1 MB / 222.6 MB, free: 4.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04397/0.04397, allocations: 9.081 MB / 279.1 MB, free: 12.26 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.001339/0.001339, allocations: 63.91 kB / 338 MB, free: 25.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.112, allocations: 48.18 MB / 386.2 MB, free: 9.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.02021/0.1323, allocations: 17.63 MB / 403.8 MB, free: 7.945 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009889/0.1422, allocations: 10.25 MB / 414 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.1424, allocations: 0 / 414 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008745/0.1433, allocations: 251.8 kB / 414.3 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004188/0.1438, allocations: 127.5 kB / 414.4 MB, free: 13.29 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.01545/0.1592, allocations: 4.755 MB / 419.2 MB, free: 8.516 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.1595, allocations: 151.2 kB / 419.3 MB, free: 8.367 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.922e-05/0.1596, allocations: 5.406 kB / 419.3 MB, free: 8.359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002249/0.1598, allocations: 75.59 kB / 419.4 MB, free: 8.285 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.484e-05/0.1599, allocations: 51.77 kB / 419.4 MB, free: 8.234 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.1599, allocations: 3.984 kB / 419.5 MB, free: 8.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2417/0.4017, allocations: 8.481 MB / 427.9 MB, free: 20.62 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.217e-05/0.4018, allocations: 17.78 kB / 428 MB, free: 20.62 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.4019, allocations: 47.83 kB / 428 MB, free: 20.62 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005976/0.4079, allocations: 1.938 MB / 429.9 MB, free: 20.61 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.408, allocations: 0 / 429.9 MB, free: 20.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.408, allocations: 0.75 kB / 429.9 MB, free: 20.61 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.408, allocations: 1.062 kB / 429.9 MB, free: 20.61 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.002604/0.4106, allocations: 0.794 MB / 430.7 MB, free: 20.04 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.4106, allocations: 14.16 kB / 430.7 MB, free: 20.04 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.932e-05/0.4107, allocations: 10.31 kB / 430.8 MB, free: 20.04 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.4108, allocations: 187.7 kB / 430.9 MB, free: 19.83 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.4108, allocations: 2.75 kB / 430.9 MB, free: 19.83 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.4109, allocations: 4.297 kB / 430.9 MB, free: 19.83 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003528/0.4112, allocations: 117.2 kB / 431.1 MB, free: 19.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.4112, allocations: 0 / 431.1 MB, free: 19.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.4112, allocations: 3.031 kB / 431.1 MB, free: 19.8 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.4113, allocations: 2.828 kB / 431.1 MB, free: 19.8 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000436/0.4117, allocations: 139.5 kB / 431.2 MB, free: 19.8 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.4122, allocations: 357.3 kB / 431.6 MB, free: 19.53 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.4125, allocations: 112.8 kB / 431.7 MB, free: 19.51 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.4127, allocations: 100.5 kB / 431.8 MB, free: 19.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01092/0.4236, allocations: 8.376 MB / 440.1 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.4237, allocations: 38.42 kB / 440.2 MB, free: 11.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 3.427e-06/0.4237, allocations: 0 / 440.2 MB, free: 11.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008959/0.4246, allocations: 289.6 kB / 440.5 MB, free: 11.61 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.4247, allocations: 56.66 kB / 440.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.4248, allocations: 138.6 kB / 440.6 MB, free: 11.45 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.4248, allocations: 27.42 kB / 440.7 MB, free: 11.42 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.111e-05/0.4249, allocations: 87.89 kB / 440.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.909e-05/0.4249, allocations: 36.78 kB / 440.8 MB, free: 11.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.425, allocations: 31.23 kB / 440.8 MB, free: 11.3 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.079e-05/0.425, allocations: 319 kB / 441.1 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.4253, allocations: 76.34 kB / 441.2 MB, free: 10.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.4254, allocations: 75.53 kB / 441.3 MB, free: 10.98 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/0.4258, allocations: 162.8 kB / 441.4 MB, free: 10.97 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4259, allocations: 4 kB / 441.4 MB, free: 10.97 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004432/0.4263, allocations: 202.2 kB / 441.6 MB, free: 10.93 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.4263, allocations: 7.625 kB / 441.7 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.4263, allocations: 0 / 441.7 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.4264, allocations: 1.25 kB / 441.7 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.4265, allocations: 25.75 kB / 441.7 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.4266, allocations: 5.094 kB / 441.7 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.4267, allocations: 21.34 kB / 441.7 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.4267, allocations: 3.469 kB / 441.7 MB, free: 10.92 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 7.693e-05/0.4268, allocations: 113 kB / 441.8 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.4268, allocations: 17.53 kB / 441.8 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006167/0.4275, allocations: 231.4 kB / 442.1 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.4275, allocations: 2.609 kB / 442.1 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4275, allocations: 0 / 442.1 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4275, allocations: 3.406 kB / 442.1 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.4277, allocations: 215.6 kB / 442.3 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4277, allocations: 1.375 kB / 442.3 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.4279, allocations: 28.58 kB / 442.3 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4279, allocations: 1.094 kB / 442.3 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.4279, allocations: 8.422 kB / 442.3 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.4279, allocations: 6.031 kB / 442.3 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4279, allocations: 0 / 442.3 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000487/0.4284, allocations: 297.8 kB / 442.6 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/0.4285, allocations: 96.67 kB / 442.7 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.4285, allocations: 0 / 442.7 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.4286, allocations: 18.69 kB / 442.7 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.4287, allocations: 6.25 kB / 442.7 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.4287, allocations: 3.094 kB / 442.7 MB, free: 10.3 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.08e-05/0.4288, allocations: 101.9 kB / 442.8 MB, free: 10.23 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4288, allocations: 0 / 442.8 MB, free: 10.23 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003421/0.4322, allocations: 0.733 MB / 443.6 MB, free: 10.09 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.004812/0.437, allocations: 1.212 MB / 444.8 MB, free: 9.781 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005686/0.4376, allocations: 180.7 kB / 445 MB, free: 9.777 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.4376, allocations: 0 / 445 MB, free: 9.777 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.4378, allocations: 87.5 kB / 445 MB, free: 9.777 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.4383, allocations: 50.56 kB / 445.1 MB, free: 9.77 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005793/0.4389, allocations: 322.3 kB / 445.4 MB, free: 9.559 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.439, allocations: 0.6982 MB / 446.1 MB, free: 8.863 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.4391, allocations: 17.69 kB / 446.1 MB, free: 8.855 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4391, allocations: 1.188 kB / 446.1 MB, free: 8.855 MB / 318.1 MB Notification: Performance of Templates: time 0.02719/0.4663, allocations: 15.52 MB / 461.6 MB, free: 3.957 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