Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_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.0008734/0.0008734, allocations: 90.66 kB / 17.63 MB, free: 5.863 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.001072/0.001073, allocations: 190.1 kB / 18.52 MB, free: 5.172 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.472/1.472, allocations: 223.2 MB / 242.5 MB, free: 316 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.2422/0.2422, allocations: 44.22 MB / 337.9 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003965, allocations: 8 kB / 410.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1626, allocations: 61.92 MB / 472.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.6215/0.7841, allocations: 161.7 MB / 0.6191 GB, free: 1.391 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009263/0.7934, allocations: 6.196 MB / 0.6251 GB, free: 11.18 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.7945, allocations: 27.75 kB / 0.6252 GB, free: 11.15 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000952/0.7955, allocations: 306.2 kB / 0.6254 GB, free: 10.85 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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 4.0.0+maint.om/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 4.0.0+maint.om/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 4.0.0+maint.om/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.004087/0.7996, allocations: 1.396 MB / 0.6268 GB, free: 9.449 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003543/0.8031, allocations: 1.058 MB / 0.6278 GB, free: 8.398 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004083/0.8072, allocations: 2.547 MB / 0.6303 GB, free: 5.844 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009912/0.8082, allocations: 452.8 kB / 0.6308 GB, free: 5.395 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004594/0.8128, allocations: 1.548 MB / 0.6323 GB, free: 3.844 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003545/0.8164, allocations: 1.543 MB / 0.6338 GB, free: 2.297 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002008/0.8166, allocations: 36 kB / 0.6338 GB, free: 2.262 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003426/0.8201, allocations: 1.217 MB / 0.635 GB, free: 1.043 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006228/0.8207, allocations: 422.8 kB / 0.6354 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005088/0.8212, allocations: 225.3 kB / 0.6356 GB, free: 412 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002588/0.8238, allocations: 1.543 MB / 0.6371 GB, free: 14.86 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8238, allocations: 0 / 0.6371 GB, free: 14.86 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.8238, allocations: 0 / 0.6371 GB, free: 14.86 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.8239, allocations: 0 / 0.6371 GB, free: 14.86 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002769/0.8266, allocations: 1.269 MB / 0.6384 GB, free: 13.54 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.8267, allocations: 8.562 kB / 0.6384 GB, free: 13.53 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.828, allocations: 291.4 kB / 0.6387 GB, free: 13.25 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.829, allocations: 0.59 MB / 0.6392 GB, free: 12.62 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.8292, allocations: 112.7 kB / 0.6393 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.8293, allocations: 67.98 kB / 0.6394 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/0.8313, allocations: 1.263 MB / 0.6406 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.8314, allocations: 0 / 0.6406 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.8315, allocations: 36 kB / 0.6407 GB, free: 11.06 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001007/0.8316, allocations: 81.2 kB / 0.6407 GB, free: 10.98 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.8333, allocations: 1.063 MB / 0.6418 GB, free: 9.918 MB / 478.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.0071/0.8404, allocations: 4.852 MB / 0.6465 GB, free: 4.766 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005307/0.841, allocations: 288.7 kB / 0.6468 GB, free: 4.477 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.8412, allocations: 144.8 kB / 0.6469 GB, free: 4.332 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.8413, allocations: 97.05 kB / 0.647 GB, free: 4.219 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.8414, allocations: 38.56 kB / 0.6471 GB, free: 4.172 MB / 478.1 MB Notification: Performance of pre-optimization done (n=28): time 3.476e-06/0.8414, allocations: 4 kB / 0.6471 GB, free: 4.168 MB / 478.1 MB Notification: Performance of matching and sorting (n=33): time 0.005682/0.8471, allocations: 1.746 MB / 0.6488 GB, free: 2.332 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.8472, allocations: 132.5 kB / 0.6489 GB, free: 2.172 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.8485, allocations: 0.9349 MB / 0.6498 GB, free: 1.211 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/0.8486, allocations: 33.7 kB / 0.6498 GB, free: 1.172 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004841/0.8491, allocations: 0.5633 MB / 0.6504 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.8492, allocations: 138.2 kB / 0.6505 GB, free: 472 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.8493, allocations: 20 kB / 0.6505 GB, free: 452 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002167/0.8495, allocations: 398.7 kB / 0.6509 GB, free: 44 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004567/0.8499, allocations: 270.5 kB / 0.6512 GB, free: 15.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.851, allocations: 0.8639 MB / 0.652 GB, free: 14.62 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006859/0.8517, allocations: 448.4 kB / 0.6525 GB, free: 14.19 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.086e-05/0.8517, allocations: 11.95 kB / 0.6525 GB, free: 14.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002018/0.8537, allocations: 1.235 MB / 0.6537 GB, free: 12.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.8538, allocations: 12 kB / 0.6537 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.377e-05/0.8538, allocations: 20.88 kB / 0.6537 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/0.855, allocations: 299.5 kB / 0.654 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005642/0.8556, allocations: 207.6 kB / 0.6542 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/0.8568, allocations: 0.902 MB / 0.6551 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008544/0.8576, allocations: 63.94 kB / 0.6551 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.1e-05/0.8577, allocations: 68 kB / 0.6552 GB, free: 11.35 MB / 494.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.0005624/0.8583, allocations: 353.1 kB / 0.6555 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.8585, allocations: 94.92 kB / 0.6556 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.8595, allocations: 0.5123 MB / 0.6561 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.8595, allocations: 8 kB / 0.6561 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.8596, allocations: 4 kB / 0.6561 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.8596, allocations: 0 / 0.6561 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/0.8614, allocations: 1.117 MB / 0.6572 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.8614, allocations: 3.984 kB / 0.6572 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009259/0.8623, allocations: 187.8 kB / 0.6574 GB, free: 9.004 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.18e-05/0.8625, allocations: 28.69 kB / 0.6574 GB, free: 8.973 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/0.8625, allocations: 12 kB / 0.6574 GB, free: 8.961 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002283/0.8648, allocations: 2.676 MB / 0.6601 GB, free: 6.016 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8648, allocations: 0 / 0.6601 GB, free: 6.016 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.8659, allocations: 0.6913 MB / 0.6607 GB, free: 5.301 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003974/0.8663, allocations: 208.1 kB / 0.6609 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.8664, allocations: 15.89 kB / 0.661 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004117/0.8669, allocations: 27.98 kB / 0.661 GB, free: 5.035 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.8669, allocations: 19.97 kB / 0.661 GB, free: 5.016 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-05/0.867, allocations: 23.92 kB / 0.661 GB, free: 4.992 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009117/0.8679, allocations: 0.6204 MB / 0.6616 GB, free: 4.359 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8679, allocations: 4 kB / 0.6616 GB, free: 4.355 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001582/0.8695, allocations: 387.9 kB / 0.662 GB, free: 3.977 MB / 494.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.001651/0.8711, allocations: 0.5345 MB / 0.6625 GB, free: 3.441 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001465/0.8726, allocations: 0.6662 MB / 0.6632 GB, free: 2.777 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.8726, allocations: 0 / 0.6632 GB, free: 2.777 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009534/0.8736, allocations: 362.9 kB / 0.6635 GB, free: 2.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/0.8755, allocations: 406.4 kB / 0.6639 GB, free: 2.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003367/0.8788, allocations: 1.957 MB / 0.6658 GB, free: 20 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007146/0.8796, allocations: 1.024 MB / 0.6668 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/0.8799, allocations: 91.42 kB / 0.6669 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.8799, allocations: 4 kB / 0.6669 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of Templates: time 0.03744/0.9173, allocations: 22.43 MB / 0.6888 GB, free: 8.566 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile make -j1 -f ModelicaTest_4.0.0_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/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/c/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.SimpleNaturalGasFixedCompositionCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedCompositionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedCompositionCalcHelperMain.o] Error 1