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.001295/0.001301, allocations: 98.8 kB / 16.02 MB, free: 76 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.002186/0.002186, allocations: 188.3 kB / 16.92 MB, free: 6.75 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.542/1.542, allocations: 223.3 MB / 241 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.1505/0.1505, allocations: 2.79 MB / 294.9 MB, free: 4.273 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003304, allocations: 7.984 kB / 356.9 MB, free: 3.996 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1254, allocations: 51.25 MB / 408.1 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit): time 0.3044/0.4298, allocations: 49.38 MB / 457.5 MB, free: 22.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02132/0.4512, allocations: 28.52 MB / 486 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009318/0.4522, allocations: 2.906 kB / 486 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001801/0.454, allocations: 0.572 MB / 486.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007958/0.462, allocations: 2.062 MB / 488.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0108/0.4728, allocations: 2.701 MB / 491.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001598/0.4744, allocations: 0.9748 MB / 492.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.4746, allocations: 61.53 kB / 492.4 MB, free: 13.41 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.7466/1.221, allocations: 46.47 MB / 0.5262 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/1.222, allocations: 298.6 kB / 0.5265 GB, free: 15.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000168/1.223, allocations: 20 kB / 0.5265 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3677/1.59, allocations: 24.77 MB / 0.5507 GB, free: 6.375 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002804/1.591, allocations: 95.47 kB / 0.5508 GB, free: 6.281 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005896/1.591, allocations: 340.2 kB / 0.5511 GB, free: 5.941 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00253/1.594, allocations: 1.352 MB / 0.5525 GB, free: 4.586 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/1.594, allocations: 0 / 0.5525 GB, free: 4.586 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.372e-06/1.594, allocations: 0 / 0.5525 GB, free: 4.586 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.941e-05/1.594, allocations: 0 / 0.5525 GB, free: 4.586 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.001594/1.595, allocations: 0.9908 MB / 0.5534 GB, free: 3.547 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/1.595, allocations: 8.031 kB / 0.5534 GB, free: 3.539 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002075/1.597, allocations: 0.5075 MB / 0.5539 GB, free: 3.031 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/1.598, allocations: 339.4 kB / 0.5543 GB, free: 2.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.669e-05/1.598, allocations: 46.06 kB / 0.5543 GB, free: 2.617 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.197e-05/1.598, allocations: 52 kB / 0.5543 GB, free: 2.566 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/1.6, allocations: 0.8801 MB / 0.5552 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/1.6, allocations: 3.938 kB / 0.5552 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.524e-05/1.6, allocations: 31.92 kB / 0.5552 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.409e-05/1.6, allocations: 31.98 kB / 0.5553 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/1.601, allocations: 0.7196 MB / 0.556 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00386/1.605, allocations: 5.028 MB / 0.5609 GB, free: 11.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000681/1.606, allocations: 325.6 kB / 0.5612 GB, free: 10.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/1.606, allocations: 221.8 kB / 0.5614 GB, free: 10.67 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001444/1.607, allocations: 1.538 MB / 0.5629 GB, free: 8.957 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/1.607, allocations: 38.56 kB / 0.5629 GB, free: 8.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=71): time 2.044e-06/1.607, allocations: 0 / 0.5629 GB, free: 8.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=71): time 0.001537/1.609, allocations: 0.6118 MB / 0.5635 GB, free: 8.293 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/1.609, allocations: 77.11 kB / 0.5636 GB, free: 8.199 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/1.609, allocations: 190.1 kB / 0.5638 GB, free: 8.004 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/1.609, allocations: 29.7 kB / 0.5638 GB, free: 7.969 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/1.609, allocations: 283.5 kB / 0.5641 GB, free: 7.684 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/1.61, allocations: 232.5 kB / 0.5643 GB, free: 7.453 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.089e-05/1.61, allocations: 57.69 kB / 0.5644 GB, free: 7.391 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/1.61, allocations: 342.8 kB / 0.5647 GB, free: 7.047 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/1.61, allocations: 125.3 kB / 0.5648 GB, free: 6.922 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003377/1.61, allocations: 304 kB / 0.5651 GB, free: 6.551 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006549/1.611, allocations: 492.3 kB / 0.5656 GB, free: 5.992 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/1.611, allocations: 4 kB / 0.5656 GB, free: 5.988 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.000805/1.612, allocations: 492.5 kB / 0.566 GB, free: 5.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/1.612, allocations: 8 kB / 0.5661 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/1.612, allocations: 7.938 kB / 0.5661 GB, free: 5.484 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/1.612, allocations: 8 kB / 0.5661 GB, free: 5.477 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/1.612, allocations: 75.84 kB / 0.5661 GB, free: 5.402 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/1.612, allocations: 12.44 kB / 0.5662 GB, free: 5.391 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003782/1.613, allocations: 87.25 kB / 0.5662 GB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/1.613, allocations: 24 kB / 0.5663 GB, free: 5.281 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.0002634/1.613, allocations: 181.7 kB / 0.5664 GB, free: 5.094 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.856e-05/1.613, allocations: 27.62 kB / 0.5665 GB, free: 5.066 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/1.615, allocations: 1.182 MB / 0.5676 GB, free: 3.883 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001221/1.616, allocations: 0.9729 MB / 0.5686 GB, free: 2.898 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/1.616, allocations: 7.984 kB / 0.5686 GB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/1.616, allocations: 3.984 kB / 0.5686 GB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002927/1.619, allocations: 2.309 MB / 0.5708 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/1.619, allocations: 3.938 kB / 0.5708 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003322/1.619, allocations: 119.8 kB / 0.571 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.856e-06/1.619, allocations: 4 kB / 0.571 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/1.619, allocations: 12 kB / 0.571 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/1.619, allocations: 4 kB / 0.571 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.619, allocations: 8 kB / 0.571 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/1.621, allocations: 0.8716 MB / 0.5718 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/1.621, allocations: 140.2 kB / 0.572 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.088e-05/1.621, allocations: 16 kB / 0.572 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004297/1.621, allocations: 87.55 kB / 0.5721 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.892e-05/1.621, allocations: 47.88 kB / 0.5721 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-05/1.621, allocations: 16 kB / 0.5721 GB, free: 15.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.633e-05/1.621, allocations: 125 kB / 0.5722 GB, free: 15.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.8e-07/1.621, allocations: 0 / 0.5722 GB, free: 15.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007671/1.622, allocations: 227.4 kB / 0.5725 GB, free: 14.81 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.0005548/1.623, allocations: 316.7 kB / 0.5728 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009919/1.624, allocations: 0.7537 MB / 0.5735 GB, free: 13.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/1.624, allocations: 0 / 0.5735 GB, free: 13.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004483/1.624, allocations: 378.6 kB / 0.5739 GB, free: 13.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/1.626, allocations: 324.8 kB / 0.5742 GB, free: 13.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/1.628, allocations: 1.736 MB / 0.5759 GB, free: 11.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006038/1.629, allocations: 0.9641 MB / 0.5768 GB, free: 10.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/1.629, allocations: 47.44 kB / 0.5768 GB, free: 10.21 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/1.629, allocations: 3.938 kB / 0.5769 GB, free: 10.21 MB / 446.1 MB Notification: Performance of Templates: time 0.01381/1.643, allocations: 8.295 MB / 0.585 GB, free: 1.93 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++ -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.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