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.0009296/0.0009297, allocations: 98.89 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.001232/0.001232, allocations: 181 kB / 16.58 MB, free: 6.422 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.518/1.518, allocations: 223.3 MB / 240.6 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1904/0.1904, allocations: 2.783 MB / 294.5 MB, free: 4.309 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003623, allocations: 8 kB / 356.2 MB, free: 4.336 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.14, allocations: 51.25 MB / 407.5 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical): time 0.3753/0.5155, allocations: 46.59 MB / 454.1 MB, free: 24.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02066/0.5362, allocations: 26.73 MB / 480.8 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008635/0.5371, allocations: 4 kB / 480.8 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.5387, allocations: 0.5387 MB / 481.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007154/0.5459, allocations: 1.936 MB / 483.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009582/0.5555, allocations: 2.518 MB / 485.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001468/0.557, allocations: 0.8589 MB / 486.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001871/0.5572, allocations: 56.81 kB / 486.7 MB, free: 1.555 MB / 350.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.08935/0.6466, allocations: 42.92 MB / 0.5172 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009764/0.6476, allocations: 278.8 kB / 0.5175 GB, free: 7.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.532e-05/0.6477, allocations: 20 kB / 0.5175 GB, free: 7.059 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04344/0.6911, allocations: 22.94 MB / 0.5399 GB, free: 100 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002573/0.6914, allocations: 87.53 kB / 0.54 GB, free: 12 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004676/0.6919, allocations: 157.5 kB / 0.5402 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003313/0.6952, allocations: 1.348 MB / 0.5415 GB, free: 14.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.6952, allocations: 0 / 0.5415 GB, free: 14.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.6952, allocations: 0 / 0.5415 GB, free: 14.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.6952, allocations: 0 / 0.5415 GB, free: 14.5 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.001475/0.6967, allocations: 0.9945 MB / 0.5424 GB, free: 13.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.6968, allocations: 8.031 kB / 0.5425 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/0.6987, allocations: 0.5034 MB / 0.5429 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004348/0.6992, allocations: 350.1 kB / 0.5433 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.6e-05/0.6993, allocations: 45.31 kB / 0.5433 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.159e-05/0.6993, allocations: 52 kB / 0.5434 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.701, allocations: 0.8724 MB / 0.5442 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.701, allocations: 11.94 kB / 0.5442 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.014e-05/0.7011, allocations: 24 kB / 0.5443 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.519e-05/0.7011, allocations: 31.98 kB / 0.5443 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.7025, allocations: 0.7157 MB / 0.545 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004832/0.7074, allocations: 4.965 MB / 0.5498 GB, free: 5.211 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007374/0.7081, allocations: 349.1 kB / 0.5502 GB, free: 4.852 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003572/0.7085, allocations: 221.7 kB / 0.5504 GB, free: 4.629 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001703/0.7102, allocations: 1.555 MB / 0.5519 GB, free: 2.902 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.038e-05/0.7103, allocations: 30.56 kB / 0.5519 GB, free: 2.863 MB / 414.1 MB Notification: Performance of pre-optimization done (n=74): time 1.954e-06/0.7103, allocations: 0 / 0.5519 GB, free: 2.863 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.001605/0.7119, allocations: 0.6234 MB / 0.5525 GB, free: 2.234 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/0.712, allocations: 85.05 kB / 0.5526 GB, free: 2.133 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.7122, allocations: 171.6 kB / 0.5528 GB, free: 1.957 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.7122, allocations: 25.7 kB / 0.5528 GB, free: 1.926 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.7124, allocations: 279.6 kB / 0.5531 GB, free: 1.645 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/0.7126, allocations: 240.3 kB / 0.5533 GB, free: 1.406 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.589e-05/0.7126, allocations: 4 kB / 0.5533 GB, free: 1.402 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.7128, allocations: 342.8 kB / 0.5536 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/0.713, allocations: 125.3 kB / 0.5537 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004071/0.7135, allocations: 278 kB / 0.554 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/0.7138, allocations: 191.3 kB / 0.5542 GB, free: 416 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.7138, allocations: 0 / 0.5542 GB, free: 416 kB / 414.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008639/0.7147, allocations: 468.7 kB / 0.5546 GB, free: 15.94 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.7147, allocations: 10.03 kB / 0.5547 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.7148, allocations: 4 kB / 0.5547 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.7148, allocations: 11.95 kB / 0.5547 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.7151, allocations: 71.84 kB / 0.5547 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-05/0.7151, allocations: 12.09 kB / 0.5547 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/0.7155, allocations: 83.28 kB / 0.5548 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/0.7155, allocations: 20 kB / 0.5548 GB, free: 15.74 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.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.baseProperties.phaseOutput,medium1.completeState.state.phase,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002876/0.7158, allocations: 193.6 kB / 0.555 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-05/0.7159, allocations: 27.62 kB / 0.5551 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/0.7176, allocations: 1.181 MB / 0.5562 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001401/0.719, allocations: 0.9718 MB / 0.5572 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/0.719, allocations: 15.89 kB / 0.5572 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.719, allocations: 3.984 kB / 0.5572 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003275/0.7223, allocations: 2.319 MB / 0.5594 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.7223, allocations: 8 kB / 0.5595 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003826/0.7227, allocations: 123.8 kB / 0.5596 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/0.7227, allocations: 4 kB / 0.5596 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.057e-05/0.7228, allocations: 16 kB / 0.5596 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.7228, allocations: 4 kB / 0.5596 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.7228, allocations: 0 / 0.5596 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.724, allocations: 0.8797 MB / 0.5605 GB, free: 9.906 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.7242, allocations: 136.3 kB / 0.5606 GB, free: 9.754 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/0.7242, allocations: 12 kB / 0.5606 GB, free: 9.742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000437/0.7247, allocations: 87.48 kB / 0.5607 GB, free: 9.656 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.69e-05/0.7248, allocations: 55.86 kB / 0.5607 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-05/0.7248, allocations: 23.98 kB / 0.5608 GB, free: 9.578 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.7249, allocations: 120.1 kB / 0.5609 GB, free: 9.461 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7249, allocations: 0 / 0.5609 GB, free: 9.461 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008826/0.7258, allocations: 239.2 kB / 0.5611 GB, free: 9.227 MB / 430.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 (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.0006296/0.7265, allocations: 315.9 kB / 0.5614 GB, free: 8.941 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.7277, allocations: 0.7489 MB / 0.5621 GB, free: 8.168 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.7277, allocations: 0 / 0.5621 GB, free: 8.168 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005649/0.7283, allocations: 382.7 kB / 0.5625 GB, free: 7.797 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/0.7299, allocations: 328.5 kB / 0.5628 GB, free: 7.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.7325, allocations: 1.693 MB / 0.5645 GB, free: 5.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006789/0.7332, allocations: 0.9651 MB / 0.5654 GB, free: 4.758 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.7333, allocations: 51.44 kB / 0.5655 GB, free: 4.707 MB / 430.1 MB Notification: Performance of SimCode: time 8.52e-07/0.7333, allocations: 3.938 kB / 0.5655 GB, free: 4.703 MB / 430.1 MB Notification: Performance of Templates: time 0.01581/0.7491, allocations: 8.479 MB / 0.5737 GB, free: 12.4 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.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.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