Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0009572/0.0009573, allocations: 95.47 kB / 18 MB, free: 5.602 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.001128/0.001128, allocations: 182.2 kB / 18.91 MB, free: 4.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 223.3 MB / 242.9 MB, free: 24 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2276/0.2276, allocations: 44.25 MB / 338.3 MB, free: 2.617 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003562, allocations: 8.938 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1632, allocations: 61.93 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.6061/0.7693, allocations: 173.2 MB / 0.6309 GB, free: 5.43 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01175/0.7811, allocations: 6.616 MB / 0.6374 GB, free: 14.79 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/0.7827, allocations: 23.81 kB / 0.6374 GB, free: 14.77 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001432/0.7841, allocations: 386.1 kB / 0.6378 GB, free: 14.39 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005313/0.7895, allocations: 1.616 MB / 0.6394 GB, free: 12.77 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00501/0.7945, allocations: 1.384 MB / 0.6407 GB, free: 11.4 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005002/0.7995, allocations: 3.234 MB / 0.6439 GB, free: 8.156 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001414/0.8009, allocations: 0.664 MB / 0.6445 GB, free: 7.484 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004556/0.8055, allocations: 1.647 MB / 0.6461 GB, free: 5.832 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003706/0.8092, allocations: 1.663 MB / 0.6478 GB, free: 4.164 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002317/0.8095, allocations: 56 kB / 0.6478 GB, free: 4.109 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004045/0.8135, allocations: 1.824 MB / 0.6496 GB, free: 2.281 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008804/0.8144, allocations: 0.6468 MB / 0.6502 GB, free: 1.633 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.8156, allocations: 0.7174 MB / 0.6509 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003086/0.8187, allocations: 2.038 MB / 0.6529 GB, free: 14.86 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8187, allocations: 4 kB / 0.6529 GB, free: 14.86 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.8187, allocations: 0 / 0.6529 GB, free: 14.86 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.637e-05/0.8187, allocations: 0 / 0.6529 GB, free: 14.86 MB / 494.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.003671/0.8224, allocations: 1.443 MB / 0.6543 GB, free: 13.37 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.8225, allocations: 11.97 kB / 0.6543 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001626/0.8241, allocations: 314.2 kB / 0.6546 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.8259, allocations: 0.7376 MB / 0.6554 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002617/0.8262, allocations: 145.3 kB / 0.6555 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002173/0.8264, allocations: 107.9 kB / 0.6556 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003474/0.8299, allocations: 1.849 MB / 0.6574 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/0.8299, allocations: 8 kB / 0.6574 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001563/0.8301, allocations: 40 kB / 0.6575 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/0.8302, allocations: 89.95 kB / 0.6575 GB, free: 9.957 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002882/0.8331, allocations: 1.698 MB / 0.6592 GB, free: 8.258 MB / 494.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.01098/0.8441, allocations: 6.966 MB / 0.666 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.8456, allocations: 0.8772 MB / 0.6669 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007164/0.8463, allocations: 450.2 kB / 0.6673 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001572/0.8465, allocations: 105.7 kB / 0.6674 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.553e-05/0.8465, allocations: 55 kB / 0.6674 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 3.146e-06/0.8466, allocations: 4 kB / 0.6674 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72): time 0.01159/0.8582, allocations: 4.166 MB / 0.6715 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.521e-05/0.8583, allocations: 111.5 kB / 0.6716 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001835/0.8601, allocations: 1.105 MB / 0.6727 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000144/0.8603, allocations: 41.7 kB / 0.6727 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006958/0.861, allocations: 0.5223 MB / 0.6732 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003603/0.8614, allocations: 260.3 kB / 0.6735 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/0.8615, allocations: 93.67 kB / 0.6736 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002287/0.8618, allocations: 345.9 kB / 0.6739 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.8628, allocations: 0.5875 MB / 0.6745 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.864, allocations: 0.8721 MB / 0.6753 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002461/0.8665, allocations: 1.447 MB / 0.6768 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.8665, allocations: 0 / 0.6768 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003435/0.87, allocations: 2.008 MB / 0.6787 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.87, allocations: 8 kB / 0.6787 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.87, allocations: 8 kB / 0.6787 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004982/0.875, allocations: 1.428 MB / 0.6801 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006198/0.8757, allocations: 139.8 kB / 0.6803 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002946/0.8786, allocations: 1.932 MB / 0.6821 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.8799, allocations: 119.8 kB / 0.6823 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/0.8801, allocations: 75.86 kB / 0.6823 GB, free: 15.64 MB / 0.5137 GB 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.0008395/0.8809, allocations: 386 kB / 0.6827 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/0.8812, allocations: 114.7 kB / 0.6828 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00278/0.8839, allocations: 1.504 MB / 0.6843 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.884, allocations: 8 kB / 0.6843 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.884, allocations: 4 kB / 0.6843 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.884, allocations: 3.984 kB / 0.6843 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004274/0.8883, allocations: 2.684 MB / 0.6869 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.8883, allocations: 4 kB / 0.6869 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001773/0.8901, allocations: 327.5 kB / 0.6872 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000183/0.8903, allocations: 64.83 kB / 0.6873 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.728e-05/0.8904, allocations: 39.97 kB / 0.6873 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002545/0.8929, allocations: 2.832 MB / 0.6901 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.8929, allocations: 0 / 0.6901 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003177/0.8961, allocations: 1.903 MB / 0.692 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008621/0.897, allocations: 359.5 kB / 0.6923 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/0.8972, allocations: 28 kB / 0.6923 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.8982, allocations: 88.09 kB / 0.6924 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/0.8984, allocations: 52.58 kB / 0.6925 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.8985, allocations: 71.88 kB / 0.6925 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001287/0.8998, allocations: 0.7931 MB / 0.6933 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8998, allocations: 0 / 0.6933 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002039/0.9019, allocations: 499.8 kB / 0.6938 GB, free: 3.508 MB / 0.5137 GB 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.002406/0.9043, allocations: 0.68 MB / 0.6944 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003206/0.9075, allocations: 1.47 MB / 0.6959 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/0.9075, allocations: 0.6562 kB / 0.6959 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001705/0.9093, allocations: 0.8534 MB / 0.6967 GB, free: 500 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00367/0.9129, allocations: 0.7352 MB / 0.6974 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005847/0.9188, allocations: 3.549 MB / 0.7009 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009215/0.9197, allocations: 1.18 MB / 0.702 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004726/0.9202, allocations: 111.4 kB / 0.7022 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of SimCode: time 9.11e-07/0.9202, allocations: 0 / 0.7022 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of Templates: time 0.3336/1.254, allocations: 31.7 MB / 0.7331 GB, free: 193.6 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile make -j1 -f ModelicaTest_4.0.0_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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasCalcHelperMain.o] Error 1