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.001124/0.001124, 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.001186/0.001186, allocations: 193.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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.139/0.139, allocations: 2.768 MB / 293.4 MB, free: 3.789 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009967/0.0009967, allocations: 59.91 kB / 354.4 MB, free: 5.008 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08014/0.08115, allocations: 50.22 MB / 404.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic): time 0.009158/0.09033, allocations: 9.036 MB / 413.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00657/0.09693, allocations: 8.537 MB / 422.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.09709, allocations: 0 / 422.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004692/0.09761, allocations: 147.2 kB / 422.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.09785, allocations: 99.41 kB / 422.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1496/0.2475, allocations: 1.34 MB / 423.7 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004335/0.2479, allocations: 307.3 kB / 424 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.396e-05/0.248, allocations: 12.2 kB / 424.1 MB, free: 37.19 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.1831/0.4311, allocations: 11.7 MB / 435.8 MB, free: 33.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.4314, allocations: 85 kB / 435.8 MB, free: 33.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.4314, allocations: 3.062 kB / 435.8 MB, free: 33.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.4331, allocations: 0.4953 MB / 436.3 MB, free: 33.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.477e-05/0.4332, allocations: 30.42 kB / 436.4 MB, free: 33.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.4333, allocations: 86.95 kB / 436.5 MB, free: 33.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004845/0.4338, allocations: 375.3 kB / 436.8 MB, free: 33.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.4338, allocations: 0 / 436.8 MB, free: 33.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.4338, allocations: 0 / 436.8 MB, free: 33.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.4338, allocations: 0 / 436.8 MB, free: 33.59 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.000721/0.4345, allocations: 0.5571 MB / 437.4 MB, free: 33.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.4346, allocations: 6.312 kB / 437.4 MB, free: 33.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003173/0.4349, allocations: 54.52 kB / 437.4 MB, free: 33.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.4351, allocations: 211 kB / 437.6 MB, free: 32.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.4351, allocations: 11.06 kB / 437.7 MB, free: 32.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.4351, allocations: 13.69 kB / 437.7 MB, free: 32.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004416/0.4356, allocations: 246 kB / 437.9 MB, free: 32.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4356, allocations: 0.75 kB / 437.9 MB, free: 32.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.4356, allocations: 6.75 kB / 437.9 MB, free: 32.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.4356, allocations: 14.09 kB / 437.9 MB, free: 32.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004343/0.4361, allocations: 201.1 kB / 438.1 MB, free: 32.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006286/0.4367, allocations: 0.69 MB / 438.8 MB, free: 32.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004489/0.4372, allocations: 224.8 kB / 439 MB, free: 32.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.4374, allocations: 155.9 kB / 439.2 MB, free: 32.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001875/0.4376, allocations: 324 kB / 439.5 MB, free: 32.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.49e-05/0.4376, allocations: 37.12 kB / 439.5 MB, free: 32.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.493e-06/0.4376, allocations: 0 / 439.5 MB, free: 32.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002402/0.44, allocations: 1.211 MB / 440.8 MB, free: 31.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.069e-05/0.4401, allocations: 58.56 kB / 440.8 MB, free: 31.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.59e-05/0.4401, allocations: 131 kB / 440.9 MB, free: 31.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.4402, allocations: 25.7 kB / 441 MB, free: 31.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.4402, allocations: 105.4 kB / 441.1 MB, free: 31.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.4403, allocations: 161.6 kB / 441.2 MB, free: 31.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.989e-05/0.4404, allocations: 55.81 kB / 441.3 MB, free: 31.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.089e-05/0.4404, allocations: 338.3 kB / 441.6 MB, free: 31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.4406, allocations: 127.4 kB / 441.7 MB, free: 31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.4409, allocations: 184.2 kB / 441.9 MB, free: 30.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004369/0.4413, allocations: 346.1 kB / 442.3 MB, free: 30.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4413, allocations: 0 / 442.3 MB, free: 30.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009603/0.4423, allocations: 488.3 kB / 442.7 MB, free: 30.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.4423, allocations: 6.594 kB / 442.7 MB, free: 30.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4423, allocations: 7.219 kB / 442.7 MB, free: 30.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006861/0.443, allocations: 143.7 kB / 442.9 MB, free: 30.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.4431, allocations: 35.52 kB / 442.9 MB, free: 30.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004471/0.4436, allocations: 0.65 MB / 443.6 MB, free: 30.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/0.444, allocations: 10.56 kB / 443.6 MB, free: 30.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.444, allocations: 9.406 kB / 443.6 MB, free: 30.25 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.0001011/0.4441, allocations: 137.4 kB / 443.7 MB, free: 30.13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.4441, allocations: 16.78 kB / 443.7 MB, free: 30.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008623/0.445, allocations: 0.7154 MB / 444.5 MB, free: 30.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.445, allocations: 6.938 kB / 444.5 MB, free: 30.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.445, allocations: 3.375 kB / 444.5 MB, free: 30.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.4451, allocations: 0 / 444.5 MB, free: 30.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.4454, allocations: 390.2 kB / 444.8 MB, free: 29.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4454, allocations: 0 / 444.8 MB, free: 29.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.4455, allocations: 41.38 kB / 444.9 MB, free: 29.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002162/0.4458, allocations: 86.25 kB / 445 MB, free: 29.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.4458, allocations: 96 / 445 MB, free: 29.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006887/0.4465, allocations: 1.315 MB / 446.3 MB, free: 28.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4465, allocations: 3.188 kB / 446.3 MB, free: 28.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009531/0.4475, allocations: 0.826 MB / 447.1 MB, free: 28.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.183e-05/0.4475, allocations: 95.17 kB / 447.2 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.4475, allocations: 3.062 kB / 447.2 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.4477, allocations: 16.69 kB / 447.2 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.251e-05/0.4478, allocations: 27.41 kB / 447.3 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.4478, allocations: 6.312 kB / 447.3 MB, free: 28.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.994e-05/0.4478, allocations: 95.02 kB / 447.3 MB, free: 28.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4478, allocations: 7.281 kB / 447.4 MB, free: 28.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003293/0.4482, allocations: 58.56 kB / 447.4 MB, free: 28.21 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.0002917/0.4485, allocations: 182.4 kB / 447.6 MB, free: 28.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006704/0.4492, allocations: 361.8 kB / 447.9 MB, free: 28.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4492, allocations: 3.938 kB / 447.9 MB, free: 28.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004902/0.4497, allocations: 305.6 kB / 448.2 MB, free: 27.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006047/0.4503, allocations: 92.27 kB / 448.3 MB, free: 27.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009384/0.4512, allocations: 0.7677 MB / 449.1 MB, free: 27.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.4514, allocations: 0.7363 MB / 449.8 MB, free: 26.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.4515, allocations: 19.84 kB / 449.9 MB, free: 26.64 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4515, allocations: 0 / 449.9 MB, free: 26.64 MB / 350.1 MB Notification: Performance of Templates: time 0.004767/0.4562, allocations: 3.453 MB / 453.3 MB, free: 26.33 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