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.0009398/0.00094, allocations: 99.09 kB / 17.96 MB, free: 5.762 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.001185/0.001185, allocations: 177.7 kB / 18.86 MB, free: 4.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.056/2.056, allocations: 205.4 MB / 225 MB, free: 13.08 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.0007139/0.0007138, allocations: 15.94 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1393, allocations: 47.58 MB / 329.6 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.5356/0.675, allocations: 171.2 MB / 0.4891 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005805/0.6809, allocations: 3.824 MB / 0.4928 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005318/0.6815, allocations: 3.938 kB / 0.4928 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.6825, allocations: 215 kB / 0.493 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.6835, allocations: 350.3 kB / 0.4933 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.6851, allocations: 499.7 kB / 0.4938 GB, free: 9.664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002487/0.6876, allocations: 1.598 MB / 0.4954 GB, free: 8.059 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003886/0.688, allocations: 235.3 kB / 0.4956 GB, free: 7.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003413/0.6915, allocations: 1.192 MB / 0.4968 GB, free: 6.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008666/0.6923, allocations: 434.7 kB / 0.4972 GB, free: 6.211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.6925, allocations: 32 kB / 0.4972 GB, free: 6.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002008/0.6945, allocations: 0.7718 MB / 0.498 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006406/0.6951, allocations: 399 kB / 0.4983 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006771/0.6958, allocations: 468 kB / 0.4988 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.6975, allocations: 1.243 MB / 0.5 GB, free: 3.305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.6975, allocations: 0 / 0.5 GB, free: 3.305 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.6975, allocations: 0 / 0.5 GB, free: 3.305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.6976, allocations: 0 / 0.5 GB, free: 3.305 MB / 398.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.002009/0.6996, allocations: 0.8932 MB / 0.5009 GB, free: 2.363 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.6996, allocations: 8.031 kB / 0.5009 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006814/0.7003, allocations: 155.1 kB / 0.501 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007195/0.7011, allocations: 480.6 kB / 0.5015 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.415e-05/0.7011, allocations: 49.31 kB / 0.5015 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.7012, allocations: 71.98 kB / 0.5016 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.7028, allocations: 0.9474 MB / 0.5025 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/0.7029, allocations: 11.89 kB / 0.5025 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-05/0.703, allocations: 28 kB / 0.5026 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.227e-05/0.7031, allocations: 45.92 kB / 0.5026 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/0.7047, allocations: 0.8707 MB / 0.5035 GB, free: 15.66 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.005928/0.7106, allocations: 3.453 MB / 0.5068 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000965/0.7116, allocations: 0.6346 MB / 0.5075 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005401/0.7122, allocations: 370.1 kB / 0.5078 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.142e-05/0.7122, allocations: 20.53 kB / 0.5078 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.613e-05/0.7123, allocations: 47.06 kB / 0.5079 GB, free: 10.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=59): time 2.164e-06/0.7123, allocations: 0 / 0.5079 GB, free: 10.85 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.0157/0.728, allocations: 6.223 MB / 0.5139 GB, free: 4.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.7281, allocations: 64 kB / 0.514 GB, free: 4.156 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000739/0.7289, allocations: 0.5447 MB / 0.5145 GB, free: 3.605 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.371e-05/0.729, allocations: 41.7 kB / 0.5146 GB, free: 3.559 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/0.7292, allocations: 276.6 kB / 0.5148 GB, free: 3.285 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002563/0.7295, allocations: 252.4 kB / 0.5151 GB, free: 3.035 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.7296, allocations: 61.69 kB / 0.5151 GB, free: 2.969 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002119/0.7298, allocations: 366.8 kB / 0.5155 GB, free: 2.602 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007014/0.7305, allocations: 449.7 kB / 0.5159 GB, free: 2.164 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007641/0.7313, allocations: 0.5193 MB / 0.5164 GB, free: 1.629 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.7328, allocations: 0.972 MB / 0.5174 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7328, allocations: 0 / 0.5174 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002167/0.735, allocations: 1.351 MB / 0.5187 GB, free: 15.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.735, allocations: 4 kB / 0.5187 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.735, allocations: 0 / 0.5187 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006202/0.7356, allocations: 330.6 kB / 0.519 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009526/0.7366, allocations: 183.8 kB / 0.5192 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009409/0.746, allocations: 10.25 MB / 0.5292 GB, free: 3.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009484/0.747, allocations: 75.88 kB / 0.5293 GB, free: 3.445 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.7472, allocations: 47.98 kB / 0.5293 GB, free: 3.398 MB / 430.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.0006767/0.7478, allocations: 281.4 kB / 0.5296 GB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.748, allocations: 67.33 kB / 0.5296 GB, free: 3.047 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002782/0.7508, allocations: 1.279 MB / 0.5309 GB, free: 1.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.7508, allocations: 8 kB / 0.5309 GB, free: 1.723 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.7508, allocations: 0 / 0.5309 GB, free: 1.723 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2869/1.038, allocations: 1.599 MB / 0.5325 GB, free: 164.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007789/1.046, allocations: 2.273 MB / 0.5347 GB, free: 164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/1.046, allocations: 2.078 kB / 0.5347 GB, free: 164 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001795/1.048, allocations: 220.6 kB / 0.5349 GB, free: 164 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003134/1.048, allocations: 70.02 kB / 0.535 GB, free: 164 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001717/1.048, allocations: 38.67 kB / 0.535 GB, free: 164 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001663/1.05, allocations: 1.438 MB / 0.5364 GB, free: 162.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.05, allocations: 1.406 kB / 0.5364 GB, free: 162.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00312/1.053, allocations: 1.596 MB / 0.538 GB, free: 162.4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003705/1.053, allocations: 149.3 kB / 0.5381 GB, free: 162.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002345/1.054, allocations: 29.3 kB / 0.5381 GB, free: 162.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/1.055, allocations: 72.86 kB / 0.5382 GB, free: 162.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/1.055, allocations: 56.86 kB / 0.5383 GB, free: 162.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002221/1.055, allocations: 63.81 kB / 0.5383 GB, free: 162.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007561/1.056, allocations: 405.6 kB / 0.5387 GB, free: 162.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.31e-07/1.056, allocations: 3.719 kB / 0.5387 GB, free: 162.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001802/1.058, allocations: 346.5 kB / 0.539 GB, free: 162.1 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 (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.002162/1.06, allocations: 0.495 MB / 0.5395 GB, free: 162 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003167/1.063, allocations: 1.868 MB / 0.5414 GB, free: 160.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/1.063, allocations: 5.281 kB / 0.5414 GB, free: 160.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001264/1.064, allocations: 0.684 MB / 0.542 GB, free: 160.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003472/1.068, allocations: 499.4 kB / 0.5425 GB, free: 160.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005772/1.074, allocations: 2.691 MB / 0.5451 GB, free: 159 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008047/1.074, allocations: 0.9742 MB / 0.5461 GB, free: 158.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004639/1.075, allocations: 90.97 kB / 0.5462 GB, free: 158.3 MB / 430.1 MB Notification: Performance of SimCode: time 1.864e-06/1.075, allocations: 0 / 0.5462 GB, free: 158.3 MB / 430.1 MB Notification: Performance of Templates: time 0.04174/1.117, allocations: 26.71 MB / 0.5722 GB, free: 135.8 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++ -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