Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008868/0.0008865, allocations: 86.55 kB / 17.58 MB, free: 5.801 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.0008253/0.0008253, allocations: 186.7 kB / 18.48 MB, free: 5.25 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.705/1.705, allocations: 205.4 MB / 224.6 MB, free: 13.07 MB / 190.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.0004576/0.0004576, allocations: 8 kB / 281.4 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1105, allocations: 47.58 MB / 329 MB, free: 4.059 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4464/0.5571, allocations: 159.6 MB / 488.6 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004511/0.5616, allocations: 3.559 MB / 492.2 MB, free: 6.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003845/0.562, allocations: 4 kB / 492.2 MB, free: 6.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006681/0.5627, allocations: 147.1 kB / 492.3 MB, free: 6.793 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007606/0.5635, allocations: 346.3 kB / 492.7 MB, free: 6.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.5649, allocations: 414 kB / 493.1 MB, free: 6.051 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001428/0.5664, allocations: 1.313 MB / 494.4 MB, free: 4.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.5666, allocations: 74.05 kB / 494.5 MB, free: 4.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002758/0.5693, allocations: 1.102 MB / 495.6 MB, free: 3.559 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005101/0.5698, allocations: 362.8 kB / 495.9 MB, free: 3.203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.034e-05/0.5699, allocations: 20 kB / 495.9 MB, free: 3.184 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.5712, allocations: 0.6124 MB / 496.5 MB, free: 2.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002487/0.5715, allocations: 219.4 kB / 496.8 MB, free: 2.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.5717, allocations: 133.5 kB / 496.9 MB, free: 2.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009564/0.5726, allocations: 0.8548 MB / 497.7 MB, free: 1.363 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5727, allocations: 0 / 497.7 MB, free: 1.363 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5727, allocations: 0 / 497.7 MB, free: 1.363 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.5727, allocations: 4 kB / 497.7 MB, free: 1.359 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0013/0.574, allocations: 0.6945 MB / 498.4 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.574, allocations: 8.031 kB / 498.4 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000567/0.5746, allocations: 131.3 kB / 498.6 MB, free: 488 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005207/0.5751, allocations: 369.3 kB / 498.9 MB, free: 76 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.61e-05/0.5752, allocations: 29 kB / 499 MB, free: 48 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-05/0.5753, allocations: 43.94 kB / 499 MB, free: 4 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009692/0.5762, allocations: 0.5538 MB / 499.6 MB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.5763, allocations: 4 kB / 499.6 MB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.387e-05/0.5764, allocations: 20 kB / 499.6 MB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.5764, allocations: 13.44 kB / 499.6 MB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006305/0.577, allocations: 442.3 kB / 0.4883 GB, free: 14.96 MB / 398.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.002993/0.58, allocations: 2.063 MB / 0.4903 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.5803, allocations: 150.6 kB / 0.4905 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.5804, allocations: 76.84 kB / 0.4905 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.5804, allocations: 7.984 kB / 0.4905 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.5805, allocations: 30.56 kB / 0.4906 GB, free: 12.45 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.5805, allocations: 8 kB / 0.4906 GB, free: 12.44 MB / 398.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.005119/0.5856, allocations: 1.678 MB / 0.4922 GB, free: 10.61 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.5857, allocations: 59.41 kB / 0.4923 GB, free: 10.54 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005203/0.5862, allocations: 485.5 kB / 0.4927 GB, free: 10.06 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.5863, allocations: 29.7 kB / 0.4928 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/0.5865, allocations: 318.4 kB / 0.4931 GB, free: 9.703 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.435e-05/0.5866, allocations: 82.81 kB / 0.4932 GB, free: 9.621 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.5866, allocations: 16 kB / 0.4932 GB, free: 9.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.5867, allocations: 350.8 kB / 0.4935 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.587, allocations: 133.2 kB / 0.4936 GB, free: 9.125 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004457/0.5874, allocations: 436.5 kB / 0.494 GB, free: 8.559 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.5877, allocations: 227.8 kB / 0.4943 GB, free: 8.336 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.5878, allocations: 4 kB / 0.4943 GB, free: 8.332 MB / 398.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009933/0.5888, allocations: 0.6312 MB / 0.4949 GB, free: 7.688 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.381e-05/0.5888, allocations: 15.92 kB / 0.4949 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/0.5888, allocations: 12.78 kB / 0.4949 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002214/0.5891, allocations: 61.66 kB / 0.495 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004663/0.5895, allocations: 139.8 kB / 0.4951 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.5911, allocations: 1.856 MB / 0.4969 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003857/0.5915, allocations: 31.92 kB / 0.4969 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-05/0.5915, allocations: 40.19 kB / 0.497 GB, free: 5.375 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002305/0.5918, allocations: 209.6 kB / 0.4972 GB, free: 5.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.631e-05/0.5919, allocations: 47.44 kB / 0.4972 GB, free: 5.113 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005183/0.5924, allocations: 290.9 kB / 0.4975 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.5924, allocations: 0 / 0.4975 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.5924, allocations: 0 / 0.4975 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005163/0.5929, allocations: 0.5278 MB / 0.498 GB, free: 4.199 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.594, allocations: 0.7058 MB / 0.4987 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.594, allocations: 0 / 0.4987 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.5943, allocations: 47.97 kB / 0.4988 GB, free: 3.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.132e-05/0.5944, allocations: 28.73 kB / 0.4988 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.5944, allocations: 11.98 kB / 0.4988 GB, free: 3.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/0.5954, allocations: 1.276 MB / 0.5 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5954, allocations: 0 / 0.5 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006099/0.596, allocations: 428.4 kB / 0.5005 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.5962, allocations: 120.5 kB / 0.5006 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.622e-05/0.5962, allocations: 4 kB / 0.5006 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.5965, allocations: 12 kB / 0.5006 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.5966, allocations: 15.97 kB / 0.5006 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.5966, allocations: 19.98 kB / 0.5006 GB, free: 1.305 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004478/0.5971, allocations: 323.2 kB / 0.5009 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5971, allocations: 0 / 0.5009 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009946/0.5981, allocations: 219.9 kB / 0.5011 GB, free: 0.7734 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (23): * Single equations (assignments): 22 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001306/0.5994, allocations: 398.8 kB / 0.5015 GB, free: 384 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008322/0.6002, allocations: 467.3 kB / 0.502 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.6002, allocations: 1.562 kB / 0.502 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002534/0.6005, allocations: 202.6 kB / 0.5022 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.6016, allocations: 225.3 kB / 0.5024 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.6033, allocations: 1.071 MB / 0.5034 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004915/0.6038, allocations: 0.8232 MB / 0.5042 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.6039, allocations: 55.36 kB / 0.5043 GB, free: 13.47 MB / 414.1 MB Notification: Performance of SimCode: time 2.11e-07/0.6039, allocations: 0 / 0.5043 GB, free: 13.47 MB / 414.1 MB Notification: Performance of Templates: time 0.01902/0.623, allocations: 12.02 MB / 0.516 GB, free: 1.434 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.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 OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedCompositionCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedCompositionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedCompositionCalcHelperMain.o] Error 1