Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.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.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008916/0.0008916, allocations: 100.7 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.002223/0.002223, 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.525/1.525, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.2153/0.2153, allocations: 2.782 MB / 294.5 MB, free: 4.266 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003553, allocations: 12 kB / 356.2 MB, free: 4.355 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1244, allocations: 51.24 MB / 407.5 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.2984/0.4228, allocations: 17.51 MB / 425 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005332/0.4282, allocations: 5.593 MB / 430.6 MB, free: 34.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.4283, allocations: 0 / 430.6 MB, free: 34.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005325/0.4289, allocations: 226.1 kB / 430.8 MB, free: 34.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002999/0.4319, allocations: 1.053 MB / 431.9 MB, free: 34.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.4322, allocations: 79.03 kB / 431.9 MB, free: 34.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003098/0.4325, allocations: 280.8 kB / 432.2 MB, free: 34.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.11e-05/0.4326, allocations: 29.95 kB / 432.2 MB, free: 34.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.091e-05/0.4327, allocations: 88.52 kB / 432.3 MB, free: 34.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.4328, allocations: 112.1 kB / 432.4 MB, free: 34.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.4328, allocations: 3.344 kB / 432.4 MB, free: 34.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06213/0.495, allocations: 32.41 MB / 464.9 MB, free: 32.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.377e-05/0.4951, allocations: 29.16 kB / 464.9 MB, free: 32.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002396/0.4954, allocations: 80.92 kB / 465 MB, free: 31.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008413/0.4962, allocations: 348.6 kB / 465.3 MB, free: 31.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.4962, allocations: 3.375 kB / 465.3 MB, free: 31.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4962, allocations: 0 / 465.3 MB, free: 31.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.4962, allocations: 2.875 kB / 465.3 MB, free: 31.86 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0005593/0.4968, allocations: 0.5281 MB / 465.8 MB, free: 31.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.4969, allocations: 9.438 kB / 465.8 MB, free: 31.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007579/0.4976, allocations: 200.7 kB / 466 MB, free: 31.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.03e-05/0.4977, allocations: 190 kB / 466.2 MB, free: 31.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.4978, allocations: 22.55 kB / 466.3 MB, free: 31.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.4978, allocations: 26.97 kB / 466.3 MB, free: 31.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004981/0.4983, allocations: 333.2 kB / 466.6 MB, free: 31.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.4983, allocations: 0 / 466.6 MB, free: 31.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.4983, allocations: 10.91 kB / 466.6 MB, free: 31.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.4984, allocations: 9.875 kB / 466.6 MB, free: 31.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003064/0.4987, allocations: 261.8 kB / 466.9 MB, free: 31.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.5001, allocations: 2.125 MB / 469 MB, free: 29.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.5002, allocations: 132.3 kB / 469.1 MB, free: 29.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.5003, allocations: 106.3 kB / 469.2 MB, free: 29.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000528/0.5009, allocations: 0.6863 MB / 469.9 MB, free: 28.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.5009, allocations: 49.12 kB / 470 MB, free: 28.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.473e-06/0.5009, allocations: 3.938 kB / 470 MB, free: 28.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003878/0.5013, allocations: 182.6 kB / 470.2 MB, free: 28.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.5014, allocations: 77.11 kB / 470.2 MB, free: 28.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.398e-05/0.5014, allocations: 107.4 kB / 470.3 MB, free: 28.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.5015, allocations: 25.7 kB / 470.4 MB, free: 28.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.538e-05/0.5015, allocations: 158.1 kB / 470.5 MB, free: 28.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.979e-05/0.5016, allocations: 101.4 kB / 470.6 MB, free: 27.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.511e-06/0.5016, allocations: 6.562 kB / 470.6 MB, free: 27.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.83e-05/0.5016, allocations: 324.4 kB / 470.9 MB, free: 27.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.531e-05/0.5017, allocations: 33.56 kB / 471 MB, free: 27.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.15e-05/0.5018, allocations: 83.59 kB / 471 MB, free: 27.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.553e-05/0.5019, allocations: 61.58 kB / 471.1 MB, free: 27.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5019, allocations: 3.953 kB / 471.1 MB, free: 27.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000199/0.5021, allocations: 157.5 kB / 471.3 MB, free: 27.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.5021, allocations: 4.031 kB / 471.3 MB, free: 27.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.5021, allocations: 3.25 kB / 471.3 MB, free: 27.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.5021, allocations: 0 / 471.3 MB, free: 27.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.54e-05/0.5022, allocations: 16.36 kB / 471.3 MB, free: 27.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.5022, allocations: 0 / 471.3 MB, free: 27.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.5023, allocations: 32.31 kB / 471.3 MB, free: 27.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.5024, allocations: 5.094 kB / 471.3 MB, free: 27.49 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: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * 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.0001029/0.5025, allocations: 131.7 kB / 471.5 MB, free: 27.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.712e-05/0.5025, allocations: 16.95 kB / 471.5 MB, free: 27.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004797/0.503, allocations: 420 kB / 471.9 MB, free: 27.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003257/0.5034, allocations: 331.7 kB / 472.2 MB, free: 27.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.5034, allocations: 0 / 472.2 MB, free: 27.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.5034, allocations: 11.06 kB / 472.2 MB, free: 27.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.5044, allocations: 1.025 MB / 473.2 MB, free: 26.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.5044, allocations: 3.531 kB / 473.2 MB, free: 26.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.5046, allocations: 49.08 kB / 473.3 MB, free: 26.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.5046, allocations: 7.031 kB / 473.3 MB, free: 26.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.5046, allocations: 11.16 kB / 473.3 MB, free: 26.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.5046, allocations: 0 / 473.3 MB, free: 26.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5046, allocations: 0 / 473.3 MB, free: 26.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003967/0.505, allocations: 0.4884 MB / 473.8 MB, free: 26.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.221e-05/0.5051, allocations: 103.4 kB / 473.9 MB, free: 26.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.5051, allocations: 9.984 kB / 473.9 MB, free: 26.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.5053, allocations: 51.81 kB / 474 MB, free: 26.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.5054, allocations: 28.73 kB / 474 MB, free: 26.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.5054, allocations: 10.19 kB / 474 MB, free: 26.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.101e-05/0.5054, allocations: 81.56 kB / 474.1 MB, free: 26.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5054, allocations: 0 / 474.1 MB, free: 26.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004706/0.5059, allocations: 105 kB / 474.2 MB, free: 26.13 MB / 350.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: 4 (state1.phase,$cse2.phase,state2.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * 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.0004018/0.5063, allocations: 192.5 kB / 474.4 MB, free: 26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003649/0.5067, allocations: 308.8 kB / 474.7 MB, free: 25.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.5067, allocations: 0 / 474.7 MB, free: 25.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.5069, allocations: 166.2 kB / 474.8 MB, free: 25.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008889/0.5077, allocations: 163.5 kB / 475 MB, free: 25.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009852/0.5087, allocations: 0.8491 MB / 475.8 MB, free: 24.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.5091, allocations: 0.8026 MB / 476.6 MB, free: 23.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.713e-05/0.5091, allocations: 27.44 kB / 476.7 MB, free: 23.84 MB / 350.1 MB Notification: Performance of SimCode: time 4.6e-07/0.5091, allocations: 0 / 476.7 MB, free: 23.84 MB / 350.1 MB Notification: Performance of Templates: time 0.006577/0.5157, allocations: 3.556 MB / 480.2 MB, free: 21.73 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.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.TestStatesTranscriticalCalcHelperMain.o OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscriticalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscriticalCalcHelperMain.o] Error 1