Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.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.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009964/0.0009963, allocations: 97.02 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.001166/0.001166, allocations: 170.9 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.512/1.512, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1905/0.1905, allocations: 2.782 MB / 294.5 MB, free: 4.246 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003589, allocations: 8 kB / 356.2 MB, free: 4.332 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1279, allocations: 51.25 MB / 407.5 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit): time 0.3383/0.4662, allocations: 46.59 MB / 454.1 MB, free: 24.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02178/0.4881, allocations: 26.72 MB / 480.8 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001108/0.4893, allocations: 3.094 kB / 480.8 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001935/0.4912, allocations: 0.5449 MB / 481.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008156/0.4994, allocations: 1.937 MB / 483.3 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01022/0.5097, allocations: 2.516 MB / 485.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001744/0.5114, allocations: 0.8648 MB / 486.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002377/0.5117, allocations: 57.02 kB / 486.7 MB, free: 1.531 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.08943/0.6011, allocations: 42.91 MB / 0.5172 GB, free: 7.359 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.6023, allocations: 286.7 kB / 0.5175 GB, free: 7.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.672e-05/0.6024, allocations: 20 kB / 0.5175 GB, free: 7.059 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04373/0.6462, allocations: 22.96 MB / 0.5399 GB, free: 92 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004427/0.6467, allocations: 91.52 kB / 0.54 GB, free: 0 / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007466/0.6475, allocations: 157.4 kB / 0.5402 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005198/0.6527, allocations: 1.34 MB / 0.5415 GB, free: 14.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.53e-05/0.6527, allocations: 4 kB / 0.5415 GB, free: 14.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.6528, allocations: 0 / 0.5415 GB, free: 14.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.6528, allocations: 0 / 0.5415 GB, free: 14.49 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.002087/0.6549, allocations: 0.9946 MB / 0.5425 GB, free: 13.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.896e-05/0.6549, allocations: 8.031 kB / 0.5425 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/0.657, allocations: 0.5072 MB / 0.543 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005141/0.6575, allocations: 334.2 kB / 0.5433 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.629e-05/0.6576, allocations: 45.31 kB / 0.5433 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.015e-05/0.6577, allocations: 56 kB / 0.5434 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.6593, allocations: 0.8763 MB / 0.5442 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.6594, allocations: 3.938 kB / 0.5442 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.944e-05/0.6594, allocations: 24 kB / 0.5443 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.177e-05/0.6595, allocations: 35.97 kB / 0.5443 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.6608, allocations: 0.7118 MB / 0.545 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004558/0.6653, allocations: 5.039 MB / 0.5499 GB, free: 5.141 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007436/0.6661, allocations: 333.7 kB / 0.5502 GB, free: 4.797 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003112/0.6664, allocations: 221.7 kB / 0.5504 GB, free: 4.574 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001627/0.6681, allocations: 1.519 MB / 0.5519 GB, free: 2.883 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.6681, allocations: 38.52 kB / 0.552 GB, free: 2.836 MB / 414.1 MB Notification: Performance of pre-optimization done (n=71): time 5.631e-06/0.6681, allocations: 3.984 kB / 0.552 GB, free: 2.832 MB / 414.1 MB Notification: Performance of matching and sorting (n=71): time 0.001472/0.6696, allocations: 0.604 MB / 0.5525 GB, free: 2.223 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.6697, allocations: 81.11 kB / 0.5526 GB, free: 2.125 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.6699, allocations: 186.2 kB / 0.5528 GB, free: 1.934 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.6699, allocations: 29.7 kB / 0.5528 GB, free: 1.898 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.6701, allocations: 283.4 kB / 0.5531 GB, free: 1.613 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.6703, allocations: 236.5 kB / 0.5533 GB, free: 1.379 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.526e-05/0.6703, allocations: 8 kB / 0.5533 GB, free: 1.371 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.6705, allocations: 338.9 kB / 0.5537 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.6707, allocations: 125.2 kB / 0.5538 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003642/0.6711, allocations: 308 kB / 0.5541 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002885/0.6714, allocations: 175.6 kB / 0.5542 GB, free: 364 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.6714, allocations: 4 kB / 0.5542 GB, free: 360 kB / 414.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007667/0.6722, allocations: 484.7 kB / 0.5547 GB, free: 15.87 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.6722, allocations: 11.95 kB / 0.5547 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.6723, allocations: 12.03 kB / 0.5547 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.6723, allocations: 8 kB / 0.5547 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.6726, allocations: 75.84 kB / 0.5548 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.359e-05/0.6726, allocations: 15.92 kB / 0.5548 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/0.6729, allocations: 79.27 kB / 0.5549 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.673, allocations: 20 kB / 0.5549 GB, free: 15.65 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.completeState.state.phase,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput,medium1.baseProperties.phaseOutput) * 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.0003075/0.6733, allocations: 189.7 kB / 0.5551 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.73e-05/0.6734, allocations: 27.62 kB / 0.5551 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/0.6748, allocations: 1.163 MB / 0.5563 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001289/0.6761, allocations: 0.9765 MB / 0.5572 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.6762, allocations: 0 / 0.5572 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.6762, allocations: 3.984 kB / 0.5572 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00308/0.6793, allocations: 2.291 MB / 0.5595 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.6793, allocations: 4 kB / 0.5595 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003323/0.6796, allocations: 119.8 kB / 0.5596 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.6796, allocations: 4 kB / 0.5596 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.6797, allocations: 12 kB / 0.5596 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/0.6797, allocations: 4 kB / 0.5596 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.6797, allocations: 3.953 kB / 0.5596 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.6808, allocations: 0.8714 MB / 0.5604 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.681, allocations: 144.2 kB / 0.5606 GB, free: 9.738 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/0.6811, allocations: 12 kB / 0.5606 GB, free: 9.727 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004359/0.6815, allocations: 87.44 kB / 0.5607 GB, free: 9.641 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.6816, allocations: 51.89 kB / 0.5607 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/0.6817, allocations: 16 kB / 0.5607 GB, free: 9.574 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.6818, allocations: 124.7 kB / 0.5609 GB, free: 9.453 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6818, allocations: 4 kB / 0.5609 GB, free: 9.449 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009565/0.6828, allocations: 227.4 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: 5 (medium1.completeState.state.phase,$cse4.phase,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 (75): * Single equations (assignments): 71 * 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.0006716/0.6835, allocations: 316.5 kB / 0.5614 GB, free: 8.938 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.6846, allocations: 0.7527 MB / 0.5621 GB, free: 8.156 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6846, allocations: 0 / 0.5621 GB, free: 8.156 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004708/0.6851, allocations: 374.4 kB / 0.5625 GB, free: 7.793 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.6867, allocations: 324.6 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.002343/0.689, allocations: 1.682 MB / 0.5644 GB, free: 5.766 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006434/0.6897, allocations: 0.9524 MB / 0.5654 GB, free: 4.781 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.6898, allocations: 51.38 kB / 0.5654 GB, free: 4.73 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.6898, allocations: 4 kB / 0.5654 GB, free: 4.727 MB / 430.1 MB Notification: Performance of Templates: time 0.01405/0.7039, allocations: 8.307 MB / 0.5735 GB, free: 12.57 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.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.TestBasePropertiesExplicitCalcHelperMain.o OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicitCalcHelperMain.o] Error 1