Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008156/0.0008159, allocations: 93.12 kB / 17.63 MB, free: 5.762 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.0008738/0.0008738, allocations: 185.5 kB / 18.52 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 223.3 MB / 242.5 MB, free: 14.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2469/0.2469, allocations: 44.22 MB / 337.9 MB, free: 2.578 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004078/0.000408, allocations: 11.98 kB / 410.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1606, allocations: 61.92 MB / 472.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.5851/0.7457, allocations: 135.5 MB / 0.5934 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.7471, allocations: 0.9147 MB / 0.5943 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.489e-05/0.7471, allocations: 0 / 0.5943 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.7474, allocations: 23.83 kB / 0.5943 GB, free: 10.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005065/0.7479, allocations: 202.6 kB / 0.5945 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.7482, allocations: 97.23 kB / 0.5946 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.7485, allocations: 179.3 kB / 0.5948 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.435e-05/0.7486, allocations: 11.98 kB / 0.5948 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.7488, allocations: 87.61 kB / 0.5949 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.7489, allocations: 51.83 kB / 0.5949 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.7489, allocations: 4 kB / 0.5949 GB, free: 10.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004943/0.7494, allocations: 259.7 kB / 0.5952 GB, free: 9.969 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.172e-05/0.7495, allocations: 19.92 kB / 0.5952 GB, free: 9.949 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.024e-05/0.7495, allocations: 45.64 kB / 0.5952 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.7498, allocations: 209.5 kB / 0.5954 GB, free: 9.695 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.7498, allocations: 0 / 0.5954 GB, free: 9.695 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.7499, allocations: 4 kB / 0.5954 GB, free: 9.691 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.7499, allocations: 0 / 0.5954 GB, free: 9.691 MB / 430.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.0004793/0.7503, allocations: 371.8 kB / 0.5958 GB, free: 9.281 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.7504, allocations: 16.02 kB / 0.5958 GB, free: 9.266 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/0.7521, allocations: 179.6 kB / 0.596 GB, free: 9.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.7524, allocations: 218.9 kB / 0.5962 GB, free: 8.836 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.7524, allocations: 4 kB / 0.5962 GB, free: 8.832 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.116e-05/0.7525, allocations: 8 kB / 0.5962 GB, free: 8.824 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004693/0.7529, allocations: 222.4 kB / 0.5964 GB, free: 8.594 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.7529, allocations: 0 / 0.5964 GB, free: 8.594 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/0.753, allocations: 4 kB / 0.5964 GB, free: 8.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.753, allocations: 4 kB / 0.5964 GB, free: 8.586 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004143/0.7534, allocations: 179.7 kB / 0.5966 GB, free: 8.41 MB / 430.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.001075/0.7545, allocations: 0.568 MB / 0.5971 GB, free: 7.785 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003741/0.7549, allocations: 153.4 kB / 0.5973 GB, free: 7.629 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.755, allocations: 64.83 kB / 0.5973 GB, free: 7.562 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.7551, allocations: 4 kB / 0.5973 GB, free: 7.559 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.7551, allocations: 34.56 kB / 0.5974 GB, free: 7.516 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.143e-06/0.7551, allocations: 0 / 0.5974 GB, free: 7.516 MB / 430.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.004816/0.7599, allocations: 1.306 MB / 0.5987 GB, free: 6.117 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.76, allocations: 51.41 kB / 0.5987 GB, free: 6.055 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.51e-05/0.7601, allocations: 113.8 kB / 0.5988 GB, free: 5.934 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.203e-05/0.7601, allocations: 29.7 kB / 0.5988 GB, free: 5.898 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/0.7602, allocations: 95.97 kB / 0.5989 GB, free: 5.801 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.035e-05/0.7603, allocations: 75 kB / 0.599 GB, free: 5.727 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.915e-05/0.7603, allocations: 4 kB / 0.599 GB, free: 5.723 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.7605, allocations: 318.8 kB / 0.5993 GB, free: 5.402 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.7606, allocations: 67.95 kB / 0.5994 GB, free: 5.336 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.7608, allocations: 103.4 kB / 0.5995 GB, free: 5.223 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.761, allocations: 86.36 kB / 0.5996 GB, free: 5.141 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.217e-06/0.761, allocations: 7.953 kB / 0.5996 GB, free: 5.133 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004561/0.7615, allocations: 252.3 kB / 0.5998 GB, free: 4.879 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.7615, allocations: 4 kB / 0.5998 GB, free: 4.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.7615, allocations: 3.984 kB / 0.5998 GB, free: 4.871 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001719/0.7617, allocations: 52.83 kB / 0.5999 GB, free: 4.816 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.762, allocations: 56 kB / 0.5999 GB, free: 4.762 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005262/0.7625, allocations: 0.5602 MB / 0.6005 GB, free: 4.176 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.7627, allocations: 8 kB / 0.6005 GB, free: 4.168 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.778e-05/0.7628, allocations: 31.94 kB / 0.6005 GB, free: 4.137 MB / 430.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.0001599/0.7629, allocations: 130.3 kB / 0.6006 GB, free: 4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.616e-05/0.763, allocations: 15.81 kB / 0.6006 GB, free: 3.984 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008583/0.7639, allocations: 346.3 kB / 0.601 GB, free: 3.637 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.7639, allocations: 4 kB / 0.601 GB, free: 3.633 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.7639, allocations: 0 / 0.601 GB, free: 3.633 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.7639, allocations: 7.938 kB / 0.601 GB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.7649, allocations: 0.6225 MB / 0.6016 GB, free: 2.938 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.7649, allocations: 0 / 0.6016 GB, free: 2.938 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003223/0.7653, allocations: 55.95 kB / 0.6016 GB, free: 2.883 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.214e-05/0.7653, allocations: 28.73 kB / 0.6017 GB, free: 2.852 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.7654, allocations: 15.98 kB / 0.6017 GB, free: 2.836 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.7665, allocations: 1.272 MB / 0.6029 GB, free: 1.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.7665, allocations: 4.094 kB / 0.6029 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007088/0.7672, allocations: 426.7 kB / 0.6033 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.7673, allocations: 88.95 kB / 0.6034 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.7673, allocations: 4.062 kB / 0.6034 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.7675, allocations: 11.98 kB / 0.6034 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.7676, allocations: 31.91 kB / 0.6035 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.075e-05/0.7677, allocations: 20 kB / 0.6035 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.78e-05/0.7677, allocations: 91.27 kB / 0.6036 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.7678, allocations: 0 / 0.6036 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004372/0.7682, allocations: 79.95 kB / 0.6037 GB, free: 0.6406 MB / 430.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.0003856/0.7686, allocations: 151.1 kB / 0.6038 GB, free: 496 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005051/0.7691, allocations: 211.1 kB / 0.604 GB, free: 288 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.7691, allocations: 0 / 0.604 GB, free: 288 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003661/0.7695, allocations: 218.6 kB / 0.6042 GB, free: 56 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.77, allocations: 51.33 kB / 0.6043 GB, free: 8 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.7711, allocations: 0.5977 MB / 0.6048 GB, free: 15.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.7715, allocations: 0.7093 MB / 0.6055 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002496/0.7718, allocations: 59.41 kB / 0.6056 GB, free: 14.58 MB / 446.1 MB Notification: Performance of SimCode: time 4.3e-07/0.7718, allocations: 0 / 0.6056 GB, free: 14.58 MB / 446.1 MB Notification: Performance of Templates: time 0.007481/0.7793, allocations: 3.773 MB / 0.6093 GB, free: 10.8 MB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile make -j1 -f ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2CalcHelperMain.o] Error 1