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.0008901/0.0008899, allocations: 100.1 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.0009172/0.0009172, allocations: 173.2 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.53/1.53, allocations: 205.4 MB / 222.7 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.04291/0.04291, allocations: 9.065 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.0004873/0.0004873, allocations: 12 kB / 339.8 MB, free: 26.01 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09721/0.09771, allocations: 49.19 MB / 388.9 MB, free: 8.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.01748/0.1152, allocations: 16.09 MB / 405 MB, free: 8.617 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008641/0.1239, allocations: 9.407 MB / 414.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.1241, allocations: 0 / 414.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000662/0.1247, allocations: 234.9 kB / 414.7 MB, free: 14.95 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003376/0.1251, allocations: 115.3 kB / 414.8 MB, free: 14.84 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.01215/0.1373, allocations: 4.549 MB / 419.3 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.1375, allocations: 147.2 kB / 419.5 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.54e-05/0.1376, allocations: 17.36 kB / 419.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.1378, allocations: 75.58 kB / 419.6 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.124e-05/0.1379, allocations: 43.84 kB / 419.6 MB, free: 9.996 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.1379, allocations: 4 kB / 419.6 MB, free: 9.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01323/0.1512, allocations: 7.596 MB / 427.2 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.028e-05/0.1512, allocations: 11.92 kB / 427.2 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.575e-05/0.1513, allocations: 45.64 kB / 427.3 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004013/0.1553, allocations: 1.941 MB / 429.2 MB, free: 380 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1554, allocations: 0 / 429.2 MB, free: 380 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1554, allocations: 4 kB / 429.2 MB, free: 376 kB / 318.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1554, allocations: 0 / 429.2 MB, free: 376 kB / 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.1986/0.3539, allocations: 0.7942 MB / 430 MB, free: 46.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.354, allocations: 12.25 kB / 430 MB, free: 46.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.3541, allocations: 15.42 kB / 430 MB, free: 46.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.153e-05/0.3541, allocations: 178.7 kB / 430.2 MB, free: 46.38 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.3542, allocations: 6.703 kB / 430.2 MB, free: 46.38 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.3542, allocations: 3.938 kB / 430.2 MB, free: 46.38 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.3545, allocations: 128.8 kB / 430.3 MB, free: 46.35 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.3545, allocations: 0 / 430.3 MB, free: 46.35 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.3545, allocations: 1.125 kB / 430.3 MB, free: 46.35 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.3546, allocations: 2.938 kB / 430.3 MB, free: 46.35 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004475/0.355, allocations: 163.3 kB / 430.5 MB, free: 46.35 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004465/0.3555, allocations: 362.4 kB / 430.9 MB, free: 46.08 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/0.3557, allocations: 121.4 kB / 431 MB, free: 46.06 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.356, allocations: 104.7 kB / 431.1 MB, free: 46.05 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009091/0.3651, allocations: 8.244 MB / 439.3 MB, free: 38.24 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.3651, allocations: 38.19 kB / 439.4 MB, free: 38.2 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.3651, allocations: 1.031 kB / 439.4 MB, free: 38.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007937/0.3659, allocations: 325 kB / 439.7 MB, free: 38.12 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.366, allocations: 56.53 kB / 439.7 MB, free: 38.06 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.243e-05/0.3661, allocations: 134 kB / 439.9 MB, free: 37.95 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.3661, allocations: 30.31 kB / 439.9 MB, free: 37.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.948e-05/0.3661, allocations: 92.67 kB / 440 MB, free: 37.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.3662, allocations: 46.8 kB / 440 MB, free: 37.79 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.3662, allocations: 0 / 440 MB, free: 37.79 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.751e-05/0.3663, allocations: 320 kB / 440.3 MB, free: 37.47 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.3665, allocations: 86.91 kB / 440.4 MB, free: 37.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.3667, allocations: 88 kB / 440.5 MB, free: 37.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.3669, allocations: 87.67 kB / 440.6 MB, free: 37.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3669, allocations: 3.156 kB / 440.6 MB, free: 37.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004525/0.3674, allocations: 232.9 kB / 440.8 MB, free: 37.32 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.3674, allocations: 7.531 kB / 440.8 MB, free: 37.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.3674, allocations: 0.6094 kB / 440.8 MB, free: 37.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.3674, allocations: 1.125 kB / 440.8 MB, free: 37.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.3676, allocations: 30.22 kB / 440.9 MB, free: 37.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.3676, allocations: 0 / 440.9 MB, free: 37.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.3677, allocations: 23.23 kB / 440.9 MB, free: 37.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.3677, allocations: 5.984 kB / 440.9 MB, free: 37.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.048e-05/0.3678, allocations: 118.6 kB / 441 MB, free: 37.2 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.3679, allocations: 14.62 kB / 441 MB, free: 37.19 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005459/0.3684, allocations: 247.4 kB / 441.3 MB, free: 37.1 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.3684, allocations: 3.562 kB / 441.3 MB, free: 37.1 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3684, allocations: 2.75 kB / 441.3 MB, free: 37.1 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3684, allocations: 0.5625 kB / 441.3 MB, free: 37.1 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.3686, allocations: 218 kB / 441.5 MB, free: 36.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3686, allocations: 0 / 441.5 MB, free: 36.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.3688, allocations: 32.08 kB / 441.5 MB, free: 36.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.3688, allocations: 0 / 441.5 MB, free: 36.88 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.3688, allocations: 1.25 kB / 441.5 MB, free: 36.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3688, allocations: 4.219 kB / 441.5 MB, free: 36.88 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3688, allocations: 4.672 kB / 441.5 MB, free: 36.88 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004784/0.3693, allocations: 334.2 kB / 441.9 MB, free: 36.7 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.554e-05/0.3694, allocations: 100.6 kB / 442 MB, free: 36.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.3694, allocations: 3.938 kB / 442 MB, free: 36.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.3695, allocations: 22.77 kB / 442 MB, free: 36.59 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.3696, allocations: 11.86 kB / 442 MB, free: 36.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.3696, allocations: 1.125 kB / 442 MB, free: 36.58 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.732e-05/0.3696, allocations: 102.6 kB / 442.1 MB, free: 36.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3697, allocations: 0 / 442.1 MB, free: 36.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002024/0.3717, allocations: 0.7226 MB / 442.8 MB, free: 36.41 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 (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.002993/0.3747, allocations: 1.212 MB / 444 MB, free: 36.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004627/0.3752, allocations: 195.4 kB / 444.2 MB, free: 36.04 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3752, allocations: 0 / 444.2 MB, free: 36.04 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.3754, allocations: 110.7 kB / 444.3 MB, free: 36 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.3758, allocations: 40.11 kB / 444.4 MB, free: 35.99 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005174/0.3763, allocations: 342.9 kB / 444.7 MB, free: 35.76 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.3765, allocations: 0.705 MB / 445.4 MB, free: 35.06 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.921e-05/0.3765, allocations: 14.59 kB / 445.4 MB, free: 35.05 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3765, allocations: 3.938 kB / 445.4 MB, free: 35.05 MB / 318.1 MB Notification: Performance of Templates: time 0.02284/0.3994, allocations: 15.51 MB / 460.9 MB, free: 24.47 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++ 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.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