Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.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.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005044/0.005044, allocations: 100.1 kB / 15.87 MB, free: 5.863 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.001058/0.001058, allocations: 189.7 kB / 16.79 MB, free: 5.805 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1306/0.1306, allocations: 2.759 MB / 293.4 MB, free: 3.734 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 51.92 kB / 354.4 MB, free: 5.035 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1023, allocations: 50.22 MB / 404.6 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical): time 0.2286/0.3309, allocations: 50.43 MB / 455 MB, free: 21.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02002/0.351, allocations: 28.97 MB / 484 MB, free: 364 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006976/0.3517, allocations: 7.062 kB / 484 MB, free: 360 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00158/0.3534, allocations: 0.5656 MB / 484.6 MB, free: 60 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006689/0.3601, allocations: 2.055 MB / 486.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009231/0.3693, allocations: 2.719 MB / 489.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001436/0.3708, allocations: 0.9718 MB / 490.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.3709, allocations: 54.7 kB / 490.4 MB, free: 12.88 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Common/CheckCoolPropOptions.mo:2:1-104:25:writable] Warning: Pure function ‘ExternalMedia.Common.CheckCoolPropOptions‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFEvalConstants.evaluate: time 0.7323/1.103, allocations: 46.47 MB / 0.5242 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006936/1.104, allocations: 302.5 kB / 0.5245 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000132/1.104, allocations: 20 kB / 0.5246 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.355/1.459, allocations: 24.77 MB / 0.5487 GB, free: 5.117 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002239/1.459, allocations: 87.48 kB / 0.5488 GB, free: 5.031 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007835/1.46, allocations: 318.5 kB / 0.5491 GB, free: 4.719 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002537/1.463, allocations: 1.372 MB / 0.5505 GB, free: 3.344 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.463, allocations: 0 / 0.5505 GB, free: 3.344 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.402e-06/1.463, allocations: 0 / 0.5505 GB, free: 3.344 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.956e-05/1.463, allocations: 0 / 0.5505 GB, free: 3.344 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001858/1.465, allocations: 1.1 MB / 0.5515 GB, free: 2.195 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/1.465, allocations: 8.031 kB / 0.5516 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001985/1.467, allocations: 0.4958 MB / 0.552 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004287/1.467, allocations: 343.4 kB / 0.5524 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.333e-05/1.467, allocations: 50 kB / 0.5524 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.119e-05/1.467, allocations: 56 kB / 0.5525 GB, free: 1.215 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/1.469, allocations: 0.8723 MB / 0.5533 GB, free: 300 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/1.469, allocations: 4 kB / 0.5533 GB, free: 296 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.143e-05/1.469, allocations: 24 kB / 0.5533 GB, free: 272 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.923e-05/1.469, allocations: 31.98 kB / 0.5534 GB, free: 240 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/1.47, allocations: 0.7039 MB / 0.5541 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003911/1.474, allocations: 4.962 MB / 0.5589 GB, free: 9.973 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007366/1.475, allocations: 337 kB / 0.5592 GB, free: 9.625 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003593/1.475, allocations: 233.7 kB / 0.5595 GB, free: 9.391 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001408/1.477, allocations: 1.543 MB / 0.561 GB, free: 7.676 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/1.477, allocations: 42.56 kB / 0.561 GB, free: 7.625 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 1.754e-06/1.477, allocations: 3.938 kB / 0.561 GB, free: 7.621 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.001658/1.478, allocations: 0.6192 MB / 0.5616 GB, free: 6.996 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/1.478, allocations: 85.05 kB / 0.5617 GB, free: 6.895 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/1.479, allocations: 167.6 kB / 0.5618 GB, free: 6.723 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/1.479, allocations: 41.69 kB / 0.5619 GB, free: 6.676 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/1.479, allocations: 279.6 kB / 0.5622 GB, free: 6.395 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/1.479, allocations: 236.3 kB / 0.5624 GB, free: 6.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005205/1.48, allocations: 97.91 kB / 0.5625 GB, free: 6.059 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/1.48, allocations: 338.8 kB / 0.5628 GB, free: 5.719 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/1.48, allocations: 125.3 kB / 0.5629 GB, free: 5.598 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003672/1.48, allocations: 289.4 kB / 0.5632 GB, free: 5.246 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006916/1.481, allocations: 470.7 kB / 0.5636 GB, free: 4.719 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.481, allocations: 4 kB / 0.5636 GB, free: 4.715 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008559/1.482, allocations: 472.3 kB / 0.5641 GB, free: 4.246 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/1.482, allocations: 11.91 kB / 0.5641 GB, free: 4.234 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/1.482, allocations: 7.938 kB / 0.5641 GB, free: 4.227 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/1.482, allocations: 11.98 kB / 0.5641 GB, free: 4.215 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/1.482, allocations: 71.84 kB / 0.5642 GB, free: 4.145 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/1.482, allocations: 15.97 kB / 0.5642 GB, free: 4.129 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003525/1.483, allocations: 75.58 kB / 0.5643 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/1.483, allocations: 27.98 kB / 0.5643 GB, free: 4.027 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 0.0002419/1.483, allocations: 193.7 kB / 0.5645 GB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.048e-05/1.483, allocations: 27.62 kB / 0.5645 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/1.484, allocations: 1.192 MB / 0.5657 GB, free: 2.609 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00124/1.486, allocations: 0.9943 MB / 0.5667 GB, free: 1.605 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/1.486, allocations: 0 / 0.5667 GB, free: 1.605 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/1.486, allocations: 4.359 kB / 0.5667 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003129/1.489, allocations: 2.322 MB / 0.5689 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/1.489, allocations: 7.875 kB / 0.5689 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003765/1.489, allocations: 119.9 kB / 0.569 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/1.489, allocations: 7.938 kB / 0.5691 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/1.489, allocations: 12 kB / 0.5691 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/1.489, allocations: 4 kB / 0.5691 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.489, allocations: 3.938 kB / 0.5691 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/1.491, allocations: 0.887 MB / 0.5699 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/1.491, allocations: 148.1 kB / 0.5701 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/1.491, allocations: 16 kB / 0.5701 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004664/1.491, allocations: 91.48 kB / 0.5702 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.996e-05/1.491, allocations: 39.94 kB / 0.5702 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/1.491, allocations: 27.98 kB / 0.5702 GB, free: 13.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.764e-05/1.491, allocations: 120.1 kB / 0.5704 GB, free: 13.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/1.491, allocations: 0 / 0.5704 GB, free: 13.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007406/1.492, allocations: 227.4 kB / 0.5706 GB, free: 13.48 MB / 446.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: 6 (medium1.completeState.state.phase,$cse4.phase,medium1.baseProperties.phaseOutput,medium2.completeState.state.phase,$cse2.phase,medium2.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0005371/1.493, allocations: 317.5 kB / 0.5709 GB, free: 13.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/1.494, allocations: 0.7608 MB / 0.5716 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/1.494, allocations: 0 / 0.5716 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005505/1.494, allocations: 382.4 kB / 0.572 GB, free: 12.01 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/1.496, allocations: 331.5 kB / 0.5723 GB, free: 11.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/1.498, allocations: 1.707 MB / 0.574 GB, free: 9.945 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005294/1.499, allocations: 0.965 MB / 0.5749 GB, free: 8.949 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/1.499, allocations: 47.44 kB / 0.575 GB, free: 8.902 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/1.499, allocations: 0 / 0.575 GB, free: 8.902 MB / 446.1 MB Notification: Performance of Templates: time 0.01212/1.511, allocations: 8.582 MB / 0.5833 GB, free: 340 kB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.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.TestBasePropertiesTranscriticalCalcHelperMain.o OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscriticalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscriticalCalcHelperMain.o] Error 1