Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.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.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 96.14 kB / 15.87 MB, free: 16 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.00111/0.00111, allocations: 194.1 kB / 16.79 MB, free: 6.812 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.322/1.322, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.125/0.125, allocations: 2.761 MB / 293.4 MB, free: 3.789 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 60.05 kB / 354.4 MB, free: 5.023 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1013, allocations: 50.24 MB / 404.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.2265/0.3279, allocations: 19.07 MB / 423.7 MB, free: 36.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00394/0.3318, allocations: 6.055 MB / 429.7 MB, free: 35.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.332, allocations: 3.312 kB / 429.7 MB, free: 35.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000577/0.3326, allocations: 239.2 kB / 430 MB, free: 35.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002566/0.3352, allocations: 1.111 MB / 431.1 MB, free: 35.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.3354, allocations: 84.42 kB / 431.2 MB, free: 35.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002537/0.3357, allocations: 299 kB / 431.4 MB, free: 35.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.119e-05/0.3358, allocations: 23.88 kB / 431.5 MB, free: 35.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.241e-05/0.3359, allocations: 94.72 kB / 431.6 MB, free: 35.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.336, allocations: 110.9 kB / 431.7 MB, free: 35.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.336, allocations: 6.844 kB / 431.7 MB, free: 35.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.8459/1.182, allocations: 35.51 MB / 467.2 MB, free: 21.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.967e-05/1.182, allocations: 28.59 kB / 467.2 MB, free: 21.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003176/1.182, allocations: 131.6 kB / 467.3 MB, free: 21.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008476/1.183, allocations: 357.3 kB / 467.7 MB, free: 21.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.183, allocations: 5.375 kB / 467.7 MB, free: 21.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/1.183, allocations: 0 / 467.7 MB, free: 21.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/1.183, allocations: 0 / 467.7 MB, free: 21.61 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.000696/1.184, allocations: 0.5608 MB / 468.3 MB, free: 21.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/1.184, allocations: 8.969 kB / 468.3 MB, free: 21.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008437/1.185, allocations: 202.1 kB / 468.5 MB, free: 21.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/1.185, allocations: 186.3 kB / 468.6 MB, free: 20.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/1.185, allocations: 19.41 kB / 468.7 MB, free: 20.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/1.185, allocations: 22.41 kB / 468.7 MB, free: 20.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004556/1.185, allocations: 344.1 kB / 469 MB, free: 20.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/1.185, allocations: 3.938 kB / 469 MB, free: 20.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/1.186, allocations: 10.22 kB / 469 MB, free: 20.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/1.186, allocations: 10.16 kB / 469 MB, free: 20.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003183/1.186, allocations: 262.5 kB / 469.3 MB, free: 20.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/1.187, allocations: 2.127 MB / 471.4 MB, free: 18.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/1.187, allocations: 137.8 kB / 471.6 MB, free: 18.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/1.188, allocations: 110.4 kB / 471.7 MB, free: 18.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005747/1.188, allocations: 0.6863 MB / 472.4 MB, free: 17.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/1.188, allocations: 31.78 kB / 472.4 MB, free: 17.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.283e-06/1.188, allocations: 0 / 472.4 MB, free: 17.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.000341/1.189, allocations: 187.3 kB / 472.6 MB, free: 17.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/1.189, allocations: 82.23 kB / 472.7 MB, free: 17.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.534e-05/1.189, allocations: 98.86 kB / 472.8 MB, free: 17.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/1.189, allocations: 25.7 kB / 472.8 MB, free: 17.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/1.189, allocations: 167.3 kB / 472.9 MB, free: 17.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.018e-05/1.189, allocations: 101.6 kB / 473 MB, free: 16.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/1.189, allocations: 35.3 kB / 473.1 MB, free: 16.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.746e-05/1.189, allocations: 332.5 kB / 473.4 MB, free: 16.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.872e-05/1.189, allocations: 33.91 kB / 473.4 MB, free: 16.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.534e-05/1.189, allocations: 81.69 kB / 473.5 MB, free: 16.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/1.189, allocations: 148.5 kB / 473.7 MB, free: 16.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.189, allocations: 0 / 473.7 MB, free: 16.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002241/1.189, allocations: 162.3 kB / 473.8 MB, free: 16.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/1.189, allocations: 5.219 kB / 473.8 MB, free: 16.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/1.189, allocations: 1.344 kB / 473.8 MB, free: 16.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/1.189, allocations: 2.906 kB / 473.8 MB, free: 16.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.425e-05/1.19, allocations: 11 kB / 473.8 MB, free: 16.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/1.19, allocations: 4.188 kB / 473.8 MB, free: 16.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/1.19, allocations: 30.58 kB / 473.9 MB, free: 16.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/1.19, allocations: 8.875 kB / 473.9 MB, free: 16.3 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.497e-05/1.19, allocations: 135.2 kB / 474 MB, free: 16.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.85e-05/1.19, allocations: 18.55 kB / 474 MB, free: 16.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006815/1.191, allocations: 425.1 kB / 474.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003621/1.191, allocations: 333 kB / 474.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/1.191, allocations: 5.125 kB / 474.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/1.191, allocations: 3.141 kB / 474.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/1.192, allocations: 1.031 MB / 475.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/1.192, allocations: 3.938 kB / 475.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/1.192, allocations: 55.16 kB / 475.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/1.192, allocations: 2.125 kB / 475.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/1.192, allocations: 6.188 kB / 475.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/1.192, allocations: 1.094 kB / 475.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/1.192, allocations: 1.5 kB / 475.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000465/1.193, allocations: 0.4953 MB / 476.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.095e-05/1.193, allocations: 116 kB / 476.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/1.193, allocations: 10.44 kB / 476.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/1.193, allocations: 43.11 kB / 476.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/1.193, allocations: 20.84 kB / 476.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/1.193, allocations: 10.38 kB / 476.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.455e-05/1.193, allocations: 90.03 kB / 476.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.193, allocations: 0 / 476.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000474/1.194, allocations: 102.3 kB / 476.8 MB, free: 14.49 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003477/1.194, allocations: 192.5 kB / 476.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003661/1.194, allocations: 304 kB / 477.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.194, allocations: 0 / 477.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001752/1.195, allocations: 172.6 kB / 477.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009861/1.196, allocations: 166.7 kB / 477.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/1.197, allocations: 0.8417 MB / 478.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/1.197, allocations: 0.8006 MB / 479.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.979e-05/1.197, allocations: 23.94 kB / 479.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/1.197, allocations: 0 / 479.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of Templates: time 0.006768/1.204, allocations: 3.601 MB / 482.8 MB, free: 12.33 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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.TestStatesSupercriticalCalcHelperMain.o OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercriticalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercriticalCalcHelperMain.o] Error 1