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.005848/0.005848, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001032/0.001032, allocations: 190.1 kB / 16.79 MB, free: 5.809 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1645/0.1645, allocations: 2.765 MB / 293.4 MB, free: 3.781 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001045/0.001045, allocations: 55.91 kB / 354.4 MB, free: 5.008 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.103, allocations: 50.23 MB / 404.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit): time 0.2323/0.3353, allocations: 50.42 MB / 455 MB, free: 21.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01779/0.3532, allocations: 28.97 MB / 484 MB, free: 300 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006161/0.3538, allocations: 3.031 kB / 484 MB, free: 300 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.3555, allocations: 0.5767 MB / 484.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005949/0.3614, allocations: 2.056 MB / 486.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008312/0.3697, allocations: 2.709 MB / 489.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.3709, allocations: 0.9734 MB / 490.3 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.371, allocations: 56.59 kB / 490.4 MB, free: 12.81 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.7134/1.084, allocations: 46.47 MB / 0.5242 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006506/1.085, allocations: 302.5 kB / 0.5245 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.743e-05/1.085, allocations: 23.94 kB / 0.5246 GB, free: 14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3571/1.442, allocations: 24.75 MB / 0.5487 GB, free: 5.094 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002377/1.443, allocations: 95.45 kB / 0.5488 GB, free: 5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006351/1.443, allocations: 314.5 kB / 0.5491 GB, free: 4.691 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002589/1.446, allocations: 1.368 MB / 0.5505 GB, free: 3.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/1.446, allocations: 4 kB / 0.5505 GB, free: 3.316 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.022e-06/1.446, allocations: 3.938 kB / 0.5505 GB, free: 3.312 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.954e-05/1.446, allocations: 0 / 0.5505 GB, free: 3.312 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.001766/1.448, allocations: 1.1 MB / 0.5515 GB, free: 2.164 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/1.448, allocations: 8.031 kB / 0.5515 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001978/1.45, allocations: 0.4958 MB / 0.552 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004346/1.45, allocations: 343.4 kB / 0.5524 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.612e-05/1.45, allocations: 46.06 kB / 0.5524 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.486e-05/1.45, allocations: 56 kB / 0.5525 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/1.452, allocations: 0.8762 MB / 0.5533 GB, free: 268 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/1.452, allocations: 4 kB / 0.5533 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-05/1.452, allocations: 20 kB / 0.5533 GB, free: 244 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.888e-05/1.452, allocations: 35.92 kB / 0.5534 GB, free: 208 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/1.453, allocations: 0.7078 MB / 0.5541 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004034/1.457, allocations: 5.009 MB / 0.559 GB, free: 9.891 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00064/1.458, allocations: 333.7 kB / 0.5593 GB, free: 9.547 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000281/1.458, allocations: 209.7 kB / 0.5595 GB, free: 9.336 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001324/1.459, allocations: 1.538 MB / 0.561 GB, free: 7.625 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/1.459, allocations: 42.56 kB / 0.561 GB, free: 7.574 MB / 430.1 MB Notification: Performance of pre-optimization done (n=71): time 1.903e-06/1.459, allocations: 0 / 0.561 GB, free: 7.574 MB / 430.1 MB Notification: Performance of matching and sorting (n=71): time 0.001477/1.461, allocations: 0.5962 MB / 0.5616 GB, free: 6.973 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/1.461, allocations: 81.09 kB / 0.5617 GB, free: 6.875 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/1.461, allocations: 174.3 kB / 0.5618 GB, free: 6.695 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/1.461, allocations: 33.64 kB / 0.5619 GB, free: 6.656 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/1.461, allocations: 291.5 kB / 0.5622 GB, free: 6.363 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/1.461, allocations: 236.4 kB / 0.5624 GB, free: 6.129 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/1.462, allocations: 101.8 kB / 0.5625 GB, free: 6.023 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/1.462, allocations: 338.8 kB / 0.5628 GB, free: 5.684 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/1.462, allocations: 117.3 kB / 0.5629 GB, free: 5.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/1.462, allocations: 296.1 kB / 0.5632 GB, free: 5.203 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005495/1.463, allocations: 496.4 kB / 0.5637 GB, free: 4.641 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/1.463, allocations: 4 kB / 0.5637 GB, free: 4.637 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007493/1.464, allocations: 472.5 kB / 0.5641 GB, free: 4.168 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/1.464, allocations: 8 kB / 0.5641 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/1.464, allocations: 11.94 kB / 0.5641 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/1.464, allocations: 8 kB / 0.5641 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/1.464, allocations: 75.83 kB / 0.5642 GB, free: 4.066 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.926e-05/1.464, allocations: 12.47 kB / 0.5642 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003929/1.464, allocations: 75.36 kB / 0.5643 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/1.464, allocations: 28.33 kB / 0.5643 GB, free: 3.953 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.000254/1.465, allocations: 189.7 kB / 0.5645 GB, free: 3.758 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.854e-05/1.465, allocations: 31.56 kB / 0.5645 GB, free: 3.727 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/1.466, allocations: 1.166 MB / 0.5657 GB, free: 2.562 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001025/1.467, allocations: 0.9729 MB / 0.5666 GB, free: 1.578 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/1.467, allocations: 0 / 0.5666 GB, free: 1.578 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/1.467, allocations: 3.984 kB / 0.5666 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002644/1.47, allocations: 2.302 MB / 0.5689 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.47, allocations: 3.938 kB / 0.5689 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000323/1.47, allocations: 111.8 kB / 0.569 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/1.47, allocations: 4 kB / 0.569 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/1.47, allocations: 16 kB / 0.569 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/1.47, allocations: 4 kB / 0.569 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.47, allocations: 7.984 kB / 0.569 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009302/1.471, allocations: 0.8637 MB / 0.5699 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/1.471, allocations: 144.2 kB / 0.57 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.22e-05/1.471, allocations: 12 kB / 0.57 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003888/1.472, allocations: 87.55 kB / 0.5701 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/1.472, allocations: 43.88 kB / 0.5701 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/1.472, allocations: 20 kB / 0.5702 GB, free: 13.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.661e-05/1.472, allocations: 128.8 kB / 0.5703 GB, free: 13.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/1.472, allocations: 0 / 0.5703 GB, free: 13.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009112/1.473, allocations: 223.4 kB / 0.5705 GB, free: 13.52 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.0005294/1.473, allocations: 316.7 kB / 0.5708 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009467/1.474, allocations: 0.7492 MB / 0.5715 GB, free: 12.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.474, allocations: 0 / 0.5715 GB, free: 12.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004251/1.475, allocations: 367.1 kB / 0.5719 GB, free: 12.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/1.476, allocations: 333.5 kB / 0.5722 GB, free: 11.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/1.478, allocations: 1.694 MB / 0.5738 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005016/1.479, allocations: 0.9563 MB / 0.5748 GB, free: 9.031 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.683e-05/1.479, allocations: 47.44 kB / 0.5748 GB, free: 8.984 MB / 446.1 MB Notification: Performance of SimCode: time 2.044e-06/1.479, allocations: 4 kB / 0.5748 GB, free: 8.98 MB / 446.1 MB Notification: Performance of Templates: time 0.01285/1.492, allocations: 8.382 MB / 0.583 GB, free: 0.6094 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