Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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.001128/0.001128, allocations: 89.16 kB / 16.95 MB, free: 5.66 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.001368/0.001368, allocations: 187 kB / 17.85 MB, free: 5.312 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.56/1.56, allocations: 223.2 MB / 241.8 MB, free: 356 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002725/0.0002725, allocations: 8 kB / 301.4 MB, free: 6.496 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.132, allocations: 50.42 MB / 351.9 MB, free: 4.062 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.4732/0.6052, allocations: 138.4 MB / 490.2 MB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00436/0.6096, allocations: 3.753 MB / 494 MB, free: 8.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.6098, allocations: 0 / 494 MB, free: 8.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003856/0.6102, allocations: 75.55 kB / 494.1 MB, free: 8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00227/0.6124, allocations: 0.7971 MB / 494.9 MB, free: 7.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009154/0.6134, allocations: 292.2 kB / 495.1 MB, free: 6.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007104/0.6141, allocations: 0.5143 MB / 495.7 MB, free: 6.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.138e-05/0.6142, allocations: 13.56 kB / 495.7 MB, free: 6.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003877/0.6145, allocations: 207.2 kB / 495.9 MB, free: 6.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002753/0.6148, allocations: 167.5 kB / 496 MB, free: 6.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.6149, allocations: 8 kB / 496 MB, free: 6.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003406/0.6183, allocations: 1.571 MB / 497.6 MB, free: 4.434 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.6185, allocations: 139.6 kB / 497.8 MB, free: 4.297 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.293e-05/0.6186, allocations: 81.58 kB / 497.8 MB, free: 4.211 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.62, allocations: 0.9135 MB / 498.7 MB, free: 3.297 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.62, allocations: 0 / 498.7 MB, free: 3.297 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.62, allocations: 4 kB / 498.8 MB, free: 3.293 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.62, allocations: 0 / 498.8 MB, free: 3.293 MB / 398.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.001865/0.6219, allocations: 0.6986 MB / 499.4 MB, free: 2.547 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.6219, allocations: 8.031 kB / 499.5 MB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002065/0.624, allocations: 263.9 kB / 499.7 MB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.6244, allocations: 286.6 kB / 500 MB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.6244, allocations: 16.56 kB / 0.4883 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-05/0.6245, allocations: 31.91 kB / 0.4883 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.6258, allocations: 0.6709 MB / 0.489 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.6259, allocations: 0 / 0.489 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.912e-05/0.6259, allocations: 15.98 kB / 0.489 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-05/0.626, allocations: 20.44 kB / 0.489 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/0.6276, allocations: 0.7594 MB / 0.4898 GB, free: 448 kB / 398.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.003744/0.6314, allocations: 1.807 MB / 0.4915 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.6326, allocations: 476.4 kB / 0.492 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006292/0.6333, allocations: 229.6 kB / 0.4922 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002632/0.6359, allocations: 1.387 MB / 0.4935 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.937e-05/0.636, allocations: 42.56 kB / 0.4936 GB, free: 12.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 2.935e-06/0.636, allocations: 3.938 kB / 0.4936 GB, free: 12.16 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.01249/0.6485, allocations: 3.633 MB / 0.4971 GB, free: 8.328 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.6486, allocations: 81.11 kB / 0.4972 GB, free: 8.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.6487, allocations: 184 kB / 0.4974 GB, free: 8.043 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.212e-05/0.6488, allocations: 33.7 kB / 0.4974 GB, free: 8.004 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.6489, allocations: 176.1 kB / 0.4976 GB, free: 7.824 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.6491, allocations: 177.5 kB / 0.4978 GB, free: 7.648 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-05/0.6491, allocations: 20 kB / 0.4978 GB, free: 7.629 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.6492, allocations: 334.8 kB / 0.4981 GB, free: 7.293 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006671/0.6499, allocations: 261.1 kB / 0.4983 GB, free: 7.039 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007592/0.6507, allocations: 429.7 kB / 0.4988 GB, free: 6.551 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007161/0.6514, allocations: 304.7 kB / 0.499 GB, free: 6.258 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.6514, allocations: 4 kB / 0.4991 GB, free: 6.254 MB / 414.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001791/0.6532, allocations: 0.7813 MB / 0.4998 GB, free: 5.461 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.6532, allocations: 8 kB / 0.4998 GB, free: 5.453 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.6533, allocations: 4 kB / 0.4998 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002056/0.6535, allocations: 49.69 kB / 0.4999 GB, free: 5.395 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.6545, allocations: 183.8 kB / 0.5001 GB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000633/0.6552, allocations: 1.081 MB / 0.5011 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006665/0.6559, allocations: 52.14 kB / 0.5012 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.459e-05/0.6559, allocations: 35.98 kB / 0.5012 GB, free: 3.996 MB / 414.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.0002281/0.6562, allocations: 173.6 kB / 0.5014 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.6563, allocations: 35.64 kB / 0.5014 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002091/0.6584, allocations: 0.785 MB / 0.5022 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.6584, allocations: 4 kB / 0.5022 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.6584, allocations: 0 / 0.5022 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.6584, allocations: 7.984 kB / 0.5022 GB, free: 2.973 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003011/0.6614, allocations: 1.561 MB / 0.5037 GB, free: 1.324 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.6615, allocations: 4.219 kB / 0.5037 GB, free: 1.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.6625, allocations: 147.8 kB / 0.5038 GB, free: 1.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001213/0.6626, allocations: 41.69 kB / 0.5039 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.743e-05/0.6627, allocations: 19.98 kB / 0.5039 GB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/0.6643, allocations: 2.533 MB / 0.5064 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.6643, allocations: 7.938 kB / 0.5064 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002282/0.6666, allocations: 1.075 MB / 0.5074 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.387e-05/0.6667, allocations: 104.9 kB / 0.5075 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.769e-05/0.6668, allocations: 16 kB / 0.5075 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007239/0.6675, allocations: 39.98 kB / 0.5076 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.338e-05/0.6676, allocations: 39.94 kB / 0.5076 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.674e-05/0.6677, allocations: 31.97 kB / 0.5076 GB, free: 12.94 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.655e-05/0.6678, allocations: 124.4 kB / 0.5078 GB, free: 12.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6678, allocations: 4 kB / 0.5078 GB, free: 12.81 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001308/0.6691, allocations: 383.7 kB / 0.5081 GB, free: 12.44 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.002122/0.6712, allocations: 0.6664 MB / 0.5088 GB, free: 11.76 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00178/0.673, allocations: 0.6525 MB / 0.5094 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.673, allocations: 4 kB / 0.5094 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.674, allocations: 0.5326 MB / 0.5099 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007654/0.6748, allocations: 97.83 kB / 0.51 GB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.6769, allocations: 1.227 MB / 0.5112 GB, free: 9.168 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.6772, allocations: 0.7813 MB / 0.512 GB, free: 8.363 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004226/0.6777, allocations: 75.38 kB / 0.5121 GB, free: 8.289 MB / 430.1 MB Notification: Performance of SimCode: time 7.31e-07/0.6777, allocations: 4 kB / 0.5121 GB, free: 8.285 MB / 430.1 MB Notification: Performance of Templates: time 0.2508/0.9284, allocations: 14.26 MB / 0.526 GB, free: 144.8 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.MixtureGasesCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Media.Examples.MixtureGasesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Media.Examples.MixtureGasesCalcHelperMain.o] Error 1