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.001397/0.001397, allocations: 101.5 kB / 17.8 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.001623/0.001624, 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.982/1.982, allocations: 205.1 MB / 224.6 MB, free: 12.41 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.001285/0.001286, allocations: 47.94 kB / 280.6 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1493, allocations: 46.63 MB / 327.3 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5696/0.719, allocations: 173.6 MB / 0.4891 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006038/0.7251, allocations: 3.872 MB / 0.4929 GB, free: 6.105 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/0.7253, allocations: 3.938 kB / 0.4929 GB, free: 6.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000779/0.7262, allocations: 203.1 kB / 0.4931 GB, free: 5.902 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007266/0.7269, allocations: 354.3 kB / 0.4934 GB, free: 5.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.7286, allocations: 499.5 kB / 0.4939 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002287/0.7309, allocations: 1.61 MB / 0.4955 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003054/0.7312, allocations: 74.22 kB / 0.4956 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004483/0.7357, allocations: 1.186 MB / 0.4967 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007074/0.7365, allocations: 370.8 kB / 0.4971 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.696e-05/0.7366, allocations: 20 kB / 0.4971 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.7383, allocations: 0.7446 MB / 0.4978 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002507/0.7385, allocations: 207.4 kB / 0.498 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005089/0.739, allocations: 290.8 kB / 0.4983 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.7402, allocations: 0.8885 MB / 0.4992 GB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.7402, allocations: 8 kB / 0.4992 GB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.7402, allocations: 0 / 0.4992 GB, free: 15.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.7402, allocations: 0 / 0.4992 GB, free: 15.68 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.00155/0.7418, allocations: 0.7997 MB / 0.5 GB, free: 14.83 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/0.7419, allocations: 12.03 kB / 0.5 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006594/0.7425, allocations: 123.3 kB / 0.5001 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006093/0.7431, allocations: 373.2 kB / 0.5004 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.66e-05/0.7432, allocations: 32.94 kB / 0.5005 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-05/0.7433, allocations: 36 kB / 0.5005 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.7444, allocations: 0.5654 MB / 0.5011 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.7444, allocations: 0 / 0.5011 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.546e-05/0.7445, allocations: 16 kB / 0.5011 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.7445, allocations: 12 kB / 0.5011 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006859/0.7452, allocations: 446.3 kB / 0.5015 GB, free: 13.18 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.00383/0.749, allocations: 2.119 MB / 0.5036 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004158/0.7495, allocations: 154.6 kB / 0.5037 GB, free: 10.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.7496, allocations: 80.83 kB / 0.5038 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.7496, allocations: 4 kB / 0.5038 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.7497, allocations: 34.56 kB / 0.5038 GB, free: 10.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.7497, allocations: 0 / 0.5038 GB, free: 10.59 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.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.006439/0.7561, allocations: 1.741 MB / 0.5055 GB, free: 8.703 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.7562, allocations: 59.34 kB / 0.5056 GB, free: 8.633 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006364/0.7568, allocations: 485.6 kB / 0.5061 GB, free: 8.152 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.7569, allocations: 33.7 kB / 0.5061 GB, free: 8.113 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002815/0.7572, allocations: 318.3 kB / 0.5064 GB, free: 7.793 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.565e-05/0.7573, allocations: 86.84 kB / 0.5065 GB, free: 7.707 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/0.7575, allocations: 126.1 kB / 0.5066 GB, free: 7.578 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.7577, allocations: 346.8 kB / 0.5069 GB, free: 7.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/0.7579, allocations: 141.2 kB / 0.5071 GB, free: 7.094 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000493/0.7584, allocations: 436.5 kB / 0.5075 GB, free: 6.523 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008302/0.7593, allocations: 0.6096 MB / 0.5081 GB, free: 5.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.7593, allocations: 4 kB / 0.5081 GB, free: 5.766 MB / 414.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001153/0.7605, allocations: 0.6397 MB / 0.5087 GB, free: 5.113 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.7605, allocations: 16 kB / 0.5087 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-05/0.7605, allocations: 8 kB / 0.5087 GB, free: 5.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002314/0.7608, allocations: 57.69 kB / 0.5088 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004863/0.7613, allocations: 143.8 kB / 0.5089 GB, free: 4.887 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.763, allocations: 1.832 MB / 0.5107 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004954/0.7635, allocations: 40.2 kB / 0.5107 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.545e-05/0.7636, allocations: 39.94 kB / 0.5108 GB, free: 2.82 MB / 414.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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002831/0.7639, allocations: 213.5 kB / 0.511 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.626e-05/0.764, allocations: 43.44 kB / 0.511 GB, free: 2.559 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005789/0.7646, allocations: 294.8 kB / 0.5113 GB, free: 2.258 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.7646, allocations: 3.984 kB / 0.5113 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.7646, allocations: 4 kB / 0.5113 GB, free: 2.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005507/0.7652, allocations: 0.5241 MB / 0.5118 GB, free: 1.637 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.7663, allocations: 0.7058 MB / 0.5125 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.7663, allocations: 0 / 0.5125 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003005/0.7666, allocations: 51.97 kB / 0.5126 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.014e-05/0.7667, allocations: 24.78 kB / 0.5126 GB, free: 0.793 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.7667, allocations: 7.938 kB / 0.5126 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.7678, allocations: 1.28 MB / 0.5138 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7678, allocations: 160 / 0.5138 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000663/0.7685, allocations: 439.5 kB / 0.5143 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.7686, allocations: 116.5 kB / 0.5144 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-05/0.7687, allocations: 4 kB / 0.5144 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/0.769, allocations: 15.98 kB / 0.5144 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.7691, allocations: 16.05 kB / 0.5144 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.7691, allocations: 15.98 kB / 0.5144 GB, free: 14.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004159/0.7695, allocations: 327.1 kB / 0.5147 GB, free: 14.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7695, allocations: 3.938 kB / 0.5147 GB, free: 14.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009819/0.7705, allocations: 219.9 kB / 0.515 GB, free: 14.2 MB / 430.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 (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.001701/0.7722, allocations: 474.7 kB / 0.5154 GB, free: 13.72 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009448/0.7732, allocations: 464.2 kB / 0.5158 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.7732, allocations: 0.75 kB / 0.5159 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003096/0.7735, allocations: 215.2 kB / 0.5161 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.7747, allocations: 205.7 kB / 0.5163 GB, free: 12.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.7766, allocations: 1.066 MB / 0.5173 GB, free: 11.74 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005689/0.7772, allocations: 0.8194 MB / 0.5181 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.7773, allocations: 47.44 kB / 0.5181 GB, free: 10.85 MB / 430.1 MB Notification: Performance of SimCode: time 6.42e-07/0.7773, allocations: 0 / 0.5181 GB, free: 10.85 MB / 430.1 MB Notification: Performance of Templates: time 0.02361/0.8009, allocations: 12.12 MB / 0.53 GB, free: 14.71 MB / 446.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++ -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.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