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.005681/0.005681, allocations: 100.1 kB / 15.87 MB, free: 5.863 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.001122/0.001122, allocations: 185.9 kB / 16.78 MB, free: 5.805 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.482/1.482, allocations: 205.1 MB / 222.7 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04456/0.04456, allocations: 9.085 MB / 279.1 MB, free: 12.41 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.00125/0.00125, allocations: 59.92 kB / 338 MB, free: 25.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09721/0.09847, allocations: 48.18 MB / 386.2 MB, free: 9.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.02318/0.1217, allocations: 17.52 MB / 403.7 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01387/0.1356, allocations: 14.45 MB / 418.1 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.1359, allocations: 4 kB / 418.1 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.1371, allocations: 332 kB / 418.5 MB, free: 9.281 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003217/0.1403, allocations: 1.403 MB / 419.9 MB, free: 7.875 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.01252/0.1528, allocations: 4.001 MB / 423.9 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.1531, allocations: 143.1 kB / 424 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.947e-05/0.1532, allocations: 9.125 kB / 424 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.1533, allocations: 59.73 kB / 424.1 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.196e-05/0.1534, allocations: 47.72 kB / 424.1 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.1534, allocations: 4 kB / 424.1 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2253/0.3787, allocations: 9.269 MB / 433.4 MB, free: 19.11 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.404e-05/0.3788, allocations: 16.38 kB / 433.4 MB, free: 19.11 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.379, allocations: 56.16 kB / 433.5 MB, free: 19.11 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006589/0.3856, allocations: 2.13 MB / 435.6 MB, free: 19.06 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3856, allocations: 0 / 435.6 MB, free: 19.06 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3856, allocations: 2.562 kB / 435.6 MB, free: 19.06 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3856, allocations: 0 / 435.6 MB, free: 19.06 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.003134/0.3888, allocations: 0.8316 MB / 436.4 MB, free: 18.46 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.121e-05/0.3889, allocations: 9.375 kB / 436.4 MB, free: 18.46 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.389, allocations: 22.27 kB / 436.5 MB, free: 18.45 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.3892, allocations: 177.6 kB / 436.6 MB, free: 18.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.3892, allocations: 7.375 kB / 436.6 MB, free: 18.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.3892, allocations: 4.219 kB / 436.6 MB, free: 18.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/0.3896, allocations: 221.2 kB / 436.9 MB, free: 18.21 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3896, allocations: 1.875 kB / 436.9 MB, free: 18.21 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.3896, allocations: 1.031 kB / 436.9 MB, free: 18.21 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.3897, allocations: 8.219 kB / 436.9 MB, free: 18.21 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005088/0.3902, allocations: 428.8 kB / 437.3 MB, free: 18.21 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002692/0.3905, allocations: 305.7 kB / 437.6 MB, free: 18.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.3906, allocations: 225.5 kB / 437.8 MB, free: 17.99 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002415/0.3909, allocations: 219.2 kB / 438 MB, free: 17.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01471/0.4056, allocations: 10.02 MB / 448 MB, free: 8.848 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.4057, allocations: 34.97 kB / 448.1 MB, free: 8.809 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 2.845e-06/0.4057, allocations: 2.078 kB / 448.1 MB, free: 8.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.0008158/0.4065, allocations: 0.579 MB / 448.7 MB, free: 8.766 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.4066, allocations: 62.97 kB / 448.7 MB, free: 8.699 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.577e-05/0.4066, allocations: 89.86 kB / 448.8 MB, free: 8.602 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.4067, allocations: 29.42 kB / 448.8 MB, free: 8.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.623e-05/0.4067, allocations: 84.73 kB / 448.9 MB, free: 8.488 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.4068, allocations: 132 kB / 449 MB, free: 8.398 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/0.4069, allocations: 37.08 kB / 449.1 MB, free: 8.383 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.368e-05/0.4069, allocations: 325.2 kB / 449.4 MB, free: 8.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.4071, allocations: 163.1 kB / 449.6 MB, free: 8.066 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.4073, allocations: 165.5 kB / 449.7 MB, free: 8.062 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004243/0.4077, allocations: 372.1 kB / 450.1 MB, free: 8.039 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.4077, allocations: 3.938 kB / 450.1 MB, free: 8.035 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004483/0.4082, allocations: 405 kB / 450.5 MB, free: 7.992 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.4082, allocations: 3.562 kB / 450.5 MB, free: 7.992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.4082, allocations: 6.094 kB / 450.5 MB, free: 7.992 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.4083, allocations: 0 / 450.5 MB, free: 7.992 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.4084, allocations: 25.08 kB / 450.5 MB, free: 7.992 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.4084, allocations: 0 / 450.5 MB, free: 7.992 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.965e-05/0.4085, allocations: 19.31 kB / 450.5 MB, free: 7.977 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.4085, allocations: 3.562 kB / 450.5 MB, free: 7.977 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.668e-05/0.4086, allocations: 125 kB / 450.7 MB, free: 7.859 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.4086, allocations: 11.47 kB / 450.7 MB, free: 7.852 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005462/0.4092, allocations: 0.6157 MB / 451.3 MB, free: 7.559 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.4092, allocations: 3.406 kB / 451.3 MB, free: 7.559 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4092, allocations: 4 kB / 451.3 MB, free: 7.555 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4092, allocations: 2.672 kB / 451.3 MB, free: 7.555 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007809/0.41, allocations: 0.8991 MB / 452.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.41, allocations: 5.219 kB / 452.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.283e-05/0.4101, allocations: 25.52 kB / 452.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.4101, allocations: 7.938 kB / 452.2 MB, free: 7.074 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.4101, allocations: 4 kB / 452.2 MB, free: 7.074 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.4101, allocations: 9.281 kB / 452.2 MB, free: 7.074 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.4101, allocations: 2.594 kB / 452.2 MB, free: 7.074 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.4104, allocations: 265.5 kB / 452.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-05/0.4104, allocations: 91.08 kB / 452.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/0.4105, allocations: 14.56 kB / 452.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.049e-05/0.4105, allocations: 6.875 kB / 452.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.4106, allocations: 9.359 kB / 452.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.4106, allocations: 17.19 kB / 452.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001415/0.4107, allocations: 174.1 kB / 452.8 MB, free: 6.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4107, allocations: 0 / 452.8 MB, free: 6.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003871/0.4146, allocations: 0.7961 MB / 453.6 MB, free: 6.574 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 (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.005639/0.4203, allocations: 1.344 MB / 455 MB, free: 6.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004769/0.4208, allocations: 286.9 kB / 455.2 MB, free: 6.246 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.4208, allocations: 4 kB / 455.2 MB, free: 6.242 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.148e-05/0.4209, allocations: 85.38 kB / 455.3 MB, free: 6.242 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006619/0.4215, allocations: 89.98 kB / 455.4 MB, free: 6.23 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005495/0.4221, allocations: 451.6 kB / 455.8 MB, free: 5.918 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/0.4223, allocations: 0.7103 MB / 456.6 MB, free: 5.223 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.939e-05/0.4223, allocations: 15.19 kB / 456.6 MB, free: 5.215 MB / 318.1 MB Notification: Performance of SimCode: time 1.663e-06/0.4223, allocations: 4 kB / 456.6 MB, free: 5.211 MB / 318.1 MB Notification: Performance of Templates: time 0.02958/0.4519, allocations: 18.06 MB / 474.6 MB, free: 7.891 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++ -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.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