Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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) 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.Air,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.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,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.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009299/0.0009299, allocations: 87.88 kB / 16.66 MB, free: 6.59 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.001225/0.001225, allocations: 180.2 kB / 17.57 MB, free: 6.191 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.118/2.118, allocations: 205.4 MB / 223.8 MB, free: 13.07 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.263/0.263, allocations: 43.59 MB / 315.6 MB, free: 420 kB / 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.0006425/0.0006425, allocations: 13.3 kB / 385.2 MB, free: 56.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1632, allocations: 58.87 MB / 444.1 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.608/0.7713, allocations: 175.8 MB / 0.6054 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01359/0.7849, allocations: 8.305 MB / 0.6135 GB, free: 4.922 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001531/0.7865, allocations: 27.75 kB / 0.6135 GB, free: 4.895 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.7876, allocations: 270.5 kB / 0.6138 GB, free: 4.629 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004592/0.7922, allocations: 1.324 MB / 0.6151 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003256/0.7955, allocations: 1.005 MB / 0.616 GB, free: 2.312 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003661/0.7992, allocations: 2.711 MB / 0.6187 GB, free: 15.6 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006916/0.7999, allocations: 397 kB / 0.6191 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003074/0.8029, allocations: 1.099 MB / 0.6201 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.804, allocations: 0.7006 MB / 0.6208 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.563e-05/0.8042, allocations: 32 kB / 0.6209 GB, free: 13.37 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002048/0.8062, allocations: 0.6925 MB / 0.6215 GB, free: 12.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002988/0.8065, allocations: 243.2 kB / 0.6218 GB, free: 12.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004457/0.807, allocations: 395.9 kB / 0.6221 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.8083, allocations: 1.021 MB / 0.6231 GB, free: 11.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.8083, allocations: 0 / 0.6231 GB, free: 11.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.8083, allocations: 0 / 0.6231 GB, free: 11.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.8083, allocations: 0 / 0.6231 GB, free: 11.02 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002133/0.8105, allocations: 0.9855 MB / 0.6241 GB, free: 9.984 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.8105, allocations: 8.031 kB / 0.6241 GB, free: 9.977 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007617/0.8113, allocations: 131.1 kB / 0.6242 GB, free: 9.848 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007379/0.812, allocations: 0.5118 MB / 0.6247 GB, free: 9.293 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.8121, allocations: 104.3 kB / 0.6248 GB, free: 9.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.814e-05/0.8123, allocations: 47.98 kB / 0.6249 GB, free: 9.133 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.8135, allocations: 0.8175 MB / 0.6257 GB, free: 8.238 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.8135, allocations: 4 kB / 0.6257 GB, free: 8.234 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.452e-05/0.8136, allocations: 20 kB / 0.6257 GB, free: 8.215 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-05/0.8137, allocations: 44.91 kB / 0.6257 GB, free: 8.172 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.8147, allocations: 0.6166 MB / 0.6263 GB, free: 7.555 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.004433/0.8192, allocations: 3.977 MB / 0.6302 GB, free: 3.324 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005684/0.8197, allocations: 352.7 kB / 0.6306 GB, free: 2.973 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002663/0.82, allocations: 173.3 kB / 0.6307 GB, free: 2.801 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004388/0.8205, allocations: 369.4 kB / 0.6311 GB, free: 2.387 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.8205, allocations: 42.84 kB / 0.6311 GB, free: 2.336 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.593e-06/0.8205, allocations: 0 / 0.6311 GB, free: 2.336 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.005294/0.8258, allocations: 1.671 MB / 0.6327 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.166e-05/0.8259, allocations: 132.5 kB / 0.6329 GB, free: 440 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006878/0.8266, allocations: 0.6171 MB / 0.6335 GB, free: 15.8 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.371e-05/0.8267, allocations: 33.7 kB / 0.6335 GB, free: 15.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.827, allocations: 362.9 kB / 0.6339 GB, free: 15.41 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.8271, allocations: 146 kB / 0.634 GB, free: 15.26 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.125e-05/0.8272, allocations: 61.67 kB / 0.6341 GB, free: 15.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.8274, allocations: 378.8 kB / 0.6344 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003509/0.8278, allocations: 201.9 kB / 0.6346 GB, free: 14.62 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000587/0.8284, allocations: 0.5086 MB / 0.6351 GB, free: 13.97 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.8296, allocations: 0.7485 MB / 0.6358 GB, free: 13.08 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.8296, allocations: 4 kB / 0.6358 GB, free: 13.08 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001403/0.831, allocations: 0.8876 MB / 0.6367 GB, free: 12.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.831, allocations: 8 kB / 0.6367 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.8311, allocations: 8 kB / 0.6367 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/0.8324, allocations: 316.7 kB / 0.637 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/0.8328, allocations: 123.8 kB / 0.6371 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/0.834, allocations: 0.9309 MB / 0.6381 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004622/0.8345, allocations: 43.97 kB / 0.6381 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.608e-05/0.8346, allocations: 68.06 kB / 0.6382 GB, free: 10.66 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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.0003445/0.8349, allocations: 253.5 kB / 0.6384 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.8351, allocations: 71.09 kB / 0.6385 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/0.8366, allocations: 0.6861 MB / 0.6391 GB, free: 9.629 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.8366, allocations: 7.938 kB / 0.6391 GB, free: 9.621 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.8366, allocations: 8 kB / 0.6392 GB, free: 9.613 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.8366, allocations: 3.984 kB / 0.6392 GB, free: 9.609 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/0.8389, allocations: 1.61 MB / 0.6407 GB, free: 7.855 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.8389, allocations: 3.938 kB / 0.6407 GB, free: 7.852 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009997/0.8399, allocations: 203.8 kB / 0.6409 GB, free: 7.652 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.099e-05/0.84, allocations: 28.97 kB / 0.641 GB, free: 7.621 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.129e-05/0.84, allocations: 23.98 kB / 0.641 GB, free: 7.598 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002053/0.8421, allocations: 2.68 MB / 0.6436 GB, free: 4.652 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.8421, allocations: 4.188 kB / 0.6436 GB, free: 4.648 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.8433, allocations: 0.8032 MB / 0.6444 GB, free: 3.812 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/0.8436, allocations: 192.3 kB / 0.6446 GB, free: 3.605 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.343e-05/0.8437, allocations: 16 kB / 0.6446 GB, free: 3.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003969/0.8441, allocations: 27.98 kB / 0.6446 GB, free: 3.562 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.335e-05/0.8442, allocations: 39.89 kB / 0.6446 GB, free: 3.523 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.258e-05/0.8443, allocations: 39.98 kB / 0.6447 GB, free: 3.484 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005146/0.8448, allocations: 439 kB / 0.6451 GB, free: 3.059 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.8448, allocations: 4 kB / 0.6451 GB, free: 3.055 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009493/0.8458, allocations: 296 kB / 0.6454 GB, free: 2.766 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 37 * 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.0009705/0.8467, allocations: 360.5 kB / 0.6457 GB, free: 2.402 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.8478, allocations: 0.5392 MB / 0.6463 GB, free: 1.863 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.8478, allocations: 3.859 kB / 0.6463 GB, free: 1.859 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009177/0.8488, allocations: 414.4 kB / 0.6467 GB, free: 1.441 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.8506, allocations: 368.4 kB / 0.647 GB, free: 1.094 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.8529, allocations: 1.642 MB / 0.6486 GB, free: 15.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006373/0.8536, allocations: 0.9261 MB / 0.6495 GB, free: 14.45 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003652/0.8539, allocations: 111.4 kB / 0.6496 GB, free: 14.34 MB / 478.1 MB Notification: Performance of SimCode: time 6.21e-07/0.854, allocations: 0 / 0.6496 GB, free: 14.34 MB / 478.1 MB Notification: Performance of Templates: time 0.02501/0.879, allocations: 16.94 MB / 0.6662 GB, free: 13.41 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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 OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.AirCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.AirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.AirCalcHelperMain.o] Error 1