Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.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.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 93.38 kB / 16.67 MB, free: 6.59 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.001146/0.001146, allocations: 175 kB / 17.57 MB, free: 6.191 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.054/2.054, allocations: 205.4 MB / 223.8 MB, free: 13.09 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.2759/0.2759, 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.0005866/0.0005866, allocations: 16.22 kB / 385.2 MB, free: 56.85 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1591, allocations: 58.86 MB / 444.1 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.592/0.7512, allocations: 179.3 MB / 0.6088 GB, free: 8.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01166/0.7629, allocations: 7.093 MB / 0.6157 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00158/0.7646, allocations: 27.75 kB / 0.6157 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.7659, allocations: 386.1 kB / 0.6161 GB, free: 2.203 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006081/0.772, allocations: 1.845 MB / 0.6179 GB, free: 368 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004882/0.7769, allocations: 1.534 MB / 0.6194 GB, free: 14.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00454/0.7814, allocations: 3.23 MB / 0.6225 GB, free: 11.6 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00159/0.783, allocations: 0.6635 MB / 0.6232 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005556/0.7886, allocations: 1.808 MB / 0.6249 GB, free: 9.113 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004179/0.7928, allocations: 1.667 MB / 0.6266 GB, free: 7.441 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004372/0.7933, allocations: 56 kB / 0.6266 GB, free: 7.387 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005296/0.7986, allocations: 2.05 MB / 0.6286 GB, free: 5.332 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001052/0.7996, allocations: 0.6391 MB / 0.6293 GB, free: 4.691 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00175/0.8014, allocations: 0.7252 MB / 0.63 GB, free: 3.957 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004428/0.8058, allocations: 2.097 MB / 0.632 GB, free: 1.855 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.8059, allocations: 0 / 0.632 GB, free: 1.855 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.8059, allocations: 0 / 0.632 GB, free: 1.855 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001053/0.806, allocations: 4 kB / 0.632 GB, free: 1.852 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.005002/0.811, allocations: 1.411 MB / 0.6334 GB, free: 400 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.8111, allocations: 12.03 kB / 0.6334 GB, free: 388 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001888/0.813, allocations: 318.2 kB / 0.6337 GB, free: 68 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00234/0.8153, allocations: 0.7493 MB / 0.6344 GB, free: 15.28 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001827/0.8155, allocations: 145.3 kB / 0.6346 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004477/0.816, allocations: 100 kB / 0.6347 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004679/0.8207, allocations: 1.841 MB / 0.6365 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.848e-05/0.8207, allocations: 15.84 kB / 0.6365 GB, free: 13.1 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003813/0.8211, allocations: 47.98 kB / 0.6365 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001356/0.8213, allocations: 93.95 kB / 0.6366 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003784/0.8251, allocations: 1.69 MB / 0.6383 GB, free: 11.27 MB / 462.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.01246/0.8376, allocations: 6.995 MB / 0.6451 GB, free: 3.797 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.839, allocations: 0.8808 MB / 0.646 GB, free: 2.91 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000652/0.8397, allocations: 450.3 kB / 0.6464 GB, free: 2.469 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002033/0.8399, allocations: 135.6 kB / 0.6465 GB, free: 2.312 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.721e-05/0.8399, allocations: 47.12 kB / 0.6466 GB, free: 2.258 MB / 462.1 MB Notification: Performance of pre-optimization done (n=60): time 2.765e-06/0.8399, allocations: 0 / 0.6466 GB, free: 2.258 MB / 462.1 MB Notification: Performance of matching and sorting (n=72): time 0.01195/0.8519, allocations: 4.173 MB / 0.6506 GB, free: 14 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.853e-05/0.8521, allocations: 115.5 kB / 0.6508 GB, free: 13.86 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00203/0.8541, allocations: 1.097 MB / 0.6518 GB, free: 12.74 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002023/0.8543, allocations: 45.7 kB / 0.6519 GB, free: 12.69 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000583/0.8549, allocations: 0.5145 MB / 0.6524 GB, free: 12.16 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002972/0.8552, allocations: 272.2 kB / 0.6526 GB, free: 11.89 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002343/0.8555, allocations: 89.67 kB / 0.6527 GB, free: 11.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.8557, allocations: 353.9 kB / 0.6531 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.8567, allocations: 0.5836 MB / 0.6536 GB, free: 10.86 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/0.858, allocations: 0.8682 MB / 0.6545 GB, free: 9.875 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002389/0.8604, allocations: 1.447 MB / 0.6559 GB, free: 8.316 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.8605, allocations: 0 / 0.6559 GB, free: 8.316 MB / 478.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003889/0.8644, allocations: 2.008 MB / 0.6578 GB, free: 6.301 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.8644, allocations: 8 kB / 0.6579 GB, free: 6.293 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.142e-05/0.8644, allocations: 8 kB / 0.6579 GB, free: 6.285 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005121/0.8696, allocations: 1.379 MB / 0.6592 GB, free: 4.902 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007189/0.8703, allocations: 147.7 kB / 0.6593 GB, free: 4.758 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003073/0.8734, allocations: 1.932 MB / 0.6612 GB, free: 2.801 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.8748, allocations: 111.8 kB / 0.6613 GB, free: 2.691 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/0.875, allocations: 63.98 kB / 0.6614 GB, free: 2.629 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * 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 {(9,35)} Notification: Performance of prepare postOptimizeDAE: time 0.000867/0.8758, allocations: 401.4 kB / 0.6618 GB, free: 2.227 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003293/0.8762, allocations: 114.8 kB / 0.6619 GB, free: 2.113 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002846/0.879, allocations: 1.398 MB / 0.6633 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/0.8791, allocations: 8.188 kB / 0.6633 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.8791, allocations: 0 / 0.6633 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.8791, allocations: 7.922 kB / 0.6633 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005048/0.8841, allocations: 2.696 MB / 0.6659 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.8842, allocations: 3.938 kB / 0.6659 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001851/0.886, allocations: 339.6 kB / 0.6662 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002198/0.8863, allocations: 68.78 kB / 0.6663 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/0.8864, allocations: 31.98 kB / 0.6663 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002804/0.8892, allocations: 2.844 MB / 0.6691 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.8892, allocations: 3.938 kB / 0.6691 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003391/0.8926, allocations: 1.899 MB / 0.671 GB, free: 8.457 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009769/0.8936, allocations: 347.6 kB / 0.6713 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003428/0.894, allocations: 27.92 kB / 0.6713 GB, free: 8.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/0.8953, allocations: 79.92 kB / 0.6714 GB, free: 7.992 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/0.8955, allocations: 68.5 kB / 0.6715 GB, free: 7.926 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001625/0.8957, allocations: 59.95 kB / 0.6715 GB, free: 7.867 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001385/0.897, allocations: 0.797 MB / 0.6723 GB, free: 7.059 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.8971, allocations: 0 / 0.6723 GB, free: 7.059 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002143/0.8992, allocations: 0.5233 MB / 0.6728 GB, free: 6.535 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],volume.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 (78): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.002913/0.9021, allocations: 0.7969 MB / 0.6736 GB, free: 5.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003017/0.9052, allocations: 1.47 MB / 0.675 GB, free: 4.258 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/0.9052, allocations: 4.656 kB / 0.675 GB, free: 4.25 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001762/0.907, allocations: 0.8546 MB / 0.6759 GB, free: 3.387 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004276/0.9113, allocations: 0.7146 MB / 0.6766 GB, free: 2.668 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0067/0.918, allocations: 3.563 MB / 0.68 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/0.9192, allocations: 1.176 MB / 0.6812 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005914/0.9198, allocations: 107.4 kB / 0.6813 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of SimCode: time 1.924e-06/0.9198, allocations: 4 kB / 0.6813 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of Templates: time 0.3034/1.223, allocations: 32.35 MB / 0.7129 GB, free: 198.6 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.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.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasCalcHelperMain.o] Error 1