Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_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.Parameter.State_pT_parameter_Transport,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport") translateModel(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008531/0.0008529, allocations: 102.7 kB / 15.71 MB, free: 460 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.001546/0.001546, allocations: 177.1 kB / 16.58 MB, free: 6.867 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.513/1.513, allocations: 205.4 MB / 222.8 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04468/0.04468, allocations: 9.066 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.0004877/0.0004878, allocations: 16 kB / 339.8 MB, free: 25.99 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09861/0.09911, allocations: 49.19 MB / 389 MB, free: 8.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.01635/0.1155, allocations: 15.97 MB / 404.9 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01281/0.1284, allocations: 13.26 MB / 418.2 MB, free: 11.42 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001739/0.1286, allocations: 0 / 418.2 MB, free: 11.42 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.1298, allocations: 318.6 kB / 418.5 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003064/0.1328, allocations: 1.387 MB / 419.9 MB, free: 9.715 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.Parameter.State_pT_parameter_Transport.Medium.Transport.thermalConductivity_dilute‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.01113/0.144, allocations: 3.742 MB / 423.6 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.1442, allocations: 143.1 kB / 423.8 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.283e-05/0.1443, allocations: 13.11 kB / 423.8 MB, free: 5.809 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.1444, allocations: 55.73 kB / 423.8 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.59e-05/0.1445, allocations: 47.78 kB / 423.9 MB, free: 5.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.1445, allocations: 4 kB / 423.9 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.202/0.3465, allocations: 8.28 MB / 432.2 MB, free: 20.28 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.997e-05/0.3466, allocations: 13.77 kB / 432.2 MB, free: 20.28 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.099e-05/0.3466, allocations: 44.55 kB / 432.2 MB, free: 20.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005525/0.3522, allocations: 2.13 MB / 434.4 MB, free: 20.21 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3522, allocations: 0 / 434.4 MB, free: 20.21 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.3522, allocations: 0 / 434.4 MB, free: 20.21 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.3522, allocations: 1.031 kB / 434.4 MB, free: 20.21 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002627/0.3549, allocations: 0.8224 MB / 435.2 MB, free: 19.61 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.3549, allocations: 8.75 kB / 435.2 MB, free: 19.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.355, allocations: 20.52 kB / 435.2 MB, free: 19.6 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.318e-05/0.3551, allocations: 178.4 kB / 435.4 MB, free: 19.4 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.3552, allocations: 2.188 kB / 435.4 MB, free: 19.4 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.3552, allocations: 5.406 kB / 435.4 MB, free: 19.4 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.3555, allocations: 223.7 kB / 435.6 MB, free: 19.36 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.3555, allocations: 2.5 kB / 435.6 MB, free: 19.36 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.3555, allocations: 5 kB / 435.6 MB, free: 19.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.3555, allocations: 4.953 kB / 435.6 MB, free: 19.36 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004185/0.3559, allocations: 422.5 kB / 436 MB, free: 19.36 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002814/0.3562, allocations: 305.2 kB / 436.3 MB, free: 19.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.3564, allocations: 226.2 kB / 436.6 MB, free: 19.14 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.3566, allocations: 213.7 kB / 436.8 MB, free: 19.13 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.012/0.3686, allocations: 9.834 MB / 446.6 MB, free: 9.992 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.3687, allocations: 31.94 kB / 446.6 MB, free: 9.953 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 2.986e-06/0.3687, allocations: 1.641 kB / 446.6 MB, free: 9.953 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.0007419/0.3695, allocations: 0.5725 MB / 447.2 MB, free: 9.91 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.3695, allocations: 57.17 kB / 447.3 MB, free: 9.844 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.845e-05/0.3696, allocations: 105.8 kB / 447.4 MB, free: 9.746 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.3696, allocations: 27.17 kB / 447.4 MB, free: 9.715 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.05e-05/0.3696, allocations: 87.81 kB / 447.5 MB, free: 9.629 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.106e-05/0.3697, allocations: 132 kB / 447.6 MB, free: 9.539 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-06/0.3697, allocations: 0 / 447.6 MB, free: 9.539 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.971e-05/0.3698, allocations: 327 kB / 447.9 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.37, allocations: 157.6 kB / 448.1 MB, free: 9.227 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.3701, allocations: 166.1 kB / 448.2 MB, free: 9.223 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.3703, allocations: 170.7 kB / 448.4 MB, free: 9.219 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3703, allocations: 0 / 448.4 MB, free: 9.219 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004043/0.3707, allocations: 411.5 kB / 448.8 MB, free: 9.164 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.3708, allocations: 7.188 kB / 448.8 MB, free: 9.164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3708, allocations: 7.75 kB / 448.8 MB, free: 9.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.3708, allocations: 1.062 kB / 448.8 MB, free: 9.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.564e-05/0.3709, allocations: 18.58 kB / 448.8 MB, free: 9.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.3709, allocations: 1.344 kB / 448.8 MB, free: 9.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.384e-05/0.371, allocations: 22.11 kB / 448.9 MB, free: 9.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.371, allocations: 6.844 kB / 448.9 MB, free: 9.141 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.445e-05/0.3711, allocations: 114.2 kB / 449 MB, free: 9.027 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.3711, allocations: 12.12 kB / 449 MB, free: 9.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006101/0.3717, allocations: 0.6252 MB / 449.6 MB, free: 8.727 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3717, allocations: 2.594 kB / 449.6 MB, free: 8.727 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3718, allocations: 0 / 449.6 MB, free: 8.727 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3718, allocations: 0 / 449.6 MB, free: 8.727 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008272/0.3726, allocations: 0.9007 MB / 450.5 MB, free: 8.246 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.3726, allocations: 2.969 kB / 450.5 MB, free: 8.246 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.795e-05/0.3727, allocations: 27.44 kB / 450.6 MB, free: 8.246 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.3727, allocations: 4.938 kB / 450.6 MB, free: 8.246 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.3727, allocations: 7.469 kB / 450.6 MB, free: 8.242 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-06/0.3727, allocations: 7.469 kB / 450.6 MB, free: 8.242 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.3727, allocations: 2.531 kB / 450.6 MB, free: 8.242 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.373, allocations: 262.7 kB / 450.8 MB, free: 8.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.852e-05/0.3731, allocations: 130.1 kB / 451 MB, free: 7.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.3731, allocations: 8.234 kB / 451 MB, free: 7.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.103e-05/0.3732, allocations: 10.23 kB / 451 MB, free: 7.977 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.3732, allocations: 13.33 kB / 451 MB, free: 7.977 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.3732, allocations: 5.875 kB / 451 MB, free: 7.977 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001383/0.3734, allocations: 175.5 kB / 451.2 MB, free: 7.898 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3734, allocations: 3.469 kB / 451.2 MB, free: 7.898 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003583/0.377, allocations: 0.7882 MB / 452 MB, free: 7.75 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.006393/0.3834, allocations: 1.353 MB / 453.3 MB, free: 7.402 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003571/0.3837, allocations: 285.2 kB / 453.6 MB, free: 7.398 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3838, allocations: 1.375 kB / 453.6 MB, free: 7.398 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.179e-05/0.3839, allocations: 75.34 kB / 453.7 MB, free: 7.398 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.3843, allocations: 45.5 kB / 453.7 MB, free: 7.395 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005325/0.3848, allocations: 497.7 kB / 454.2 MB, free: 7.074 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.385, allocations: 0.7048 MB / 454.9 MB, free: 6.379 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.839e-05/0.385, allocations: 23.52 kB / 454.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of SimCode: time 1.91e-07/0.385, allocations: 0 / 454.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of Templates: time 0.02739/0.4124, allocations: 17.73 MB / 472.7 MB, free: 11.64 MB / 334.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_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.Parameter.State_pT_parameter_TransportCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_TransportCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_TransportCalcHelperMain.o] Error 1