Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008969/0.0008968, allocations: 87.17 kB / 17.63 MB, free: 6.16 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.001105/0.001105, allocations: 183 kB / 18.52 MB, free: 5.32 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.597/1.597, allocations: 223.2 MB / 242.5 MB, free: 332 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.2567/0.2567, allocations: 44.22 MB / 337.9 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003165/0.0003165, allocations: 11.94 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1342, allocations: 61.92 MB / 472.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01175/0.1459, allocations: 7.757 MB / 479.9 MB, free: 5.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01168/0.1577, allocations: 10.17 MB / 490.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.47e-05/0.1578, allocations: 0 / 490.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001952/0.158, allocations: 27.86 kB / 490.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004607/0.1626, allocations: 1.369 MB / 491.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.809e-06/0.1626, allocations: 0 / 491.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.1627, allocations: 47.61 kB / 491.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.81e-05/0.1628, allocations: 4 kB / 491.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.1629, allocations: 27.84 kB / 491.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.869e-05/0.1629, allocations: 15.94 kB / 491.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.803e-06/0.163, allocations: 0 / 491.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02589/0.1889, allocations: 19.56 MB / 0.4992 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.237e-05/0.1889, allocations: 3.984 kB / 0.4992 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.198e-05/0.189, allocations: 33.64 kB / 0.4992 GB, free: 6.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01054/0.1995, allocations: 4.281 MB / 0.5034 GB, free: 2.352 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.1996, allocations: 0 / 0.5034 GB, free: 2.352 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1996, allocations: 4 kB / 0.5034 GB, free: 2.348 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.1996, allocations: 0 / 0.5034 GB, free: 2.348 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.00308/0.2027, allocations: 0.5459 MB / 0.5039 GB, free: 1.754 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.2027, allocations: 15.97 kB / 0.504 GB, free: 1.738 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.2029, allocations: 11.86 kB / 0.504 GB, free: 1.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.203, allocations: 163.1 kB / 0.5041 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.203, allocations: 4 kB / 0.5041 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.203, allocations: 3.984 kB / 0.5041 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.2032, allocations: 77.62 kB / 0.5042 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.2032, allocations: 4 kB / 0.5042 GB, free: 1.434 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.2032, allocations: 3.984 kB / 0.5042 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.2033, allocations: 7.953 kB / 0.5042 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.2034, allocations: 67.97 kB / 0.5043 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.2039, allocations: 316.7 kB / 0.5046 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.243e-05/0.2039, allocations: 46.52 kB / 0.5046 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.495e-05/0.204, allocations: 36.91 kB / 0.5047 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.325/0.529, allocations: 1.68 MB / 0.5063 GB, free: 33.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.5291, allocations: 32.72 kB / 0.5063 GB, free: 33.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 3.216e-06/0.5291, allocations: 2.094 kB / 0.5063 GB, free: 33.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004617/0.5296, allocations: 104.7 kB / 0.5064 GB, free: 33.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.5296, allocations: 54.53 kB / 0.5065 GB, free: 32.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.069e-05/0.5297, allocations: 93.98 kB / 0.5066 GB, free: 32.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.5297, allocations: 27.23 kB / 0.5066 GB, free: 32.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.802e-05/0.5298, allocations: 87.55 kB / 0.5067 GB, free: 32.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.5298, allocations: 34.05 kB / 0.5067 GB, free: 32.74 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-06/0.5298, allocations: 1 kB / 0.5067 GB, free: 32.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.066e-05/0.5299, allocations: 319.3 kB / 0.507 GB, free: 32.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.532e-05/0.53, allocations: 22.03 kB / 0.507 GB, free: 32.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.508e-05/0.53, allocations: 36.44 kB / 0.5071 GB, free: 32.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.211e-05/0.5301, allocations: 26.78 kB / 0.5071 GB, free: 32.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5301, allocations: 0.5625 kB / 0.5071 GB, free: 32.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001816/0.5303, allocations: 95.77 kB / 0.5072 GB, free: 32.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.5303, allocations: 5.625 kB / 0.5072 GB, free: 32.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.5303, allocations: 1.219 kB / 0.5072 GB, free: 32.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.5303, allocations: 1.531 kB / 0.5072 GB, free: 32.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.623e-05/0.5304, allocations: 12.44 kB / 0.5072 GB, free: 32.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.5304, allocations: 1.781 kB / 0.5072 GB, free: 32.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.016e-05/0.5305, allocations: 2.328 kB / 0.5072 GB, free: 32.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.5305, allocations: 5.047 kB / 0.5072 GB, free: 32.38 MB / 382.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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 8.563e-05/0.5306, allocations: 124.8 kB / 0.5073 GB, free: 32.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.5307, allocations: 2.906 kB / 0.5073 GB, free: 32.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002907/0.531, allocations: 148.4 kB / 0.5075 GB, free: 32.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001672/0.5311, allocations: 116.5 kB / 0.5076 GB, free: 32.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5312, allocations: 0 / 0.5076 GB, free: 32.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.5312, allocations: 1.594 kB / 0.5076 GB, free: 32.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005064/0.5317, allocations: 436.7 kB / 0.508 GB, free: 31.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5317, allocations: 96 / 0.508 GB, free: 31.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.74e-05/0.5318, allocations: 19.33 kB / 0.508 GB, free: 31.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.5318, allocations: 1.812 kB / 0.508 GB, free: 31.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.5318, allocations: 4.188 kB / 0.508 GB, free: 31.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.5318, allocations: 7.188 kB / 0.508 GB, free: 31.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5318, allocations: 2.906 kB / 0.5081 GB, free: 31.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.532, allocations: 215 kB / 0.5083 GB, free: 31.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.5321, allocations: 87.11 kB / 0.5083 GB, free: 31.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.5321, allocations: 2.25 kB / 0.5083 GB, free: 31.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.51e-05/0.5322, allocations: 3.641 kB / 0.5083 GB, free: 31.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-05/0.5322, allocations: 16.2 kB / 0.5084 GB, free: 31.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.5322, allocations: 8.125 kB / 0.5084 GB, free: 31.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.844e-05/0.5322, allocations: 76.75 kB / 0.5084 GB, free: 31.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5322, allocations: 0 / 0.5084 GB, free: 31.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002636/0.5349, allocations: 341.5 kB / 0.5088 GB, free: 31.56 MB / 382.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: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.019/0.5539, allocations: 3.703 MB / 0.5124 GB, free: 29.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003267/0.5543, allocations: 112.1 kB / 0.5125 GB, free: 29.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5543, allocations: 3.828 kB / 0.5125 GB, free: 29.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.281e-05/0.5544, allocations: 56.45 kB / 0.5125 GB, free: 29.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005471/0.5549, allocations: 34.8 kB / 0.5126 GB, free: 29.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005466/0.5555, allocations: 273 kB / 0.5128 GB, free: 29.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.5557, allocations: 0.6937 MB / 0.5135 GB, free: 28.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.801e-05/0.5558, allocations: 15.97 kB / 0.5135 GB, free: 28.88 MB / 382.1 MB Notification: Performance of SimCode: time 7.42e-07/0.5558, allocations: 0 / 0.5135 GB, free: 28.88 MB / 382.1 MB Notification: Performance of Templates: time 0.03385/0.5896, allocations: 19.16 MB / 0.5322 GB, free: 23.74 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.R134a_setState_pTXCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTXCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTXCalcHelperMain.o] Error 1