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.0009916/0.0009916, allocations: 92.16 kB / 16.02 MB, free: 80 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.001416/0.001416, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.81/1.81, allocations: 205.4 MB / 223.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04712/0.04712, allocations: 9.063 MB / 280.5 MB, free: 12.14 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.0005079/0.0005079, allocations: 16.22 kB / 340.4 MB, free: 25.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1135, allocations: 49.19 MB / 389.6 MB, free: 8.402 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.01977/0.1333, allocations: 16.94 MB / 406.5 MB, free: 7.383 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009817/0.1432, allocations: 9.439 MB / 416 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.755e-05/0.1433, allocations: 4 kB / 416 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.1444, allocations: 327.9 kB / 416.3 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0118/0.1563, allocations: 3.683 MB / 420 MB, free: 9.898 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.338e-05/0.1563, allocations: 4 kB / 420 MB, free: 9.895 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000225/0.1565, allocations: 147.1 kB / 420.1 MB, free: 9.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.262e-05/0.1566, allocations: 5.125 kB / 420.1 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.1567, allocations: 59.61 kB / 420.2 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.416e-05/0.1568, allocations: 43.73 kB / 420.2 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.1569, allocations: 4 kB / 420.2 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01261/0.1695, allocations: 7.055 MB / 427.3 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.615e-05/0.1696, allocations: 11.88 kB / 427.3 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.1697, allocations: 77.45 kB / 427.4 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004069/0.1738, allocations: 1.785 MB / 429.2 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1738, allocations: 7.984 kB / 429.2 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1738, allocations: 0 / 429.2 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1738, allocations: 4 kB / 429.2 MB, free: 0.6758 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.249/0.4228, allocations: 0.6674 MB / 429.8 MB, free: 46.49 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/0.4229, allocations: 9.844 kB / 429.8 MB, free: 46.49 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002212/0.4231, allocations: 21.36 kB / 429.9 MB, free: 46.48 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.4233, allocations: 176.3 kB / 430 MB, free: 46.29 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.4233, allocations: 4.234 kB / 430 MB, free: 46.29 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.4233, allocations: 5.781 kB / 430 MB, free: 46.29 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003961/0.4238, allocations: 183 kB / 430.2 MB, free: 46.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.4238, allocations: 0 / 430.2 MB, free: 46.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.4238, allocations: 6.328 kB / 430.2 MB, free: 46.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.4238, allocations: 11.14 kB / 430.2 MB, free: 46.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003373/0.4242, allocations: 249.4 kB / 430.5 MB, free: 46.25 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003332/0.4245, allocations: 290 kB / 430.8 MB, free: 46.05 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.4248, allocations: 223.5 kB / 431 MB, free: 46.03 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.425, allocations: 186.4 kB / 431.2 MB, free: 46.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0107/0.4357, allocations: 4.158 MB / 435.3 MB, free: 42.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.4358, allocations: 33.47 kB / 435.4 MB, free: 42.94 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 2.575e-06/0.4358, allocations: 0 / 435.4 MB, free: 42.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008087/0.4366, allocations: 498.1 kB / 435.8 MB, free: 42.86 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.4366, allocations: 53.69 kB / 435.9 MB, free: 42.79 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.4368, allocations: 101.4 kB / 436 MB, free: 42.7 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.4368, allocations: 26.95 kB / 436 MB, free: 42.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.978e-05/0.4368, allocations: 87.36 kB / 436.1 MB, free: 42.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.222e-05/0.4369, allocations: 131.2 kB / 436.2 MB, free: 42.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.437, allocations: 29.69 kB / 436.3 MB, free: 42.46 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.539e-05/0.4371, allocations: 330.5 kB / 436.6 MB, free: 42.14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.4372, allocations: 114.3 kB / 436.7 MB, free: 42.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.4374, allocations: 142.7 kB / 436.8 MB, free: 42.01 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.4377, allocations: 281.2 kB / 437.1 MB, free: 41.87 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4377, allocations: 0.5156 kB / 437.1 MB, free: 41.87 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003711/0.4381, allocations: 314.8 kB / 437.4 MB, free: 41.72 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.4381, allocations: 8.25 kB / 437.4 MB, free: 41.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.4382, allocations: 9.281 kB / 437.4 MB, free: 41.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.4382, allocations: 3.203 kB / 437.4 MB, free: 41.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.4383, allocations: 24.45 kB / 437.5 MB, free: 41.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.4383, allocations: 3.562 kB / 437.5 MB, free: 41.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.537e-05/0.4384, allocations: 19.88 kB / 437.5 MB, free: 41.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.4384, allocations: 4.453 kB / 437.5 MB, free: 41.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.369e-05/0.4385, allocations: 132.2 kB / 437.6 MB, free: 41.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.4385, allocations: 15.34 kB / 437.6 MB, free: 41.56 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005259/0.4391, allocations: 373.6 kB / 438 MB, free: 41.38 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.4391, allocations: 5.047 kB / 438 MB, free: 41.38 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4391, allocations: 1.375 kB / 438 MB, free: 41.38 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.4391, allocations: 1.406 kB / 438 MB, free: 41.38 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.4394, allocations: 291.8 kB / 438.3 MB, free: 41.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.4394, allocations: 4.281 kB / 438.3 MB, free: 41.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.747e-05/0.4395, allocations: 22.42 kB / 438.3 MB, free: 41.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.4395, allocations: 4.875 kB / 438.3 MB, free: 41.12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.4395, allocations: 7.422 kB / 438.3 MB, free: 41.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.4395, allocations: 1.188 kB / 438.3 MB, free: 41.11 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4395, allocations: 0 / 438.3 MB, free: 41.11 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004312/0.44, allocations: 429.8 kB / 438.8 MB, free: 40.85 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.609e-05/0.4401, allocations: 110.5 kB / 438.9 MB, free: 40.73 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.4401, allocations: 0.5625 kB / 438.9 MB, free: 40.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.923e-05/0.4402, allocations: 9.5 kB / 438.9 MB, free: 40.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.891e-05/0.4402, allocations: 8.5 kB / 438.9 MB, free: 40.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.4402, allocations: 8.016 kB / 438.9 MB, free: 40.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.022e-05/0.4403, allocations: 83.53 kB / 439 MB, free: 40.65 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.054e-06/0.4403, allocations: 0 / 439 MB, free: 40.65 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002258/0.4425, allocations: 0.6194 MB / 439.6 MB, free: 40.61 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 (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.002949/0.4455, allocations: 0.9875 MB / 440.6 MB, free: 40.4 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004451/0.4459, allocations: 348 kB / 440.9 MB, free: 40.22 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.446, allocations: 1.312 kB / 440.9 MB, free: 40.22 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.4462, allocations: 205.2 kB / 441.1 MB, free: 40.1 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00057/0.4467, allocations: 70.62 kB / 441.2 MB, free: 40.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008129/0.4476, allocations: 0.4893 MB / 441.7 MB, free: 39.78 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.4478, allocations: 0.7164 MB / 442.4 MB, free: 39.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.881e-05/0.4478, allocations: 18.86 kB / 442.4 MB, free: 39.07 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4478, allocations: 0 / 442.4 MB, free: 39.07 MB / 318.1 MB Notification: Performance of Templates: time 0.02621/0.474, allocations: 15.55 MB / 458 MB, free: 28.36 MB / 318.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.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.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