Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.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.Validation.idealGasLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit") translateModel(HelmholtzMedia.Examples.Validation.idealGasLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009289/0.0009292, allocations: 100.1 kB / 15.71 MB, free: 448 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.00106/0.00106, allocations: 177.2 kB / 16.59 MB, free: 6.859 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.512/1.512, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04346/0.04346, allocations: 9.067 MB / 280.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.0004664/0.0004664, allocations: 12.22 kB / 339.8 MB, free: 26.02 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09105/0.09153, allocations: 49.19 MB / 389 MB, free: 8.781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.01815/0.1097, allocations: 15.91 MB / 404.9 MB, free: 8.809 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008944/0.1188, allocations: 8.717 MB / 413.6 MB, free: 72 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.573e-05/0.1189, allocations: 0 / 413.6 MB, free: 72 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009388/0.1198, allocations: 302.6 kB / 413.9 MB, free: 15.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009263/0.1291, allocations: 3.504 MB / 417.4 MB, free: 12.26 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.451e-05/0.1291, allocations: 0 / 417.4 MB, free: 12.26 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.1293, allocations: 135.2 kB / 417.5 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.88e-05/0.1294, allocations: 5.125 kB / 417.5 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.1295, allocations: 63.61 kB / 417.6 MB, free: 12.06 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.606e-05/0.1296, allocations: 43.78 kB / 417.6 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.1296, allocations: 4 kB / 417.6 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01119/0.1408, allocations: 6.42 MB / 424 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.849e-05/0.1409, allocations: 15.88 kB / 424.1 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.546e-05/0.1409, allocations: 45.64 kB / 424.1 MB, free: 5.516 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003592/0.1445, allocations: 1.77 MB / 425.9 MB, free: 3.742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1446, allocations: 0 / 425.9 MB, free: 3.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.742e-06/0.1446, allocations: 3.984 kB / 425.9 MB, free: 3.738 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1446, allocations: 4 kB / 425.9 MB, free: 3.734 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.001223/0.1458, allocations: 0.69 MB / 426.6 MB, free: 2.996 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.1459, allocations: 8.031 kB / 426.6 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.146, allocations: 19.84 kB / 426.6 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.1462, allocations: 171 kB / 426.8 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.1462, allocations: 8 kB / 426.8 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.1462, allocations: 8 kB / 426.8 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.1465, allocations: 186.5 kB / 427 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1465, allocations: 0 / 427 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.1465, allocations: 4 kB / 427 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.1466, allocations: 7.984 kB / 427 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002544/0.1468, allocations: 236.2 kB / 427.2 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002889/0.1471, allocations: 298.5 kB / 427.5 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/0.1474, allocations: 226.8 kB / 427.7 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.1476, allocations: 185.1 kB / 427.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1863/0.3339, allocations: 4.152 MB / 432 MB, free: 44.69 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.334, allocations: 38.48 kB / 432.1 MB, free: 44.65 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 3.036e-06/0.334, allocations: 1.25 kB / 432.1 MB, free: 44.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.0006796/0.3347, allocations: 491.2 kB / 432.6 MB, free: 44.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.3347, allocations: 53.72 kB / 432.6 MB, free: 44.51 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.697e-05/0.3348, allocations: 106.8 kB / 432.7 MB, free: 44.41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.3348, allocations: 29.39 kB / 432.8 MB, free: 44.38 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.515e-05/0.3349, allocations: 82.66 kB / 432.8 MB, free: 44.29 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.296e-05/0.3349, allocations: 125.1 kB / 433 MB, free: 44.21 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/0.3349, allocations: 2.312 kB / 433 MB, free: 44.21 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.597e-05/0.335, allocations: 331.7 kB / 433.3 MB, free: 43.9 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.3352, allocations: 113.2 kB / 433.4 MB, free: 43.9 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.3353, allocations: 146.1 kB / 433.5 MB, free: 43.88 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.3355, allocations: 122.5 kB / 433.7 MB, free: 43.88 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3355, allocations: 2.219 kB / 433.7 MB, free: 43.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003809/0.3359, allocations: 319.8 kB / 434 MB, free: 43.83 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3359, allocations: 4.844 kB / 434 MB, free: 43.83 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.3359, allocations: 7.188 kB / 434 MB, free: 43.83 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3359, allocations: 2.219 kB / 434 MB, free: 43.83 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.336, allocations: 23.64 kB / 434 MB, free: 43.83 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.3361, allocations: 1.547 kB / 434 MB, free: 43.83 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.875e-05/0.3361, allocations: 14.22 kB / 434 MB, free: 43.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.3362, allocations: 6.297 kB / 434 MB, free: 43.82 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 12 * 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.496e-05/0.3362, allocations: 125.1 kB / 434.1 MB, free: 43.71 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.3363, allocations: 12.5 kB / 434.2 MB, free: 43.7 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00057/0.3368, allocations: 380.8 kB / 434.5 MB, free: 43.64 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.3369, allocations: 4.594 kB / 434.5 MB, free: 43.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3369, allocations: 3.406 kB / 434.5 MB, free: 43.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3369, allocations: 2.172 kB / 434.5 MB, free: 43.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.3371, allocations: 294.5 kB / 434.8 MB, free: 43.42 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.3371, allocations: 2.438 kB / 434.8 MB, free: 43.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.763e-05/0.3372, allocations: 24.03 kB / 434.9 MB, free: 43.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3373, allocations: 1.156 kB / 434.9 MB, free: 43.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.3373, allocations: 11 kB / 434.9 MB, free: 43.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3373, allocations: 0 / 434.9 MB, free: 43.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3373, allocations: 2.297 kB / 434.9 MB, free: 43.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/0.3377, allocations: 428.2 kB / 435.3 MB, free: 43.14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-05/0.3377, allocations: 106.8 kB / 435.4 MB, free: 43.03 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.3378, allocations: 10.06 kB / 435.4 MB, free: 43.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.639e-05/0.3378, allocations: 2.031 kB / 435.4 MB, free: 43.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.647e-05/0.3379, allocations: 9.75 kB / 435.4 MB, free: 43.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.3379, allocations: 8.625 kB / 435.4 MB, free: 43.02 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.22e-05/0.3379, allocations: 85.2 kB / 435.5 MB, free: 42.95 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3379, allocations: 1.188 kB / 435.5 MB, free: 42.95 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002371/0.3403, allocations: 0.6096 MB / 436.1 MB, free: 42.91 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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 Backend phase and start with SimCode phase: time 0.002582/0.3429, allocations: 0.9902 MB / 437.1 MB, free: 42.71 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004015/0.3433, allocations: 333.6 kB / 437.4 MB, free: 42.54 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3433, allocations: 2.625 kB / 437.4 MB, free: 42.54 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.3435, allocations: 207 kB / 437.6 MB, free: 42.42 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005154/0.344, allocations: 69.42 kB / 437.7 MB, free: 42.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007373/0.3448, allocations: 491.4 kB / 438.2 MB, free: 42.1 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.3449, allocations: 0.7177 MB / 438.9 MB, free: 41.4 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/0.345, allocations: 19.67 kB / 438.9 MB, free: 41.39 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.345, allocations: 3.938 kB / 438.9 MB, free: 41.39 MB / 318.1 MB Notification: Performance of Templates: time 0.02402/0.369, allocations: 15.56 MB / 454.5 MB, free: 31.57 MB / 318.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.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.Validation.idealGasLimitCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimitCalcHelperMain.o] Error 1