Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00112/0.00112, allocations: 90.53 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001103/0.001103, allocations: 196.6 kB / 18.54 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.582/1.582, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2574/0.2574, allocations: 45.92 MB / 344.7 MB, free: 12.35 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002838/0.0002838, allocations: 8 kB / 418.6 MB, free: 20.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.162, allocations: 63.47 MB / 482.1 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.5486/0.7106, allocations: 135.5 MB / 0.6032 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.7121, allocations: 0.9042 MB / 0.604 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.69e-05/0.7121, allocations: 0 / 0.604 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002505/0.7124, allocations: 27.81 kB / 0.6041 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006494/0.7131, allocations: 201.8 kB / 0.6043 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.7135, allocations: 99.72 kB / 0.6044 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000259/0.7138, allocations: 175.3 kB / 0.6045 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.354e-05/0.7139, allocations: 8 kB / 0.6045 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.7141, allocations: 87.64 kB / 0.6046 GB, free: 13.53 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.7142, allocations: 47.83 kB / 0.6047 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.7143, allocations: 4 kB / 0.6047 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000567/0.7148, allocations: 267.6 kB / 0.6049 GB, free: 13.22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.302e-05/0.7149, allocations: 23.91 kB / 0.6049 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.583e-05/0.715, allocations: 45.64 kB / 0.605 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003215/0.7153, allocations: 201.5 kB / 0.6052 GB, free: 12.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.7153, allocations: 3.938 kB / 0.6052 GB, free: 12.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.7153, allocations: 0 / 0.6052 GB, free: 12.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.7153, allocations: 0 / 0.6052 GB, free: 12.95 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005221/0.7159, allocations: 387.8 kB / 0.6056 GB, free: 12.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.7159, allocations: 8.031 kB / 0.6056 GB, free: 12.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/0.7178, allocations: 195.6 kB / 0.6057 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.718, allocations: 203.8 kB / 0.6059 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.7181, allocations: 8 kB / 0.6059 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.597e-05/0.7181, allocations: 8.938 kB / 0.606 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004993/0.7186, allocations: 224 kB / 0.6062 GB, free: 11.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.7186, allocations: 0 / 0.6062 GB, free: 11.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/0.7187, allocations: 8 kB / 0.6062 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.7187, allocations: 4 kB / 0.6062 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004378/0.7191, allocations: 175.7 kB / 0.6063 GB, free: 11.65 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.7204, allocations: 0.5727 MB / 0.6069 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/0.7207, allocations: 143 kB / 0.607 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.7209, allocations: 74.62 kB / 0.6071 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.7209, allocations: 7.984 kB / 0.6071 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.721, allocations: 30.56 kB / 0.6072 GB, free: 10.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.721, allocations: 0 / 0.6072 GB, free: 10.75 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005215/0.7262, allocations: 1.315 MB / 0.6084 GB, free: 9.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.7263, allocations: 55.41 kB / 0.6085 GB, free: 9.273 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.7264, allocations: 113.7 kB / 0.6086 GB, free: 9.152 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.7264, allocations: 37.7 kB / 0.6086 GB, free: 9.109 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/0.7265, allocations: 91.97 kB / 0.6087 GB, free: 9.016 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.796e-05/0.7266, allocations: 71 kB / 0.6088 GB, free: 8.945 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.857e-05/0.7266, allocations: 4 kB / 0.6088 GB, free: 8.941 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.7267, allocations: 318.8 kB / 0.6091 GB, free: 8.621 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.7269, allocations: 75.81 kB / 0.6092 GB, free: 8.547 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.7271, allocations: 103 kB / 0.6093 GB, free: 8.438 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.7273, allocations: 84.86 kB / 0.6093 GB, free: 8.355 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.7273, allocations: 0 / 0.6093 GB, free: 8.355 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006008/0.7279, allocations: 254.6 kB / 0.6096 GB, free: 8.102 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.7279, allocations: 4 kB / 0.6096 GB, free: 8.098 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.7279, allocations: 4 kB / 0.6096 GB, free: 8.094 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001984/0.7282, allocations: 56.91 kB / 0.6097 GB, free: 8.035 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003271/0.7285, allocations: 55.91 kB / 0.6097 GB, free: 7.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004587/0.729, allocations: 0.5602 MB / 0.6103 GB, free: 7.395 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.7291, allocations: 8.031 kB / 0.6103 GB, free: 7.387 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-05/0.7292, allocations: 28.08 kB / 0.6103 GB, free: 7.359 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 initialization (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.7294, allocations: 129.7 kB / 0.6104 GB, free: 7.223 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.7294, allocations: 11.81 kB / 0.6104 GB, free: 7.211 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008485/0.7303, allocations: 343 kB / 0.6107 GB, free: 6.871 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.7303, allocations: 4 kB / 0.6108 GB, free: 6.867 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.7303, allocations: 0 / 0.6108 GB, free: 6.867 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.7303, allocations: 3.984 kB / 0.6108 GB, free: 6.863 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.7313, allocations: 0.625 MB / 0.6114 GB, free: 6.172 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.7314, allocations: 0 / 0.6114 GB, free: 6.172 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003424/0.7317, allocations: 59.95 kB / 0.6114 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.548e-05/0.7318, allocations: 28.88 kB / 0.6115 GB, free: 6.082 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.509e-05/0.7318, allocations: 15.98 kB / 0.6115 GB, free: 6.066 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/0.7329, allocations: 1.269 MB / 0.6127 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.7329, allocations: 3.938 kB / 0.6127 GB, free: 4.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000696/0.7336, allocations: 422.7 kB / 0.6131 GB, free: 4.219 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.92e-05/0.7337, allocations: 97.05 kB / 0.6132 GB, free: 4.105 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.7337, allocations: 4 kB / 0.6132 GB, free: 4.102 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.7339, allocations: 11.98 kB / 0.6132 GB, free: 4.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.734, allocations: 27.88 kB / 0.6132 GB, free: 4.062 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.774e-05/0.734, allocations: 27.98 kB / 0.6133 GB, free: 4.035 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.479e-05/0.7341, allocations: 87.27 kB / 0.6134 GB, free: 3.949 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7341, allocations: 0 / 0.6134 GB, free: 3.949 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004248/0.7345, allocations: 80 kB / 0.6134 GB, free: 3.871 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * 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 (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003879/0.7349, allocations: 155.1 kB / 0.6136 GB, free: 3.707 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005131/0.7355, allocations: 203.8 kB / 0.6138 GB, free: 3.508 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.7355, allocations: 0 / 0.6138 GB, free: 3.508 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003753/0.7359, allocations: 214.6 kB / 0.614 GB, free: 3.285 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004817/0.7364, allocations: 56.84 kB / 0.614 GB, free: 3.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.7374, allocations: 0.6013 MB / 0.6146 GB, free: 2.594 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.7377, allocations: 0.701 MB / 0.6153 GB, free: 1.867 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/0.738, allocations: 63.39 kB / 0.6154 GB, free: 1.805 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.738, allocations: 0 / 0.6154 GB, free: 1.805 MB / 446.1 MB Notification: Performance of Templates: time 0.00823/0.7462, allocations: 3.852 MB / 0.6191 GB, free: 13.95 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.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 OMCppModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2CalcHelperMain.o] Error 1