Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008982/0.0008984, allocations: 90.41 kB / 16.67 MB, free: 6.254 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.001183/0.001183, allocations: 178 kB / 17.57 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.107/2.107, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2866/0.2866, allocations: 43.59 MB / 315.6 MB, free: 424 kB / 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.001026/0.001026, allocations: 22.23 kB / 385.2 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1672, allocations: 58.87 MB / 444.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.6267/0.7939, allocations: 146.4 MB / 0.5767 GB, free: 12.65 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.7952, allocations: 0.9988 MB / 0.5777 GB, free: 12.58 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.838e-05/0.7953, allocations: 0 / 0.5777 GB, free: 12.58 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000252/0.7955, allocations: 28.5 kB / 0.5777 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005328/0.7961, allocations: 215.2 kB / 0.5779 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.7964, allocations: 104.7 kB / 0.578 GB, free: 12.51 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.7967, allocations: 205.7 kB / 0.5782 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.7967, allocations: 8.641 kB / 0.5782 GB, free: 12.47 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.7969, allocations: 83.75 kB / 0.5783 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.957e-05/0.797, allocations: 58.7 kB / 0.5783 GB, free: 12.45 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.797, allocations: 3.281 kB / 0.5783 GB, free: 12.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004683/0.7975, allocations: 270.8 kB / 0.5786 GB, free: 12.44 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.616e-05/0.7976, allocations: 19.02 kB / 0.5786 GB, free: 12.44 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.161e-05/0.7977, allocations: 67.48 kB / 0.5787 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.7979, allocations: 200.7 kB / 0.5789 GB, free: 12.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.798, allocations: 0 / 0.5789 GB, free: 12.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.798, allocations: 0 / 0.5789 GB, free: 12.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.798, allocations: 3.938 kB / 0.5789 GB, free: 12.39 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004502/0.7984, allocations: 396.3 kB / 0.5792 GB, free: 12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.7985, allocations: 9.75 kB / 0.5793 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001996/0.8005, allocations: 183 kB / 0.5794 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.8007, allocations: 204.1 kB / 0.5796 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.8007, allocations: 10.75 kB / 0.5796 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.605e-05/0.8008, allocations: 5.75 kB / 0.5796 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004799/0.8013, allocations: 232.8 kB / 0.5799 GB, free: 11.72 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.8013, allocations: 3.281 kB / 0.5799 GB, free: 11.72 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.8013, allocations: 3.5 kB / 0.5799 GB, free: 11.72 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.8013, allocations: 3.312 kB / 0.5799 GB, free: 11.72 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004142/0.8018, allocations: 162.7 kB / 0.58 GB, free: 11.69 MB / 430.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.000998/0.8028, allocations: 0.5825 MB / 0.5806 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.8031, allocations: 133 kB / 0.5807 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.8033, allocations: 80.19 kB / 0.5808 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.8033, allocations: 3.469 kB / 0.5808 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.8033, allocations: 30.56 kB / 0.5808 GB, free: 11.08 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.8033, allocations: 3.938 kB / 0.5808 GB, free: 11.08 MB / 430.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.005179/0.8085, allocations: 1.319 MB / 0.5821 GB, free: 10.4 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.8086, allocations: 54.34 kB / 0.5822 GB, free: 10.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.76e-05/0.8087, allocations: 116.2 kB / 0.5823 GB, free: 10.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.8087, allocations: 29.33 kB / 0.5823 GB, free: 10.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.23e-05/0.8088, allocations: 93.34 kB / 0.5824 GB, free: 10.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.669e-05/0.8089, allocations: 71.95 kB / 0.5825 GB, free: 10.06 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.8089, allocations: 26.77 kB / 0.5825 GB, free: 10.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.8091, allocations: 320.5 kB / 0.5828 GB, free: 9.723 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.8092, allocations: 70.27 kB / 0.5829 GB, free: 9.711 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.8094, allocations: 108 kB / 0.583 GB, free: 9.664 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/0.8098, allocations: 182.8 kB / 0.5831 GB, free: 9.613 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.8098, allocations: 0 / 0.5831 GB, free: 9.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004763/0.8102, allocations: 259.2 kB / 0.5834 GB, free: 9.535 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.8103, allocations: 5.031 kB / 0.5834 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.8103, allocations: 3.344 kB / 0.5834 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001663/0.8105, allocations: 54.55 kB / 0.5835 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/0.8108, allocations: 53.72 kB / 0.5835 GB, free: 9.504 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004574/0.8112, allocations: 0.5684 MB / 0.5841 GB, free: 8.969 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.8114, allocations: 10.75 kB / 0.5841 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.406e-05/0.8115, allocations: 25.67 kB / 0.5841 GB, free: 8.961 MB / 430.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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001304/0.8116, allocations: 130.8 kB / 0.5842 GB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.8117, allocations: 9.719 kB / 0.5842 GB, free: 8.836 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008175/0.8125, allocations: 346.7 kB / 0.5846 GB, free: 8.711 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.8125, allocations: 10.77 kB / 0.5846 GB, free: 8.703 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.8125, allocations: 0 / 0.5846 GB, free: 8.703 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.8125, allocations: 0 / 0.5846 GB, free: 8.703 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.8135, allocations: 0.6248 MB / 0.5852 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.8136, allocations: 2.969 kB / 0.5852 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003243/0.8139, allocations: 59.3 kB / 0.5852 GB, free: 8.273 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.322e-05/0.814, allocations: 27 kB / 0.5853 GB, free: 8.258 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.814, allocations: 13.73 kB / 0.5853 GB, free: 8.254 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009833/0.815, allocations: 1.262 MB / 0.5865 GB, free: 6.973 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.815, allocations: 3.938 kB / 0.5865 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006743/0.8157, allocations: 427.2 kB / 0.5869 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.72e-05/0.8158, allocations: 90.09 kB / 0.587 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.8158, allocations: 12.12 kB / 0.587 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.816, allocations: 14.47 kB / 0.587 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.8161, allocations: 25.72 kB / 0.5871 GB, free: 6.637 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.953e-05/0.8161, allocations: 25.83 kB / 0.5871 GB, free: 6.633 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.088e-05/0.8162, allocations: 83.56 kB / 0.5872 GB, free: 6.559 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8162, allocations: 3.312 kB / 0.5872 GB, free: 6.559 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004363/0.8166, allocations: 81.2 kB / 0.5872 GB, free: 6.551 MB / 430.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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.000371/0.817, allocations: 148.5 kB / 0.5874 GB, free: 6.438 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004968/0.8175, allocations: 210.3 kB / 0.5876 GB, free: 6.398 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.8175, allocations: 0 / 0.5876 GB, free: 6.398 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003468/0.8179, allocations: 222.9 kB / 0.5878 GB, free: 6.262 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/0.8184, allocations: 48.02 kB / 0.5878 GB, free: 6.246 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.8195, allocations: 0.6189 MB / 0.5884 GB, free: 5.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.82, allocations: 0.7133 MB / 0.5891 GB, free: 5.055 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003577/0.8204, allocations: 57.56 kB / 0.5892 GB, free: 5.031 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.8204, allocations: 3.938 kB / 0.5892 GB, free: 5.027 MB / 430.1 MB Notification: Performance of Templates: time 0.009773/0.8302, allocations: 3.776 MB / 0.5929 GB, free: 3.082 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.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 OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2CalcHelperMain.o] Error 1