Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.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.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2") translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009129/0.0009128, allocations: 88.81 kB / 17.63 MB, free: 5.719 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.0009042/0.0009044, allocations: 182.9 kB / 18.52 MB, free: 5.168 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.511/1.511, allocations: 223.2 MB / 242.5 MB, free: 344 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2463/0.2463, allocations: 44.22 MB / 337.9 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004229/0.0004232, allocations: 12 kB / 410.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1558, allocations: 61.92 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.5189/0.6747, allocations: 136.2 MB / 0.5941 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006423/0.6812, allocations: 4.919 MB / 0.5989 GB, free: 6.102 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002819/0.6815, allocations: 0 / 0.5989 GB, free: 6.102 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004841/0.6821, allocations: 39.78 kB / 0.5989 GB, free: 6.062 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004113/0.6862, allocations: 1.047 MB / 0.6 GB, free: 5.012 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003896/0.6866, allocations: 131.1 kB / 0.6001 GB, free: 4.891 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000625/0.6872, allocations: 418 kB / 0.6005 GB, free: 4.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.576e-05/0.6873, allocations: 17.61 kB / 0.6005 GB, free: 4.465 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002982/0.6876, allocations: 159.4 kB / 0.6006 GB, free: 4.309 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003548/0.688, allocations: 179.5 kB / 0.6008 GB, free: 4.133 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.688, allocations: 8 kB / 0.6008 GB, free: 4.125 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002451/0.6905, allocations: 0.9202 MB / 0.6017 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.6906, allocations: 51.75 kB / 0.6018 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.945e-05/0.6907, allocations: 65.64 kB / 0.6018 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.6918, allocations: 0.5789 MB / 0.6024 GB, free: 2.504 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.6918, allocations: 0 / 0.6024 GB, free: 2.504 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6918, allocations: 0 / 0.6024 GB, free: 2.504 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.6918, allocations: 0 / 0.6024 GB, free: 2.504 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001336/0.6931, allocations: 0.619 MB / 0.603 GB, free: 1.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.6932, allocations: 12.03 kB / 0.603 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006282/0.6995, allocations: 0.5888 MB / 0.6036 GB, free: 1.238 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006368/0.7001, allocations: 266.6 kB / 0.6038 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001854/0.7003, allocations: 123.4 kB / 0.604 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.479e-05/0.7004, allocations: 24 kB / 0.604 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.7016, allocations: 0.5595 MB / 0.6045 GB, free: 176 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.7017, allocations: 0 / 0.6045 GB, free: 176 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.526e-05/0.7017, allocations: 12 kB / 0.6045 GB, free: 164 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.328e-05/0.7018, allocations: 4 kB / 0.6046 GB, free: 160 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/0.7032, allocations: 0.6338 MB / 0.6052 GB, free: 15.52 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.002356/0.7056, allocations: 1.703 MB / 0.6068 GB, free: 13.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/0.7059, allocations: 150.4 kB / 0.607 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.7061, allocations: 76.88 kB / 0.6071 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001453/0.7075, allocations: 1.471 MB / 0.6085 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.7076, allocations: 34.56 kB / 0.6085 GB, free: 11.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 2.264e-06/0.7076, allocations: 0 / 0.6085 GB, free: 11.66 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.001013/0.7086, allocations: 336.3 kB / 0.6088 GB, free: 11.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.7087, allocations: 55.41 kB / 0.6089 GB, free: 11.26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.7089, allocations: 187 kB / 0.6091 GB, free: 11.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.7089, allocations: 25.7 kB / 0.6091 GB, free: 11.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.709, allocations: 191.3 kB / 0.6093 GB, free: 10.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.55e-05/0.7091, allocations: 71.05 kB / 0.6093 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.97e-05/0.7091, allocations: 4 kB / 0.6094 GB, free: 10.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.7093, allocations: 330.8 kB / 0.6097 GB, free: 10.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.7094, allocations: 56.72 kB / 0.6097 GB, free: 10.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/0.7097, allocations: 272 kB / 0.61 GB, free: 10.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.7099, allocations: 103.9 kB / 0.6101 GB, free: 9.922 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.71, allocations: 0 / 0.6101 GB, free: 9.922 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005874/0.7105, allocations: 365.6 kB / 0.6104 GB, free: 9.559 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.7106, allocations: 8.906 kB / 0.6104 GB, free: 9.551 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.7106, allocations: 8 kB / 0.6104 GB, free: 9.543 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-05/0.7106, allocations: 12 kB / 0.6105 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004189/0.7111, allocations: 135.8 kB / 0.6106 GB, free: 9.398 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004214/0.7115, allocations: 0.5977 MB / 0.6112 GB, free: 8.777 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.7117, allocations: 43.53 kB / 0.6112 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-05/0.7118, allocations: 43.98 kB / 0.6113 GB, free: 8.691 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001518/0.712, allocations: 145.8 kB / 0.6114 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.712, allocations: 23.77 kB / 0.6114 GB, free: 8.516 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009633/0.713, allocations: 472.6 kB / 0.6119 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.713, allocations: 3.938 kB / 0.6119 GB, free: 8.035 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.713, allocations: 0 / 0.6119 GB, free: 8.035 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.713, allocations: 0 / 0.6119 GB, free: 8.035 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008797/0.7139, allocations: 0.6329 MB / 0.6125 GB, free: 7.305 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.7139, allocations: 0 / 0.6125 GB, free: 7.305 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.7141, allocations: 63.89 kB / 0.6125 GB, free: 7.242 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.7142, allocations: 4 kB / 0.6126 GB, free: 7.238 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.7142, allocations: 12 kB / 0.6126 GB, free: 7.227 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003357/0.7145, allocations: 0.598 MB / 0.6131 GB, free: 6.605 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.7145, allocations: 3.938 kB / 0.6131 GB, free: 6.602 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.7149, allocations: 294.2 kB / 0.6134 GB, free: 6.273 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.715, allocations: 112.8 kB / 0.6135 GB, free: 6.145 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/0.7151, allocations: 4 kB / 0.6135 GB, free: 6.141 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.7153, allocations: 20.81 kB / 0.6136 GB, free: 6.121 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.7153, allocations: 19.92 kB / 0.6136 GB, free: 6.102 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-05/0.7154, allocations: 23.98 kB / 0.6136 GB, free: 6.078 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001158/0.7155, allocations: 131.1 kB / 0.6137 GB, free: 5.949 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7155, allocations: 0 / 0.6137 GB, free: 5.949 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006945/0.7162, allocations: 163.9 kB / 0.6139 GB, free: 5.789 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006702/0.7169, allocations: 282.6 kB / 0.6142 GB, free: 5.516 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004669/0.7174, allocations: 221 kB / 0.6144 GB, free: 5.301 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.7174, allocations: 0 / 0.6144 GB, free: 5.301 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.7176, allocations: 79.83 kB / 0.6144 GB, free: 5.223 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004762/0.7181, allocations: 57.08 kB / 0.6145 GB, free: 5.168 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.7196, allocations: 0.9778 MB / 0.6155 GB, free: 4.137 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.7199, allocations: 0.7211 MB / 0.6162 GB, free: 3.387 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/0.7202, allocations: 87.34 kB / 0.6162 GB, free: 3.301 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.7202, allocations: 4 kB / 0.6162 GB, free: 3.297 MB / 446.1 MB Notification: Performance of Templates: time 0.008795/0.729, allocations: 5.326 MB / 0.6214 GB, free: 13.96 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2CalcHelperMain.o] Error 1