Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008935/0.0008935, allocations: 94.45 kB / 16.33 MB, free: 5.949 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.001051/0.001051, allocations: 186.8 kB / 17.22 MB, free: 5.883 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.539/1.539, allocations: 205.4 MB / 223.4 MB, free: 13.15 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.2226/0.2226, allocations: 43.57 MB / 315.2 MB, free: 0.5547 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.0004909/0.000491, allocations: 16.78 kB / 384.6 MB, free: 57.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1223, allocations: 58.86 MB / 443.4 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.454/0.5763, allocations: 167.1 MB / 0.5962 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009154/0.5855, allocations: 6.614 MB / 0.6027 GB, free: 13.58 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/0.5867, allocations: 22.69 kB / 0.6027 GB, free: 13.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.5877, allocations: 302.3 kB / 0.603 GB, free: 13.31 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004648/0.5924, allocations: 1.613 MB / 0.6046 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003578/0.596, allocations: 1.216 MB / 0.6058 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00275/0.5988, allocations: 2.551 MB / 0.6083 GB, free: 9.789 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006799/0.5995, allocations: 467.9 kB / 0.6087 GB, free: 9.492 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003935/0.6034, allocations: 1.681 MB / 0.6104 GB, free: 7.844 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002622/0.606, allocations: 1.549 MB / 0.6119 GB, free: 6.293 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.6062, allocations: 44 kB / 0.6119 GB, free: 6.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003333/0.6095, allocations: 1.421 MB / 0.6133 GB, free: 4.832 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004664/0.61, allocations: 422.8 kB / 0.6137 GB, free: 4.418 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003355/0.6104, allocations: 225.3 kB / 0.6139 GB, free: 4.191 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001963/0.6123, allocations: 1.617 MB / 0.6155 GB, free: 2.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.6123, allocations: 0 / 0.6155 GB, free: 2.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.6124, allocations: 7.938 kB / 0.6155 GB, free: 2.562 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.6124, allocations: 0 / 0.6155 GB, free: 2.562 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002373/0.6147, allocations: 1.219 MB / 0.6167 GB, free: 1.297 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.6148, allocations: 23.91 kB / 0.6167 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.616, allocations: 278.6 kB / 0.617 GB, free: 1 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008533/0.6169, allocations: 0.59 MB / 0.6176 GB, free: 380 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.617, allocations: 120.6 kB / 0.6177 GB, free: 248 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-05/0.6171, allocations: 60 kB / 0.6177 GB, free: 188 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.6188, allocations: 1.263 MB / 0.619 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.6188, allocations: 4 kB / 0.619 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.619, allocations: 35.98 kB / 0.619 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.924e-05/0.6191, allocations: 85.2 kB / 0.6191 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.6206, allocations: 1.053 MB / 0.6201 GB, free: 13.68 MB / 446.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.005797/0.6264, allocations: 4.895 MB / 0.6249 GB, free: 8.477 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004561/0.6269, allocations: 290.5 kB / 0.6252 GB, free: 8.184 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.6271, allocations: 136.8 kB / 0.6253 GB, free: 8.047 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001453/0.6272, allocations: 150.9 kB / 0.6254 GB, free: 7.879 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.6273, allocations: 43.03 kB / 0.6255 GB, free: 7.828 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.944e-06/0.6273, allocations: 0 / 0.6255 GB, free: 7.828 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.005128/0.6324, allocations: 1.754 MB / 0.6272 GB, free: 5.984 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.515e-05/0.6325, allocations: 132.5 kB / 0.6273 GB, free: 5.824 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.6337, allocations: 0.931 MB / 0.6282 GB, free: 4.867 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/0.6338, allocations: 33.7 kB / 0.6283 GB, free: 4.828 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004586/0.6342, allocations: 0.5595 MB / 0.6288 GB, free: 4.258 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.6343, allocations: 126.3 kB / 0.6289 GB, free: 4.133 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.6344, allocations: 20 kB / 0.629 GB, free: 4.113 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.6346, allocations: 406.7 kB / 0.6293 GB, free: 3.707 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004244/0.635, allocations: 274.4 kB / 0.6296 GB, free: 3.441 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009161/0.6359, allocations: 0.86 MB / 0.6304 GB, free: 2.297 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006752/0.6366, allocations: 447.4 kB / 0.6309 GB, free: 1.859 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.6366, allocations: 8 kB / 0.6309 GB, free: 1.852 MB / 446.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001872/0.6385, allocations: 1.224 MB / 0.6321 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.6385, allocations: 13 kB / 0.6321 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/0.6386, allocations: 20 kB / 0.6321 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/0.6398, allocations: 296.5 kB / 0.6324 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005426/0.6403, allocations: 203.7 kB / 0.6326 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/0.6414, allocations: 0.9036 MB / 0.6335 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000788/0.6422, allocations: 67.88 kB / 0.6335 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.451e-05/0.6423, allocations: 68 kB / 0.6336 GB, free: 15.03 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * 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 (112): * Single equations (assignments): 111 * 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0004873/0.6428, allocations: 349.5 kB / 0.6339 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.643, allocations: 94.95 kB / 0.634 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008933/0.6439, allocations: 475.6 kB / 0.6345 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.6439, allocations: 7.938 kB / 0.6345 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.6439, allocations: 0 / 0.6345 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.6439, allocations: 7.984 kB / 0.6345 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/0.6455, allocations: 1.129 MB / 0.6356 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.6456, allocations: 3.938 kB / 0.6356 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008706/0.6464, allocations: 179.8 kB / 0.6358 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.811e-05/0.6465, allocations: 28.84 kB / 0.6358 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.6466, allocations: 12 kB / 0.6358 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001997/0.6486, allocations: 2.68 MB / 0.6384 GB, free: 9.734 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6486, allocations: 0 / 0.6384 GB, free: 9.734 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.6496, allocations: 0.6873 MB / 0.6391 GB, free: 9.023 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002847/0.6499, allocations: 211.9 kB / 0.6393 GB, free: 8.797 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.65, allocations: 8 kB / 0.6393 GB, free: 8.789 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/0.6504, allocations: 32.08 kB / 0.6393 GB, free: 8.758 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.6505, allocations: 19.97 kB / 0.6393 GB, free: 8.738 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.879e-05/0.6505, allocations: 19.98 kB / 0.6394 GB, free: 8.719 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009142/0.6515, allocations: 0.6242 MB / 0.64 GB, free: 8.082 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6515, allocations: 0 / 0.64 GB, free: 8.082 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001453/0.6529, allocations: 427.9 kB / 0.6404 GB, free: 7.664 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (33): * Single equations (assignments): 31 * 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.001811/0.6548, allocations: 0.6397 MB / 0.641 GB, free: 7.023 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001246/0.656, allocations: 0.666 MB / 0.6417 GB, free: 6.363 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.656, allocations: 1 kB / 0.6417 GB, free: 6.363 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007904/0.6568, allocations: 363 kB / 0.642 GB, free: 5.996 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00174/0.6586, allocations: 403.3 kB / 0.6424 GB, free: 5.598 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.6612, allocations: 1.958 MB / 0.6443 GB, free: 3.602 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006329/0.6618, allocations: 1.028 MB / 0.6453 GB, free: 2.543 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.662, allocations: 79.42 kB / 0.6454 GB, free: 2.465 MB / 462.1 MB Notification: Performance of SimCode: time 3.71e-07/0.662, allocations: 0 / 0.6454 GB, free: 2.465 MB / 462.1 MB Notification: Performance of Templates: time 0.02887/0.6909, allocations: 23.14 MB / 0.668 GB, free: 11.36 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedCompositionCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedCompositionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedCompositionCalcHelperMain.o] Error 1