Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 88.44 kB / 17.63 MB, free: 6.133 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.001384/0.001384, allocations: 184.2 kB / 18.52 MB, free: 5.297 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.477/1.477, allocations: 223.2 MB / 242.5 MB, free: 292 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.2281/0.2281, allocations: 44.22 MB / 337.9 MB, free: 2.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004862/0.0004862, allocations: 8 kB / 410.3 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1524, allocations: 61.92 MB / 472.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.5819/0.7344, allocations: 159 MB / 0.6164 GB, free: 4.105 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007807/0.7423, allocations: 5.088 MB / 0.6214 GB, free: 15 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.7433, allocations: 27.75 kB / 0.6214 GB, free: 14.97 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009349/0.7443, allocations: 262.4 kB / 0.6216 GB, free: 14.71 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003529/0.7478, allocations: 1.078 MB / 0.6227 GB, free: 13.63 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002527/0.7504, allocations: 0.7565 MB / 0.6234 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002966/0.7533, allocations: 2.242 MB / 0.6256 GB, free: 10.64 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006632/0.754, allocations: 377 kB / 0.626 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00239/0.7564, allocations: 0.8951 MB / 0.6269 GB, free: 9.371 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001376/0.7578, allocations: 0.6658 MB / 0.6275 GB, free: 8.703 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.7579, allocations: 32 kB / 0.6275 GB, free: 8.672 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001649/0.7596, allocations: 459.3 kB / 0.628 GB, free: 8.223 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003277/0.7599, allocations: 227.3 kB / 0.6282 GB, free: 8 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00027/0.7602, allocations: 169.3 kB / 0.6284 GB, free: 7.828 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.7616, allocations: 0.9295 MB / 0.6293 GB, free: 6.898 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.7616, allocations: 0 / 0.6293 GB, free: 6.898 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.7617, allocations: 4 kB / 0.6293 GB, free: 6.895 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.7617, allocations: 0 / 0.6293 GB, free: 6.895 MB / 462.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.002451/0.7641, allocations: 0.9549 MB / 0.6302 GB, free: 5.891 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/0.7642, allocations: 8.562 kB / 0.6302 GB, free: 5.883 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007723/0.765, allocations: 127.1 kB / 0.6303 GB, free: 5.758 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008967/0.7659, allocations: 0.4927 MB / 0.6308 GB, free: 5.223 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.7661, allocations: 100.4 kB / 0.6309 GB, free: 5.113 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.7662, allocations: 55.92 kB / 0.631 GB, free: 5.059 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.7676, allocations: 0.8135 MB / 0.6318 GB, free: 4.172 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.7676, allocations: 7.938 kB / 0.6318 GB, free: 4.164 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-05/0.7677, allocations: 20 kB / 0.6318 GB, free: 4.145 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.326e-05/0.7678, allocations: 40.98 kB / 0.6318 GB, free: 4.102 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.7689, allocations: 0.6244 MB / 0.6324 GB, free: 3.48 MB / 462.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.005001/0.7739, allocations: 3.958 MB / 0.6363 GB, free: 15.26 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000629/0.7745, allocations: 362 kB / 0.6366 GB, free: 14.9 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.7748, allocations: 169.3 kB / 0.6368 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001714/0.775, allocations: 97.31 kB / 0.6369 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.7751, allocations: 38.84 kB / 0.6369 GB, free: 14.57 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 2.986e-06/0.7751, allocations: 0 / 0.6369 GB, free: 14.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.005499/0.7806, allocations: 1.659 MB / 0.6386 GB, free: 12.84 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.96e-05/0.7807, allocations: 136.5 kB / 0.6387 GB, free: 12.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007898/0.7815, allocations: 0.6055 MB / 0.6393 GB, free: 12.07 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.847e-05/0.7815, allocations: 37.64 kB / 0.6393 GB, free: 12.02 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003342/0.7819, allocations: 370.8 kB / 0.6397 GB, free: 11.66 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.782, allocations: 134.1 kB / 0.6398 GB, free: 11.52 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.7821, allocations: 16 kB / 0.6398 GB, free: 11.51 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.7823, allocations: 378.8 kB / 0.6402 GB, free: 11.13 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003465/0.7826, allocations: 201.9 kB / 0.6404 GB, free: 10.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006156/0.7832, allocations: 0.5047 MB / 0.6409 GB, free: 10.28 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004932/0.7837, allocations: 296.5 kB / 0.6411 GB, free: 9.992 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.7838, allocations: 7.953 kB / 0.6411 GB, free: 9.984 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001468/0.7852, allocations: 0.8723 MB / 0.642 GB, free: 9.102 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.7853, allocations: 12 kB / 0.642 GB, free: 9.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.266e-05/0.7853, allocations: 12.14 kB / 0.642 GB, free: 9.078 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/0.7868, allocations: 324.5 kB / 0.6423 GB, free: 8.758 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004014/0.7872, allocations: 127.8 kB / 0.6425 GB, free: 8.633 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/0.7885, allocations: 0.9216 MB / 0.6434 GB, free: 7.688 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006518/0.7892, allocations: 51.97 kB / 0.6434 GB, free: 7.637 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.7893, allocations: 67.98 kB / 0.6435 GB, free: 7.57 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0005172/0.7898, allocations: 245.5 kB / 0.6437 GB, free: 7.32 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.79, allocations: 71.11 kB / 0.6438 GB, free: 7.25 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002012/0.792, allocations: 0.8696 MB / 0.6446 GB, free: 6.363 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.792, allocations: 4 kB / 0.6446 GB, free: 6.359 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.792, allocations: 3.938 kB / 0.6446 GB, free: 6.355 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/0.7921, allocations: 3.984 kB / 0.6446 GB, free: 6.352 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00276/0.7948, allocations: 1.45 MB / 0.646 GB, free: 4.766 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.7949, allocations: 4 kB / 0.646 GB, free: 4.762 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.7959, allocations: 211.8 kB / 0.6463 GB, free: 4.555 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001504/0.7961, allocations: 21.03 kB / 0.6463 GB, free: 4.531 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.596e-05/0.7962, allocations: 20 kB / 0.6463 GB, free: 4.512 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002862/0.799, allocations: 2.695 MB / 0.6489 GB, free: 1.555 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/0.7991, allocations: 4.031 kB / 0.6489 GB, free: 1.551 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.8007, allocations: 0.813 MB / 0.6497 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005901/0.8013, allocations: 192.2 kB / 0.6499 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002599/0.8016, allocations: 12 kB / 0.6499 GB, free: 492 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005804/0.8022, allocations: 31.92 kB / 0.6499 GB, free: 460 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.8023, allocations: 43.95 kB / 0.65 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.63e-05/0.8024, allocations: 43.98 kB / 0.65 GB, free: 372 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008038/0.8032, allocations: 431 kB / 0.6504 GB, free: 15.95 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.8032, allocations: 0 / 0.6504 GB, free: 15.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001366/0.8046, allocations: 251.9 kB / 0.6507 GB, free: 15.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001107/0.8057, allocations: 286.4 kB / 0.651 GB, free: 15.42 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.8071, allocations: 0.554 MB / 0.6515 GB, free: 14.87 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.126e-06/0.8072, allocations: 384 / 0.6515 GB, free: 14.87 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.8082, allocations: 402.3 kB / 0.6519 GB, free: 14.46 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/0.8101, allocations: 345.5 kB / 0.6522 GB, free: 14.14 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/0.8132, allocations: 1.622 MB / 0.6538 GB, free: 12.46 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000717/0.8139, allocations: 0.9261 MB / 0.6547 GB, free: 11.51 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004727/0.8144, allocations: 131.4 kB / 0.6548 GB, free: 11.38 MB / 494.1 MB Notification: Performance of SimCode: time 6.41e-07/0.8144, allocations: 0 / 0.6548 GB, free: 11.38 MB / 494.1 MB Notification: Performance of Templates: time 0.03068/0.8451, allocations: 16.27 MB / 0.6707 GB, free: 11.17 MB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/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.Air.DryAirNasaCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasaCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasaCalcHelperMain.o] Error 1