Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009833/0.0009834, allocations: 89.17 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00142/0.001421, allocations: 197.4 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 227.3 MB / 246.6 MB, free: 10.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2589/0.2589, allocations: 45.91 MB / 344.7 MB, free: 12.03 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003266/0.0003267, allocations: 8 kB / 418.7 MB, free: 20.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1624, allocations: 63.47 MB / 482.1 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.5857/0.7482, allocations: 161.7 MB / 0.6287 GB, free: 4.734 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009926/0.7582, allocations: 6.18 MB / 0.6348 GB, free: 14.54 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.7595, allocations: 23.81 kB / 0.6348 GB, free: 14.52 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.7607, allocations: 322 kB / 0.6351 GB, free: 14.2 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004854/0.7655, allocations: 1.411 MB / 0.6365 GB, free: 12.79 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00396/0.7695, allocations: 1.088 MB / 0.6375 GB, free: 11.7 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003818/0.7733, allocations: 2.656 MB / 0.6401 GB, free: 9.043 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001435/0.7748, allocations: 0.6299 MB / 0.6407 GB, free: 8.406 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004488/0.7793, allocations: 1.607 MB / 0.6423 GB, free: 6.797 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003849/0.7831, allocations: 1.73 MB / 0.644 GB, free: 5.062 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002232/0.7834, allocations: 56 kB / 0.644 GB, free: 5.008 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003299/0.7867, allocations: 1.251 MB / 0.6453 GB, free: 3.758 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009324/0.7876, allocations: 0.682 MB / 0.6459 GB, free: 3.074 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005065/0.7882, allocations: 293.1 kB / 0.6462 GB, free: 2.781 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002746/0.7909, allocations: 1.976 MB / 0.6481 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.7909, allocations: 0 / 0.6481 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.7909, allocations: 0 / 0.6481 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.791, allocations: 4 kB / 0.6481 GB, free: 0.7969 MB / 478.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.003448/0.7944, allocations: 1.454 MB / 0.6496 GB, free: 15.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.7945, allocations: 12.03 kB / 0.6496 GB, free: 15.28 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.7959, allocations: 314.2 kB / 0.6499 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.7973, allocations: 0.7224 MB / 0.6506 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.7974, allocations: 137.4 kB / 0.6507 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/0.7976, allocations: 107.9 kB / 0.6508 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002994/0.8006, allocations: 1.841 MB / 0.6526 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/0.8006, allocations: 4 kB / 0.6526 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/0.8008, allocations: 47.95 kB / 0.6527 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001305/0.8009, allocations: 93.89 kB / 0.6528 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003145/0.8041, allocations: 1.706 MB / 0.6544 GB, free: 10.2 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.0109/0.815, allocations: 6.882 MB / 0.6611 GB, free: 2.844 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.8165, allocations: 0.8608 MB / 0.662 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007233/0.8173, allocations: 442.3 kB / 0.6624 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000152/0.8174, allocations: 105.6 kB / 0.6625 GB, free: 1.418 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/0.8175, allocations: 47.12 kB / 0.6625 GB, free: 1.363 MB / 494.1 MB Notification: Performance of pre-optimization done (n=60): time 2.815e-06/0.8175, allocations: 0 / 0.6625 GB, free: 1.363 MB / 494.1 MB Notification: Performance of matching and sorting (n=72): time 0.01119/0.8287, allocations: 4.142 MB / 0.6666 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.088e-05/0.8288, allocations: 115.5 kB / 0.6667 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/0.8305, allocations: 1.093 MB / 0.6678 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001674/0.8307, allocations: 45.7 kB / 0.6678 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008985/0.8316, allocations: 0.5184 MB / 0.6683 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003868/0.832, allocations: 264.2 kB / 0.6686 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.796e-05/0.8321, allocations: 20 kB / 0.6686 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002392/0.8323, allocations: 345.9 kB / 0.6689 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009868/0.8333, allocations: 0.5758 MB / 0.6695 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/0.8346, allocations: 0.8604 MB / 0.6703 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.8358, allocations: 0.6822 MB / 0.671 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.8358, allocations: 0 / 0.671 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00368/0.8395, allocations: 1.989 MB / 0.6729 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.8395, allocations: 8 kB / 0.6729 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.8396, allocations: 8 kB / 0.6729 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004925/0.8445, allocations: 1.42 MB / 0.6743 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006312/0.8451, allocations: 135.8 kB / 0.6745 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003157/0.8483, allocations: 1.928 MB / 0.6763 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.8496, allocations: 111.8 kB / 0.6765 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.8497, allocations: 67.92 kB / 0.6765 GB, free: 2.758 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 35} Notification: Performance of prepare postOptimizeDAE: time 0.0009537/0.8507, allocations: 405.1 kB / 0.6769 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002494/0.8509, allocations: 110.8 kB / 0.677 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002874/0.8538, allocations: 1.48 MB / 0.6785 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.8538, allocations: 8 kB / 0.6785 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.8539, allocations: 4 kB / 0.6785 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.8539, allocations: 11.92 kB / 0.6785 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004537/0.8584, allocations: 2.665 MB / 0.6811 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.8585, allocations: 4.031 kB / 0.6811 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001686/0.8601, allocations: 331.5 kB / 0.6814 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001913/0.8603, allocations: 60.8 kB / 0.6815 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-05/0.8604, allocations: 43.97 kB / 0.6815 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002779/0.8632, allocations: 2.844 MB / 0.6843 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.8632, allocations: 0 / 0.6843 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003063/0.8663, allocations: 1.883 MB / 0.6861 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009241/0.8673, allocations: 343.7 kB / 0.6864 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/0.8674, allocations: 20 kB / 0.6865 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008849/0.8683, allocations: 91.91 kB / 0.6865 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/0.8685, allocations: 60.56 kB / 0.6866 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/0.8686, allocations: 67.94 kB / 0.6867 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001247/0.8699, allocations: 0.7852 MB / 0.6874 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8699, allocations: 0 / 0.6874 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001817/0.8717, allocations: 495.8 kB / 0.6879 GB, free: 6.68 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002026/0.8737, allocations: 0.573 MB / 0.6885 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003013/0.8768, allocations: 1.454 MB / 0.6899 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/0.8768, allocations: 4.656 kB / 0.6899 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001979/0.8788, allocations: 0.8506 MB / 0.6907 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004096/0.8829, allocations: 0.7308 MB / 0.6914 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007437/0.8903, allocations: 3.433 MB / 0.6948 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001562/0.8919, allocations: 1.176 MB / 0.6959 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005848/0.8925, allocations: 119.4 kB / 0.6961 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of SimCode: time 1.553e-06/0.8925, allocations: 0 / 0.6961 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of Templates: time 0.3481/1.241, allocations: 31.61 MB / 0.7269 GB, free: 190.4 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasCalcHelperMain.o] Error 1