Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.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.CO2.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009844/0.0009843, allocations: 83.38 kB / 16.01 MB, free: 92 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.001383/0.001383, allocations: 183.3 kB / 16.92 MB, free: 6.191 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.46/1.46, allocations: 223.2 MB / 241 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.2046/0.2046, allocations: 2.786 MB / 294.9 MB, free: 4.223 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004555/0.0004555, allocations: 12 kB / 356.9 MB, free: 4.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1357, allocations: 51.25 MB / 408.1 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic): time 0.0115/0.1473, allocations: 8.588 MB / 416.7 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2421/0.3895, allocations: 8.389 MB / 425.1 MB, free: 34.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002014/0.3897, allocations: 7 kB / 425.1 MB, free: 34.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005584/0.3903, allocations: 146.2 kB / 425.3 MB, free: 34.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003325/0.3906, allocations: 99.61 kB / 425.4 MB, free: 34.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004749/0.3954, allocations: 1.341 MB / 426.7 MB, free: 34.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005052/0.3959, allocations: 310.6 kB / 427 MB, free: 34.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.112e-05/0.396, allocations: 14.62 kB / 427 MB, free: 34.11 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.1893/0.5853, allocations: 11.69 MB / 438.7 MB, free: 30.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002451/0.5856, allocations: 87.94 kB / 438.8 MB, free: 30.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.5856, allocations: 7.125 kB / 438.8 MB, free: 30.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002259/0.5879, allocations: 0.4953 MB / 439.3 MB, free: 30.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.823e-05/0.588, allocations: 29.16 kB / 439.3 MB, free: 30.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.5881, allocations: 112.5 kB / 439.4 MB, free: 30.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007563/0.5889, allocations: 373.9 kB / 439.8 MB, free: 30.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5889, allocations: 0 / 439.8 MB, free: 30.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5889, allocations: 0 / 439.8 MB, free: 30.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.5889, allocations: 0 / 439.8 MB, free: 30.38 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007382/0.5897, allocations: 0.5284 MB / 440.3 MB, free: 29.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.5897, allocations: 6.375 kB / 440.3 MB, free: 29.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000333/0.5901, allocations: 68.86 kB / 440.4 MB, free: 29.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.5902, allocations: 207.7 kB / 440.6 MB, free: 29.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.5903, allocations: 13.41 kB / 440.6 MB, free: 29.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.5903, allocations: 9.844 kB / 440.6 MB, free: 29.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004713/0.5908, allocations: 248.2 kB / 440.9 MB, free: 29.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.5908, allocations: 0 / 440.9 MB, free: 29.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.5908, allocations: 10.33 kB / 440.9 MB, free: 29.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.5909, allocations: 9.75 kB / 440.9 MB, free: 29.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004478/0.5913, allocations: 208.9 kB / 441.1 MB, free: 29.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007571/0.5921, allocations: 0.6818 MB / 441.8 MB, free: 29.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005112/0.5926, allocations: 234.5 kB / 442 MB, free: 29.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.5928, allocations: 154.5 kB / 442.1 MB, free: 29.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002099/0.593, allocations: 331.4 kB / 442.5 MB, free: 28.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.5931, allocations: 30.56 kB / 442.5 MB, free: 28.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.513e-06/0.5931, allocations: 2.906 kB / 442.5 MB, free: 28.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.00275/0.5958, allocations: 1.235 MB / 443.7 MB, free: 28.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.5959, allocations: 58.94 kB / 443.8 MB, free: 28.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.455e-05/0.596, allocations: 132.7 kB / 443.9 MB, free: 28.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.596, allocations: 32.39 kB / 444 MB, free: 28.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.5961, allocations: 105.9 kB / 444.1 MB, free: 28.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.992e-05/0.5961, allocations: 154.1 kB / 444.2 MB, free: 28.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.5962, allocations: 38.28 kB / 444.2 MB, free: 28.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.612e-05/0.5962, allocations: 334 kB / 444.6 MB, free: 27.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.5965, allocations: 135.3 kB / 444.7 MB, free: 27.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.5967, allocations: 186.3 kB / 444.9 MB, free: 27.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004596/0.5972, allocations: 358.8 kB / 445.2 MB, free: 27.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.5972, allocations: 0 / 445.2 MB, free: 27.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001107/0.5983, allocations: 491 kB / 445.7 MB, free: 27.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.5983, allocations: 3.281 kB / 445.7 MB, free: 27.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.5983, allocations: 3.594 kB / 445.7 MB, free: 27.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007383/0.5991, allocations: 159.6 kB / 445.9 MB, free: 27.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.5992, allocations: 32.98 kB / 445.9 MB, free: 27.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004866/0.5997, allocations: 0.6566 MB / 446.6 MB, free: 26.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.5999, allocations: 12.34 kB / 446.6 MB, free: 26.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.5999, allocations: 13.12 kB / 446.6 MB, free: 26.99 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.phaseOutput,medium.state.phase,medium.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.6, allocations: 142.4 kB / 446.7 MB, free: 26.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.241e-05/0.6001, allocations: 17.69 kB / 446.7 MB, free: 26.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009445/0.601, allocations: 0.7273 MB / 447.5 MB, free: 26.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.6011, allocations: 9.219 kB / 447.5 MB, free: 26.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.6011, allocations: 0 / 447.5 MB, free: 26.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.6011, allocations: 0 / 447.5 MB, free: 26.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003233/0.6014, allocations: 385.8 kB / 447.9 MB, free: 26.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.6014, allocations: 0 / 447.9 MB, free: 26.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.6016, allocations: 50.59 kB / 447.9 MB, free: 26.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004322/0.602, allocations: 80.55 kB / 448 MB, free: 26.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.6021, allocations: 7.219 kB / 448 MB, free: 26.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007763/0.6028, allocations: 1.317 MB / 449.3 MB, free: 25.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.6028, allocations: 0 / 449.3 MB, free: 25.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.6039, allocations: 0.8468 MB / 450.2 MB, free: 25.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.6039, allocations: 91.33 kB / 450.2 MB, free: 25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.6039, allocations: 3.875 kB / 450.3 MB, free: 25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.6041, allocations: 15.5 kB / 450.3 MB, free: 25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.6042, allocations: 22.31 kB / 450.3 MB, free: 25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.6042, allocations: 6.641 kB / 450.3 MB, free: 25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.323e-05/0.6042, allocations: 99.33 kB / 450.4 MB, free: 24.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6042, allocations: 0 / 450.4 MB, free: 24.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005269/0.6048, allocations: 67.38 kB / 450.5 MB, free: 24.91 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 2 (medium.state.phase,medium.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003879/0.6052, allocations: 184.7 kB / 450.6 MB, free: 24.78 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007693/0.606, allocations: 362.3 kB / 451 MB, free: 24.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.606, allocations: 0 / 451 MB, free: 24.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000425/0.6064, allocations: 309.3 kB / 451.3 MB, free: 24.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006533/0.6071, allocations: 101.9 kB / 451.4 MB, free: 24.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009667/0.6081, allocations: 0.849 MB / 452.2 MB, free: 24.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.6082, allocations: 0.7357 MB / 453 MB, free: 23.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.492e-05/0.6083, allocations: 20.59 kB / 453 MB, free: 23.47 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.6083, allocations: 0 / 453 MB, free: 23.47 MB / 350.1 MB Notification: Performance of Templates: time 0.00515/0.6134, allocations: 3.437 MB / 456.4 MB, free: 23.2 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.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.CO2.TestBasePropertiesDynamicCalcHelperMain.o OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamicCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamicCalcHelperMain.o] Error 1