Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.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.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, 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.001084/0.001084, allocations: 194.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.367/1.367, allocations: 222.9 MB / 240.5 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1437/0.1437, allocations: 2.766 MB / 293.4 MB, free: 3.84 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 63.91 kB / 354.4 MB, free: 5.066 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09797/0.09908, allocations: 50.22 MB / 404.6 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.2616/0.3607, allocations: 82.42 MB / 487 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03645/0.3972, allocations: 40.55 MB / 0.5152 GB, free: 388 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00143/0.3987, allocations: 4.312 kB / 0.5152 GB, free: 388 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003641/0.4024, allocations: 1.153 MB / 0.5163 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02679/0.4292, allocations: 6.398 MB / 0.5226 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.4306, allocations: 257.4 kB / 0.5228 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002449/0.4331, allocations: 1.316 MB / 0.5241 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002235/0.4333, allocations: 110.9 kB / 0.5242 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005002/0.4338, allocations: 411.5 kB / 0.5246 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006753/0.4345, allocations: 0.4895 MB / 0.5251 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.143e-05/0.4346, allocations: 24 kB / 0.5251 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.463/2.898, allocations: 152.4 MB / 0.674 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002748/2.898, allocations: 136.3 kB / 0.6741 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001447/2.9, allocations: 0.5798 MB / 0.6747 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003426/2.903, allocations: 1.916 MB / 0.6765 GB, free: 9.355 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/2.903, allocations: 0 / 0.6765 GB, free: 9.355 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.012e-06/2.903, allocations: 0 / 0.6765 GB, free: 9.355 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.647e-05/2.903, allocations: 4 kB / 0.6765 GB, free: 9.352 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.001763/2.905, allocations: 1.579 MB / 0.6781 GB, free: 8.023 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/2.905, allocations: 8.031 kB / 0.6781 GB, free: 8.016 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004423/2.909, allocations: 1.205 MB / 0.6793 GB, free: 7.258 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/2.91, allocations: 293.8 kB / 0.6796 GB, free: 6.977 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.766e-05/2.91, allocations: 77.12 kB / 0.6796 GB, free: 6.938 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/2.91, allocations: 87.62 kB / 0.6797 GB, free: 6.879 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/2.912, allocations: 1.704 MB / 0.6814 GB, free: 5.871 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/2.912, allocations: 3.938 kB / 0.6814 GB, free: 5.867 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.367e-05/2.912, allocations: 38.38 kB / 0.6814 GB, free: 5.859 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.945e-05/2.912, allocations: 70.5 kB / 0.6815 GB, free: 5.816 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001501/2.913, allocations: 1.61 MB / 0.6831 GB, free: 4.945 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005454/2.919, allocations: 8.595 MB / 0.6914 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008735/2.92, allocations: 0.7618 MB / 0.6922 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006916/2.92, allocations: 0.7495 MB / 0.6929 GB, free: 11.85 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001998/2.922, allocations: 2.344 MB / 0.6952 GB, free: 9.641 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/2.922, allocations: 41.53 kB / 0.6952 GB, free: 9.598 MB / 462.1 MB Notification: Performance of pre-optimization done (n=182): time 2.104e-06/2.922, allocations: 4 kB / 0.6953 GB, free: 9.594 MB / 462.1 MB Notification: Performance of matching and sorting (n=182): time 0.001846/2.924, allocations: 1.506 MB / 0.6967 GB, free: 8.652 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/2.924, allocations: 81.11 kB / 0.6968 GB, free: 8.555 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/2.925, allocations: 136.7 kB / 0.6969 GB, free: 8.426 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/2.925, allocations: 25.7 kB / 0.697 GB, free: 8.395 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/2.925, allocations: 401.9 kB / 0.6973 GB, free: 8.023 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003489/2.925, allocations: 0.5634 MB / 0.6979 GB, free: 7.523 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/2.925, allocations: 139.7 kB / 0.698 GB, free: 7.418 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.976e-05/2.925, allocations: 310 kB / 0.6983 GB, free: 7.109 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003922/2.926, allocations: 336.4 kB / 0.6986 GB, free: 6.965 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005737/2.926, allocations: 498.3 kB / 0.6991 GB, free: 6.645 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/2.928, allocations: 1.024 MB / 0.7001 GB, free: 5.773 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/2.928, allocations: 0 / 0.7001 GB, free: 5.773 MB / 462.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001423/2.929, allocations: 1.057 MB / 0.7011 GB, free: 4.734 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/2.929, allocations: 8 kB / 0.7012 GB, free: 4.727 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/2.929, allocations: 4 kB / 0.7012 GB, free: 4.723 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/2.929, allocations: 4 kB / 0.7012 GB, free: 4.719 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/2.929, allocations: 31.55 kB / 0.7012 GB, free: 4.691 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/2.929, allocations: 7.938 kB / 0.7012 GB, free: 4.684 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004828/2.93, allocations: 131.1 kB / 0.7013 GB, free: 4.555 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-05/2.93, allocations: 24 kB / 0.7013 GB, free: 4.531 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 10 (completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,state2.phase,state1.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000298/2.93, allocations: 221.8 kB / 0.7016 GB, free: 4.312 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/2.93, allocations: 55.17 kB / 0.7016 GB, free: 4.258 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003241/2.933, allocations: 3.065 MB / 0.7046 GB, free: 1.16 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001918/2.935, allocations: 1.842 MB / 0.7064 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/2.935, allocations: 0 / 0.7064 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/2.935, allocations: 11.97 kB / 0.7064 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004846/2.94, allocations: 4.568 MB / 0.7109 GB, free: 10.78 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/2.94, allocations: 0 / 0.7109 GB, free: 10.78 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006105/2.941, allocations: 238.3 kB / 0.7111 GB, free: 10.56 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.194e-05/2.941, allocations: 11.98 kB / 0.7111 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.497e-05/2.941, allocations: 28 kB / 0.7111 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.397e-06/2.941, allocations: 15.94 kB / 0.7112 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/2.941, allocations: 3.938 kB / 0.7112 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/2.943, allocations: 1.955 MB / 0.7131 GB, free: 8.496 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00021/2.943, allocations: 230.9 kB / 0.7133 GB, free: 8.25 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.559e-05/2.943, allocations: 35.84 kB / 0.7133 GB, free: 8.215 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006339/2.944, allocations: 154.9 kB / 0.7135 GB, free: 8.062 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/2.944, allocations: 97.47 kB / 0.7136 GB, free: 7.969 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.536e-05/2.944, allocations: 44 kB / 0.7136 GB, free: 7.926 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002104/2.944, allocations: 223.1 kB / 0.7138 GB, free: 7.707 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/2.944, allocations: 0 / 0.7138 GB, free: 7.707 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001008/2.945, allocations: 466.8 kB / 0.7143 GB, free: 7.25 MB / 478.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: 20 (state1.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase,$cse8.phase,$cse9.phase,$cse10.phase,$cse11.phase,$cse12.phase,state2.phase,completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,$cse2.phase,$cse3.phase,$cse4.phase,$cse5.phase,$cse6.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009613/2.946, allocations: 0.5711 MB / 0.7148 GB, free: 6.773 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001944/2.948, allocations: 2.045 MB / 0.7168 GB, free: 4.594 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/2.948, allocations: 4.062 kB / 0.7168 GB, free: 4.59 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009548/2.949, allocations: 0.9362 MB / 0.7177 GB, free: 3.684 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004032/2.953, allocations: 0.9032 MB / 0.7186 GB, free: 2.781 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004198/2.958, allocations: 4.033 MB / 0.7226 GB, free: 14.81 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008343/2.958, allocations: 1.324 MB / 0.7238 GB, free: 13.45 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/2.959, allocations: 99.44 kB / 0.7239 GB, free: 13.35 MB / 494.1 MB Notification: Performance of SimCode: time 8.02e-07/2.959, allocations: 0 / 0.7239 GB, free: 13.35 MB / 494.1 MB Notification: Performance of Templates: time 0.02363/2.982, allocations: 19.27 MB / 0.7428 GB, free: 10.3 MB / 0.4981 GB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.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.TestStatesSatSubcriticalCalcHelperMain.o OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcriticalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcriticalCalcHelperMain.o] Error 1