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.00103/0.00103, allocations: 96.14 kB / 15.87 MB, free: 16 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.0009799/0.00098, allocations: 198.4 kB / 16.79 MB, free: 6.828 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1346/0.1346, allocations: 2.761 MB / 293.4 MB, free: 3.852 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001093, allocations: 59.91 kB / 354.4 MB, free: 5.027 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1116, allocations: 50.23 MB / 404.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.01062/0.1222, allocations: 8.849 MB / 413.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006581/0.1289, allocations: 8.412 MB / 421.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.129, allocations: 11.88 kB / 421.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000554/0.1296, allocations: 143.3 kB / 422 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000303/0.13, allocations: 83.47 kB / 422.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.192/0.322, allocations: 1.321 MB / 423.4 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004664/0.3225, allocations: 283.8 kB / 423.7 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.246e-05/0.3226, allocations: 13.17 kB / 423.7 MB, free: 37.61 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.1879/0.5104, allocations: 12.45 MB / 436.2 MB, free: 33.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.5107, allocations: 73.86 kB / 436.2 MB, free: 33.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.5107, allocations: 6.344 kB / 436.2 MB, free: 33.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001457/0.5122, allocations: 321.6 kB / 436.5 MB, free: 33.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.539e-05/0.5123, allocations: 32.33 kB / 436.6 MB, free: 33.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.5124, allocations: 65.25 kB / 436.6 MB, free: 33.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003954/0.5128, allocations: 241.7 kB / 436.9 MB, free: 33.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.5128, allocations: 7.516 kB / 436.9 MB, free: 33.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.5128, allocations: 0 / 436.9 MB, free: 33.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.5128, allocations: 0 / 436.9 MB, free: 33.72 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.0006744/0.5135, allocations: 0.4884 MB / 437.4 MB, free: 33.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.5135, allocations: 12.09 kB / 437.4 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003915/0.5139, allocations: 87.66 kB / 437.5 MB, free: 33.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.5141, allocations: 199.2 kB / 437.7 MB, free: 33.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.12e-05/0.5141, allocations: 21.5 kB / 437.7 MB, free: 33.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.5142, allocations: 9.984 kB / 437.7 MB, free: 33.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003777/0.5146, allocations: 251 kB / 437.9 MB, free: 33.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.5146, allocations: 3.375 kB / 437.9 MB, free: 33.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.5146, allocations: 3.812 kB / 437.9 MB, free: 33.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.5146, allocations: 3.156 kB / 437.9 MB, free: 33.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003472/0.515, allocations: 249.4 kB / 438.2 MB, free: 33.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008096/0.5158, allocations: 0.8609 MB / 439.1 MB, free: 32.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.516, allocations: 167.9 kB / 439.2 MB, free: 32.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.5162, allocations: 155.3 kB / 439.4 MB, free: 32.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.5163, allocations: 4 kB / 439.4 MB, free: 32.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.5163, allocations: 37.66 kB / 439.4 MB, free: 32.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.513e-06/0.5163, allocations: 0 / 439.4 MB, free: 32.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006319/0.517, allocations: 406.4 kB / 439.8 MB, free: 32.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.517, allocations: 51.41 kB / 439.9 MB, free: 32.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.467e-05/0.5171, allocations: 121.6 kB / 440 MB, free: 32.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.5171, allocations: 27.52 kB / 440 MB, free: 32.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/0.5171, allocations: 107 kB / 440.1 MB, free: 32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.649e-05/0.5172, allocations: 106.8 kB / 440.2 MB, free: 31.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.5172, allocations: 44.19 kB / 440.3 MB, free: 31.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.778e-05/0.5173, allocations: 328.3 kB / 440.6 MB, free: 31.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.5175, allocations: 115.2 kB / 440.7 MB, free: 31.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.5177, allocations: 172 kB / 440.9 MB, free: 31.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.518, allocations: 205.6 kB / 441.1 MB, free: 31.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.518, allocations: 0 / 441.1 MB, free: 31.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004151/0.5184, allocations: 293.6 kB / 441.3 MB, free: 31.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.5185, allocations: 14.28 kB / 441.4 MB, free: 31.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.5185, allocations: 3.188 kB / 441.4 MB, free: 31.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.5185, allocations: 0 / 441.4 MB, free: 31.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.5186, allocations: 28.5 kB / 441.4 MB, free: 31.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.5186, allocations: 3.031 kB / 441.4 MB, free: 31.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.991e-05/0.5187, allocations: 25.53 kB / 441.4 MB, free: 31.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.5188, allocations: 6.25 kB / 441.4 MB, free: 31.42 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 8.315e-05/0.5189, allocations: 128.3 kB / 441.5 MB, free: 31.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.5189, allocations: 17.91 kB / 441.6 MB, free: 31.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006135/0.5195, allocations: 490.5 kB / 442 MB, free: 31.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004932/0.52, allocations: 415.8 kB / 442.4 MB, free: 31.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.52, allocations: 0 / 442.4 MB, free: 31.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.52, allocations: 6.469 kB / 442.5 MB, free: 31.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009551/0.521, allocations: 0.914 MB / 443.4 MB, free: 30.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.521, allocations: 3.938 kB / 443.4 MB, free: 30.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.5212, allocations: 42.05 kB / 443.4 MB, free: 30.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.5212, allocations: 3.938 kB / 443.4 MB, free: 30.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.5212, allocations: 10.28 kB / 443.4 MB, free: 30.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5212, allocations: 0 / 443.4 MB, free: 30.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5212, allocations: 480 / 443.4 MB, free: 30.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005081/0.5217, allocations: 0.5085 MB / 443.9 MB, free: 30.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.337e-05/0.5218, allocations: 107 kB / 444 MB, free: 30.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.5218, allocations: 5.906 kB / 444 MB, free: 30.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.5219, allocations: 18.19 kB / 444.1 MB, free: 30.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.522, allocations: 22.56 kB / 444.1 MB, free: 30.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.522, allocations: 6.125 kB / 444.1 MB, free: 30.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.02e-05/0.522, allocations: 91.66 kB / 444.2 MB, free: 30.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.522, allocations: 0 / 444.2 MB, free: 30.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003317/0.5224, allocations: 68.25 kB / 444.2 MB, free: 30.45 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.0004081/0.5228, allocations: 263.2 kB / 444.5 MB, free: 30.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005386/0.5233, allocations: 407.2 kB / 444.9 MB, free: 30.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5233, allocations: 0 / 444.9 MB, free: 30.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.5236, allocations: 225.4 kB / 445.1 MB, free: 30.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006964/0.5243, allocations: 117.5 kB / 445.2 MB, free: 30.24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008109/0.5251, allocations: 0.7093 MB / 445.9 MB, free: 29.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.5253, allocations: 0.7481 MB / 446.7 MB, free: 29.19 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.5253, allocations: 24.09 kB / 446.7 MB, free: 29.18 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5253, allocations: 0 / 446.7 MB, free: 29.18 MB / 350.1 MB Notification: Performance of Templates: time 0.004818/0.5302, allocations: 3.312 MB / 450 MB, free: 28.81 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