Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008503/0.0008504, allocations: 90.16 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001137/0.001137, allocations: 197.9 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.624/1.624, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2751/0.2751, allocations: 45.92 MB / 344.7 MB, free: 12.24 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000302/0.0003021, allocations: 7.938 kB / 418.7 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1566, allocations: 63.46 MB / 482.1 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.5463/0.703, allocations: 135.7 MB / 0.6033 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.7049, allocations: 1.485 MB / 0.6048 GB, free: 13.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.387e-05/0.7049, allocations: 0 / 0.6048 GB, free: 13.44 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002787/0.7052, allocations: 35.8 kB / 0.6048 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006885/0.7059, allocations: 288.4 kB / 0.6051 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004272/0.7064, allocations: 123.6 kB / 0.6052 GB, free: 13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002864/0.7066, allocations: 215.2 kB / 0.6054 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.567e-05/0.7067, allocations: 8.656 kB / 0.6054 GB, free: 12.78 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.7069, allocations: 71.69 kB / 0.6055 GB, free: 12.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.707, allocations: 55.83 kB / 0.6056 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.707, allocations: 4 kB / 0.6056 GB, free: 12.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000884/0.7079, allocations: 443.2 kB / 0.606 GB, free: 12.22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.023e-05/0.708, allocations: 35.88 kB / 0.606 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.882e-05/0.7081, allocations: 45.64 kB / 0.6061 GB, free: 12.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003853/0.7085, allocations: 272.1 kB / 0.6063 GB, free: 11.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.7085, allocations: 0 / 0.6063 GB, free: 11.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.7085, allocations: 4 kB / 0.6063 GB, free: 11.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.7085, allocations: 4 kB / 0.6063 GB, free: 11.86 MB / 446.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.0005288/0.709, allocations: 411.9 kB / 0.6067 GB, free: 11.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.7091, allocations: 8.031 kB / 0.6067 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001961/0.711, allocations: 191.6 kB / 0.6069 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.7114, allocations: 218.8 kB / 0.6071 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.7114, allocations: 4.188 kB / 0.6071 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.733e-05/0.7114, allocations: 8 kB / 0.6071 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004907/0.7119, allocations: 195 kB / 0.6073 GB, free: 10.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.7119, allocations: 0 / 0.6073 GB, free: 10.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.847e-05/0.712, allocations: 8 kB / 0.6073 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.712, allocations: 0 / 0.6073 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005622/0.7126, allocations: 240.6 kB / 0.6076 GB, free: 10.52 MB / 446.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.001687/0.7143, allocations: 0.6682 MB / 0.6082 GB, free: 9.793 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004088/0.7147, allocations: 186.5 kB / 0.6084 GB, free: 9.602 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.7149, allocations: 97.31 kB / 0.6085 GB, free: 9.504 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/0.7151, allocations: 89.09 kB / 0.6086 GB, free: 9.398 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.7151, allocations: 30.56 kB / 0.6086 GB, free: 9.359 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.7151, allocations: 0 / 0.6086 GB, free: 9.359 MB / 446.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.005315/0.7204, allocations: 1.548 MB / 0.6101 GB, free: 7.703 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.7205, allocations: 59.34 kB / 0.6102 GB, free: 7.633 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.619e-05/0.7206, allocations: 109.8 kB / 0.6103 GB, free: 7.516 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.7206, allocations: 33.7 kB / 0.6103 GB, free: 7.477 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.609e-05/0.7207, allocations: 100.2 kB / 0.6104 GB, free: 7.375 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.473e-05/0.7208, allocations: 71 kB / 0.6105 GB, free: 7.305 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/0.7208, allocations: 8 kB / 0.6105 GB, free: 7.297 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.721, allocations: 322.8 kB / 0.6108 GB, free: 6.973 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.7212, allocations: 87.95 kB / 0.6109 GB, free: 6.887 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.7214, allocations: 122.8 kB / 0.611 GB, free: 6.758 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.7216, allocations: 101.1 kB / 0.6111 GB, free: 6.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.7216, allocations: 0 / 0.6111 GB, free: 6.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005853/0.7222, allocations: 285.6 kB / 0.6113 GB, free: 6.375 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.7223, allocations: 8.094 kB / 0.6114 GB, free: 6.367 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.7223, allocations: 4 kB / 0.6114 GB, free: 6.363 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001362/0.7224, allocations: 20.84 kB / 0.6114 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/0.7229, allocations: 55.95 kB / 0.6114 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003919/0.7233, allocations: 0.537 MB / 0.612 GB, free: 5.723 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.7235, allocations: 16.12 kB / 0.612 GB, free: 5.707 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.7236, allocations: 7.984 kB / 0.612 GB, free: 5.699 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001298/0.7237, allocations: 125.8 kB / 0.6121 GB, free: 5.566 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/0.7238, allocations: 7.906 kB / 0.6121 GB, free: 5.559 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007454/0.7245, allocations: 323 kB / 0.6124 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.7245, allocations: 0 / 0.6124 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.7245, allocations: 0 / 0.6124 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.7245, allocations: 4 kB / 0.6124 GB, free: 5.227 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.7257, allocations: 0.668 MB / 0.6131 GB, free: 4.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.7257, allocations: 0 / 0.6131 GB, free: 4.488 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004109/0.7261, allocations: 55.89 kB / 0.6131 GB, free: 4.434 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.518e-05/0.7262, allocations: 16.84 kB / 0.6131 GB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.7262, allocations: 11.94 kB / 0.6132 GB, free: 4.402 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/0.7272, allocations: 1.273 MB / 0.6144 GB, free: 2.996 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.7272, allocations: 8.125 kB / 0.6144 GB, free: 2.988 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008301/0.7281, allocations: 453 kB / 0.6148 GB, free: 2.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.7282, allocations: 93.11 kB / 0.6149 GB, free: 2.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.7282, allocations: 4 kB / 0.6149 GB, free: 2.406 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/0.7285, allocations: 11.98 kB / 0.6149 GB, free: 2.395 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.7285, allocations: 15.98 kB / 0.615 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.7286, allocations: 11.98 kB / 0.615 GB, free: 2.367 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.466e-05/0.7286, allocations: 87.27 kB / 0.6151 GB, free: 2.281 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7287, allocations: 0 / 0.6151 GB, free: 2.281 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005973/0.7293, allocations: 135.9 kB / 0.6152 GB, free: 2.148 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006284/0.7299, allocations: 238.9 kB / 0.6154 GB, free: 1.906 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006131/0.7305, allocations: 231.9 kB / 0.6156 GB, free: 1.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.7305, allocations: 4 kB / 0.6156 GB, free: 1.676 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004032/0.7309, allocations: 232.7 kB / 0.6159 GB, free: 1.438 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.7314, allocations: 44.14 kB / 0.6159 GB, free: 1.395 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000952/0.7324, allocations: 0.5995 MB / 0.6165 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.7327, allocations: 0.7087 MB / 0.6172 GB, free: 20 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.7329, allocations: 23.42 kB / 0.6172 GB, free: 16 MB / 462.1 MB Notification: Performance of SimCode: time 3.91e-07/0.7329, allocations: 0 / 0.6172 GB, free: 16 MB / 462.1 MB Notification: Performance of Templates: time 0.008319/0.7412, allocations: 5.126 MB / 0.6222 GB, free: 10.86 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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 OMCppModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2MixCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2MixCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2MixCalcHelperMain.o] Error 1