Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.SimpleAir,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.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,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.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008029/0.0008032, allocations: 92.66 kB / 16.33 MB, free: 5.938 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.000878/0.000878, allocations: 180.4 kB / 17.22 MB, free: 5.867 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.589/1.589, allocations: 205.4 MB / 223.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.386/0.386, allocations: 43.55 MB / 315.2 MB, free: 9.098 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.0005011/0.0005011, allocations: 16 kB / 384.6 MB, free: 8.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1344, allocations: 58.86 MB / 443.4 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3954/0.5298, allocations: 134.3 MB / 0.5642 GB, free: 5.262 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009019/0.5389, allocations: 5.332 MB / 0.5694 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001186/0.5402, allocations: 23.81 kB / 0.5694 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.5412, allocations: 262.4 kB / 0.5697 GB, free: 15.65 MB / 446.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.002267/0.5434, allocations: 0.8161 MB / 0.5705 GB, free: 14.83 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002572/0.546, allocations: 0.7997 MB / 0.5713 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002753/0.5488, allocations: 2.203 MB / 0.5734 GB, free: 11.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007347/0.5495, allocations: 379.7 kB / 0.5738 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001328/0.5509, allocations: 0.6577 MB / 0.5744 GB, free: 10.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.5519, allocations: 0.7008 MB / 0.5751 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.943e-05/0.552, allocations: 35.98 kB / 0.5752 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.5531, allocations: 411.2 kB / 0.5755 GB, free: 9.672 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002673/0.5534, allocations: 235.3 kB / 0.5758 GB, free: 9.441 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.5536, allocations: 161.4 kB / 0.5759 GB, free: 9.277 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000864/0.5545, allocations: 0.8104 MB / 0.5767 GB, free: 8.465 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.5545, allocations: 4 kB / 0.5767 GB, free: 8.461 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5545, allocations: 0 / 0.5767 GB, free: 8.461 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.5545, allocations: 0 / 0.5767 GB, free: 8.461 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.001814/0.5564, allocations: 0.9206 MB / 0.5776 GB, free: 7.492 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.5564, allocations: 16.02 kB / 0.5776 GB, free: 7.477 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003085/0.5567, allocations: 91.09 kB / 0.5777 GB, free: 7.387 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007335/0.5575, allocations: 0.4966 MB / 0.5782 GB, free: 6.848 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.5576, allocations: 103 kB / 0.5783 GB, free: 6.738 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.94e-05/0.5577, allocations: 47.98 kB / 0.5783 GB, free: 6.691 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.5589, allocations: 0.8111 MB / 0.5791 GB, free: 5.812 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.5589, allocations: 3.953 kB / 0.5791 GB, free: 5.809 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.711e-05/0.559, allocations: 24 kB / 0.5792 GB, free: 5.785 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.448e-05/0.5591, allocations: 40.97 kB / 0.5792 GB, free: 5.746 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009889/0.5601, allocations: 0.6517 MB / 0.5798 GB, free: 5.094 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.004284/0.5643, allocations: 3.948 MB / 0.5837 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007382/0.5651, allocations: 424.3 kB / 0.5841 GB, free: 452 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003047/0.5654, allocations: 209.3 kB / 0.5843 GB, free: 240 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005976/0.566, allocations: 0.7405 MB / 0.585 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.5661, allocations: 34.89 kB / 0.5851 GB, free: 15.29 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.364e-06/0.5661, allocations: 0 / 0.5851 GB, free: 15.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.003037/0.5691, allocations: 1.539 MB / 0.5866 GB, free: 13.68 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.316e-05/0.5692, allocations: 144.4 kB / 0.5867 GB, free: 13.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006421/0.5699, allocations: 0.5615 MB / 0.5872 GB, free: 12.93 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.122e-05/0.5699, allocations: 33.7 kB / 0.5873 GB, free: 12.89 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002674/0.5702, allocations: 355 kB / 0.5876 GB, free: 12.54 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.5703, allocations: 165.7 kB / 0.5878 GB, free: 12.38 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.5704, allocations: 20 kB / 0.5878 GB, free: 12.36 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.5705, allocations: 374.7 kB / 0.5882 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003385/0.5709, allocations: 209.9 kB / 0.5884 GB, free: 11.78 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005576/0.5715, allocations: 0.5162 MB / 0.5889 GB, free: 11.13 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004427/0.5719, allocations: 304.6 kB / 0.5891 GB, free: 10.83 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.5719, allocations: 4 kB / 0.5892 GB, free: 10.83 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001673/0.5736, allocations: 0.9016 MB / 0.59 GB, free: 9.914 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.5736, allocations: 15.27 kB / 0.59 GB, free: 9.902 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.5737, allocations: 11.94 kB / 0.5901 GB, free: 9.891 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.5749, allocations: 300.5 kB / 0.5903 GB, free: 9.594 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003673/0.5753, allocations: 119.8 kB / 0.5905 GB, free: 9.477 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009645/0.5763, allocations: 0.8818 MB / 0.5913 GB, free: 8.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004686/0.5767, allocations: 51.03 kB / 0.5914 GB, free: 8.523 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-05/0.5768, allocations: 36 kB / 0.5914 GB, free: 8.488 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003356/0.5772, allocations: 249.4 kB / 0.5916 GB, free: 8.234 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.5773, allocations: 75.14 kB / 0.5917 GB, free: 8.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/0.5785, allocations: 0.7648 MB / 0.5925 GB, free: 7.363 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.5785, allocations: 4 kB / 0.5925 GB, free: 7.359 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.5785, allocations: 4 kB / 0.5925 GB, free: 7.355 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.5785, allocations: 3.984 kB / 0.5925 GB, free: 7.352 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/0.5804, allocations: 1.407 MB / 0.5938 GB, free: 5.848 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.5805, allocations: 4 kB / 0.5938 GB, free: 5.844 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009293/0.5814, allocations: 200 kB / 0.594 GB, free: 5.648 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.467e-05/0.5815, allocations: 32.83 kB / 0.5941 GB, free: 5.613 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/0.5815, allocations: 15.94 kB / 0.5941 GB, free: 5.598 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.5834, allocations: 2.675 MB / 0.5967 GB, free: 2.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.5834, allocations: 0 / 0.5967 GB, free: 2.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.5848, allocations: 0.9995 MB / 0.5977 GB, free: 1.609 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002811/0.585, allocations: 212.1 kB / 0.5979 GB, free: 1.383 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.784e-05/0.5851, allocations: 8 kB / 0.5979 GB, free: 1.375 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003728/0.5855, allocations: 32.05 kB / 0.5979 GB, free: 1.344 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.73e-05/0.5856, allocations: 39.84 kB / 0.598 GB, free: 1.305 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.613e-05/0.5856, allocations: 27.97 kB / 0.598 GB, free: 1.277 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004719/0.5861, allocations: 407.1 kB / 0.5984 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5861, allocations: 0 / 0.5984 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000792/0.5869, allocations: 223.9 kB / 0.5986 GB, free: 0.6641 MB / 462.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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004954/0.5874, allocations: 244.2 kB / 0.5988 GB, free: 432 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.5886, allocations: 0.603 MB / 0.5994 GB, free: 15.81 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.5886, allocations: 7.938 kB / 0.5994 GB, free: 15.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000898/0.5895, allocations: 434.3 kB / 0.5998 GB, free: 15.37 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.5909, allocations: 335.2 kB / 0.6001 GB, free: 15.04 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.5932, allocations: 1.673 MB / 0.6018 GB, free: 13.33 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005626/0.5938, allocations: 0.9348 MB / 0.6027 GB, free: 12.37 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.594, allocations: 71.36 kB / 0.6028 GB, free: 12.3 MB / 478.1 MB Notification: Performance of SimCode: time 6.31e-07/0.594, allocations: 0 / 0.6028 GB, free: 12.3 MB / 478.1 MB Notification: Performance of Templates: time 0.02209/0.6161, allocations: 15.43 MB / 0.6178 GB, free: 12.88 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.SimpleAirCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAirCalcHelperMain.o] Error 1