Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.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.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005927/0.005927, allocations: 100.3 kB / 15.87 MB, free: 6.301 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.001326/0.001326, allocations: 189.9 kB / 16.79 MB, free: 6.234 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.327/1.327, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1307/0.1307, allocations: 2.755 MB / 293.4 MB, free: 3.734 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 59.91 kB / 354.4 MB, free: 5.016 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09943/0.1005, allocations: 50.23 MB / 404.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit): time 0.2142/0.3148, allocations: 50.47 MB / 455.1 MB, free: 21.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01609/0.3309, allocations: 28.98 MB / 484 MB, free: 288 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005368/0.3315, allocations: 3 kB / 484 MB, free: 288 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.333, allocations: 0.5788 MB / 484.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005521/0.3385, allocations: 2.059 MB / 486.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007331/0.3458, allocations: 2.714 MB / 489.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001153/0.347, allocations: 0.9786 MB / 490.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.3471, allocations: 56.78 kB / 490.4 MB, free: 12.78 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.7263/1.073, allocations: 46.47 MB / 0.5243 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007343/1.074, allocations: 302.5 kB / 0.5246 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001036/1.074, allocations: 20 kB / 0.5246 GB, free: 13.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3664/1.441, allocations: 24.76 MB / 0.5488 GB, free: 5.051 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002589/1.441, allocations: 79.55 kB / 0.5489 GB, free: 4.973 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006828/1.442, allocations: 330.4 kB / 0.5492 GB, free: 4.648 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002694/1.444, allocations: 1.36 MB / 0.5505 GB, free: 3.285 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/1.444, allocations: 0 / 0.5505 GB, free: 3.285 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/1.444, allocations: 3.938 kB / 0.5505 GB, free: 3.281 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.632e-05/1.444, allocations: 0 / 0.5505 GB, free: 3.281 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.002078/1.447, allocations: 1.112 MB / 0.5516 GB, free: 2.125 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/1.447, allocations: 11.97 kB / 0.5516 GB, free: 2.113 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002016/1.449, allocations: 0.4996 MB / 0.5521 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004528/1.449, allocations: 331.6 kB / 0.5524 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.165e-05/1.449, allocations: 50.06 kB / 0.5525 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.078e-05/1.449, allocations: 59.98 kB / 0.5525 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/1.451, allocations: 0.8684 MB / 0.5534 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/1.451, allocations: 4 kB / 0.5534 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.973e-05/1.451, allocations: 20 kB / 0.5534 GB, free: 208 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.385e-05/1.451, allocations: 43.97 kB / 0.5534 GB, free: 164 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/1.452, allocations: 0.7 MB / 0.5541 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004705/1.457, allocations: 5.133 MB / 0.5591 GB, free: 9.707 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007156/1.458, allocations: 341.6 kB / 0.5595 GB, free: 9.355 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/1.458, allocations: 213.7 kB / 0.5597 GB, free: 9.141 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001563/1.459, allocations: 1.554 MB / 0.5612 GB, free: 7.414 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/1.459, allocations: 38.56 kB / 0.5612 GB, free: 7.367 MB / 430.1 MB Notification: Performance of pre-optimization done (n=71): time 2.134e-06/1.459, allocations: 0 / 0.5612 GB, free: 7.367 MB / 430.1 MB Notification: Performance of matching and sorting (n=71): time 0.00151/1.461, allocations: 0.604 MB / 0.5618 GB, free: 6.758 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/1.461, allocations: 81.11 kB / 0.5619 GB, free: 6.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/1.461, allocations: 182.2 kB / 0.5621 GB, free: 6.473 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/1.461, allocations: 29.7 kB / 0.5621 GB, free: 6.438 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/1.462, allocations: 275.5 kB / 0.5624 GB, free: 6.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/1.462, allocations: 244.4 kB / 0.5626 GB, free: 5.918 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/1.462, allocations: 93.92 kB / 0.5627 GB, free: 5.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/1.462, allocations: 346.8 kB / 0.563 GB, free: 5.473 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/1.462, allocations: 121.2 kB / 0.5631 GB, free: 5.355 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003637/1.463, allocations: 300 kB / 0.5634 GB, free: 4.984 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006705/1.463, allocations: 488.4 kB / 0.5639 GB, free: 4.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.463, allocations: 0 / 0.5639 GB, free: 4.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008016/1.464, allocations: 484.9 kB / 0.5643 GB, free: 3.949 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.464, allocations: 12.12 kB / 0.5643 GB, free: 3.938 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/1.464, allocations: 7.938 kB / 0.5644 GB, free: 3.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/1.464, allocations: 11.94 kB / 0.5644 GB, free: 3.918 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/1.465, allocations: 87.83 kB / 0.5645 GB, free: 3.832 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007154/1.465, allocations: 1.176 MB / 0.5656 GB, free: 2.609 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004013/1.466, allocations: 83.34 kB / 0.5657 GB, free: 2.527 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/1.466, allocations: 20 kB / 0.5657 GB, free: 2.508 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): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000263/1.466, allocations: 189.7 kB / 0.5659 GB, free: 2.312 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.255e-05/1.466, allocations: 27.62 kB / 0.5659 GB, free: 2.285 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001669/1.468, allocations: 1.347 MB / 0.5672 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001346/1.469, allocations: 1.146 MB / 0.5683 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/1.469, allocations: 0 / 0.5683 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/1.469, allocations: 3.984 kB / 0.5683 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003306/1.472, allocations: 2.514 MB / 0.5708 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/1.472, allocations: 0 / 0.5708 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003298/1.473, allocations: 111.8 kB / 0.5709 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004457/1.473, allocations: 301.3 kB / 0.5712 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.608e-05/1.473, allocations: 19.94 kB / 0.5712 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/1.475, allocations: 1.265 MB / 0.5724 GB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.475, allocations: 4.062 kB / 0.5725 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/1.476, allocations: 1.166 MB / 0.5736 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/1.476, allocations: 148.4 kB / 0.5737 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/1.476, allocations: 12 kB / 0.5737 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/1.477, allocations: 91.48 kB / 0.5738 GB, free: 9.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.051e-05/1.477, allocations: 43.88 kB / 0.5739 GB, free: 9.938 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/1.477, allocations: 16 kB / 0.5739 GB, free: 9.922 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001111/1.477, allocations: 124.8 kB / 0.574 GB, free: 9.801 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.477, allocations: 0 / 0.574 GB, free: 9.801 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008335/1.478, allocations: 231.4 kB / 0.5742 GB, free: 9.574 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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005868/1.478, allocations: 312.8 kB / 0.5745 GB, free: 9.258 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001224/1.48, allocations: 0.7653 MB / 0.5753 GB, free: 8.465 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.48, allocations: 0 / 0.5753 GB, free: 8.465 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005692/1.48, allocations: 382.6 kB / 0.5756 GB, free: 8.094 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/1.482, allocations: 333.4 kB / 0.576 GB, free: 7.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002753/1.485, allocations: 1.709 MB / 0.5776 GB, free: 6.027 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000823/1.485, allocations: 0.9638 MB / 0.5786 GB, free: 5.031 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/1.486, allocations: 51.44 kB / 0.5786 GB, free: 4.98 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/1.486, allocations: 0 / 0.5786 GB, free: 4.98 MB / 446.1 MB Notification: Performance of Templates: time 0.1924/1.678, allocations: 15.61 MB / 0.5939 GB, free: 141 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.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.TestBasePropertiesImplicitCalcHelperMain.o OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicitCalcHelperMain.o] Error 1