Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.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_Tabular.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004525/0.004525, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001016/0.001017, allocations: 195.8 kB / 16.79 MB, free: 6.254 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.294/1.294, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1687/0.1687, allocations: 2.766 MB / 293.4 MB, free: 3.789 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001031/0.001031, allocations: 59.91 kB / 354.4 MB, free: 4.977 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08456/0.08561, allocations: 50.24 MB / 404.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.1954/0.2811, allocations: 50.42 MB / 455 MB, free: 21.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01557/0.2967, allocations: 28.97 MB / 484 MB, free: 324 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006036/0.2973, allocations: 3.062 kB / 484 MB, free: 324 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001486/0.2988, allocations: 0.5723 MB / 484.6 MB, free: 20 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006319/0.3052, allocations: 2.058 MB / 486.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008488/0.3137, allocations: 2.717 MB / 489.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001356/0.315, allocations: 0.9734 MB / 490.3 MB, free: 12.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.3152, allocations: 65.66 kB / 490.4 MB, free: 12.83 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.9157/1.231, allocations: 47.05 MB / 0.5248 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007275/1.232, allocations: 298.5 kB / 0.5251 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001154/1.232, allocations: 20 kB / 0.5251 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3589/1.591, allocations: 25.06 MB / 0.5496 GB, free: 4.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002337/1.591, allocations: 87.53 kB / 0.5497 GB, free: 4.094 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007021/1.592, allocations: 318.4 kB / 0.55 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002898/1.595, allocations: 1.368 MB / 0.5513 GB, free: 2.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/1.595, allocations: 8 kB / 0.5513 GB, free: 2.402 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.322e-06/1.595, allocations: 0 / 0.5513 GB, free: 2.402 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.639e-05/1.595, allocations: 0 / 0.5513 GB, free: 2.402 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.001962/1.597, allocations: 1.1 MB / 0.5524 GB, free: 1.254 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/1.597, allocations: 8.031 kB / 0.5524 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002053/1.599, allocations: 0.4919 MB / 0.5529 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004615/1.599, allocations: 335.4 kB / 0.5532 GB, free: 396 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.912e-05/1.599, allocations: 50.06 kB / 0.5533 GB, free: 348 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.277e-05/1.599, allocations: 59.94 kB / 0.5533 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/1.601, allocations: 0.8762 MB / 0.5542 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/1.601, allocations: 4 kB / 0.5542 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.868e-05/1.601, allocations: 20 kB / 0.5542 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.204e-05/1.601, allocations: 31.98 kB / 0.5542 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/1.602, allocations: 0.7078 MB / 0.5549 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003711/1.606, allocations: 5.017 MB / 0.5598 GB, free: 8.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006413/1.607, allocations: 333.7 kB / 0.5601 GB, free: 8.637 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/1.607, allocations: 217.7 kB / 0.5604 GB, free: 8.418 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00138/1.608, allocations: 1.542 MB / 0.5619 GB, free: 6.703 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/1.608, allocations: 34.56 kB / 0.5619 GB, free: 6.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=71): time 1.784e-06/1.608, allocations: 0 / 0.5619 GB, free: 6.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=71): time 0.001466/1.61, allocations: 0.5962 MB / 0.5625 GB, free: 6.059 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/1.61, allocations: 77.11 kB / 0.5625 GB, free: 5.965 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/1.61, allocations: 178.3 kB / 0.5627 GB, free: 5.781 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/1.61, allocations: 33.7 kB / 0.5627 GB, free: 5.742 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/1.61, allocations: 283.5 kB / 0.563 GB, free: 5.457 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000154/1.61, allocations: 236.4 kB / 0.5632 GB, free: 5.223 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/1.61, allocations: 97.91 kB / 0.5633 GB, free: 5.121 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/1.611, allocations: 342.8 kB / 0.5637 GB, free: 4.777 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/1.611, allocations: 117.3 kB / 0.5638 GB, free: 4.664 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003069/1.611, allocations: 304 kB / 0.5641 GB, free: 4.289 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005766/1.612, allocations: 488.4 kB / 0.5645 GB, free: 3.734 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/1.612, allocations: 4 kB / 0.5645 GB, free: 3.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007715/1.612, allocations: 484.3 kB / 0.565 GB, free: 3.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.612, allocations: 8 kB / 0.565 GB, free: 3.242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/1.613, allocations: 11.94 kB / 0.565 GB, free: 3.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/1.613, allocations: 8 kB / 0.565 GB, free: 3.223 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/1.613, allocations: 68.56 kB / 0.5651 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/1.613, allocations: 15.94 kB / 0.5651 GB, free: 3.141 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003262/1.613, allocations: 83.34 kB / 0.5652 GB, free: 3.059 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/1.613, allocations: 16 kB / 0.5652 GB, free: 3.043 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.completeState.state.phase,medium2.baseProperties.phaseOutput,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002179/1.613, allocations: 193.7 kB / 0.5654 GB, free: 2.844 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.357e-05/1.613, allocations: 27.62 kB / 0.5654 GB, free: 2.816 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/1.615, allocations: 1.17 MB / 0.5666 GB, free: 1.648 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001078/1.616, allocations: 0.969 MB / 0.5675 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/1.616, allocations: 0 / 0.5675 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/1.616, allocations: 4.266 kB / 0.5675 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00282/1.619, allocations: 2.294 MB / 0.5697 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/1.619, allocations: 3.938 kB / 0.5697 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/1.619, allocations: 111.8 kB / 0.5699 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/1.619, allocations: 7.984 kB / 0.5699 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/1.619, allocations: 16 kB / 0.5699 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/1.619, allocations: 11.94 kB / 0.5699 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.619, allocations: 3.938 kB / 0.5699 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/1.62, allocations: 0.8598 MB / 0.5707 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/1.62, allocations: 148.2 kB / 0.5709 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/1.621, allocations: 8 kB / 0.5709 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004/1.621, allocations: 91.53 kB / 0.571 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.118e-05/1.621, allocations: 47.94 kB / 0.571 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/1.621, allocations: 16 kB / 0.571 GB, free: 12.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.881e-05/1.621, allocations: 124.2 kB / 0.5711 GB, free: 12.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.621, allocations: 0 / 0.5711 GB, free: 12.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007038/1.622, allocations: 223.4 kB / 0.5714 GB, free: 12.61 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: 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 (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.000497/1.622, allocations: 312.8 kB / 0.5717 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009192/1.623, allocations: 0.7459 MB / 0.5724 GB, free: 11.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/1.623, allocations: 0 / 0.5724 GB, free: 11.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004309/1.624, allocations: 370.6 kB / 0.5727 GB, free: 11.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/1.625, allocations: 336.9 kB / 0.5731 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/1.627, allocations: 1.69 MB / 0.5747 GB, free: 9.113 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/1.628, allocations: 0.9563 MB / 0.5756 GB, free: 8.129 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/1.628, allocations: 47.44 kB / 0.5757 GB, free: 8.082 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/1.628, allocations: 4 kB / 0.5757 GB, free: 8.078 MB / 446.1 MB Notification: Performance of Templates: time 0.1902/1.818, allocations: 8.415 MB / 0.5839 GB, free: 141 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.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.TestBasePropertiesExplicitCalcHelperMain.o OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicitCalcHelperMain.o] Error 1