Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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) 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(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 105.4 kB / 17.8 MB, free: 5.688 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.001214/0.001214, allocations: 197.9 kB / 18.73 MB, free: 4.77 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.993/1.993, allocations: 205.1 MB / 224.6 MB, free: 12.47 MB / 190.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.001908/0.001908, allocations: 56.39 kB / 280.6 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1552, allocations: 46.61 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.5491/0.7044, allocations: 148.3 MB / 475.6 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.7065, allocations: 1.017 MB / 476.6 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.7067, allocations: 0 / 476.6 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004101/0.7072, allocations: 31.89 kB / 476.6 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.7083, allocations: 210.9 kB / 476.8 MB, free: 1.941 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005043/0.7088, allocations: 99.78 kB / 476.9 MB, free: 1.844 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003921/0.7092, allocations: 207.2 kB / 477.1 MB, free: 1.641 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.936e-05/0.7093, allocations: 7.984 kB / 477.1 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002662/0.7095, allocations: 91.62 kB / 477.2 MB, free: 1.543 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.7097, allocations: 47.83 kB / 477.3 MB, free: 1.496 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.7097, allocations: 4 kB / 477.3 MB, free: 1.492 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005883/0.7103, allocations: 263.7 kB / 477.5 MB, free: 1.234 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.981e-05/0.7104, allocations: 19.86 kB / 477.6 MB, free: 1.215 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.497e-05/0.7105, allocations: 51.78 kB / 477.6 MB, free: 1.164 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003756/0.7109, allocations: 205.1 kB / 477.8 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.7109, allocations: 4 kB / 477.8 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.7109, allocations: 0 / 477.8 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.7109, allocations: 4 kB / 477.8 MB, free: 0.957 MB / 366.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.0007155/0.7116, allocations: 399.9 kB / 478.2 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.7117, allocations: 12.03 kB / 478.2 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002118/0.7138, allocations: 184.6 kB / 478.4 MB, free: 336 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.7141, allocations: 207.7 kB / 478.6 MB, free: 92 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.7141, allocations: 15.94 kB / 478.6 MB, free: 76 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.137e-05/0.7142, allocations: 8 kB / 478.6 MB, free: 68 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005629/0.7148, allocations: 227.9 kB / 478.8 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.7148, allocations: 0 / 478.8 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.036e-05/0.7148, allocations: 8 kB / 478.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.7148, allocations: 0 / 478.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004593/0.7153, allocations: 175.8 kB / 479 MB, free: 15.65 MB / 382.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.001231/0.7166, allocations: 0.5774 MB / 479.6 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/0.7169, allocations: 139.1 kB / 479.7 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.7171, allocations: 76.81 kB / 479.8 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.7172, allocations: 0 / 479.8 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.7172, allocations: 34.56 kB / 479.8 MB, free: 14.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.7172, allocations: 0 / 479.8 MB, free: 14.75 MB / 382.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.005569/0.7228, allocations: 1.306 MB / 481.2 MB, free: 13.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.7229, allocations: 55.41 kB / 481.2 MB, free: 13.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.723, allocations: 105.8 kB / 481.3 MB, free: 13.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.723, allocations: 33.7 kB / 481.3 MB, free: 13.13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.021e-05/0.7231, allocations: 91.94 kB / 481.4 MB, free: 13.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.066e-05/0.7232, allocations: 71.03 kB / 481.5 MB, free: 12.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.7233, allocations: 61.59 kB / 481.6 MB, free: 12.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.7235, allocations: 322.8 kB / 481.9 MB, free: 12.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.7237, allocations: 67.97 kB / 481.9 MB, free: 12.51 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.7239, allocations: 103.2 kB / 482 MB, free: 12.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003636/0.7242, allocations: 187.3 kB / 482.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7242, allocations: 0 / 482.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005213/0.7248, allocations: 262.1 kB / 482.5 MB, free: 11.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.7248, allocations: 8 kB / 482.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.7248, allocations: 0 / 482.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002404/0.7251, allocations: 56.86 kB / 482.5 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003366/0.7254, allocations: 55.89 kB / 482.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005208/0.726, allocations: 0.564 MB / 483.2 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.7261, allocations: 11.91 kB / 483.2 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.813e-05/0.7262, allocations: 28 kB / 483.2 MB, free: 11.19 MB / 382.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.0001676/0.7264, allocations: 129.9 kB / 483.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-05/0.7264, allocations: 7.906 kB / 483.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008889/0.7273, allocations: 351.2 kB / 483.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.7274, allocations: 3.938 kB / 483.7 MB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.7274, allocations: 0 / 483.7 MB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.7274, allocations: 0 / 483.7 MB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.7284, allocations: 0.6236 MB / 484.3 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.7284, allocations: 3.938 kB / 484.3 MB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003573/0.7288, allocations: 59.95 kB / 484.4 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.39e-05/0.7289, allocations: 24.94 kB / 484.4 MB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.7289, allocations: 15.98 kB / 484.4 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00101/0.73, allocations: 1.266 MB / 485.7 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.73, allocations: 3.938 kB / 485.7 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007141/0.7307, allocations: 434.5 kB / 486.1 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.343e-05/0.7308, allocations: 89.2 kB / 486.2 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.7308, allocations: 11.94 kB / 486.2 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.731, allocations: 11.94 kB / 486.2 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/0.7311, allocations: 19.97 kB / 486.2 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.654e-05/0.7312, allocations: 31.98 kB / 486.3 MB, free: 7.863 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.998e-05/0.7312, allocations: 87.27 kB / 486.4 MB, free: 7.777 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.793e-06/0.7313, allocations: 0 / 486.4 MB, free: 7.777 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004262/0.7317, allocations: 79.94 kB / 486.4 MB, free: 7.699 MB / 382.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.0004542/0.7321, allocations: 147.2 kB / 486.6 MB, free: 7.547 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005649/0.7327, allocations: 208.2 kB / 486.8 MB, free: 7.344 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.7327, allocations: 4 kB / 486.8 MB, free: 7.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000429/0.7332, allocations: 222.5 kB / 487 MB, free: 7.109 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.7337, allocations: 40.47 kB / 487 MB, free: 7.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.7348, allocations: 0.551 MB / 487.6 MB, free: 6.484 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.7353, allocations: 0.701 MB / 488.3 MB, free: 5.758 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/0.7355, allocations: 55.41 kB / 488.3 MB, free: 5.703 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.7355, allocations: 0 / 488.3 MB, free: 5.703 MB / 382.1 MB Notification: Performance of Templates: time 0.007158/0.7427, allocations: 3.797 MB / 492.1 MB, free: 1.91 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.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 OMCppModelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2CalcHelperMain.o] Error 1