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.001077/0.001077, allocations: 102.6 kB / 15.71 MB, free: 460 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.001747/0.001747, allocations: 175.7 kB / 16.58 MB, free: 6.402 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.568/1.568, allocations: 223.3 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1724/0.1724, allocations: 2.782 MB / 294.5 MB, free: 4.312 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003405, allocations: 11.98 kB / 356.2 MB, free: 4.32 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1446, allocations: 51.25 MB / 407.5 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.009568/0.1542, allocations: 8.009 MB / 415.5 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007155/0.1615, allocations: 7.762 MB / 423.3 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.1617, allocations: 0 / 423.3 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005296/0.1622, allocations: 139.3 kB / 423.4 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003358/0.1626, allocations: 91.47 kB / 423.5 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2743/0.4368, allocations: 1.24 MB / 424.7 MB, free: 36.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005537/0.4374, allocations: 246.9 kB / 425 MB, free: 36.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.91e-05/0.4375, allocations: 12.56 kB / 425 MB, free: 36.01 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.03103/0.4685, allocations: 11.53 MB / 436.5 MB, free: 35.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004092/0.469, allocations: 66.47 kB / 436.6 MB, free: 35.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.638e-05/0.4691, allocations: 7.406 kB / 436.6 MB, free: 35.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002029/0.4711, allocations: 315.7 kB / 436.9 MB, free: 35.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.45e-05/0.4712, allocations: 21.28 kB / 436.9 MB, free: 35.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.4713, allocations: 58.8 kB / 437 MB, free: 35.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005767/0.4719, allocations: 240 kB / 437.2 MB, free: 35.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.4719, allocations: 0 / 437.2 MB, free: 35.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.4719, allocations: 0 / 437.2 MB, free: 35.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.472, allocations: 0 / 437.2 MB, free: 35.36 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.0008376/0.4728, allocations: 489.5 kB / 437.7 MB, free: 34.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.4729, allocations: 9.5 kB / 437.7 MB, free: 34.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004566/0.4733, allocations: 95.56 kB / 437.8 MB, free: 34.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.4736, allocations: 193.9 kB / 438 MB, free: 34.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.845e-05/0.4737, allocations: 25.55 kB / 438 MB, free: 34.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.4737, allocations: 11.09 kB / 438 MB, free: 34.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005825/0.4743, allocations: 251.8 kB / 438.3 MB, free: 34.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.4743, allocations: 3.281 kB / 438.3 MB, free: 34.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.4743, allocations: 10.95 kB / 438.3 MB, free: 34.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/0.4744, allocations: 11 kB / 438.3 MB, free: 34.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005209/0.4749, allocations: 252.8 kB / 438.5 MB, free: 34.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.476, allocations: 0.871 MB / 439.4 MB, free: 34.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.4762, allocations: 171.5 kB / 439.6 MB, free: 34.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.4765, allocations: 162 kB / 439.7 MB, free: 34.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.289e-05/0.4765, allocations: 4 kB / 439.7 MB, free: 34.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.4766, allocations: 37.47 kB / 439.8 MB, free: 33.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 2.284e-06/0.4766, allocations: 0 / 439.8 MB, free: 33.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009148/0.4775, allocations: 421.4 kB / 440.2 MB, free: 33.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.4776, allocations: 53.98 kB / 440.2 MB, free: 33.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.4777, allocations: 113.2 kB / 440.3 MB, free: 33.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.4777, allocations: 25.7 kB / 440.4 MB, free: 33.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/0.4778, allocations: 106.6 kB / 440.5 MB, free: 33.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.431e-05/0.4778, allocations: 111.9 kB / 440.6 MB, free: 33.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.4779, allocations: 1.625 kB / 440.6 MB, free: 33.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.425e-05/0.478, allocations: 327.4 kB / 440.9 MB, free: 33.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.4782, allocations: 127.3 kB / 441 MB, free: 33.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.4784, allocations: 177.1 kB / 441.2 MB, free: 33.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.4786, allocations: 82.8 kB / 441.3 MB, free: 33.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4786, allocations: 0 / 441.3 MB, free: 33.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004422/0.4791, allocations: 300.2 kB / 441.6 MB, free: 33.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.4791, allocations: 6.438 kB / 441.6 MB, free: 33.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.4791, allocations: 0 / 441.6 MB, free: 33.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.4791, allocations: 7.656 kB / 441.6 MB, free: 33.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.4793, allocations: 26.59 kB / 441.6 MB, free: 33.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.4793, allocations: 12.97 kB / 441.6 MB, free: 33.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.909e-05/0.4794, allocations: 17.88 kB / 441.6 MB, free: 33.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.4794, allocations: 6.75 kB / 441.6 MB, free: 33.12 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.state.phase,fluid.phaseOutput,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.4796, allocations: 129.5 kB / 441.8 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.4796, allocations: 15.05 kB / 441.8 MB, free: 32.99 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008301/0.4804, allocations: 489.1 kB / 442.3 MB, free: 32.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005641/0.481, allocations: 430.3 kB / 442.7 MB, free: 32.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.481, allocations: 0 / 442.7 MB, free: 32.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.481, allocations: 0 / 442.7 MB, free: 32.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.4822, allocations: 0.9285 MB / 443.6 MB, free: 32.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.4822, allocations: 3.094 kB / 443.6 MB, free: 32.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.4824, allocations: 38.58 kB / 443.7 MB, free: 32.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.4824, allocations: 3.281 kB / 443.7 MB, free: 32.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.4824, allocations: 10.39 kB / 443.7 MB, free: 32.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.4824, allocations: 0 / 443.7 MB, free: 32.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4824, allocations: 3.188 kB / 443.7 MB, free: 32.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006304/0.483, allocations: 0.5236 MB / 444.2 MB, free: 32.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.239e-05/0.4831, allocations: 99.3 kB / 444.3 MB, free: 32.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.4831, allocations: 4.344 kB / 444.3 MB, free: 32.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.4833, allocations: 21.06 kB / 444.3 MB, free: 32.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.4833, allocations: 22.84 kB / 444.3 MB, free: 32.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.4834, allocations: 6.5 kB / 444.3 MB, free: 32.24 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.935e-05/0.4834, allocations: 90.67 kB / 444.4 MB, free: 32.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4834, allocations: 0 / 444.4 MB, free: 32.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004043/0.4838, allocations: 68.84 kB / 444.5 MB, free: 32.16 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 (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.0005688/0.4844, allocations: 275.8 kB / 444.8 MB, free: 32.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006288/0.485, allocations: 406.6 kB / 445.2 MB, free: 31.99 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.485, allocations: 0 / 445.2 MB, free: 31.99 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002864/0.4853, allocations: 231.5 kB / 445.4 MB, free: 31.99 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007024/0.486, allocations: 118.9 kB / 445.5 MB, free: 31.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.4871, allocations: 0.728 MB / 446.2 MB, free: 31.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.4874, allocations: 0.7521 MB / 447 MB, free: 30.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.474e-05/0.4874, allocations: 25.47 kB / 447 MB, free: 30.94 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4874, allocations: 0 / 447 MB, free: 30.94 MB / 350.1 MB Notification: Performance of Templates: time 0.006071/0.4935, allocations: 3.3 MB / 450.3 MB, free: 30.59 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++ 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_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