Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.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/ExternalMedia 4.0.0/package.mo", uses=false) Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000973/0.0009727, allocations: 102.6 kB / 15.71 MB, free: 460 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.001498/0.001498, allocations: 176 kB / 16.58 MB, free: 6.859 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.554/1.554, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.261/0.261, allocations: 2.784 MB / 294.5 MB, free: 4.34 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003528, allocations: 12 kB / 356.2 MB, free: 4.328 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1464, allocations: 51.25 MB / 407.5 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.2888/0.4353, allocations: 17.5 MB / 425 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005435/0.4407, allocations: 5.597 MB / 430.6 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.4409, allocations: 4 kB / 430.6 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005703/0.4415, allocations: 226.1 kB / 430.8 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003084/0.4446, allocations: 1.049 MB / 431.9 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.4449, allocations: 75.42 kB / 431.9 MB, free: 35.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003099/0.4452, allocations: 289.1 kB / 432.2 MB, free: 35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.774e-05/0.4453, allocations: 20.17 kB / 432.2 MB, free: 35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.174e-05/0.4454, allocations: 88.62 kB / 432.3 MB, free: 34.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.4455, allocations: 111 kB / 432.4 MB, free: 34.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.4456, allocations: 6.594 kB / 432.5 MB, free: 34.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3135/0.759, allocations: 32.85 MB / 465.3 MB, free: 32.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.158e-05/0.7592, allocations: 24.36 kB / 465.3 MB, free: 32.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.7593, allocations: 82.8 kB / 465.4 MB, free: 32.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007067/0.76, allocations: 347.8 kB / 465.7 MB, free: 32.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.7601, allocations: 0 / 465.7 MB, free: 32.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.7601, allocations: 0 / 465.7 MB, free: 32.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.7601, allocations: 3 kB / 465.7 MB, free: 32.45 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0004513/0.7605, allocations: 0.527 MB / 466.3 MB, free: 32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.7606, allocations: 9.656 kB / 466.3 MB, free: 32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007349/0.7613, allocations: 201.5 kB / 466.5 MB, free: 31.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.181e-05/0.7614, allocations: 181.7 kB / 466.7 MB, free: 31.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.7614, allocations: 19.23 kB / 466.7 MB, free: 31.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.7615, allocations: 23.59 kB / 466.7 MB, free: 31.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004098/0.7619, allocations: 336.8 kB / 467 MB, free: 31.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.7619, allocations: 7.938 kB / 467 MB, free: 31.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.7619, allocations: 14.91 kB / 467.1 MB, free: 31.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.7619, allocations: 13.69 kB / 467.1 MB, free: 31.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002584/0.7622, allocations: 259.8 kB / 467.3 MB, free: 31.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.7633, allocations: 2.123 MB / 469.4 MB, free: 29.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.7635, allocations: 133 kB / 469.6 MB, free: 29.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.7636, allocations: 116.5 kB / 469.7 MB, free: 29.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005073/0.7641, allocations: 0.6883 MB / 470.4 MB, free: 29.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.7642, allocations: 36.59 kB / 470.4 MB, free: 28.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.343e-06/0.7642, allocations: 0 / 470.4 MB, free: 28.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.000354/0.7645, allocations: 180.6 kB / 470.6 MB, free: 28.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.7646, allocations: 80.02 kB / 470.7 MB, free: 28.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.994e-05/0.7646, allocations: 111.8 kB / 470.8 MB, free: 28.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.7647, allocations: 29.64 kB / 470.8 MB, free: 28.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/0.7648, allocations: 157.2 kB / 471 MB, free: 28.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.521e-05/0.7648, allocations: 104.4 kB / 471.1 MB, free: 28.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-06/0.7648, allocations: 0 / 471.1 MB, free: 28.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.891e-05/0.7649, allocations: 322.5 kB / 471.4 MB, free: 28.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.392e-05/0.7649, allocations: 32.88 kB / 471.4 MB, free: 28.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/0.765, allocations: 87.23 kB / 471.5 MB, free: 28.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.417e-05/0.7651, allocations: 51.09 kB / 471.5 MB, free: 28.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7651, allocations: 6.828 kB / 471.5 MB, free: 28.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001843/0.7653, allocations: 153.6 kB / 471.7 MB, free: 28.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.7653, allocations: 3.594 kB / 471.7 MB, free: 28.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.7653, allocations: 7.406 kB / 471.7 MB, free: 28.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.7653, allocations: 7.312 kB / 471.7 MB, free: 28.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.321e-05/0.7654, allocations: 14.17 kB / 471.7 MB, free: 28.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.7654, allocations: 3.438 kB / 471.7 MB, free: 28.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.7656, allocations: 31.28 kB / 471.8 MB, free: 28.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.7656, allocations: 3.406 kB / 471.8 MB, free: 28.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 0.0001036/0.7657, allocations: 129 kB / 471.9 MB, free: 27.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.896e-05/0.7657, allocations: 18.55 kB / 471.9 MB, free: 27.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005812/0.7663, allocations: 425.8 kB / 472.3 MB, free: 27.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003799/0.7667, allocations: 333.3 kB / 472.7 MB, free: 27.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.7667, allocations: 0 / 472.7 MB, free: 27.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.7667, allocations: 6.484 kB / 472.7 MB, free: 27.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.7678, allocations: 1.029 MB / 473.7 MB, free: 26.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.7678, allocations: 0 / 473.7 MB, free: 26.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.768, allocations: 52.25 kB / 473.7 MB, free: 26.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.768, allocations: 0 / 473.7 MB, free: 26.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.768, allocations: 8 kB / 473.7 MB, free: 26.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.768, allocations: 3.938 kB / 473.7 MB, free: 26.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.768, allocations: 0 / 473.7 MB, free: 26.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004136/0.7684, allocations: 0.4949 MB / 474.2 MB, free: 26.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/0.7685, allocations: 104.7 kB / 474.3 MB, free: 26.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.7685, allocations: 8 kB / 474.4 MB, free: 26.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.7688, allocations: 49.69 kB / 474.4 MB, free: 26.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.7688, allocations: 22.69 kB / 474.4 MB, free: 26.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.7688, allocations: 8 kB / 474.4 MB, free: 26.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.955e-05/0.7688, allocations: 82.75 kB / 474.5 MB, free: 26.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7688, allocations: 4 kB / 474.5 MB, free: 26.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004289/0.7693, allocations: 107.6 kB / 474.6 MB, free: 26.03 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (state1.phase,$cse2.phase,state2.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003835/0.7697, allocations: 188.2 kB / 474.8 MB, free: 25.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003822/0.7701, allocations: 307.5 kB / 475.1 MB, free: 25.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.7701, allocations: 0 / 475.1 MB, free: 25.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.7702, allocations: 165.5 kB / 475.3 MB, free: 25.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009202/0.7712, allocations: 167.7 kB / 475.4 MB, free: 25.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009423/0.7721, allocations: 0.8558 MB / 476.3 MB, free: 24.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.7724, allocations: 0.8034 MB / 477.1 MB, free: 23.72 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.017e-05/0.7724, allocations: 23.44 kB / 477.1 MB, free: 23.7 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.7724, allocations: 0 / 477.1 MB, free: 23.7 MB / 350.1 MB Notification: Performance of Templates: time 0.006507/0.7789, allocations: 3.57 MB / 480.7 MB, free: 21.62 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.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/ExternalMedia 4.0.0/Resources/Include" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Resources/Include" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscriticalCalcHelperMain.o OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscriticalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscriticalCalcHelperMain.o] Error 1