Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001187, allocations: 94.66 kB / 16.67 MB, free: 6.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 175.8 kB / 17.57 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.011/2.011, allocations: 205.4 MB / 223.8 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2704/0.2704, allocations: 43.59 MB / 315.6 MB, free: 432 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006225/0.0006227, allocations: 18.38 kB / 385.2 MB, free: 56.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1624, allocations: 58.87 MB / 444.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.6214/0.7839, allocations: 146.7 MB / 0.5769 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.7856, allocations: 1.53 MB / 0.5784 GB, free: 12.56 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.542e-05/0.7857, allocations: 0 / 0.5784 GB, free: 12.56 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002057/0.7859, allocations: 48 kB / 0.5785 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007257/0.7866, allocations: 352.1 kB / 0.5788 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.7871, allocations: 147.5 kB / 0.579 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.7874, allocations: 249 kB / 0.5792 GB, free: 12.42 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.791e-05/0.7874, allocations: 9.625 kB / 0.5792 GB, free: 12.42 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.7875, allocations: 70.16 kB / 0.5793 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.7877, allocations: 63.02 kB / 0.5793 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.7877, allocations: 3.562 kB / 0.5793 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009884/0.7887, allocations: 0.6743 MB / 0.58 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.86e-05/0.7887, allocations: 31.02 kB / 0.58 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.75e-05/0.7888, allocations: 73.34 kB / 0.5801 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003425/0.7892, allocations: 278.6 kB / 0.5804 GB, free: 12.19 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.7892, allocations: 7.938 kB / 0.5804 GB, free: 12.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.7892, allocations: 0 / 0.5804 GB, free: 12.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.826e-06/0.7892, allocations: 3.094 kB / 0.5804 GB, free: 12.18 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004462/0.7897, allocations: 410.6 kB / 0.5808 GB, free: 11.78 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.727e-05/0.7897, allocations: 12.95 kB / 0.5808 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00212/0.7918, allocations: 189.3 kB / 0.581 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.792, allocations: 200 kB / 0.5811 GB, free: 11.49 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.7921, allocations: 12.31 kB / 0.5812 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.7921, allocations: 9.531 kB / 0.5812 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004226/0.7925, allocations: 200.8 kB / 0.5814 GB, free: 11.4 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.7926, allocations: 3.938 kB / 0.5814 GB, free: 11.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/0.7926, allocations: 8.859 kB / 0.5814 GB, free: 11.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.7926, allocations: 3.438 kB / 0.5814 GB, free: 11.4 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005342/0.7931, allocations: 242.8 kB / 0.5816 GB, free: 11.35 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.7948, allocations: 0.6727 MB / 0.5823 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/0.7952, allocations: 192.8 kB / 0.5824 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.7954, allocations: 92.86 kB / 0.5825 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001406/0.7956, allocations: 87.06 kB / 0.5826 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.7956, allocations: 40.86 kB / 0.5827 GB, free: 10.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.7956, allocations: 0 / 0.5827 GB, free: 10.66 MB / 430.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005459/0.8011, allocations: 1.536 MB / 0.5842 GB, free: 9.879 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.8011, allocations: 54.38 kB / 0.5842 GB, free: 9.816 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.966e-05/0.8012, allocations: 108.4 kB / 0.5843 GB, free: 9.715 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.678e-05/0.8013, allocations: 33.2 kB / 0.5843 GB, free: 9.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.782e-05/0.8013, allocations: 98.61 kB / 0.5844 GB, free: 9.586 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.317e-05/0.8014, allocations: 72.34 kB / 0.5845 GB, free: 9.535 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/0.8015, allocations: 23.23 kB / 0.5845 GB, free: 9.516 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.8016, allocations: 317.9 kB / 0.5848 GB, free: 9.203 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.8018, allocations: 96.77 kB / 0.5849 GB, free: 9.188 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.802, allocations: 129.2 kB / 0.585 GB, free: 9.133 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004216/0.8025, allocations: 221.1 kB / 0.5853 GB, free: 9.086 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.8025, allocations: 0 / 0.5853 GB, free: 9.086 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005855/0.8031, allocations: 287.9 kB / 0.5855 GB, free: 9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.8031, allocations: 5.188 kB / 0.5855 GB, free: 9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.8031, allocations: 2.844 kB / 0.5855 GB, free: 9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001224/0.8032, allocations: 23.28 kB / 0.5856 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004448/0.8037, allocations: 61.3 kB / 0.5856 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003499/0.804, allocations: 0.5296 MB / 0.5861 GB, free: 8.449 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/0.8043, allocations: 21.39 kB / 0.5862 GB, free: 8.438 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.8044, allocations: 7.969 kB / 0.5862 GB, free: 8.438 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.8045, allocations: 138.9 kB / 0.5863 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.726e-05/0.8046, allocations: 8.719 kB / 0.5863 GB, free: 8.301 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007131/0.8053, allocations: 319.4 kB / 0.5866 GB, free: 8.184 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.8053, allocations: 4.312 kB / 0.5866 GB, free: 8.184 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.8053, allocations: 7.938 kB / 0.5866 GB, free: 8.176 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.8053, allocations: 0 / 0.5866 GB, free: 8.176 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.8063, allocations: 0.6743 MB / 0.5873 GB, free: 7.738 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.8064, allocations: 0 / 0.5873 GB, free: 7.738 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004222/0.8068, allocations: 54.67 kB / 0.5873 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.897e-05/0.8069, allocations: 20.12 kB / 0.5874 GB, free: 7.711 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.614e-05/0.8069, allocations: 6.828 kB / 0.5874 GB, free: 7.707 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009343/0.8079, allocations: 1.271 MB / 0.5886 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.8079, allocations: 3.312 kB / 0.5886 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007987/0.8087, allocations: 454.2 kB / 0.589 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-05/0.8087, allocations: 85.83 kB / 0.5891 GB, free: 6.098 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.8088, allocations: 5.281 kB / 0.5891 GB, free: 6.098 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003405/0.8091, allocations: 17.92 kB / 0.5891 GB, free: 6.09 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.841e-05/0.8092, allocations: 11.89 kB / 0.5892 GB, free: 6.086 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/0.8092, allocations: 17.39 kB / 0.5892 GB, free: 6.078 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.53e-05/0.8093, allocations: 87.95 kB / 0.5893 GB, free: 6 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8093, allocations: 7.875 kB / 0.5893 GB, free: 5.992 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005581/0.8098, allocations: 132.5 kB / 0.5894 GB, free: 5.973 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0006393/0.8105, allocations: 249.2 kB / 0.5896 GB, free: 5.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005722/0.8111, allocations: 229 kB / 0.5898 GB, free: 5.789 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.8111, allocations: 4.125 kB / 0.5898 GB, free: 5.785 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003664/0.8115, allocations: 238.5 kB / 0.5901 GB, free: 5.645 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.8119, allocations: 50.55 kB / 0.5901 GB, free: 5.625 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009034/0.8128, allocations: 0.6143 MB / 0.5907 GB, free: 5.156 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.8132, allocations: 0.7117 MB / 0.5914 GB, free: 4.445 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.8134, allocations: 22.3 kB / 0.5914 GB, free: 4.438 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.8134, allocations: 2.812 kB / 0.5914 GB, free: 4.438 MB / 430.1 MB Notification: Performance of Templates: time 0.007827/0.8212, allocations: 5.089 MB / 0.5964 GB, free: 1.773 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2MixCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2MixCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2MixCalcHelperMain.o] Error 1