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.001283/0.001283, allocations: 105.5 kB / 17.81 MB, free: 5.676 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.001191/0.001191, allocations: 194 kB / 18.72 MB, free: 4.762 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.934/1.934, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.0013/0.0013, allocations: 47.92 kB / 280.6 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.139, allocations: 46.64 MB / 327.3 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.582/0.7211, allocations: 173.5 MB / 0.489 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006494/0.7276, allocations: 3.866 MB / 0.4928 GB, free: 6.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005228/0.7283, allocations: 11.94 kB / 0.4928 GB, free: 6.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.7295, allocations: 218.9 kB / 0.493 GB, free: 6.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.7308, allocations: 358.3 kB / 0.4933 GB, free: 5.664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.7327, allocations: 499.7 kB / 0.4938 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002158/0.7349, allocations: 1.594 MB / 0.4954 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004512/0.7354, allocations: 239.3 kB / 0.4956 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003964/0.7393, allocations: 1.215 MB / 0.4968 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.7404, allocations: 462.6 kB / 0.4972 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002447/0.7407, allocations: 36 kB / 0.4972 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002021/0.7427, allocations: 0.7797 MB / 0.498 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000668/0.7434, allocations: 419 kB / 0.4984 GB, free: 456 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.7445, allocations: 454.3 kB / 0.4988 GB, free: 0 / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002086/0.7466, allocations: 1.259 MB / 0.5001 GB, free: 14.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.7466, allocations: 0 / 0.5001 GB, free: 14.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.7466, allocations: 0 / 0.5001 GB, free: 14.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.74e-05/0.7467, allocations: 0 / 0.5001 GB, free: 14.74 MB / 414.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.003088/0.7498, allocations: 1.069 MB / 0.5011 GB, free: 13.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.7498, allocations: 8.031 kB / 0.5011 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000933/0.7508, allocations: 151.1 kB / 0.5013 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.7519, allocations: 480.7 kB / 0.5017 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.471e-05/0.752, allocations: 49.3 kB / 0.5018 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.7522, allocations: 72 kB / 0.5018 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.7541, allocations: 0.9474 MB / 0.5028 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.622e-05/0.7541, allocations: 11.84 kB / 0.5028 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.7542, allocations: 32 kB / 0.5028 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.568e-05/0.7543, allocations: 37.98 kB / 0.5028 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.7561, allocations: 0.8706 MB / 0.5037 GB, free: 10.93 MB / 414.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.007811/0.764, allocations: 3.465 MB / 0.5071 GB, free: 7.188 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.765, allocations: 0.6423 MB / 0.5077 GB, free: 6.539 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000542/0.7656, allocations: 370.1 kB / 0.5081 GB, free: 6.176 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-05/0.7656, allocations: 20.55 kB / 0.5081 GB, free: 6.156 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.359e-05/0.7657, allocations: 43.06 kB / 0.5081 GB, free: 6.105 MB / 414.1 MB Notification: Performance of pre-optimization done (n=59): time 3.777e-06/0.7657, allocations: 0 / 0.5081 GB, free: 6.105 MB / 414.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.01598/0.7817, allocations: 6.199 MB / 0.5142 GB, free: 15.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.7818, allocations: 67.94 kB / 0.5142 GB, free: 15.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007873/0.7826, allocations: 0.5408 MB / 0.5148 GB, free: 14.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001294/0.7827, allocations: 45.7 kB / 0.5148 GB, free: 14.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003169/0.7831, allocations: 280.6 kB / 0.5151 GB, free: 14.56 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002679/0.7833, allocations: 252.4 kB / 0.5153 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002877/0.7836, allocations: 146.6 kB / 0.5155 GB, free: 14.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002224/0.7839, allocations: 374.7 kB / 0.5158 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007058/0.7846, allocations: 441.8 kB / 0.5162 GB, free: 13.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007924/0.7854, allocations: 0.5116 MB / 0.5167 GB, free: 12.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.7869, allocations: 0.972 MB / 0.5177 GB, free: 11.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.7869, allocations: 0 / 0.5177 GB, free: 11.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002442/0.7894, allocations: 1.358 MB / 0.519 GB, free: 10.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/0.7894, allocations: 8.625 kB / 0.519 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.7894, allocations: 0 / 0.519 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00069/0.7901, allocations: 338.7 kB / 0.5193 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009895/0.7911, allocations: 175.8 kB / 0.5195 GB, free: 9.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009713/0.8009, allocations: 10.23 MB / 0.5295 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009193/0.8018, allocations: 83.84 kB / 0.5296 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/0.802, allocations: 47.98 kB / 0.5296 GB, free: 14.59 MB / 446.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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 8 systems {(1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0007006/0.8027, allocations: 273.5 kB / 0.5299 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002875/0.803, allocations: 63.34 kB / 0.53 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002557/0.8056, allocations: 1.283 MB / 0.5312 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.8056, allocations: 8 kB / 0.5312 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.8056, allocations: 0 / 0.5312 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002084/0.8077, allocations: 1.598 MB / 0.5328 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003982/0.8117, allocations: 2.283 MB / 0.535 GB, free: 8.805 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.8117, allocations: 0 / 0.535 GB, free: 8.805 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/0.8129, allocations: 219.8 kB / 0.5352 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002446/0.8132, allocations: 64.8 kB / 0.5353 GB, free: 8.523 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001382/0.8133, allocations: 39.97 kB / 0.5353 GB, free: 8.484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/0.815, allocations: 1.44 MB / 0.5367 GB, free: 6.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.815, allocations: 4.156 kB / 0.5367 GB, free: 6.906 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002746/0.8177, allocations: 1.597 MB / 0.5383 GB, free: 5.285 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004057/0.8182, allocations: 140.4 kB / 0.5384 GB, free: 5.129 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002479/0.8184, allocations: 31.92 kB / 0.5384 GB, free: 5.098 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.8195, allocations: 79.78 kB / 0.5385 GB, free: 5.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.8196, allocations: 52.58 kB / 0.5386 GB, free: 4.965 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/0.8198, allocations: 63.95 kB / 0.5386 GB, free: 4.902 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006061/0.8204, allocations: 403.1 kB / 0.539 GB, free: 4.504 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.8204, allocations: 0 / 0.539 GB, free: 4.504 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001637/0.822, allocations: 343.9 kB / 0.5393 GB, free: 4.168 MB / 446.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002113/0.8242, allocations: 0.5027 MB / 0.5398 GB, free: 3.656 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003048/0.8272, allocations: 1.882 MB / 0.5417 GB, free: 1.688 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.8272, allocations: 0 / 0.5417 GB, free: 1.688 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.8284, allocations: 0.6821 MB / 0.5423 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002725/0.8311, allocations: 495 kB / 0.5428 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2154/1.046, allocations: 2.53 MB / 0.5453 GB, free: 179.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008364/1.047, allocations: 0.9734 MB / 0.5462 GB, free: 178.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004997/1.048, allocations: 95.31 kB / 0.5463 GB, free: 178.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.373e-06/1.048, allocations: 0 / 0.5463 GB, free: 178.7 MB / 446.1 MB Notification: Performance of Templates: time 0.03443/1.082, allocations: 26.82 MB / 0.5725 GB, free: 162.4 MB / 446.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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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