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.001764/0.001764, allocations: 102.1 kB / 16.52 MB, free: 6.668 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.001723/0.001723, allocations: 199.7 kB / 17.44 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.987/1.987, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.2468/0.2468, allocations: 43.51 MB / 314.1 MB, free: 0.7734 MB / 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.001552/0.001552, allocations: 65 kB / 382.7 MB, free: 57.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1562, allocations: 57.81 MB / 440.5 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.6325/0.7888, allocations: 148.6 MB / 0.5753 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.791, allocations: 1.535 MB / 0.5768 GB, free: 12.31 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.032e-05/0.7911, allocations: 1.094 kB / 0.5768 GB, free: 12.31 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004537/0.7915, allocations: 51.52 kB / 0.5768 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001054/0.7927, allocations: 351 kB / 0.5772 GB, free: 12.22 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000578/0.7933, allocations: 158.1 kB / 0.5773 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003329/0.7936, allocations: 239.5 kB / 0.5775 GB, free: 12.17 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.103e-05/0.7937, allocations: 9.125 kB / 0.5775 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.7938, allocations: 70.2 kB / 0.5776 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.794, allocations: 58.22 kB / 0.5777 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.794, allocations: 9.156 kB / 0.5777 GB, free: 12.15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/0.7953, allocations: 0.6796 MB / 0.5783 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.893e-05/0.7954, allocations: 27.11 kB / 0.5784 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.718e-05/0.7955, allocations: 46.83 kB / 0.5784 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005171/0.796, allocations: 288 kB / 0.5787 GB, free: 12.06 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.796, allocations: 1.781 kB / 0.5787 GB, free: 12.06 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.796, allocations: 0 / 0.5787 GB, free: 12.06 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.796, allocations: 0 / 0.5787 GB, free: 12.06 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.0008132/0.7968, allocations: 432.3 kB / 0.5791 GB, free: 11.67 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.413e-05/0.7969, allocations: 9.75 kB / 0.5791 GB, free: 11.67 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002237/0.7992, allocations: 189.8 kB / 0.5793 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.7995, allocations: 212 kB / 0.5795 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.7995, allocations: 9 kB / 0.5795 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.759e-05/0.7995, allocations: 8.625 kB / 0.5795 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005354/0.8001, allocations: 207.9 kB / 0.5797 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.8001, allocations: 3.531 kB / 0.5797 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/0.8001, allocations: 9.75 kB / 0.5797 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.8002, allocations: 2.938 kB / 0.5797 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005821/0.8007, allocations: 240.4 kB / 0.58 GB, free: 11.41 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.001772/0.8025, allocations: 0.6718 MB / 0.5806 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.803, allocations: 185.4 kB / 0.5808 GB, free: 10.9 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.8032, allocations: 101.8 kB / 0.5809 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/0.8034, allocations: 91.45 kB / 0.581 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.8034, allocations: 38.12 kB / 0.581 GB, free: 10.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 2.675e-06/0.8034, allocations: 0 / 0.581 GB, free: 10.73 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.005791/0.8092, allocations: 1.527 MB / 0.5825 GB, free: 9.949 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.8093, allocations: 54.19 kB / 0.5826 GB, free: 9.887 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.953e-05/0.8094, allocations: 113.2 kB / 0.5827 GB, free: 9.785 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.8095, allocations: 25.7 kB / 0.5827 GB, free: 9.754 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.819e-05/0.8096, allocations: 101.6 kB / 0.5828 GB, free: 9.656 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.433e-05/0.8096, allocations: 65.48 kB / 0.5828 GB, free: 9.609 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.8097, allocations: 50.34 kB / 0.5829 GB, free: 9.582 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.8099, allocations: 316.4 kB / 0.5832 GB, free: 9.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.8101, allocations: 92.06 kB / 0.5833 GB, free: 9.254 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.8104, allocations: 124.4 kB / 0.5834 GB, free: 9.207 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004548/0.8108, allocations: 231.3 kB / 0.5836 GB, free: 9.152 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.8108, allocations: 0 / 0.5836 GB, free: 9.152 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006121/0.8115, allocations: 289.5 kB / 0.5839 GB, free: 9.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.8115, allocations: 5.156 kB / 0.5839 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.8115, allocations: 3.938 kB / 0.5839 GB, free: 9.066 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001377/0.8116, allocations: 24.88 kB / 0.5839 GB, free: 9.055 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004512/0.8121, allocations: 52.3 kB / 0.584 GB, free: 9.043 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004511/0.8126, allocations: 0.5375 MB / 0.5845 GB, free: 8.512 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.8129, allocations: 18.59 kB / 0.5845 GB, free: 8.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.575e-05/0.8129, allocations: 8.844 kB / 0.5845 GB, free: 8.504 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.0001748/0.8131, allocations: 136 kB / 0.5847 GB, free: 8.375 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.302e-05/0.8132, allocations: 12.73 kB / 0.5847 GB, free: 8.367 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008086/0.814, allocations: 318.3 kB / 0.585 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.814, allocations: 1.875 kB / 0.585 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.814, allocations: 3.938 kB / 0.585 GB, free: 8.246 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.814, allocations: 0 / 0.585 GB, free: 8.246 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.8152, allocations: 0.6767 MB / 0.5856 GB, free: 7.809 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.8152, allocations: 0 / 0.5856 GB, free: 7.809 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004403/0.8157, allocations: 53.45 kB / 0.5857 GB, free: 7.793 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001457/0.8158, allocations: 24.56 kB / 0.5857 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.8159, allocations: 9.672 kB / 0.5857 GB, free: 7.773 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/0.817, allocations: 1.272 MB / 0.587 GB, free: 6.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.817, allocations: 2.406 kB / 0.587 GB, free: 6.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008975/0.8179, allocations: 456.4 kB / 0.5874 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.268e-05/0.818, allocations: 84.02 kB / 0.5875 GB, free: 6.164 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.971e-05/0.818, allocations: 9.734 kB / 0.5875 GB, free: 6.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003265/0.8184, allocations: 12.73 kB / 0.5875 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.8184, allocations: 15.23 kB / 0.5875 GB, free: 6.148 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.8184, allocations: 15.33 kB / 0.5875 GB, free: 6.145 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.153e-05/0.8185, allocations: 82.12 kB / 0.5876 GB, free: 6.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8185, allocations: 3.938 kB / 0.5876 GB, free: 6.066 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005928/0.8191, allocations: 135.2 kB / 0.5877 GB, free: 6.043 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.0007072/0.8198, allocations: 255.5 kB / 0.588 GB, free: 5.891 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006189/0.8205, allocations: 226.6 kB / 0.5882 GB, free: 5.855 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.8205, allocations: 0 / 0.5882 GB, free: 5.855 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004362/0.8209, allocations: 237.5 kB / 0.5884 GB, free: 5.715 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000489/0.8214, allocations: 52.48 kB / 0.5885 GB, free: 5.695 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009908/0.8224, allocations: 0.5318 MB / 0.589 GB, free: 5.301 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.8228, allocations: 0.7135 MB / 0.5897 GB, free: 4.586 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.823, allocations: 27.52 kB / 0.5897 GB, free: 4.578 MB / 430.1 MB Notification: Performance of SimCode: time 2.515e-06/0.823, allocations: 6.406 kB / 0.5897 GB, free: 4.574 MB / 430.1 MB Notification: Performance of Templates: time 0.009652/0.8326, allocations: 5.104 MB / 0.5947 GB, free: 1.895 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