Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.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.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 92.16 kB / 16.02 MB, free: 80 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.001832/0.001833, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.491/1.491, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.163/0.163, allocations: 2.798 MB / 294.9 MB, free: 4.246 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.000352, allocations: 8 kB / 356.9 MB, free: 3.992 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.111, allocations: 51.26 MB / 408.1 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit): time 0.2972/0.4083, allocations: 49.42 MB / 457.5 MB, free: 22.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01942/0.4278, allocations: 28.52 MB / 486.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007561/0.4286, allocations: 3.031 kB / 486.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001745/0.4303, allocations: 0.5732 MB / 486.6 MB, free: 400 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007242/0.4376, allocations: 2.061 MB / 488.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009138/0.4467, allocations: 2.704 MB / 491.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001306/0.4481, allocations: 0.9793 MB / 492.4 MB, free: 13.22 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.4482, allocations: 55.05 kB / 492.4 MB, free: 13.2 MB / 366.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.716/1.164, allocations: 46.48 MB / 0.5263 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/1.165, allocations: 298.6 kB / 0.5266 GB, free: 15.08 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.561e-05/1.165, allocations: 20 kB / 0.5266 GB, free: 15.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.389/1.554, allocations: 24.76 MB / 0.5508 GB, free: 6.148 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003191/1.555, allocations: 91.42 kB / 0.5509 GB, free: 6.059 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008404/1.556, allocations: 352.1 kB / 0.5512 GB, free: 5.707 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003621/1.559, allocations: 1.356 MB / 0.5525 GB, free: 4.348 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.559, allocations: 0 / 0.5525 GB, free: 4.348 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.825e-06/1.559, allocations: 0 / 0.5525 GB, free: 4.348 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.399e-05/1.559, allocations: 4 kB / 0.5525 GB, free: 4.344 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002222/1.562, allocations: 0.983 MB / 0.5535 GB, free: 3.312 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/1.562, allocations: 15.97 kB / 0.5535 GB, free: 3.297 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002305/1.564, allocations: 0.5036 MB / 0.554 GB, free: 2.793 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006177/1.565, allocations: 331.5 kB / 0.5543 GB, free: 2.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.533e-05/1.565, allocations: 46.06 kB / 0.5544 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.332e-05/1.565, allocations: 60 kB / 0.5544 GB, free: 2.328 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/1.567, allocations: 0.884 MB / 0.5553 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/1.567, allocations: 0 / 0.5553 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.798e-05/1.567, allocations: 28 kB / 0.5553 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.571e-05/1.567, allocations: 27.98 kB / 0.5553 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/1.568, allocations: 0.7196 MB / 0.556 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005391/1.574, allocations: 5.155 MB / 0.5611 GB, free: 10.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008243/1.575, allocations: 337.7 kB / 0.5614 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003663/1.575, allocations: 225.7 kB / 0.5616 GB, free: 10.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001988/1.577, allocations: 1.539 MB / 0.5631 GB, free: 8.559 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/1.577, allocations: 38.56 kB / 0.5631 GB, free: 8.512 MB / 430.1 MB Notification: Performance of pre-optimization done (n=71): time 2.715e-06/1.577, allocations: 0 / 0.5631 GB, free: 8.512 MB / 430.1 MB Notification: Performance of matching and sorting (n=71): time 0.001819/1.579, allocations: 0.6118 MB / 0.5637 GB, free: 7.895 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.497e-05/1.579, allocations: 85.11 kB / 0.5638 GB, free: 7.793 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/1.579, allocations: 186.1 kB / 0.564 GB, free: 7.602 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/1.579, allocations: 29.7 kB / 0.564 GB, free: 7.566 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/1.58, allocations: 279.5 kB / 0.5643 GB, free: 7.285 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000249/1.58, allocations: 240.4 kB / 0.5645 GB, free: 7.047 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/1.58, allocations: 53.69 kB / 0.5646 GB, free: 6.988 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/1.58, allocations: 342.8 kB / 0.5649 GB, free: 6.645 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/1.58, allocations: 129.2 kB / 0.565 GB, free: 6.516 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004217/1.581, allocations: 304 kB / 0.5653 GB, free: 6.145 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007166/1.582, allocations: 0.4887 MB / 0.5658 GB, free: 5.578 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/1.582, allocations: 8 kB / 0.5658 GB, free: 5.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009021/1.583, allocations: 492.4 kB / 0.5663 GB, free: 5.082 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/1.583, allocations: 4 kB / 0.5663 GB, free: 5.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/1.583, allocations: 15.92 kB / 0.5663 GB, free: 5.062 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.724e-05/1.583, allocations: 8.188 kB / 0.5663 GB, free: 5.055 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00039/1.583, allocations: 88.45 kB / 0.5664 GB, free: 4.969 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007293/1.584, allocations: 1.18 MB / 0.5675 GB, free: 3.742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004528/1.584, allocations: 87.44 kB / 0.5676 GB, free: 3.656 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.092e-05/1.584, allocations: 19.94 kB / 0.5676 GB, free: 3.637 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput,medium1.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003222/1.585, allocations: 197.7 kB / 0.5678 GB, free: 3.434 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.038e-05/1.585, allocations: 27.62 kB / 0.5678 GB, free: 3.406 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/1.587, allocations: 1.351 MB / 0.5692 GB, free: 2.047 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001527/1.588, allocations: 1.154 MB / 0.5703 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/1.588, allocations: 0 / 0.5703 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/1.588, allocations: 3.984 kB / 0.5703 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00373/1.592, allocations: 2.517 MB / 0.5728 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/1.592, allocations: 0 / 0.5728 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003481/1.593, allocations: 115.8 kB / 0.5729 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004632/1.593, allocations: 301.3 kB / 0.5732 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.968e-05/1.593, allocations: 20 kB / 0.5732 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008631/1.594, allocations: 1.265 MB / 0.5744 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.594, allocations: 0 / 0.5744 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/1.595, allocations: 1.174 MB / 0.5756 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/1.596, allocations: 136.2 kB / 0.5757 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.786e-05/1.596, allocations: 12 kB / 0.5757 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004799/1.596, allocations: 103.3 kB / 0.5758 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.957e-05/1.596, allocations: 43.94 kB / 0.5758 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/1.596, allocations: 20 kB / 0.5759 GB, free: 11.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001113/1.597, allocations: 124.8 kB / 0.576 GB, free: 10.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.81e-07/1.597, allocations: 0 / 0.576 GB, free: 10.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009381/1.597, allocations: 223.4 kB / 0.5762 GB, free: 10.67 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (medium1.completeState.state.phase,$cse4.phase,medium2.completeState.state.phase,$cse2.phase,medium2.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00067/1.598, allocations: 320.9 kB / 0.5765 GB, free: 10.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001297/1.599, allocations: 0.7731 MB / 0.5772 GB, free: 9.551 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.599, allocations: 4 kB / 0.5772 GB, free: 9.547 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005946/1.6, allocations: 386.8 kB / 0.5776 GB, free: 9.172 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00214/1.602, allocations: 328.8 kB / 0.5779 GB, free: 8.852 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/1.605, allocations: 1.764 MB / 0.5797 GB, free: 7.047 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005321/1.605, allocations: 0.9599 MB / 0.5806 GB, free: 6.055 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.983e-05/1.605, allocations: 47.44 kB / 0.5806 GB, free: 6.008 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/1.605, allocations: 0 / 0.5806 GB, free: 6.008 MB / 446.1 MB Notification: Performance of Templates: time 0.2369/1.842, allocations: 15.52 MB / 0.5958 GB, free: 138.5 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.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.TestBasePropertiesImplicitCalcHelperMain.o OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicitCalcHelperMain.o] Error 1