Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001348/0.001348, allocations: 92.11 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001839/0.001839, allocations: 192.5 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.053/2.053, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003617, allocations: 7.984 kB / 307.3 MB, free: 1.43 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1504, allocations: 51.49 MB / 358.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.5086/0.659, allocations: 138.4 MB / 497.2 MB, free: 2.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005152/0.6642, allocations: 3.765 MB / 0.4893 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.6645, allocations: 0 / 0.4893 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004867/0.665, allocations: 75.55 kB / 0.4893 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00287/0.6679, allocations: 0.801 MB / 0.4901 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.6689, allocations: 286.8 kB / 0.4904 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007955/0.6697, allocations: 0.5182 MB / 0.4909 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.936e-05/0.6698, allocations: 13.55 kB / 0.4909 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004618/0.6703, allocations: 203.3 kB / 0.4911 GB, free: 12.87 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002907/0.6706, allocations: 163.5 kB / 0.4912 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/0.6706, allocations: 12 kB / 0.4913 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004111/0.6747, allocations: 1.582 MB / 0.4928 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002328/0.675, allocations: 139.6 kB / 0.4929 GB, free: 10.97 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.6751, allocations: 81.58 kB / 0.493 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002254/0.6774, allocations: 0.9251 MB / 0.4939 GB, free: 9.961 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.6774, allocations: 0 / 0.4939 GB, free: 9.961 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.779e-06/0.6774, allocations: 4 kB / 0.4939 GB, free: 9.957 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.6775, allocations: 0 / 0.4939 GB, free: 9.957 MB / 414.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.002439/0.6799, allocations: 0.6986 MB / 0.4946 GB, free: 9.211 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/0.68, allocations: 8.031 kB / 0.4946 GB, free: 9.203 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002128/0.6821, allocations: 263.4 kB / 0.4949 GB, free: 8.945 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000433/0.6826, allocations: 290.6 kB / 0.4951 GB, free: 8.621 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.6826, allocations: 16.56 kB / 0.4952 GB, free: 8.605 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.633e-05/0.6827, allocations: 31.91 kB / 0.4952 GB, free: 8.574 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.6842, allocations: 0.671 MB / 0.4958 GB, free: 7.891 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.6842, allocations: 0 / 0.4958 GB, free: 7.891 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.391e-05/0.6843, allocations: 12 kB / 0.4959 GB, free: 7.879 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.833e-05/0.6843, allocations: 20.42 kB / 0.4959 GB, free: 7.859 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.686, allocations: 0.7594 MB / 0.4966 GB, free: 7.098 MB / 414.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.004078/0.6901, allocations: 1.801 MB / 0.4984 GB, free: 5.203 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.6914, allocations: 483.5 kB / 0.4988 GB, free: 4.715 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006155/0.692, allocations: 233.6 kB / 0.4991 GB, free: 4.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002665/0.6947, allocations: 1.364 MB / 0.5004 GB, free: 2.895 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.6948, allocations: 46.48 kB / 0.5004 GB, free: 2.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 3.247e-06/0.6948, allocations: 0 / 0.5004 GB, free: 2.84 MB / 414.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.0134/0.7082, allocations: 3.635 MB / 0.504 GB, free: 15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/0.7083, allocations: 89.09 kB / 0.5041 GB, free: 14.9 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.7085, allocations: 173.1 kB / 0.5042 GB, free: 14.72 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.351e-05/0.7085, allocations: 33.7 kB / 0.5043 GB, free: 14.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.7087, allocations: 184 kB / 0.5044 GB, free: 14.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/0.7089, allocations: 173.5 kB / 0.5046 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.709, allocations: 8 kB / 0.5046 GB, free: 14.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.7091, allocations: 338.8 kB / 0.5049 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007019/0.7098, allocations: 269.1 kB / 0.5052 GB, free: 13.72 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008237/0.7107, allocations: 425.6 kB / 0.5056 GB, free: 13.24 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007766/0.7114, allocations: 298.6 kB / 0.5059 GB, free: 12.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.7114, allocations: 0 / 0.5059 GB, free: 12.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001937/0.7134, allocations: 0.7808 MB / 0.5066 GB, free: 12.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.7134, allocations: 8.625 kB / 0.5067 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.7134, allocations: 7.953 kB / 0.5067 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002355/0.7137, allocations: 61.62 kB / 0.5067 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.7148, allocations: 175.7 kB / 0.5069 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008177/0.7156, allocations: 1.085 MB / 0.5079 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007312/0.7164, allocations: 48.11 kB / 0.508 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-05/0.7165, allocations: 39.97 kB / 0.508 GB, free: 10.68 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003122/0.7168, allocations: 177.8 kB / 0.5082 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.717, allocations: 31.66 kB / 0.5082 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/0.7193, allocations: 0.7784 MB / 0.509 GB, free: 9.676 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.7193, allocations: 12 kB / 0.509 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.7193, allocations: 0 / 0.509 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.7193, allocations: 3.984 kB / 0.509 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003267/0.7226, allocations: 1.55 MB / 0.5105 GB, free: 8.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.7226, allocations: 7.938 kB / 0.5105 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.7236, allocations: 152 kB / 0.5107 GB, free: 7.863 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001352/0.7238, allocations: 41.64 kB / 0.5107 GB, free: 7.816 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.447e-05/0.7239, allocations: 27.97 kB / 0.5107 GB, free: 7.789 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002164/0.726, allocations: 2.54 MB / 0.5132 GB, free: 4.984 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.7261, allocations: 0 / 0.5132 GB, free: 4.984 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002526/0.7286, allocations: 1.072 MB / 0.5143 GB, free: 3.875 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.7287, allocations: 96.83 kB / 0.5144 GB, free: 3.762 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.97e-05/0.7288, allocations: 16 kB / 0.5144 GB, free: 3.746 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007598/0.7296, allocations: 44 kB / 0.5144 GB, free: 3.703 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.363e-05/0.7297, allocations: 43.84 kB / 0.5145 GB, free: 3.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.098e-05/0.7298, allocations: 35.95 kB / 0.5145 GB, free: 3.625 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001381/0.7299, allocations: 123.5 kB / 0.5146 GB, free: 3.504 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7299, allocations: 0 / 0.5146 GB, free: 3.504 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001766/0.7317, allocations: 391.7 kB / 0.515 GB, free: 3.121 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002427/0.7342, allocations: 0.6665 MB / 0.5156 GB, free: 2.441 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00195/0.7361, allocations: 0.6544 MB / 0.5163 GB, free: 1.785 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.7361, allocations: 0 / 0.5163 GB, free: 1.785 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.7373, allocations: 0.5364 MB / 0.5168 GB, free: 1.223 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009256/0.7383, allocations: 97.52 kB / 0.5169 GB, free: 1.129 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.7405, allocations: 1.227 MB / 0.5181 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.741, allocations: 0.7928 MB / 0.5189 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004315/0.7414, allocations: 75.38 kB / 0.5189 GB, free: 14.95 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.7415, allocations: 0 / 0.5189 GB, free: 14.95 MB / 446.1 MB Notification: Performance of Templates: time 0.02527/0.7667, allocations: 14.43 MB / 0.533 GB, free: 0.5117 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.makefile make -j1 -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_Modelica.Media.Examples.MixtureGasesCalcHelperMain.o OMCppModelica_trunk_Modelica.Media.Examples.MixtureGasesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Media.Examples.MixtureGasesCalcHelperMain.o] Error 1