Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.Air,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.Air") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,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.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 98.08 kB / 17.96 MB, free: 5.77 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.001331/0.001331, allocations: 178 kB / 18.86 MB, free: 4.906 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.998/1.998, 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.0005992/0.0005991, allocations: 12.47 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1438, allocations: 47.59 MB / 329.6 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.5099/0.6537, allocations: 168.4 MB / 498 MB, free: 1.367 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00381/0.6576, allocations: 3.194 MB / 0.4894 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002651/0.6579, allocations: 3.938 kB / 0.4894 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005623/0.6584, allocations: 139.3 kB / 0.4896 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008838/0.6593, allocations: 387.6 kB / 0.4899 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008385/0.6602, allocations: 317.7 kB / 0.4902 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001218/0.6614, allocations: 1.355 MB / 0.4916 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.6616, allocations: 68.66 kB / 0.4916 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001573/0.6632, allocations: 0.7007 MB / 0.4923 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003524/0.6635, allocations: 294.8 kB / 0.4926 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.8e-05/0.6636, allocations: 16 kB / 0.4926 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002573/0.6639, allocations: 99.86 kB / 0.4927 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.664, allocations: 79.77 kB / 0.4928 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.6642, allocations: 196.9 kB / 0.493 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004419/0.6646, allocations: 399 kB / 0.4934 GB, free: 10.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6646, allocations: 0 / 0.4934 GB, free: 10.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6646, allocations: 4 kB / 0.4934 GB, free: 10.13 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.6647, allocations: 0 / 0.4934 GB, free: 10.13 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008/0.6655, allocations: 0.519 MB / 0.4939 GB, free: 9.566 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.6655, allocations: 15.97 kB / 0.4939 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002931/0.6658, allocations: 43.61 kB / 0.4939 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.6662, allocations: 282.4 kB / 0.4942 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.6662, allocations: 20.56 kB / 0.4942 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.653e-05/0.6663, allocations: 31.98 kB / 0.4942 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005162/0.6668, allocations: 315.7 kB / 0.4945 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.6668, allocations: 3.938 kB / 0.4945 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.835e-05/0.6669, allocations: 12 kB / 0.4946 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.6669, allocations: 4 kB / 0.4946 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003287/0.6672, allocations: 213.5 kB / 0.4948 GB, free: 8.574 MB / 398.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.001856/0.6691, allocations: 1.577 MB / 0.4963 GB, free: 6.848 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/0.6694, allocations: 183.1 kB / 0.4965 GB, free: 6.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.6696, allocations: 96.77 kB / 0.4966 GB, free: 6.562 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.313e-05/0.6696, allocations: 4 kB / 0.4966 GB, free: 6.559 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.6697, allocations: 42.5 kB / 0.4966 GB, free: 6.508 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.6697, allocations: 0 / 0.4966 GB, free: 6.508 MB / 398.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=27): time 0.005483/0.6752, allocations: 1.622 MB / 0.4982 GB, free: 4.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.6752, allocations: 55.39 kB / 0.4982 GB, free: 4.688 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.6755, allocations: 256.9 kB / 0.4985 GB, free: 4.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/0.6756, allocations: 29.7 kB / 0.4985 GB, free: 4.395 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.6758, allocations: 184.2 kB / 0.4987 GB, free: 4.207 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.481e-05/0.6758, allocations: 90.64 kB / 0.4988 GB, free: 4.117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.365e-05/0.6759, allocations: 41.64 kB / 0.4988 GB, free: 4.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.6761, allocations: 334.8 kB / 0.4991 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.6763, allocations: 95.73 kB / 0.4992 GB, free: 3.641 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.6765, allocations: 191.8 kB / 0.4994 GB, free: 3.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004546/0.677, allocations: 308.2 kB / 0.4997 GB, free: 3.066 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.677, allocations: 0 / 0.4997 GB, free: 3.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007/0.6777, allocations: 390.7 kB / 0.5001 GB, free: 2.672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.6778, allocations: 8.391 kB / 0.5001 GB, free: 2.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.6778, allocations: 8 kB / 0.5001 GB, free: 2.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002855/0.6781, allocations: 73.69 kB / 0.5002 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/0.6784, allocations: 83.83 kB / 0.5003 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/0.6799, allocations: 1.852 MB / 0.5021 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.6802, allocations: 32.08 kB / 0.5021 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.692e-05/0.6803, allocations: 38.5 kB / 0.5021 GB, free: 428 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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.000178/0.6805, allocations: 153.7 kB / 0.5023 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.325e-05/0.6805, allocations: 35.59 kB / 0.5023 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009869/0.6815, allocations: 440.7 kB / 0.5027 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.6815, allocations: 0 / 0.5027 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.6816, allocations: 0 / 0.5027 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005769/0.6821, allocations: 0.5629 MB / 0.5033 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.6835, allocations: 0.7348 MB / 0.504 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.6835, allocations: 3.938 kB / 0.504 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002958/0.6838, allocations: 63.95 kB / 0.5041 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.43e-05/0.6839, allocations: 24.75 kB / 0.5041 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/0.6839, allocations: 15.98 kB / 0.5041 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008576/0.6848, allocations: 1.288 MB / 0.5054 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.6848, allocations: 4.031 kB / 0.5054 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006324/0.6854, allocations: 486.6 kB / 0.5058 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.819e-05/0.6855, allocations: 112.8 kB / 0.5059 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.197e-05/0.6856, allocations: 4 kB / 0.5059 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/0.6858, allocations: 15.98 kB / 0.506 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/0.6859, allocations: 31.97 kB / 0.506 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.36e-05/0.686, allocations: 31.98 kB / 0.506 GB, free: 12.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001954/0.6862, allocations: 186 kB / 0.5062 GB, free: 11.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6862, allocations: 3.938 kB / 0.5062 GB, free: 11.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005087/0.6867, allocations: 127.9 kB / 0.5063 GB, free: 11.77 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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.0003934/0.6871, allocations: 143.2 kB / 0.5065 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006609/0.6877, allocations: 371.2 kB / 0.5068 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6878, allocations: 4 kB / 0.5068 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003166/0.6881, allocations: 234.5 kB / 0.507 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.6892, allocations: 153.2 kB / 0.5072 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.6909, allocations: 0.8967 MB / 0.5081 GB, free: 9.918 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005789/0.6915, allocations: 0.7645 MB / 0.5088 GB, free: 9.129 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/0.6917, allocations: 79.34 kB / 0.5089 GB, free: 9.051 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.6918, allocations: 0 / 0.5089 GB, free: 9.051 MB / 414.1 MB Notification: Performance of Templates: time 0.01234/0.7041, allocations: 7.456 MB / 0.5162 GB, free: 1.59 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.AirCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.AirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.AirCalcHelperMain.o] Error 1