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.0008371/0.0008371, allocations: 91.86 kB / 16.33 MB, free: 5.938 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.001118/0.001118, allocations: 188 kB / 17.22 MB, free: 5.859 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.496/1.496, allocations: 205.4 MB / 223.4 MB, free: 5.246 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3848/0.3848, allocations: 43.55 MB / 315.2 MB, free: 9.031 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.0005193/0.0005195, allocations: 22.64 kB / 384.5 MB, free: 8.016 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1373, allocations: 58.85 MB / 443.4 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4157/0.5531, allocations: 136.8 MB / 0.5666 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.5549, allocations: 1.386 MB / 0.568 GB, free: 1.629 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.837e-05/0.555, allocations: 3.938 kB / 0.568 GB, free: 1.625 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.5552, allocations: 34.3 kB / 0.568 GB, free: 1.594 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006721/0.5559, allocations: 280.5 kB / 0.5683 GB, free: 1.324 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004166/0.5564, allocations: 126.6 kB / 0.5684 GB, free: 1.203 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002639/0.5566, allocations: 211.2 kB / 0.5686 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.376e-05/0.5567, allocations: 10.64 kB / 0.5686 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.5568, allocations: 67.72 kB / 0.5687 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.557, allocations: 63.8 kB / 0.5687 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.557, allocations: 4.75 kB / 0.5687 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008212/0.5578, allocations: 431.2 kB / 0.5692 GB, free: 444 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.382e-05/0.5579, allocations: 27.91 kB / 0.5692 GB, free: 416 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.101e-05/0.5579, allocations: 45.7 kB / 0.5692 GB, free: 364 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003641/0.5583, allocations: 257.5 kB / 0.5695 GB, free: 108 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.5583, allocations: 0 / 0.5695 GB, free: 108 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5583, allocations: 0 / 0.5695 GB, free: 108 kB / 430.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.5584, allocations: 0 / 0.5695 GB, free: 108 kB / 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.0005389/0.5589, allocations: 408.1 kB / 0.5699 GB, free: 15.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.559, allocations: 12.03 kB / 0.5699 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001824/0.5608, allocations: 196.9 kB / 0.5701 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.561, allocations: 210.9 kB / 0.5703 GB, free: 15.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.561, allocations: 8.188 kB / 0.5703 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.956e-05/0.5611, allocations: 8 kB / 0.5703 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004282/0.5615, allocations: 204.7 kB / 0.5705 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.5615, allocations: 0 / 0.5705 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.5616, allocations: 4 kB / 0.5705 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.5616, allocations: 7.938 kB / 0.5705 GB, free: 14.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005291/0.5621, allocations: 244.3 kB / 0.5707 GB, free: 14.75 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.001521/0.5637, allocations: 0.6639 MB / 0.5714 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003942/0.5641, allocations: 189 kB / 0.5715 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.5643, allocations: 96.75 kB / 0.5716 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001596/0.5644, allocations: 93.08 kB / 0.5717 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.5645, allocations: 34.56 kB / 0.5718 GB, free: 13.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.5645, allocations: 0 / 0.5718 GB, free: 13.61 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.004854/0.5693, allocations: 1.526 MB / 0.5732 GB, free: 11.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.5694, allocations: 51.41 kB / 0.5733 GB, free: 11.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.522e-05/0.5695, allocations: 120.8 kB / 0.5734 GB, free: 11.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.5695, allocations: 25.7 kB / 0.5734 GB, free: 11.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.381e-05/0.5696, allocations: 104.2 kB / 0.5735 GB, free: 11.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.385e-05/0.5697, allocations: 70.98 kB / 0.5736 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.856e-05/0.5697, allocations: 4 kB / 0.5736 GB, free: 11.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.5698, allocations: 322.8 kB / 0.5739 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.57, allocations: 95.88 kB / 0.574 GB, free: 11.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.5703, allocations: 126 kB / 0.5741 GB, free: 11.03 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.5705, allocations: 103.9 kB / 0.5742 GB, free: 10.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.5705, allocations: 0 / 0.5742 GB, free: 10.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005494/0.571, allocations: 286.4 kB / 0.5745 GB, free: 10.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.5711, allocations: 8 kB / 0.5745 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.5711, allocations: 0 / 0.5745 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001264/0.5712, allocations: 24.84 kB / 0.5745 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000386/0.5716, allocations: 54.09 kB / 0.5746 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003602/0.572, allocations: 0.5407 MB / 0.5751 GB, free: 9.988 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.5722, allocations: 12.02 kB / 0.5751 GB, free: 9.977 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.5723, allocations: 8 kB / 0.5751 GB, free: 9.969 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.0001211/0.5724, allocations: 125.8 kB / 0.5753 GB, free: 9.836 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-05/0.5724, allocations: 11.91 kB / 0.5753 GB, free: 9.824 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007171/0.5732, allocations: 319.1 kB / 0.5756 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.5732, allocations: 4 kB / 0.5756 GB, free: 9.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.5732, allocations: 3.953 kB / 0.5756 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.5732, allocations: 3.984 kB / 0.5756 GB, free: 9.492 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.5742, allocations: 0.6717 MB / 0.5762 GB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5742, allocations: 0 / 0.5762 GB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003882/0.5746, allocations: 51.95 kB / 0.5763 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.406e-05/0.5747, allocations: 20.94 kB / 0.5763 GB, free: 8.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.5747, allocations: 11.94 kB / 0.5763 GB, free: 8.668 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008474/0.5756, allocations: 1.264 MB / 0.5775 GB, free: 7.273 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.5756, allocations: 0 / 0.5775 GB, free: 7.273 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007533/0.5764, allocations: 459.1 kB / 0.578 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.393e-05/0.5764, allocations: 85.05 kB / 0.5781 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.5765, allocations: 3.984 kB / 0.5781 GB, free: 6.691 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/0.5767, allocations: 12 kB / 0.5781 GB, free: 6.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.5768, allocations: 23.91 kB / 0.5781 GB, free: 6.656 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.5768, allocations: 7.953 kB / 0.5781 GB, free: 6.648 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.062e-05/0.5769, allocations: 95.33 kB / 0.5782 GB, free: 6.555 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.723e-06/0.5769, allocations: 3.938 kB / 0.5782 GB, free: 6.551 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005152/0.5774, allocations: 131.9 kB / 0.5783 GB, free: 6.422 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.0005679/0.578, allocations: 231 kB / 0.5786 GB, free: 6.188 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005523/0.5785, allocations: 230.2 kB / 0.5788 GB, free: 5.965 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5786, allocations: 0 / 0.5788 GB, free: 5.965 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003605/0.5789, allocations: 235 kB / 0.579 GB, free: 5.723 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.5794, allocations: 46.88 kB / 0.579 GB, free: 5.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008851/0.5803, allocations: 0.6006 MB / 0.5796 GB, free: 5.043 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.5806, allocations: 0.7049 MB / 0.5803 GB, free: 4.312 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.5807, allocations: 31.36 kB / 0.5803 GB, free: 4.285 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5807, allocations: 0 / 0.5803 GB, free: 4.285 MB / 446.1 MB Notification: Performance of Templates: time 0.007619/0.5883, allocations: 5.081 MB / 0.5853 GB, free: 15.23 MB / 462.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++ 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_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