Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.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_state,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state") translateModel(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009716/0.0009718, allocations: 102.4 kB / 15.71 MB, free: 440 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.001239/0.001239, allocations: 178.9 kB / 16.58 MB, free: 6.09 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.565/1.565, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1747/0.1747, allocations: 2.787 MB / 294.5 MB, free: 4.238 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003204, allocations: 8 kB / 356.2 MB, free: 4.332 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.12, allocations: 51.25 MB / 407.5 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.00868/0.1287, allocations: 7.37 MB / 414.9 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007965/0.1296, allocations: 0.8611 MB / 415.7 MB, free: 8.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.449e-05/0.1296, allocations: 0 / 415.7 MB, free: 8.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.1299, allocations: 75.58 kB / 415.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.43e-05/0.1299, allocations: 23.78 kB / 415.8 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.1302, allocations: 103.4 kB / 415.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.64e-05/0.1303, allocations: 51.56 kB / 416 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.071e-05/0.1304, allocations: 4 kB / 416 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.201e-05/0.1304, allocations: 23.92 kB / 416 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.57e-05/0.1305, allocations: 11.94 kB / 416 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.1305, allocations: 4 kB / 416 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2557/0.3862, allocations: 11.51 MB / 427.5 MB, free: 42.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.281e-05/0.3862, allocations: 3.25 kB / 427.5 MB, free: 42.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.239e-05/0.3863, allocations: 40.02 kB / 427.6 MB, free: 42.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.3865, allocations: 54.73 kB / 427.6 MB, free: 42.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.3866, allocations: 1.469 kB / 427.6 MB, free: 42.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3866, allocations: 0 / 427.6 MB, free: 42.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3866, allocations: 0 / 427.6 MB, free: 42.57 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003742/0.3869, allocations: 356.2 kB / 428 MB, free: 42.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.387, allocations: 12.78 kB / 428 MB, free: 42.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.3871, allocations: 24 kB / 428 MB, free: 42.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.547e-05/0.3872, allocations: 159.1 kB / 428.2 MB, free: 42.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.3872, allocations: 3.984 kB / 428.2 MB, free: 42.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.3872, allocations: 3.031 kB / 428.2 MB, free: 42.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.3874, allocations: 76.09 kB / 428.2 MB, free: 41.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.3874, allocations: 0 / 428.2 MB, free: 41.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3874, allocations: 2.719 kB / 428.2 MB, free: 41.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.3874, allocations: 2.625 kB / 428.2 MB, free: 41.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.087e-05/0.3875, allocations: 31.44 kB / 428.3 MB, free: 41.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.3879, allocations: 320.8 kB / 428.6 MB, free: 41.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.363e-05/0.388, allocations: 52.06 kB / 428.6 MB, free: 41.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.874e-05/0.3881, allocations: 38.3 kB / 428.7 MB, free: 41.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.3881, allocations: 0 / 428.7 MB, free: 41.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.3881, allocations: 30.56 kB / 428.7 MB, free: 41.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 9.42e-07/0.3881, allocations: 0 / 428.7 MB, free: 41.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0002452/0.3884, allocations: 119.5 kB / 428.8 MB, free: 41.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.3884, allocations: 53.56 kB / 428.9 MB, free: 41.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.295e-05/0.3884, allocations: 96.83 kB / 429 MB, free: 41.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.3885, allocations: 28.55 kB / 429 MB, free: 41.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.052e-05/0.3885, allocations: 82.27 kB / 429.1 MB, free: 41.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.3885, allocations: 54.27 kB / 429.1 MB, free: 41.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.3885, allocations: 0 / 429.1 MB, free: 41.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.335e-05/0.3886, allocations: 321.1 kB / 429.4 MB, free: 40.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.61e-05/0.3886, allocations: 15.61 kB / 429.5 MB, free: 40.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.173e-05/0.3887, allocations: 17.59 kB / 429.5 MB, free: 40.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.745e-05/0.3887, allocations: 23.48 kB / 429.5 MB, free: 40.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3887, allocations: 2.969 kB / 429.5 MB, free: 40.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 9.881e-05/0.3888, allocations: 87.83 kB / 429.6 MB, free: 40.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3888, allocations: 9.531 kB / 429.6 MB, free: 40.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.3889, allocations: 0 / 429.6 MB, free: 40.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3889, allocations: 6.062 kB / 429.6 MB, free: 40.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.674e-05/0.3889, allocations: 2.938 kB / 429.6 MB, free: 40.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.389, allocations: 0 / 429.6 MB, free: 40.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.77e-05/0.389, allocations: 10.47 kB / 429.6 MB, free: 40.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-06/0.389, allocations: 0 / 429.6 MB, free: 40.93 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (fluid.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.863e-05/0.3891, allocations: 114.4 kB / 429.7 MB, free: 40.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.3891, allocations: 10.84 kB / 429.7 MB, free: 40.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002981/0.3894, allocations: 229.9 kB / 430 MB, free: 40.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001607/0.3896, allocations: 192 kB / 430.2 MB, free: 40.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3896, allocations: 4 kB / 430.2 MB, free: 40.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3896, allocations: 0 / 430.2 MB, free: 40.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004775/0.3901, allocations: 0.5626 MB / 430.7 MB, free: 40.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3901, allocations: 7.141 kB / 430.7 MB, free: 40.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.314e-05/0.3902, allocations: 22.72 kB / 430.7 MB, free: 40.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3902, allocations: 3.156 kB / 430.8 MB, free: 40.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.3902, allocations: 6.672 kB / 430.8 MB, free: 40.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3902, allocations: 0 / 430.8 MB, free: 40.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3902, allocations: 0 / 430.8 MB, free: 40.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.3904, allocations: 286.5 kB / 431 MB, free: 40.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.3905, allocations: 98.33 kB / 431.1 MB, free: 40.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.3905, allocations: 0 / 431.1 MB, free: 40.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.605e-05/0.3906, allocations: 6.438 kB / 431.1 MB, free: 40.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.182e-05/0.3906, allocations: 10.56 kB / 431.2 MB, free: 40.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.3906, allocations: 6.438 kB / 431.2 MB, free: 40.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.469e-05/0.3906, allocations: 75.28 kB / 431.2 MB, free: 40.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3906, allocations: 3.281 kB / 431.2 MB, free: 40.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002362/0.3909, allocations: 28.08 kB / 431.3 MB, free: 40.03 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: 2 (fluid.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002792/0.3911, allocations: 135.7 kB / 431.4 MB, free: 39.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002051/0.3914, allocations: 149.9 kB / 431.5 MB, free: 39.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3914, allocations: 0 / 431.5 MB, free: 39.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.3e-05/0.3915, allocations: 88.42 kB / 431.6 MB, free: 39.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005099/0.392, allocations: 80.62 kB / 431.7 MB, free: 39.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005307/0.3925, allocations: 450.3 kB / 432.1 MB, free: 39.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/0.3927, allocations: 0.7211 MB / 432.9 MB, free: 38.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/0.3927, allocations: 13.88 kB / 432.9 MB, free: 38.93 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3927, allocations: 0 / 432.9 MB, free: 38.93 MB / 350.1 MB Notification: Performance of Templates: time 0.003019/0.3958, allocations: 1.565 MB / 434.4 MB, free: 38.81 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/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_hs_stateCalcHelperMain.o OMCppExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_stateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_stateCalcHelperMain.o] Error 1