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.001577/0.001577, allocations: 103.7 kB / 16.52 MB, free: 6.723 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.001547/0.001547, allocations: 191.7 kB / 17.44 MB, free: 6.055 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.906/1.906, allocations: 205.1 MB / 223.3 MB, free: 12.49 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.2626/0.2626, allocations: 43.51 MB / 314.1 MB, free: 0.7539 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.001651/0.001651, allocations: 72.05 kB / 382.7 MB, free: 57.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1671, allocations: 57.79 MB / 440.5 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.651/0.8182, allocations: 148.3 MB / 0.575 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.8197, allocations: 1.016 MB / 0.576 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.25e-05/0.8197, allocations: 0 / 0.576 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003938/0.8201, allocations: 31.77 kB / 0.576 GB, free: 12.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000608/0.8208, allocations: 212.1 kB / 0.5762 GB, free: 12.26 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.8212, allocations: 100.8 kB / 0.5763 GB, free: 12.26 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002868/0.8215, allocations: 209.3 kB / 0.5765 GB, free: 12.22 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.963e-05/0.8216, allocations: 4.781 kB / 0.5765 GB, free: 12.22 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002365/0.8218, allocations: 91.73 kB / 0.5766 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.8219, allocations: 53.2 kB / 0.5767 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.822, allocations: 4.969 kB / 0.5767 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005449/0.8225, allocations: 267.9 kB / 0.5769 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.373e-05/0.8226, allocations: 18.67 kB / 0.577 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.814e-05/0.8227, allocations: 42.75 kB / 0.577 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003406/0.823, allocations: 204.7 kB / 0.5772 GB, free: 12.17 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.8231, allocations: 0 / 0.5772 GB, free: 12.17 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.8231, allocations: 0 / 0.5772 GB, free: 12.17 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.8231, allocations: 0 / 0.5772 GB, free: 12.17 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.0006428/0.8237, allocations: 415.3 kB / 0.5776 GB, free: 11.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.8238, allocations: 9.688 kB / 0.5776 GB, free: 11.79 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001953/0.8257, allocations: 186.9 kB / 0.5778 GB, free: 11.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.826, allocations: 201.8 kB / 0.578 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.8261, allocations: 13.66 kB / 0.578 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/0.8261, allocations: 6.531 kB / 0.578 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/0.8266, allocations: 233.9 kB / 0.5782 GB, free: 11.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.8267, allocations: 1.938 kB / 0.5782 GB, free: 11.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.445e-05/0.8267, allocations: 3.562 kB / 0.5782 GB, free: 11.51 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.8267, allocations: 2.5 kB / 0.5782 GB, free: 11.51 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004252/0.8271, allocations: 169.7 kB / 0.5784 GB, free: 11.51 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.001192/0.8283, allocations: 0.5747 MB / 0.5789 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003462/0.8287, allocations: 139.5 kB / 0.5791 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.8289, allocations: 75.61 kB / 0.5791 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.8289, allocations: 2.188 kB / 0.5791 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.8289, allocations: 37.44 kB / 0.5792 GB, free: 10.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.223e-06/0.829, allocations: 0 / 0.5792 GB, free: 10.98 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.005428/0.8344, allocations: 1.303 MB / 0.5805 GB, free: 10.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.8344, allocations: 57.58 kB / 0.5805 GB, free: 10.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.8346, allocations: 111.4 kB / 0.5806 GB, free: 10.19 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.788e-05/0.8346, allocations: 33.27 kB / 0.5806 GB, free: 10.15 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.56e-05/0.8347, allocations: 90.66 kB / 0.5807 GB, free: 10.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.495e-05/0.8348, allocations: 79.22 kB / 0.5808 GB, free: 10.01 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.8349, allocations: 49.77 kB / 0.5809 GB, free: 9.992 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.8351, allocations: 324.5 kB / 0.5812 GB, free: 9.672 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.8352, allocations: 70.2 kB / 0.5812 GB, free: 9.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.8354, allocations: 110.7 kB / 0.5813 GB, free: 9.609 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004129/0.8359, allocations: 180 kB / 0.5815 GB, free: 9.562 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.8359, allocations: 0 / 0.5815 GB, free: 9.562 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005404/0.8364, allocations: 265.7 kB / 0.5818 GB, free: 9.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.8365, allocations: 4.781 kB / 0.5818 GB, free: 9.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.8365, allocations: 0 / 0.5818 GB, free: 9.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002053/0.8367, allocations: 50.73 kB / 0.5818 GB, free: 9.465 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.8371, allocations: 59.25 kB / 0.5819 GB, free: 9.449 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006084/0.8377, allocations: 0.5699 MB / 0.5824 GB, free: 8.914 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.8379, allocations: 2.719 kB / 0.5824 GB, free: 8.914 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.239e-05/0.8379, allocations: 27.23 kB / 0.5825 GB, free: 8.91 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.0001729/0.8381, allocations: 131.9 kB / 0.5826 GB, free: 8.785 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.266e-05/0.8382, allocations: 9.188 kB / 0.5826 GB, free: 8.781 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000961/0.8391, allocations: 349.6 kB / 0.5829 GB, free: 8.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.8392, allocations: 3.938 kB / 0.5829 GB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.8392, allocations: 2.719 kB / 0.5829 GB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.8392, allocations: 1.094 kB / 0.5829 GB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.8404, allocations: 0.6221 MB / 0.5835 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.8405, allocations: 0 / 0.5835 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003575/0.8408, allocations: 60.33 kB / 0.5836 GB, free: 8.227 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.734e-05/0.8409, allocations: 22.38 kB / 0.5836 GB, free: 8.215 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/0.841, allocations: 11.19 kB / 0.5836 GB, free: 8.215 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001455/0.8424, allocations: 1.272 MB / 0.5849 GB, free: 6.926 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.8424, allocations: 7.266 kB / 0.5849 GB, free: 6.922 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008745/0.8433, allocations: 430.7 kB / 0.5853 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.776e-05/0.8434, allocations: 83.48 kB / 0.5854 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.069e-05/0.8435, allocations: 13.45 kB / 0.5854 GB, free: 6.602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.8437, allocations: 16.94 kB / 0.5854 GB, free: 6.594 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.461e-05/0.8438, allocations: 24.03 kB / 0.5854 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.866e-05/0.8439, allocations: 30.2 kB / 0.5854 GB, free: 6.578 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.339e-05/0.844, allocations: 83.94 kB / 0.5855 GB, free: 6.504 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.844, allocations: 0 / 0.5855 GB, free: 6.504 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005862/0.8446, allocations: 78.59 kB / 0.5856 GB, free: 6.5 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.0006073/0.8452, allocations: 151.5 kB / 0.5857 GB, free: 6.391 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007267/0.8459, allocations: 212.1 kB / 0.586 GB, free: 6.344 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.8459, allocations: 6.094 kB / 0.586 GB, free: 6.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004626/0.8464, allocations: 218.4 kB / 0.5862 GB, free: 6.207 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005478/0.847, allocations: 53.83 kB / 0.5862 GB, free: 6.188 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.8483, allocations: 0.535 MB / 0.5867 GB, free: 5.797 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006094/0.849, allocations: 0.7105 MB / 0.5874 GB, free: 5.086 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/0.8492, allocations: 57.16 kB / 0.5875 GB, free: 5.062 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.8493, allocations: 0 / 0.5875 GB, free: 5.062 MB / 430.1 MB Notification: Performance of Templates: time 0.008214/0.8575, allocations: 3.793 MB / 0.5912 GB, free: 3.105 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