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.0009145/0.0009196, allocations: 99.67 kB / 15.71 MB, free: 452 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.001308/0.001308, allocations: 176.6 kB / 16.58 MB, free: 6.418 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.539/1.539, allocations: 223.2 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.1555/0.1555, allocations: 2.784 MB / 294.5 MB, free: 4.324 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003343, allocations: 8 kB / 356.2 MB, free: 4.332 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1331, allocations: 51.25 MB / 407.5 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic): time 0.00991/0.143, allocations: 8.176 MB / 415.7 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008364/0.1515, allocations: 7.879 MB / 423.6 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002237/0.1518, allocations: 3.938 kB / 423.6 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000632/0.1524, allocations: 143.3 kB / 423.7 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000406/0.1528, allocations: 95.34 kB / 423.8 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3134/0.4662, allocations: 1.26 MB / 425.1 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006627/0.4669, allocations: 277.4 kB / 425.3 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.396e-05/0.467, allocations: 15.19 kB / 425.3 MB, free: 35.82 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.03222/0.4993, allocations: 10.81 MB / 436.1 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003481/0.4996, allocations: 81.84 kB / 436.2 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.4997, allocations: 6.125 kB / 436.2 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002681/0.5024, allocations: 489.4 kB / 436.7 MB, free: 35.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.456e-05/0.5024, allocations: 32.41 kB / 436.7 MB, free: 35.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.5026, allocations: 55.11 kB / 436.8 MB, free: 35.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007717/0.5033, allocations: 371.5 kB / 437.2 MB, free: 35.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.5034, allocations: 0 / 437.2 MB, free: 35.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.5034, allocations: 0 / 437.2 MB, free: 35.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.5034, allocations: 3.188 kB / 437.2 MB, free: 35.19 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.0007697/0.5041, allocations: 0.5389 MB / 437.7 MB, free: 34.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.5042, allocations: 9.75 kB / 437.7 MB, free: 34.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003235/0.5045, allocations: 62.67 kB / 437.8 MB, free: 34.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.5047, allocations: 200.7 kB / 438 MB, free: 34.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.5048, allocations: 6.156 kB / 438 MB, free: 34.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/0.5048, allocations: 9.719 kB / 438 MB, free: 34.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006047/0.5054, allocations: 251.6 kB / 438.2 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.5055, allocations: 2.516 kB / 438.2 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.5055, allocations: 3.375 kB / 438.2 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.5055, allocations: 10.41 kB / 438.2 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004946/0.506, allocations: 209.9 kB / 438.4 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008847/0.5069, allocations: 0.6802 MB / 439.1 MB, free: 34.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004827/0.5074, allocations: 237.4 kB / 439.4 MB, free: 34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.5076, allocations: 152.4 kB / 439.5 MB, free: 33.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002842/0.5079, allocations: 329.6 kB / 439.8 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.508, allocations: 39.62 kB / 439.9 MB, free: 33.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.854e-06/0.508, allocations: 0 / 439.9 MB, free: 33.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002665/0.5107, allocations: 1.24 MB / 441.1 MB, free: 33.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.5107, allocations: 51.41 kB / 441.2 MB, free: 33.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.5108, allocations: 130 kB / 441.3 MB, free: 33.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.5109, allocations: 32.45 kB / 441.3 MB, free: 33.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.86e-05/0.5109, allocations: 106.9 kB / 441.4 MB, free: 33.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.5111, allocations: 157.8 kB / 441.6 MB, free: 32.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/0.5111, allocations: 3.75 kB / 441.6 MB, free: 32.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.5112, allocations: 341.8 kB / 441.9 MB, free: 32.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/0.5114, allocations: 127.8 kB / 442 MB, free: 32.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.5118, allocations: 198.2 kB / 442.2 MB, free: 32.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.512, allocations: 151.8 kB / 442.4 MB, free: 32.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.512, allocations: 0 / 442.4 MB, free: 32.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00106/0.5131, allocations: 488.3 kB / 442.9 MB, free: 32.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.5131, allocations: 7.391 kB / 442.9 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.5132, allocations: 3.281 kB / 442.9 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006857/0.5138, allocations: 149.6 kB / 443 MB, free: 32.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.514, allocations: 37.91 kB / 443.1 MB, free: 32.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000528/0.5145, allocations: 0.6516 MB / 443.7 MB, free: 31.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.5147, allocations: 15.67 kB / 443.7 MB, free: 31.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.5147, allocations: 15.94 kB / 443.7 MB, free: 31.95 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.state.phase,medium.phaseOutput,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.5148, allocations: 137.5 kB / 443.9 MB, free: 31.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.497e-05/0.5149, allocations: 17.66 kB / 443.9 MB, free: 31.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.5159, allocations: 0.7164 MB / 444.6 MB, free: 31.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.516, allocations: 10.16 kB / 444.6 MB, free: 31.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.516, allocations: 0 / 444.6 MB, free: 31.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.516, allocations: 3.953 kB / 444.6 MB, free: 31.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003922/0.5164, allocations: 388.8 kB / 445 MB, free: 31.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5164, allocations: 0 / 445 MB, free: 31.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.5166, allocations: 42.59 kB / 445 MB, free: 31.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002369/0.5168, allocations: 85.89 kB / 445.1 MB, free: 31.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.5168, allocations: 6.438 kB / 445.1 MB, free: 31.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008825/0.5177, allocations: 1.308 MB / 446.4 MB, free: 30.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.5177, allocations: 0 / 446.4 MB, free: 30.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.5188, allocations: 0.8417 MB / 447.3 MB, free: 30.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.5189, allocations: 98.97 kB / 447.4 MB, free: 30 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.5189, allocations: 3.812 kB / 447.4 MB, free: 30 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.5191, allocations: 13.72 kB / 447.4 MB, free: 29.99 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.402e-05/0.5192, allocations: 22.7 kB / 447.4 MB, free: 29.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.5192, allocations: 10.94 kB / 447.4 MB, free: 29.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.451e-05/0.5193, allocations: 100.3 kB / 447.5 MB, free: 29.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5193, allocations: 0.875 kB / 447.5 MB, free: 29.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000611/0.5199, allocations: 59.41 kB / 447.6 MB, free: 29.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004164/0.5204, allocations: 186.6 kB / 447.8 MB, free: 29.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007476/0.5211, allocations: 371.4 kB / 448.1 MB, free: 29.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5211, allocations: 0 / 448.1 MB, free: 29.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004416/0.5216, allocations: 298.5 kB / 448.4 MB, free: 29.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006026/0.5222, allocations: 97 kB / 448.5 MB, free: 29.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.5234, allocations: 0.8323 MB / 449.3 MB, free: 29.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.5236, allocations: 0.7391 MB / 450.1 MB, free: 28.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.41e-05/0.5237, allocations: 16.44 kB / 450.1 MB, free: 28.54 MB / 350.1 MB Notification: Performance of SimCode: time 1.403e-06/0.5237, allocations: 0 / 450.1 MB, free: 28.54 MB / 350.1 MB Notification: Performance of Templates: time 0.006/0.5297, allocations: 3.453 MB / 453.5 MB, free: 28.28 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++ 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.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