Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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 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.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="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(Modelica.Media.Examples.Tests.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="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 91.36 kB / 17.58 MB, free: 5.805 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.0009973/0.0009975, allocations: 180.5 kB / 18.48 MB, free: 5.254 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.704/1.704, allocations: 205.4 MB / 224.6 MB, free: 13.14 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.0004671/0.0004671, allocations: 11.98 kB / 281.4 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1129, allocations: 47.59 MB / 329 MB, free: 4.062 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4372/0.5502, allocations: 159.5 MB / 488.5 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004343/0.5546, allocations: 3.561 MB / 492 MB, free: 7.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003638/0.555, allocations: 4 kB / 492 MB, free: 7.059 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006582/0.5557, allocations: 163 kB / 492.2 MB, free: 6.898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007891/0.5565, allocations: 342.3 kB / 492.5 MB, free: 6.562 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.5578, allocations: 411.5 kB / 492.9 MB, free: 6.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001605/0.5595, allocations: 1.298 MB / 494.2 MB, free: 4.855 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003829/0.5599, allocations: 202.1 kB / 494.4 MB, free: 4.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002759/0.5626, allocations: 1.125 MB / 495.6 MB, free: 3.531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006239/0.5633, allocations: 450.8 kB / 496 MB, free: 3.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.295e-05/0.5633, allocations: 36 kB / 496 MB, free: 3.055 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001263/0.5646, allocations: 0.632 MB / 496.7 MB, free: 2.422 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004117/0.565, allocations: 423 kB / 497.1 MB, free: 2.008 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002311/0.5653, allocations: 189.4 kB / 497.3 MB, free: 1.816 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.5666, allocations: 1.233 MB / 498.5 MB, free: 0.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.5666, allocations: 0 / 498.5 MB, free: 0.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.5666, allocations: 0 / 498.5 MB, free: 0.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.5667, allocations: 0 / 498.5 MB, free: 0.582 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001602/0.5683, allocations: 0.8972 MB / 499.4 MB, free: 15.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.5683, allocations: 8.031 kB / 499.4 MB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006422/0.569, allocations: 155.1 kB / 499.6 MB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007811/0.5698, allocations: 476.8 kB / 0.4883 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.484e-05/0.5698, allocations: 49.27 kB / 0.4884 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.57, allocations: 68 kB / 0.4884 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.5716, allocations: 0.9435 MB / 0.4893 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.5717, allocations: 0 / 0.4893 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.155e-05/0.5718, allocations: 28 kB / 0.4894 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.924e-05/0.5719, allocations: 53.97 kB / 0.4894 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.5732, allocations: 0.8628 MB / 0.4903 GB, free: 12.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.00523/0.5784, allocations: 3.45 MB / 0.4936 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009136/0.5793, allocations: 0.6308 MB / 0.4942 GB, free: 8.594 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004578/0.5798, allocations: 370 kB / 0.4946 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.339e-05/0.5799, allocations: 16.55 kB / 0.4946 GB, free: 8.215 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.168e-05/0.5799, allocations: 50.98 kB / 0.4947 GB, free: 8.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=59): time 4.118e-06/0.5799, allocations: 4 kB / 0.4947 GB, free: 8.156 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.Xi[6] 2: volume.medium.Xi[5] 3: volume.medium.Xi[4] 4: volume.medium.Xi[3] 5: volume.medium.Xi[2] 6: volume.medium.Xi[1] 7: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=71): time 0.01362/0.5935, allocations: 6.221 MB / 0.5007 GB, free: 1.539 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.5937, allocations: 56.06 kB / 0.5008 GB, free: 1.473 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007058/0.5944, allocations: 0.5486 MB / 0.5013 GB, free: 0.918 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.502e-05/0.5945, allocations: 45.7 kB / 0.5014 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/0.5947, allocations: 276.5 kB / 0.5016 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000252/0.595, allocations: 256.4 kB / 0.5019 GB, free: 348 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-05/0.595, allocations: 16 kB / 0.5019 GB, free: 332 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002046/0.5952, allocations: 366.8 kB / 0.5022 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006369/0.5959, allocations: 441.7 kB / 0.5027 GB, free: 15.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006893/0.5966, allocations: 0.5116 MB / 0.5032 GB, free: 15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008128/0.5974, allocations: 0.4988 MB / 0.5037 GB, free: 14.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5974, allocations: 0 / 0.5037 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002069/0.5995, allocations: 1.335 MB / 0.505 GB, free: 13.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.5995, allocations: 8 kB / 0.505 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.5995, allocations: 7.984 kB / 0.505 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000607/0.6001, allocations: 330.6 kB / 0.5053 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008758/0.601, allocations: 183.8 kB / 0.5055 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008518/0.6096, allocations: 10.23 MB / 0.5155 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000799/0.6104, allocations: 79.88 kB / 0.5155 GB, free: 1.328 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.6105, allocations: 47.98 kB / 0.5156 GB, free: 1.281 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (80): * Single equations (assignments): 72 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005384/0.611, allocations: 273.6 kB / 0.5158 GB, free: 1.004 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.6112, allocations: 63.34 kB / 0.5159 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002147/0.6133, allocations: 1.279 MB / 0.5171 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.6134, allocations: 8 kB / 0.5171 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6134, allocations: 4 kB / 0.5172 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00179/0.6152, allocations: 1.606 MB / 0.5187 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003372/0.6185, allocations: 2.264 MB / 0.5209 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.6186, allocations: 7.984 kB / 0.5209 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.6196, allocations: 223.8 kB / 0.5212 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001909/0.6198, allocations: 68.73 kB / 0.5212 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.092e-05/0.6199, allocations: 35.97 kB / 0.5213 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/0.6212, allocations: 1.444 MB / 0.5227 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.6212, allocations: 3.938 kB / 0.5227 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002198/0.6234, allocations: 1.594 MB / 0.5242 GB, free: 7.973 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002858/0.6237, allocations: 156.3 kB / 0.5244 GB, free: 7.801 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.6238, allocations: 31.98 kB / 0.5244 GB, free: 7.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00065/0.6245, allocations: 75.8 kB / 0.5245 GB, free: 7.695 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.705e-05/0.6246, allocations: 56.56 kB / 0.5245 GB, free: 7.641 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.6247, allocations: 55.95 kB / 0.5246 GB, free: 7.586 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004235/0.6251, allocations: 407.1 kB / 0.525 GB, free: 7.184 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6251, allocations: 0 / 0.525 GB, free: 7.184 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001166/0.6263, allocations: 347.9 kB / 0.5253 GB, free: 6.844 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (77): * 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): 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.001352/0.6276, allocations: 450.7 kB / 0.5257 GB, free: 6.395 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00236/0.63, allocations: 1.862 MB / 0.5276 GB, free: 4.445 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.63, allocations: 4.062 kB / 0.5276 GB, free: 4.441 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008931/0.6309, allocations: 0.6818 MB / 0.5282 GB, free: 3.746 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/0.633, allocations: 0.494 MB / 0.5287 GB, free: 3.258 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004074/0.6371, allocations: 2.61 MB / 0.5313 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3162/0.9533, allocations: 0.9693 MB / 0.5322 GB, free: 71.97 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005364/0.9539, allocations: 93.64 kB / 0.5323 GB, free: 71.96 MB / 430.1 MB Notification: Performance of SimCode: time 1.202e-06/0.9539, allocations: 0 / 0.5323 GB, free: 71.96 MB / 430.1 MB Notification: Performance of Templates: time 0.04165/0.9956, allocations: 26.67 MB / 0.5583 GB, free: 62.83 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.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 OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasCalcHelperMain.o] Error 1