Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.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) 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(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MixtureGases") translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 97.03 kB / 17.95 MB, free: 5.766 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.001886/0.001886, allocations: 180.2 kB / 18.86 MB, free: 4.902 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.944/1.944, allocations: 205.4 MB / 225 MB, free: 13.07 MB / 190.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.0006987/0.000699, allocations: 16 kB / 282 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1423, allocations: 47.58 MB / 329.6 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.5127/0.6551, allocations: 150.1 MB / 479.7 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004075/0.6592, allocations: 3.1 MB / 482.8 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.6593, allocations: 0 / 482.8 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005166/0.6599, allocations: 103.6 kB / 482.9 MB, free: 484 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002807/0.6627, allocations: 1.095 MB / 484 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.6637, allocations: 347.9 kB / 484.3 MB, free: 15.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008727/0.6646, allocations: 0.6194 MB / 485 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.382e-05/0.6647, allocations: 17.55 kB / 485 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004876/0.6652, allocations: 211.2 kB / 485.2 MB, free: 14.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002906/0.6655, allocations: 159.5 kB / 485.3 MB, free: 14.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.694e-05/0.6656, allocations: 12 kB / 485.4 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005094/0.6707, allocations: 2.486 MB / 487.8 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001817/0.6709, allocations: 127.6 kB / 488 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002606/0.6711, allocations: 185.1 kB / 488.1 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002406/0.6736, allocations: 1.243 MB / 489.4 MB, free: 9.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/0.6736, allocations: 0 / 489.4 MB, free: 9.969 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.6736, allocations: 0 / 489.4 MB, free: 9.969 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.6736, allocations: 0 / 489.4 MB, free: 9.969 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002311/0.6759, allocations: 0.7027 MB / 490.1 MB, free: 9.219 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.687e-05/0.676, allocations: 8.031 kB / 490.1 MB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002455/0.6785, allocations: 260.3 kB / 490.4 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004381/0.6789, allocations: 295.8 kB / 490.6 MB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.6789, allocations: 20.5 kB / 490.7 MB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.487e-05/0.679, allocations: 28 kB / 490.7 MB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.6804, allocations: 0.6667 MB / 491.4 MB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.6805, allocations: 0 / 491.4 MB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.58e-05/0.6806, allocations: 12 kB / 491.4 MB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.761e-05/0.6806, allocations: 24.38 kB / 491.4 MB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.6824, allocations: 0.7628 MB / 492.2 MB, free: 7.102 MB / 382.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.004053/0.6864, allocations: 1.811 MB / 494 MB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.6877, allocations: 480.7 kB / 494.4 MB, free: 4.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006414/0.6884, allocations: 230.1 kB / 494.7 MB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00256/0.691, allocations: 1.383 MB / 496 MB, free: 2.871 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.691, allocations: 34.56 kB / 496.1 MB, free: 2.828 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.474e-06/0.691, allocations: 0 / 496.1 MB, free: 2.828 MB / 382.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: medium1.T Please use -d=bltdump for more information. 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: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.0137/0.7047, allocations: 3.636 MB / 499.7 MB, free: 14.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.7048, allocations: 81.11 kB / 499.8 MB, free: 14.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.705, allocations: 178.5 kB / 500 MB, free: 14.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.456e-05/0.7051, allocations: 33.7 kB / 500 MB, free: 14.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.7052, allocations: 180.1 kB / 0.4885 GB, free: 14.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.7054, allocations: 177.5 kB / 0.4886 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.926e-05/0.7055, allocations: 53.7 kB / 0.4887 GB, free: 14.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.7057, allocations: 338.8 kB / 0.489 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007675/0.7065, allocations: 265.1 kB / 0.4892 GB, free: 13.65 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009042/0.7074, allocations: 433.4 kB / 0.4897 GB, free: 13.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/0.7091, allocations: 0.703 MB / 0.4903 GB, free: 12.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.7091, allocations: 0 / 0.4903 GB, free: 12.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002027/0.7112, allocations: 0.7844 MB / 0.4911 GB, free: 11.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.7112, allocations: 4 kB / 0.4911 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.7112, allocations: 8 kB / 0.4911 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002369/0.7115, allocations: 53.69 kB / 0.4912 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.7127, allocations: 187.7 kB / 0.4914 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008482/0.7135, allocations: 1.077 MB / 0.4924 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007985/0.7143, allocations: 48.14 kB / 0.4925 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.489e-05/0.7144, allocations: 35.98 kB / 0.4925 GB, free: 10.13 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0003227/0.7148, allocations: 177.6 kB / 0.4927 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.7149, allocations: 27.72 kB / 0.4927 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002388/0.7173, allocations: 0.785 MB / 0.4934 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.7173, allocations: 11.94 kB / 0.4935 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.7173, allocations: 0 / 0.4935 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.7173, allocations: 3.984 kB / 0.4935 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003455/0.7208, allocations: 1.547 MB / 0.495 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.984e-06/0.7208, allocations: 4.031 kB / 0.495 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.7219, allocations: 147.8 kB / 0.4951 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001322/0.7221, allocations: 45.62 kB / 0.4952 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.66e-05/0.7221, allocations: 27.91 kB / 0.4952 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002042/0.7242, allocations: 2.536 MB / 0.4977 GB, free: 4.441 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.7242, allocations: 7.969 kB / 0.4977 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002652/0.7269, allocations: 1.075 MB / 0.4987 GB, free: 3.316 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.894e-05/0.727, allocations: 100.8 kB / 0.4988 GB, free: 3.199 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.567e-05/0.7271, allocations: 20.03 kB / 0.4988 GB, free: 3.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000797/0.7279, allocations: 43.89 kB / 0.4989 GB, free: 3.137 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.061e-05/0.7279, allocations: 35.95 kB / 0.4989 GB, free: 3.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.683e-05/0.728, allocations: 35.97 kB / 0.499 GB, free: 3.066 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000119/0.7282, allocations: 132.3 kB / 0.4991 GB, free: 2.938 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.7282, allocations: 0 / 0.4991 GB, free: 2.938 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001961/0.7301, allocations: 403.8 kB / 0.4995 GB, free: 2.543 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 2 systems {(1,1,100.0%), (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.002714/0.7329, allocations: 0.8576 MB / 0.5003 GB, free: 1.672 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001988/0.7349, allocations: 0.6634 MB / 0.5009 GB, free: 1.008 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.7349, allocations: 384 / 0.5009 GB, free: 1.008 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.736, allocations: 0.5327 MB / 0.5015 GB, free: 460 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008387/0.7369, allocations: 101.9 kB / 0.5016 GB, free: 360 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.7394, allocations: 1.242 MB / 0.5028 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004685/0.7399, allocations: 0.7813 MB / 0.5035 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000427/0.7403, allocations: 79.38 kB / 0.5036 GB, free: 14.16 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.7403, allocations: 0 / 0.5036 GB, free: 14.16 MB / 414.1 MB Notification: Performance of Templates: time 0.02524/0.7656, allocations: 14.59 MB / 0.5179 GB, free: 15.55 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.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 OMCppModelica_3.2.3_Modelica.Media.Examples.MixtureGasesCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.MixtureGasesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.MixtureGasesCalcHelperMain.o] Error 1