Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009065/0.0009061, allocations: 99.59 kB / 15.71 MB, free: 452 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.00142/0.00142, allocations: 180.3 kB / 16.58 MB, free: 6.879 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.551/1.551, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1703/0.1703, allocations: 2.785 MB / 294.5 MB, free: 4.332 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.0003462, allocations: 8 kB / 356.2 MB, free: 4.371 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1269, allocations: 51.25 MB / 407.5 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.3007/0.4276, allocations: 17.5 MB / 425 MB, free: 34.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004985/0.4327, allocations: 5.596 MB / 430.6 MB, free: 34.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.4329, allocations: 0 / 430.6 MB, free: 34.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005752/0.4334, allocations: 231.8 kB / 430.8 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002963/0.4364, allocations: 1.05 MB / 431.9 MB, free: 34.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.4367, allocations: 77.81 kB / 431.9 MB, free: 34.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003028/0.437, allocations: 280.6 kB / 432.2 MB, free: 34.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.729e-05/0.4371, allocations: 29.22 kB / 432.2 MB, free: 34.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.844e-05/0.4372, allocations: 89.56 kB / 432.3 MB, free: 34.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.4373, allocations: 113.5 kB / 432.4 MB, free: 34.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.4373, allocations: 6.562 kB / 432.5 MB, free: 34.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06658/0.5039, allocations: 32.4 MB / 464.8 MB, free: 32.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.379e-05/0.5041, allocations: 33.56 kB / 464.9 MB, free: 32.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002285/0.5043, allocations: 77.27 kB / 465 MB, free: 31.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007852/0.5051, allocations: 351 kB / 465.3 MB, free: 31.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.5051, allocations: 0 / 465.3 MB, free: 31.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5051, allocations: 0 / 465.3 MB, free: 31.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.5051, allocations: 0 / 465.3 MB, free: 31.85 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.0005165/0.5056, allocations: 0.525 MB / 465.8 MB, free: 31.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.5057, allocations: 12.41 kB / 465.8 MB, free: 31.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007228/0.5064, allocations: 207.5 kB / 466 MB, free: 31.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.006e-05/0.5065, allocations: 185.6 kB / 466.2 MB, free: 31.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.5065, allocations: 22.08 kB / 466.2 MB, free: 31.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.5066, allocations: 30.38 kB / 466.3 MB, free: 31.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004488/0.507, allocations: 331.8 kB / 466.6 MB, free: 31.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.5071, allocations: 0 / 466.6 MB, free: 31.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.5071, allocations: 11.59 kB / 466.6 MB, free: 31.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.5071, allocations: 10.02 kB / 466.6 MB, free: 31.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.5074, allocations: 260 kB / 466.9 MB, free: 31.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.5086, allocations: 2.124 MB / 469 MB, free: 29.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.5088, allocations: 136.9 kB / 469.1 MB, free: 29.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.5089, allocations: 106.9 kB / 469.2 MB, free: 29.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004835/0.5094, allocations: 0.691 MB / 469.9 MB, free: 28.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.5094, allocations: 38.38 kB / 470 MB, free: 28.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.614e-06/0.5094, allocations: 0 / 470 MB, free: 28.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003208/0.5098, allocations: 179.7 kB / 470.1 MB, free: 28.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.5098, allocations: 82.89 kB / 470.2 MB, free: 28.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.313e-05/0.5099, allocations: 105.8 kB / 470.3 MB, free: 28.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.5099, allocations: 25.7 kB / 470.3 MB, free: 28.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.348e-05/0.51, allocations: 157.8 kB / 470.5 MB, free: 28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.585e-05/0.51, allocations: 99.48 kB / 470.6 MB, free: 27.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.5101, allocations: 7.188 kB / 470.6 MB, free: 27.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.643e-05/0.5101, allocations: 328.2 kB / 470.9 MB, free: 27.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.804e-05/0.5102, allocations: 30.78 kB / 471 MB, free: 27.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.959e-05/0.5103, allocations: 82.5 kB / 471 MB, free: 27.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.15e-05/0.5104, allocations: 62.45 kB / 471.1 MB, free: 27.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.5104, allocations: 6.641 kB / 471.1 MB, free: 27.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002204/0.5106, allocations: 159 kB / 471.3 MB, free: 27.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.5106, allocations: 5.875 kB / 471.3 MB, free: 27.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.5107, allocations: 3.125 kB / 471.3 MB, free: 27.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.5107, allocations: 3.094 kB / 471.3 MB, free: 27.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.523e-05/0.5108, allocations: 6.219 kB / 471.3 MB, free: 27.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.5108, allocations: 4.391 kB / 471.3 MB, free: 27.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.5109, allocations: 30.92 kB / 471.3 MB, free: 27.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.5109, allocations: 4.281 kB / 471.3 MB, free: 27.48 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.0001108/0.511, allocations: 135.8 kB / 471.4 MB, free: 27.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.5111, allocations: 16.77 kB / 471.5 MB, free: 27.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004629/0.5116, allocations: 425 kB / 471.9 MB, free: 27.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003173/0.5119, allocations: 329.2 kB / 472.2 MB, free: 27.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.5119, allocations: 0 / 472.2 MB, free: 27.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.5119, allocations: 3.375 kB / 472.2 MB, free: 27.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009801/0.5129, allocations: 1.04 MB / 473.2 MB, free: 26.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.5129, allocations: 0 / 473.2 MB, free: 26.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.513, allocations: 45.25 kB / 473.3 MB, free: 26.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.5131, allocations: 3.5 kB / 473.3 MB, free: 26.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.5131, allocations: 7.875 kB / 473.3 MB, free: 26.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.5131, allocations: 3.344 kB / 473.3 MB, free: 26.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.5131, allocations: 3.234 kB / 473.3 MB, free: 26.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003812/0.5135, allocations: 0.4944 MB / 473.8 MB, free: 26.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.07e-05/0.5135, allocations: 106.7 kB / 473.9 MB, free: 26.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.5136, allocations: 7.062 kB / 473.9 MB, free: 26.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.5138, allocations: 56.41 kB / 474 MB, free: 26.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.5138, allocations: 15.36 kB / 474 MB, free: 26.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.5138, allocations: 10.66 kB / 474 MB, free: 26.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.158e-05/0.5139, allocations: 82.19 kB / 474.1 MB, free: 26.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5139, allocations: 0 / 474.1 MB, free: 26.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004387/0.5143, allocations: 114.2 kB / 474.2 MB, free: 26.16 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.00034/0.5147, allocations: 182.9 kB / 474.4 MB, free: 26.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003411/0.515, allocations: 315.2 kB / 474.7 MB, free: 25.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.515, allocations: 0 / 474.7 MB, free: 25.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.5152, allocations: 163.6 kB / 474.8 MB, free: 25.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009429/0.5161, allocations: 173.1 kB / 475 MB, free: 25.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000844/0.517, allocations: 0.8472 MB / 475.8 MB, free: 24.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.5172, allocations: 0.8048 MB / 476.7 MB, free: 23.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.5173, allocations: 23.44 kB / 476.7 MB, free: 23.9 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.5173, allocations: 0 / 476.7 MB, free: 23.9 MB / 350.1 MB Notification: Performance of Templates: time 0.005777/0.523, allocations: 3.554 MB / 480.2 MB, free: 21.79 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.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.TestStatesSupercriticalCalcHelperMain.o OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercriticalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercriticalCalcHelperMain.o] Error 1