Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_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.0007662/0.0007662, allocations: 92.41 kB / 16.33 MB, free: 6.398 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.00085/0.00085, allocations: 188.5 kB / 17.22 MB, free: 6.289 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.544/1.544, allocations: 205.4 MB / 223.4 MB, free: 13.16 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.2224/0.2224, allocations: 43.55 MB / 315.2 MB, free: 0.5547 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.0004988/0.0004988, allocations: 15.19 kB / 384.6 MB, free: 57.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1194, allocations: 58.86 MB / 443.4 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4275/0.547, allocations: 163.9 MB / 0.593 GB, free: 4.305 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009945/0.557, allocations: 7.735 MB / 0.6006 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.5581, allocations: 22.66 kB / 0.6006 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008089/0.5589, allocations: 264.8 kB / 0.6009 GB, free: 15.07 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003494/0.5624, allocations: 1.275 MB / 0.6021 GB, free: 14.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002478/0.5649, allocations: 0.8864 MB / 0.603 GB, free: 13.51 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002411/0.5673, allocations: 2.248 MB / 0.6052 GB, free: 12.19 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005996/0.5679, allocations: 378 kB / 0.6055 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002442/0.5704, allocations: 1.034 MB / 0.6066 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009234/0.5713, allocations: 0.6667 MB / 0.6072 GB, free: 11.03 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.906e-05/0.5714, allocations: 29.72 kB / 0.6072 GB, free: 11.03 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001674/0.5731, allocations: 0.5942 MB / 0.6078 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002608/0.5733, allocations: 239.2 kB / 0.608 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.5735, allocations: 165.4 kB / 0.6082 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.5747, allocations: 0.9967 MB / 0.6092 GB, free: 9.074 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.5747, allocations: 3.938 kB / 0.6092 GB, free: 9.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.5747, allocations: 0 / 0.6092 GB, free: 9.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.5747, allocations: 4 kB / 0.6092 GB, free: 9.066 MB / 430.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.001997/0.5767, allocations: 0.9855 MB / 0.6101 GB, free: 8.031 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.5768, allocations: 12.02 kB / 0.6102 GB, free: 8.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006802/0.5774, allocations: 127.1 kB / 0.6103 GB, free: 7.895 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007019/0.5782, allocations: 0.4889 MB / 0.6108 GB, free: 7.363 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.5783, allocations: 100.4 kB / 0.6108 GB, free: 7.254 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-05/0.5784, allocations: 48 kB / 0.6109 GB, free: 7.207 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.5796, allocations: 0.8213 MB / 0.6117 GB, free: 6.309 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.5796, allocations: 0 / 0.6117 GB, free: 6.309 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.089e-05/0.5797, allocations: 24 kB / 0.6117 GB, free: 6.285 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-05/0.5797, allocations: 32.98 kB / 0.6117 GB, free: 6.254 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009887/0.5807, allocations: 0.636 MB / 0.6124 GB, free: 5.617 MB / 430.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.00411/0.5848, allocations: 3.965 MB / 0.6162 GB, free: 1.398 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005279/0.5854, allocations: 354.9 kB / 0.6166 GB, free: 1.047 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/0.5856, allocations: 169.3 kB / 0.6167 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004181/0.5861, allocations: 365.4 kB / 0.6171 GB, free: 480 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.5861, allocations: 42.78 kB / 0.6171 GB, free: 428 kB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 2.975e-06/0.5861, allocations: 0 / 0.6171 GB, free: 428 kB / 430.1 MB Notification: Performance of matching and sorting (n=39): time 0.004662/0.5908, allocations: 1.671 MB / 0.6188 GB, free: 14.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.599e-05/0.5909, allocations: 136.5 kB / 0.6189 GB, free: 14.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006824/0.5916, allocations: 0.6055 MB / 0.6195 GB, free: 13.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/0.5916, allocations: 33.7 kB / 0.6195 GB, free: 13.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.5919, allocations: 363 kB / 0.6199 GB, free: 13.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.592, allocations: 149.9 kB / 0.62 GB, free: 13.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.5921, allocations: 8 kB / 0.62 GB, free: 13.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.5922, allocations: 382.8 kB / 0.6204 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/0.5926, allocations: 197.9 kB / 0.6206 GB, free: 12.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005402/0.5931, allocations: 0.5086 MB / 0.6211 GB, free: 12.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004491/0.5936, allocations: 287.7 kB / 0.6213 GB, free: 11.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.5936, allocations: 4 kB / 0.6213 GB, free: 11.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001331/0.5949, allocations: 0.8768 MB / 0.6222 GB, free: 10.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.595, allocations: 11.94 kB / 0.6222 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.595, allocations: 12.09 kB / 0.6222 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/0.5962, allocations: 328.6 kB / 0.6225 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.5966, allocations: 115.8 kB / 0.6226 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.5976, allocations: 0.9346 MB / 0.6236 GB, free: 9.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000456/0.5981, allocations: 47.98 kB / 0.6236 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.222e-05/0.5982, allocations: 67.98 kB / 0.6237 GB, free: 9.406 MB / 446.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.0003214/0.5985, allocations: 242.4 kB / 0.6239 GB, free: 9.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.5986, allocations: 75.14 kB / 0.624 GB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/0.6, allocations: 0.6782 MB / 0.6246 GB, free: 8.387 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.6001, allocations: 4 kB / 0.6246 GB, free: 8.383 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.6001, allocations: 8 kB / 0.6246 GB, free: 8.375 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.6001, allocations: 0 / 0.6246 GB, free: 8.375 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/0.6022, allocations: 1.602 MB / 0.6262 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.6022, allocations: 4.125 kB / 0.6262 GB, free: 6.625 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000933/0.6031, allocations: 211.8 kB / 0.6264 GB, free: 6.418 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.437e-05/0.6032, allocations: 24.78 kB / 0.6264 GB, free: 6.391 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.598e-05/0.6033, allocations: 20 kB / 0.6265 GB, free: 6.371 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/0.6052, allocations: 2.691 MB / 0.6291 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.6052, allocations: 3.984 kB / 0.6291 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.6063, allocations: 0.796 MB / 0.6299 GB, free: 2.582 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002844/0.6066, allocations: 196.2 kB / 0.6301 GB, free: 2.371 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.69e-05/0.6067, allocations: 8 kB / 0.6301 GB, free: 2.363 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003669/0.6071, allocations: 32.05 kB / 0.6301 GB, free: 2.332 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.399e-05/0.6072, allocations: 35.95 kB / 0.6301 GB, free: 2.297 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.047e-05/0.6073, allocations: 39.98 kB / 0.6302 GB, free: 2.258 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005666/0.6078, allocations: 431 kB / 0.6306 GB, free: 1.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6079, allocations: 0 / 0.6306 GB, free: 1.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001117/0.609, allocations: 296 kB / 0.6309 GB, free: 1.551 MB / 446.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 (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.0009478/0.6099, allocations: 374.4 kB / 0.6312 GB, free: 1.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001182/0.6111, allocations: 0.5424 MB / 0.6317 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.6111, allocations: 3.859 kB / 0.6317 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008826/0.612, allocations: 408 kB / 0.6321 GB, free: 228 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/0.6135, allocations: 335 kB / 0.6325 GB, free: 15.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.6158, allocations: 1.598 MB / 0.634 GB, free: 14.26 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005201/0.6163, allocations: 0.9261 MB / 0.6349 GB, free: 13.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000368/0.6167, allocations: 115.4 kB / 0.635 GB, free: 13.19 MB / 462.1 MB Notification: Performance of SimCode: time 9.12e-07/0.6167, allocations: 0 / 0.635 GB, free: 13.19 MB / 462.1 MB Notification: Performance of Templates: time 0.0224/0.6391, allocations: 16.82 MB / 0.6515 GB, free: 12.38 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile make -j1 -f ModelicaTest_3.2.3_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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasaCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasaCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasaCalcHelperMain.o] Error 1