Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0009528/0.0009529, allocations: 94.78 kB / 18.01 MB, free: 5.738 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.00119/0.00119, allocations: 175.2 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.3 MB / 242.9 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2282/0.2282, allocations: 44.25 MB / 338.3 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003446, allocations: 8 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1688, allocations: 61.93 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.6043/0.7732, allocations: 173.3 MB / 0.6311 GB, free: 5.324 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.011/0.7843, allocations: 6.618 MB / 0.6375 GB, free: 14.69 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.7856, allocations: 23.75 kB / 0.6376 GB, free: 14.66 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.7869, allocations: 374.2 kB / 0.6379 GB, free: 14.3 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005379/0.7923, allocations: 1.609 MB / 0.6395 GB, free: 12.69 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004364/0.7967, allocations: 1.348 MB / 0.6408 GB, free: 11.35 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004158/0.8009, allocations: 3.121 MB / 0.6439 GB, free: 8.219 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000827/0.8017, allocations: 481.3 kB / 0.6443 GB, free: 7.742 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004151/0.8059, allocations: 1.616 MB / 0.6459 GB, free: 6.121 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002904/0.8088, allocations: 1.523 MB / 0.6474 GB, free: 4.594 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.8089, allocations: 36 kB / 0.6474 GB, free: 4.559 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003568/0.8125, allocations: 1.797 MB / 0.6492 GB, free: 2.758 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004434/0.813, allocations: 410.8 kB / 0.6496 GB, free: 2.355 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000706/0.8137, allocations: 0.5345 MB / 0.6501 GB, free: 1.812 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001968/0.8157, allocations: 1.609 MB / 0.6517 GB, free: 204 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8157, allocations: 0 / 0.6517 GB, free: 204 kB / 478.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.8157, allocations: 0 / 0.6517 GB, free: 204 kB / 478.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.8157, allocations: 0 / 0.6517 GB, free: 204 kB / 478.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.002901/0.8186, allocations: 1.239 MB / 0.6529 GB, free: 14.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.8187, allocations: 19.97 kB / 0.6529 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/0.8201, allocations: 290.5 kB / 0.6532 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009913/0.8211, allocations: 0.6014 MB / 0.6537 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.8212, allocations: 120.6 kB / 0.6539 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.8214, allocations: 60 kB / 0.6539 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/0.8235, allocations: 1.271 MB / 0.6552 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/0.8236, allocations: 4 kB / 0.6552 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.8237, allocations: 31.98 kB / 0.6552 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000116/0.8238, allocations: 85.2 kB / 0.6553 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/0.8257, allocations: 1.055 MB / 0.6563 GB, free: 11.26 MB / 494.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.006584/0.8323, allocations: 4.878 MB / 0.6611 GB, free: 6.082 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000545/0.8328, allocations: 308.7 kB / 0.6614 GB, free: 5.773 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/0.8331, allocations: 156.7 kB / 0.6615 GB, free: 5.617 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.8332, allocations: 97.16 kB / 0.6616 GB, free: 5.504 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.8333, allocations: 38.56 kB / 0.6616 GB, free: 5.457 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 2.074e-06/0.8333, allocations: 0 / 0.6616 GB, free: 5.457 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.005949/0.8393, allocations: 1.759 MB / 0.6634 GB, free: 3.609 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.769e-05/0.8394, allocations: 140.4 kB / 0.6635 GB, free: 3.441 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.8406, allocations: 0.9388 MB / 0.6644 GB, free: 2.477 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.851e-05/0.8406, allocations: 41.7 kB / 0.6645 GB, free: 2.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004388/0.8411, allocations: 0.5672 MB / 0.665 GB, free: 1.852 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.8412, allocations: 126.3 kB / 0.6651 GB, free: 1.727 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.8413, allocations: 85.67 kB / 0.6652 GB, free: 1.637 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002353/0.8416, allocations: 402.7 kB / 0.6656 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004567/0.8421, allocations: 274.5 kB / 0.6659 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009448/0.843, allocations: 0.8756 MB / 0.6667 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.8445, allocations: 1.161 MB / 0.6678 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.8445, allocations: 8 kB / 0.6678 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002109/0.8467, allocations: 1.247 MB / 0.6691 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.8467, allocations: 12 kB / 0.6691 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.737e-05/0.8467, allocations: 20 kB / 0.6691 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/0.8481, allocations: 288.8 kB / 0.6694 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005933/0.8487, allocations: 203.6 kB / 0.6696 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/0.8499, allocations: 0.9181 MB / 0.6705 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008434/0.8507, allocations: 55.89 kB / 0.6705 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.904e-05/0.8508, allocations: 71.98 kB / 0.6706 GB, free: 11.52 MB / 0.4981 GB 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.0005289/0.8514, allocations: 341.8 kB / 0.6709 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.8515, allocations: 98.91 kB / 0.671 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.8527, allocations: 0.5201 MB / 0.6715 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.8527, allocations: 4 kB / 0.6715 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.8527, allocations: 0 / 0.6715 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.8527, allocations: 3.984 kB / 0.6715 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/0.8545, allocations: 1.129 MB / 0.6726 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.8545, allocations: 0 / 0.6726 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009559/0.8554, allocations: 175.8 kB / 0.6728 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-05/0.8555, allocations: 24.84 kB / 0.6728 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.8556, allocations: 19.95 kB / 0.6728 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002783/0.8584, allocations: 2.676 MB / 0.6754 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.8584, allocations: 4.031 kB / 0.6755 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.8596, allocations: 0.6953 MB / 0.6761 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003174/0.8599, allocations: 204 kB / 0.6763 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.86, allocations: 19.86 kB / 0.6763 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004484/0.8605, allocations: 24.05 kB / 0.6764 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.833e-05/0.8606, allocations: 31.89 kB / 0.6764 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.144e-05/0.8606, allocations: 27.92 kB / 0.6764 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008691/0.8615, allocations: 0.6243 MB / 0.677 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8615, allocations: 0 / 0.677 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001709/0.8632, allocations: 391.8 kB / 0.6774 GB, free: 4.125 MB / 0.4981 GB 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.002103/0.8653, allocations: 0.642 MB / 0.678 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.8667, allocations: 0.6754 MB / 0.6787 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.8667, allocations: 4.062 kB / 0.6787 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009038/0.8676, allocations: 370.3 kB / 0.6791 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/0.8697, allocations: 401.6 kB / 0.6794 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/0.8728, allocations: 2.047 MB / 0.6814 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00071/0.8736, allocations: 1.028 MB / 0.6824 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002563/0.8738, allocations: 83.42 kB / 0.6825 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of SimCode: time 1.012e-06/0.8738, allocations: 4 kB / 0.6825 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of Templates: time 0.04031/0.9141, allocations: 22.49 MB / 0.7045 GB, free: 8.434 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile make -j1 -f ModelicaTest_4.0.0_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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedCompositionCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedCompositionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedCompositionCalcHelperMain.o] Error 1