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.001187/0.001187, allocations: 104.9 kB / 16.52 MB, free: 6.711 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.001108/0.001108, allocations: 195.2 kB / 17.44 MB, free: 6.078 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.886/1.886, allocations: 205.1 MB / 223.3 MB, free: 12.54 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.2737/0.2737, allocations: 43.51 MB / 314.1 MB, free: 0.7656 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.001647/0.001647, allocations: 65.38 kB / 382.7 MB, free: 57.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1759, allocations: 57.79 MB / 440.5 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.6846/0.8606, allocations: 181.7 MB / 0.6076 GB, free: 7.711 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0117/0.8723, allocations: 7.19 MB / 0.6146 GB, free: 4.133 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.8737, allocations: 24.5 kB / 0.6146 GB, free: 4.121 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.8753, allocations: 391.9 kB / 0.615 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00667/0.882, allocations: 1.836 MB / 0.6168 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005787/0.8878, allocations: 1.551 MB / 0.6183 GB, free: 1.387 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005221/0.8931, allocations: 3.23 MB / 0.6214 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001415/0.8945, allocations: 0.6625 MB / 0.6221 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005944/0.9005, allocations: 1.809 MB / 0.6239 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004054/0.9046, allocations: 1.667 MB / 0.6255 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000268/0.9048, allocations: 56 kB / 0.6255 GB, free: 12.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005602/0.9105, allocations: 2.054 MB / 0.6275 GB, free: 10 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009405/0.9114, allocations: 0.6468 MB / 0.6282 GB, free: 9.355 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.9126, allocations: 0.6962 MB / 0.6289 GB, free: 8.656 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003317/0.916, allocations: 2.12 MB / 0.6309 GB, free: 6.531 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.916, allocations: 4 kB / 0.6309 GB, free: 6.527 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.916, allocations: 0 / 0.6309 GB, free: 6.527 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.916, allocations: 4 kB / 0.6309 GB, free: 6.523 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.004058/0.9201, allocations: 1.68 MB / 0.6326 GB, free: 4.793 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.821e-05/0.9202, allocations: 16.03 kB / 0.6326 GB, free: 4.777 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/0.9217, allocations: 306.3 kB / 0.6329 GB, free: 4.477 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.9231, allocations: 0.7492 MB / 0.6336 GB, free: 3.688 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001818/0.9233, allocations: 149.3 kB / 0.6338 GB, free: 3.527 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.9235, allocations: 104 kB / 0.6339 GB, free: 3.426 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003054/0.9265, allocations: 1.838 MB / 0.6357 GB, free: 1.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.479e-05/0.9266, allocations: 7.906 kB / 0.6357 GB, free: 1.512 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/0.9267, allocations: 47.98 kB / 0.6357 GB, free: 1.465 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001099/0.9269, allocations: 93.95 kB / 0.6358 GB, free: 1.375 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002845/0.9298, allocations: 1.698 MB / 0.6375 GB, free: 15.68 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.01101/0.9408, allocations: 7.011 MB / 0.6443 GB, free: 8.188 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.9422, allocations: 0.8692 MB / 0.6451 GB, free: 7.312 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007114/0.943, allocations: 450.3 kB / 0.6456 GB, free: 6.871 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002054/0.9432, allocations: 143.5 kB / 0.6457 GB, free: 6.707 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.85e-05/0.9433, allocations: 51.06 kB / 0.6458 GB, free: 6.648 MB / 462.1 MB Notification: Performance of pre-optimization done (n=60): time 3.086e-06/0.9433, allocations: 3.938 kB / 0.6458 GB, free: 6.645 MB / 462.1 MB Notification: Performance of matching and sorting (n=72): time 0.01168/0.955, allocations: 4.22 MB / 0.6499 GB, free: 2.336 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.9551, allocations: 111.5 kB / 0.65 GB, free: 2.203 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001908/0.957, allocations: 1.113 MB / 0.6511 GB, free: 1.066 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001294/0.9572, allocations: 41.7 kB / 0.6511 GB, free: 1.02 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005437/0.9577, allocations: 0.5223 MB / 0.6516 GB, free: 500 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002982/0.958, allocations: 264.2 kB / 0.6519 GB, free: 232 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004147/0.9585, allocations: 218.5 kB / 0.6521 GB, free: 4 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002434/0.9587, allocations: 349.9 kB / 0.6524 GB, free: 15.66 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.9598, allocations: 0.5797 MB / 0.653 GB, free: 15.08 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.961, allocations: 0.876 MB / 0.6538 GB, free: 14.08 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002061/0.9631, allocations: 1.443 MB / 0.6553 GB, free: 12.53 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.9631, allocations: 8 kB / 0.6553 GB, free: 12.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003577/0.9667, allocations: 1.996 MB / 0.6572 GB, free: 10.52 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.9667, allocations: 11.98 kB / 0.6572 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.9667, allocations: 8 kB / 0.6572 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004956/0.9717, allocations: 1.313 MB / 0.6585 GB, free: 9.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006355/0.9724, allocations: 147.7 kB / 0.6587 GB, free: 9.035 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003184/0.9756, allocations: 1.924 MB / 0.6605 GB, free: 7.086 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.9769, allocations: 107.9 kB / 0.6606 GB, free: 6.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.9771, allocations: 63.98 kB / 0.6607 GB, free: 6.918 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.0009064/0.978, allocations: 409.3 kB / 0.6611 GB, free: 6.508 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00025/0.9782, allocations: 114.7 kB / 0.6612 GB, free: 6.395 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002729/0.981, allocations: 1.398 MB / 0.6626 GB, free: 4.984 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.981, allocations: 8 kB / 0.6626 GB, free: 4.977 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.981, allocations: 4 kB / 0.6626 GB, free: 4.973 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.981, allocations: 3.984 kB / 0.6626 GB, free: 4.969 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004565/0.9856, allocations: 2.692 MB / 0.6652 GB, free: 2.211 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.9856, allocations: 3.938 kB / 0.6652 GB, free: 2.207 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001795/0.9874, allocations: 327.6 kB / 0.6655 GB, free: 1.887 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001787/0.9876, allocations: 72.69 kB / 0.6656 GB, free: 1.812 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-05/0.9877, allocations: 31.98 kB / 0.6656 GB, free: 1.781 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002927/0.9906, allocations: 2.84 MB / 0.6684 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.9906, allocations: 3.938 kB / 0.6684 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003297/0.9939, allocations: 1.903 MB / 0.6703 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009766/0.9949, allocations: 335.6 kB / 0.6706 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002593/0.9952, allocations: 32.11 kB / 0.6706 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/0.9965, allocations: 79.92 kB / 0.6707 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001889/0.9967, allocations: 64.5 kB / 0.6707 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/0.9969, allocations: 67.94 kB / 0.6708 GB, free: 12.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00121/0.9981, allocations: 0.7931 MB / 0.6716 GB, free: 11.36 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9981, allocations: 0 / 0.6716 GB, free: 11.36 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001862/1, allocations: 0.5194 MB / 0.6721 GB, free: 10.84 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.002484/1.002, allocations: 0.7985 MB / 0.6729 GB, free: 10.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003001/1.005, allocations: 1.462 MB / 0.6743 GB, free: 8.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/1.005, allocations: 4.656 kB / 0.6743 GB, free: 8.562 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001806/1.007, allocations: 0.8468 MB / 0.6751 GB, free: 7.707 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003429/1.011, allocations: 0.732 MB / 0.6758 GB, free: 6.977 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006589/1.017, allocations: 3.377 MB / 0.6791 GB, free: 3.57 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009404/1.018, allocations: 1.176 MB / 0.6803 GB, free: 2.363 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005204/1.019, allocations: 111.4 kB / 0.6804 GB, free: 2.254 MB / 494.1 MB Notification: Performance of SimCode: time 1.112e-06/1.019, allocations: 0 / 0.6804 GB, free: 2.254 MB / 494.1 MB Notification: Performance of Templates: time 0.0597/1.079, allocations: 32.53 MB / 0.7122 GB, free: 1.707 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