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.001068/0.001068, 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.001189/0.001189, allocations: 194.3 kB / 16.79 MB, free: 6.812 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1543/0.1543, allocations: 2.758 MB / 293.4 MB, free: 3.809 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 59.91 kB / 354.4 MB, free: 5.047 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1128, allocations: 50.24 MB / 404.6 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.009147/0.122, allocations: 8.156 MB / 412.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007552/0.1228, allocations: 0.9342 MB / 413.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.456e-05/0.1228, allocations: 0 / 413.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002113/0.1231, allocations: 75.64 kB / 413.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.007e-05/0.1231, allocations: 23.78 kB / 413.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.1234, allocations: 103.3 kB / 413.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.418e-05/0.1234, allocations: 59.55 kB / 413.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.909e-05/0.1235, allocations: 4 kB / 413.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.818e-05/0.1235, allocations: 23.94 kB / 414 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.635e-05/0.1236, allocations: 23.91 kB / 414 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.868e-06/0.1236, allocations: 0 / 414 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3515/0.4752, allocations: 12.41 MB / 426.4 MB, free: 44.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.942e-05/0.4752, allocations: 8.031 kB / 426.4 MB, free: 44.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.238e-05/0.4753, allocations: 26.17 kB / 426.4 MB, free: 44.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.4754, allocations: 53.2 kB / 426.5 MB, free: 44.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4754, allocations: 0.625 kB / 426.5 MB, free: 44.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.4754, allocations: 0 / 426.5 MB, free: 44.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.4754, allocations: 0 / 426.5 MB, free: 44.66 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.0003156/0.4758, allocations: 369.4 kB / 426.8 MB, free: 44.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.4758, allocations: 11.44 kB / 426.9 MB, free: 44.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.4759, allocations: 20.52 kB / 426.9 MB, free: 44.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.813e-05/0.476, allocations: 164.9 kB / 427 MB, free: 44.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.476, allocations: 5.234 kB / 427 MB, free: 44.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.476, allocations: 0 / 427 MB, free: 44.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.4761, allocations: 74.25 kB / 427.1 MB, free: 44.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.4762, allocations: 0 / 427.1 MB, free: 44.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.4762, allocations: 0 / 427.1 MB, free: 44.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.4762, allocations: 8.047 kB / 427.1 MB, free: 44.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.551e-05/0.4762, allocations: 31.14 kB / 427.2 MB, free: 44.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.4766, allocations: 319.5 kB / 427.5 MB, free: 43.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.39e-05/0.4766, allocations: 46.98 kB / 427.5 MB, free: 43.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.712e-05/0.4767, allocations: 42.19 kB / 427.6 MB, free: 43.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.4767, allocations: 3.094 kB / 427.6 MB, free: 43.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.4767, allocations: 30.56 kB / 427.6 MB, free: 43.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.082e-06/0.4767, allocations: 3.938 kB / 427.6 MB, free: 43.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0002098/0.4769, allocations: 113.3 kB / 427.7 MB, free: 43.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/0.477, allocations: 51.41 kB / 427.8 MB, free: 43.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.829e-05/0.477, allocations: 100.5 kB / 427.8 MB, free: 43.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.683e-06/0.477, allocations: 25.7 kB / 427.9 MB, free: 43.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.201e-05/0.477, allocations: 84.14 kB / 428 MB, free: 43.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.4771, allocations: 52.56 kB / 428 MB, free: 43.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.4771, allocations: 22.28 kB / 428 MB, free: 43.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.896e-05/0.4771, allocations: 321.2 kB / 428.3 MB, free: 43.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.707e-05/0.4772, allocations: 19.61 kB / 428.4 MB, free: 43.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.272e-05/0.4772, allocations: 18.56 kB / 428.4 MB, free: 43.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.294e-05/0.4773, allocations: 70.73 kB / 428.4 MB, free: 43.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.4773, allocations: 0 / 428.4 MB, free: 43.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 8.89e-05/0.4774, allocations: 86.8 kB / 428.5 MB, free: 42.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.4774, allocations: 8.938 kB / 428.5 MB, free: 42.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.4774, allocations: 144 / 428.5 MB, free: 42.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.4774, allocations: 0 / 428.5 MB, free: 42.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.896e-05/0.4775, allocations: 8.641 kB / 428.6 MB, free: 42.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.4775, allocations: 0 / 428.6 MB, free: 42.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.224e-05/0.4775, allocations: 3.938 kB / 428.6 MB, free: 42.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.4775, allocations: 3.25 kB / 428.6 MB, free: 42.98 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.946e-05/0.4776, allocations: 116 kB / 428.7 MB, free: 42.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.4776, allocations: 11.47 kB / 428.7 MB, free: 42.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002115/0.4778, allocations: 232.6 kB / 428.9 MB, free: 42.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001395/0.478, allocations: 188.6 kB / 429.1 MB, free: 42.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.478, allocations: 0 / 429.1 MB, free: 42.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.478, allocations: 0 / 429.1 MB, free: 42.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004056/0.4784, allocations: 0.5698 MB / 429.7 MB, free: 42.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4784, allocations: 0 / 429.7 MB, free: 42.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.172e-05/0.4785, allocations: 22.81 kB / 429.7 MB, free: 42.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4785, allocations: 7.094 kB / 429.7 MB, free: 42.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.4785, allocations: 3.422 kB / 429.7 MB, free: 42.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4785, allocations: 0 / 429.7 MB, free: 42.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4785, allocations: 0 / 429.7 MB, free: 42.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.4787, allocations: 287 kB / 430 MB, free: 42.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/0.4787, allocations: 92.47 kB / 430.1 MB, free: 42.17 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.4787, allocations: 3.062 kB / 430.1 MB, free: 42.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.839e-05/0.4788, allocations: 0 / 430.1 MB, free: 42.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.4788, allocations: 20.64 kB / 430.1 MB, free: 42.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.4788, allocations: 2.781 kB / 430.1 MB, free: 42.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.111e-05/0.4788, allocations: 78.66 kB / 430.2 MB, free: 42.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4788, allocations: 0 / 430.2 MB, free: 42.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002297/0.4791, allocations: 35.12 kB / 430.2 MB, free: 42.08 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 (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.0001993/0.4793, allocations: 141 kB / 430.3 MB, free: 41.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.4795, allocations: 154 kB / 430.5 MB, free: 41.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4795, allocations: 0 / 430.5 MB, free: 41.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.726e-05/0.4795, allocations: 84.97 kB / 430.6 MB, free: 41.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004853/0.48, allocations: 71.53 kB / 430.6 MB, free: 41.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/0.4805, allocations: 421.7 kB / 431.1 MB, free: 41.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.4806, allocations: 0.7224 MB / 431.8 MB, free: 40.99 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.056e-05/0.4806, allocations: 16.97 kB / 431.8 MB, free: 40.98 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4806, allocations: 3.938 kB / 431.8 MB, free: 40.98 MB / 350.1 MB Notification: Performance of Templates: time 0.002563/0.4832, allocations: 1.578 MB / 433.4 MB, free: 40.83 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++ -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_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