Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 106 kB / 16.52 MB, free: 6.664 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.001843/0.001843, allocations: 197.2 kB / 17.44 MB, free: 6.059 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.877/1.877, allocations: 205.1 MB / 223.3 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2506/0.2506, allocations: 43.52 MB / 314.2 MB, free: 0.7461 MB / 254.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.0015/0.0015, allocations: 69.81 kB / 382.7 MB, free: 56.86 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1873, allocations: 57.79 MB / 440.5 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.6569/0.8442, allocations: 181.8 MB / 0.6077 GB, free: 7.781 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01114/0.8554, allocations: 7.196 MB / 0.6147 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.8567, allocations: 24.47 kB / 0.6148 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.8583, allocations: 380.5 kB / 0.6151 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006735/0.865, allocations: 1.822 MB / 0.6169 GB, free: 2.355 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00536/0.8704, allocations: 1.513 MB / 0.6184 GB, free: 1.285 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004801/0.8752, allocations: 3.119 MB / 0.6214 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.8763, allocations: 487.4 kB / 0.6219 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005226/0.8815, allocations: 1.772 MB / 0.6236 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003412/0.8849, allocations: 1.534 MB / 0.6251 GB, free: 12.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002478/0.8852, allocations: 40 kB / 0.6251 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00498/0.8902, allocations: 2.018 MB / 0.6271 GB, free: 10.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007168/0.8909, allocations: 414.9 kB / 0.6275 GB, free: 9.957 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.8921, allocations: 0.5171 MB / 0.628 GB, free: 9.438 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003127/0.8952, allocations: 1.684 MB / 0.6297 GB, free: 7.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.8952, allocations: 0 / 0.6297 GB, free: 7.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.8953, allocations: 0 / 0.6297 GB, free: 7.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.8953, allocations: 0 / 0.6297 GB, free: 7.75 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003358/0.8986, allocations: 1.426 MB / 0.6311 GB, free: 6.273 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.8987, allocations: 11.98 kB / 0.6311 GB, free: 6.262 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001425/0.9001, allocations: 278.6 kB / 0.6313 GB, free: 5.988 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.9013, allocations: 0.6168 MB / 0.6319 GB, free: 5.332 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.9014, allocations: 116.6 kB / 0.632 GB, free: 5.207 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.9016, allocations: 63.98 kB / 0.6321 GB, free: 5.145 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002122/0.9037, allocations: 1.265 MB / 0.6333 GB, free: 3.812 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.9037, allocations: 7.938 kB / 0.6334 GB, free: 3.805 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.9038, allocations: 28 kB / 0.6334 GB, free: 3.777 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/0.9039, allocations: 81.27 kB / 0.6335 GB, free: 3.699 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.9057, allocations: 1.059 MB / 0.6345 GB, free: 2.637 MB / 446.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.007475/0.9132, allocations: 4.977 MB / 0.6393 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000611/0.9138, allocations: 302.5 kB / 0.6396 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.9141, allocations: 144.8 kB / 0.6398 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001935/0.9143, allocations: 142.9 kB / 0.6399 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.9144, allocations: 42.97 kB / 0.64 GB, free: 12.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.835e-06/0.9144, allocations: 0 / 0.64 GB, free: 12.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.007188/0.9216, allocations: 1.82 MB / 0.6417 GB, free: 10.79 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002477/0.9219, allocations: 132.5 kB / 0.6419 GB, free: 10.62 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/0.9234, allocations: 0.9311 MB / 0.6428 GB, free: 9.668 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.9235, allocations: 41.7 kB / 0.6428 GB, free: 9.621 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006927/0.9242, allocations: 0.5633 MB / 0.6434 GB, free: 9.047 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.9243, allocations: 130.3 kB / 0.6435 GB, free: 8.918 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002936/0.9246, allocations: 218.6 kB / 0.6437 GB, free: 8.699 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.9248, allocations: 406.7 kB / 0.6441 GB, free: 8.293 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004336/0.9253, allocations: 270.5 kB / 0.6443 GB, free: 8.031 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009555/0.9262, allocations: 0.8639 MB / 0.6452 GB, free: 6.879 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/0.928, allocations: 1.179 MB / 0.6463 GB, free: 5.422 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.928, allocations: 4 kB / 0.6463 GB, free: 5.418 MB / 462.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002148/0.9301, allocations: 1.244 MB / 0.6475 GB, free: 4.164 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.9302, allocations: 12 kB / 0.6476 GB, free: 4.152 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.651e-05/0.9302, allocations: 20 kB / 0.6476 GB, free: 4.133 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001402/0.9316, allocations: 278.2 kB / 0.6478 GB, free: 3.859 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005856/0.9322, allocations: 203.6 kB / 0.648 GB, free: 3.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.9337, allocations: 0.9086 MB / 0.6489 GB, free: 2.727 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009436/0.9347, allocations: 63.97 kB / 0.649 GB, free: 2.664 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-05/0.9348, allocations: 64 kB / 0.649 GB, free: 2.602 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0005452/0.9353, allocations: 365.2 kB / 0.6494 GB, free: 2.234 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/0.9355, allocations: 94.81 kB / 0.6495 GB, free: 2.141 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.9367, allocations: 487.8 kB / 0.65 GB, free: 1.656 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.9367, allocations: 7.938 kB / 0.65 GB, free: 1.648 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.9367, allocations: 0 / 0.65 GB, free: 1.648 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.9367, allocations: 0 / 0.65 GB, free: 1.648 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.9388, allocations: 1.125 MB / 0.6511 GB, free: 472 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.9388, allocations: 4 kB / 0.6511 GB, free: 468 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009999/0.9398, allocations: 183.8 kB / 0.6512 GB, free: 284 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001031/0.9399, allocations: 20.84 kB / 0.6513 GB, free: 260 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/0.94, allocations: 11.98 kB / 0.6513 GB, free: 248 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002587/0.9426, allocations: 2.684 MB / 0.6539 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.9426, allocations: 0 / 0.6539 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.9438, allocations: 0.699 MB / 0.6546 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003785/0.9442, allocations: 200 kB / 0.6548 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002349/0.9445, allocations: 4 kB / 0.6548 GB, free: 12.35 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005302/0.945, allocations: 27.89 kB / 0.6548 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.442e-05/0.9451, allocations: 31.89 kB / 0.6548 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.078e-05/0.9452, allocations: 23.92 kB / 0.6548 GB, free: 12.27 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001052/0.9462, allocations: 0.6243 MB / 0.6555 GB, free: 11.63 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.9462, allocations: 4 kB / 0.6555 GB, free: 11.63 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001899/0.9481, allocations: 431.8 kB / 0.6559 GB, free: 11.21 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.002996/0.9511, allocations: 0.7529 MB / 0.6566 GB, free: 10.45 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001671/0.9528, allocations: 0.6667 MB / 0.6573 GB, free: 9.793 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.9528, allocations: 0 / 0.6573 GB, free: 9.793 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009558/0.9538, allocations: 370.8 kB / 0.6576 GB, free: 9.418 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/0.956, allocations: 406 kB / 0.658 GB, free: 9.016 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003717/0.9597, allocations: 1.955 MB / 0.6599 GB, free: 7.027 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008591/0.9606, allocations: 1.036 MB / 0.6609 GB, free: 5.961 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002757/0.9609, allocations: 83.42 kB / 0.661 GB, free: 5.879 MB / 478.1 MB Notification: Performance of SimCode: time 5.21e-07/0.9609, allocations: 0 / 0.661 GB, free: 5.879 MB / 478.1 MB Notification: Performance of Templates: time 0.04269/1.004, allocations: 23.3 MB / 0.6838 GB, free: 14.61 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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 OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedCompositionCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedCompositionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedCompositionCalcHelperMain.o] Error 1