Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.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.Pentane.Pentane_hs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs") translateModel(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 99.58 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.001429/0.001429, allocations: 181.9 kB / 16.92 MB, free: 6.918 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.418/1.418, allocations: 223.2 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1426/0.1426, allocations: 2.789 MB / 294.9 MB, free: 4.352 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004094/0.0004096, allocations: 11.94 kB / 356.9 MB, free: 3.965 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1215, allocations: 51.25 MB / 408.1 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.009674/0.1313, allocations: 8.413 MB / 416.5 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2577/0.389, allocations: 8.279 MB / 424.8 MB, free: 34.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002157/0.3893, allocations: 0 / 424.8 MB, free: 34.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006485/0.3899, allocations: 146.8 kB / 425 MB, free: 34.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003727/0.3903, allocations: 83.84 kB / 425 MB, free: 34.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005401/0.3957, allocations: 1.324 MB / 426.4 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005317/0.3963, allocations: 279.1 kB / 426.6 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.447e-05/0.3963, allocations: 18.12 kB / 426.7 MB, free: 34.2 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.1966/0.593, allocations: 12.44 MB / 439.1 MB, free: 30.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003141/0.5933, allocations: 69.89 kB / 439.2 MB, free: 30.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/0.5934, allocations: 10.44 kB / 439.2 MB, free: 30.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001943/0.5953, allocations: 324.1 kB / 439.5 MB, free: 30.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.363e-05/0.5954, allocations: 29.67 kB / 439.5 MB, free: 30.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.5956, allocations: 99.41 kB / 439.6 MB, free: 30.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005978/0.5962, allocations: 235.1 kB / 439.8 MB, free: 30.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.5962, allocations: 0 / 439.8 MB, free: 30.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.5962, allocations: 7.156 kB / 439.8 MB, free: 30.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.5962, allocations: 0 / 439.8 MB, free: 30.19 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0007302/0.597, allocations: 487.5 kB / 440.3 MB, free: 29.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.597, allocations: 9.125 kB / 440.3 MB, free: 29.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005015/0.5976, allocations: 100.7 kB / 440.4 MB, free: 29.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.5978, allocations: 194.6 kB / 440.6 MB, free: 29.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.08e-05/0.5978, allocations: 17.56 kB / 440.6 MB, free: 29.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.5978, allocations: 9.969 kB / 440.6 MB, free: 29.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004347/0.5983, allocations: 257.6 kB / 440.9 MB, free: 29.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.5983, allocations: 3.328 kB / 440.9 MB, free: 29.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.5983, allocations: 3.25 kB / 440.9 MB, free: 29.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.5983, allocations: 6.188 kB / 440.9 MB, free: 29.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004435/0.5988, allocations: 262 kB / 441.2 MB, free: 29.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.5998, allocations: 0.8614 MB / 442 MB, free: 28.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.6002, allocations: 176.8 kB / 442.2 MB, free: 28.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.6004, allocations: 158.2 kB / 442.4 MB, free: 28.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/0.6004, allocations: 8.594 kB / 442.4 MB, free: 28.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.6005, allocations: 38.02 kB / 442.4 MB, free: 28.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.784e-06/0.6005, allocations: 0 / 442.4 MB, free: 28.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007469/0.6012, allocations: 415.1 kB / 442.8 MB, free: 28.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.6013, allocations: 54.31 kB / 442.9 MB, free: 28.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.6014, allocations: 120.3 kB / 443 MB, free: 28.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.6014, allocations: 36.36 kB / 443 MB, free: 28.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.6015, allocations: 108.4 kB / 443.1 MB, free: 28.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.97e-05/0.6015, allocations: 100.7 kB / 443.2 MB, free: 28.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.6016, allocations: 29.31 kB / 443.2 MB, free: 28.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.686e-05/0.6017, allocations: 327 kB / 443.6 MB, free: 28.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.6019, allocations: 119.3 kB / 443.7 MB, free: 28.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.6022, allocations: 181 kB / 443.9 MB, free: 27.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003824/0.6025, allocations: 211.1 kB / 444.1 MB, free: 27.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6026, allocations: 0 / 444.1 MB, free: 27.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004933/0.6031, allocations: 303.4 kB / 444.4 MB, free: 27.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.6031, allocations: 6.125 kB / 444.4 MB, free: 27.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.6031, allocations: 3.984 kB / 444.4 MB, free: 27.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.6031, allocations: 3.094 kB / 444.4 MB, free: 27.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.6033, allocations: 34.25 kB / 444.4 MB, free: 27.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.6033, allocations: 2.781 kB / 444.4 MB, free: 27.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.6034, allocations: 32.7 kB / 444.4 MB, free: 27.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.6034, allocations: 11 kB / 444.5 MB, free: 27.81 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (fluid.phaseOutput,fluid.state.phase,fluid.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001134/0.6036, allocations: 119.5 kB / 444.6 MB, free: 27.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/0.6036, allocations: 10.78 kB / 444.6 MB, free: 27.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007882/0.6044, allocations: 0.4976 MB / 445.1 MB, free: 27.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005932/0.605, allocations: 420.8 kB / 445.5 MB, free: 27.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.605, allocations: 0 / 445.5 MB, free: 27.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.605, allocations: 3.312 kB / 445.5 MB, free: 27.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.6063, allocations: 0.9344 MB / 446.4 MB, free: 27.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.6063, allocations: 3.938 kB / 446.4 MB, free: 27.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.6064, allocations: 40.66 kB / 446.5 MB, free: 27.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.6065, allocations: 3.062 kB / 446.5 MB, free: 27.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.6065, allocations: 3.875 kB / 446.5 MB, free: 27.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.6065, allocations: 0 / 446.5 MB, free: 27.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.6065, allocations: 3.062 kB / 446.5 MB, free: 27.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006474/0.6071, allocations: 0.5264 MB / 447 MB, free: 27.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.848e-05/0.6072, allocations: 107.2 kB / 447.1 MB, free: 26.92 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.6072, allocations: 3.422 kB / 447.1 MB, free: 26.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.6074, allocations: 17.16 kB / 447.1 MB, free: 26.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.6074, allocations: 22.91 kB / 447.2 MB, free: 26.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.6075, allocations: 3.25 kB / 447.2 MB, free: 26.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.012e-05/0.6075, allocations: 91.45 kB / 447.2 MB, free: 26.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6075, allocations: 0 / 447.2 MB, free: 26.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003735/0.6079, allocations: 71.94 kB / 447.3 MB, free: 26.83 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (fluid.state.phase,$cse3.phase,fluid.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005416/0.6084, allocations: 260.8 kB / 447.6 MB, free: 26.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006125/0.6091, allocations: 420.1 kB / 448 MB, free: 26.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6091, allocations: 0 / 448 MB, free: 26.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002943/0.6094, allocations: 224.4 kB / 448.2 MB, free: 26.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.6105, allocations: 113.8 kB / 448.3 MB, free: 26.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009469/0.6115, allocations: 0.7516 MB / 449.1 MB, free: 26.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.6117, allocations: 0.7506 MB / 449.8 MB, free: 25.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.41e-05/0.6118, allocations: 20.44 kB / 449.8 MB, free: 25.53 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.6118, allocations: 0 / 449.8 MB, free: 25.53 MB / 350.1 MB Notification: Performance of Templates: time 0.006621/0.6184, allocations: 3.3 MB / 453.1 MB, free: 25.14 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.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.Pentane.Pentane_hsCalcHelperMain.o OMCppExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hsCalcHelperMain.o] Error 1