Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 95.17 kB / 18 MB, free: 5.609 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.0009024/0.0009025, allocations: 176.6 kB / 18.91 MB, free: 4.738 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.482/1.482, allocations: 223.3 MB / 242.9 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2204/0.2204, allocations: 44.24 MB / 338.3 MB, free: 2.438 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004414/0.0004414, allocations: 8.688 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1702, allocations: 61.92 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.6482/0.8185, allocations: 187.2 MB / 0.6446 GB, free: 7.301 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01365/0.8322, allocations: 7.54 MB / 0.652 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001919/0.8342, allocations: 27.75 kB / 0.652 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001922/0.8361, allocations: 402 kB / 0.6524 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008228/0.8444, allocations: 2.07 MB / 0.6544 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008178/0.8526, allocations: 2.047 MB / 0.6564 GB, free: 11.2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004929/0.8575, allocations: 3.206 MB / 0.6595 GB, free: 7.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001577/0.8591, allocations: 0.501 MB / 0.66 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005859/0.865, allocations: 1.616 MB / 0.6616 GB, free: 5.844 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00248/0.8675, allocations: 0.8917 MB / 0.6625 GB, free: 4.949 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005/0.8681, allocations: 44 kB / 0.6625 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01305/0.8811, allocations: 5.494 MB / 0.6679 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001326/0.8825, allocations: 382.9 kB / 0.6682 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001942/0.8845, allocations: 0.515 MB / 0.6687 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007943/0.8925, allocations: 2.662 MB / 0.6713 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.878e-06/0.8925, allocations: 12 kB / 0.6713 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.745e-06/0.8926, allocations: 0 / 0.6713 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.818e-05/0.8926, allocations: 0 / 0.6713 GB, free: 11.82 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.006062/0.8987, allocations: 1.53 MB / 0.6728 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 9.152e-05/0.8988, allocations: 11.97 kB / 0.6729 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008206/0.8997, allocations: 110.9 kB / 0.673 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001813/0.9015, allocations: 0.5858 MB / 0.6735 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/0.9017, allocations: 121.4 kB / 0.6736 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003212/0.9021, allocations: 68 kB / 0.6737 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002741/0.9048, allocations: 1.158 MB / 0.6748 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.725e-05/0.9049, allocations: 11.92 kB / 0.6749 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001616/0.905, allocations: 39.98 kB / 0.6749 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.687e-05/0.9051, allocations: 61.91 kB / 0.675 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002332/0.9075, allocations: 1.159 MB / 0.6761 GB, free: 6.82 MB / 0.4981 GB 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.008735/0.9162, allocations: 4.97 MB / 0.6809 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/0.9182, allocations: 0.838 MB / 0.6818 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008051/0.9191, allocations: 430.3 kB / 0.6822 GB, free: 252 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001871/0.921, allocations: 1.622 MB / 0.6838 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.266e-05/0.9211, allocations: 47.12 kB / 0.6838 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=70): time 2.695e-06/0.9211, allocations: 0 / 0.6838 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82): time 0.01535/0.9364, allocations: 4.137 MB / 0.6878 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.9366, allocations: 115.5 kB / 0.6879 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.9378, allocations: 0.668 MB / 0.6886 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001719/0.938, allocations: 41.7 kB / 0.6886 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004077/0.9384, allocations: 379.5 kB / 0.689 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003708/0.9388, allocations: 291.9 kB / 0.6893 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.939, allocations: 85.67 kB / 0.6894 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002536/0.9393, allocations: 390.7 kB / 0.6897 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.9405, allocations: 0.4938 MB / 0.6902 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.9419, allocations: 0.7601 MB / 0.691 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002545/0.9445, allocations: 1.293 MB / 0.6922 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/0.9445, allocations: 0 / 0.6922 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003972/0.9485, allocations: 1.696 MB / 0.6939 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.9485, allocations: 8 kB / 0.6939 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.9485, allocations: 8 kB / 0.6939 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007978/0.9565, allocations: 1.386 MB / 0.6952 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000794/0.9574, allocations: 163.7 kB / 0.6954 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003185/0.9606, allocations: 1.545 MB / 0.6969 GB, free: 408 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.962, allocations: 91.83 kB / 0.697 GB, free: 316 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002535/0.9623, allocations: 51.98 kB / 0.697 GB, free: 264 kB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 88 * 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 {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0008302/0.9631, allocations: 298.1 kB / 0.6973 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002883/0.9634, allocations: 83.06 kB / 0.6974 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003879/0.9673, allocations: 1.688 MB / 0.6991 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/0.9673, allocations: 8 kB / 0.6991 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/0.9674, allocations: 7.922 kB / 0.6991 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.9674, allocations: 3.984 kB / 0.6991 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005296/0.9727, allocations: 2.648 MB / 0.7017 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.9727, allocations: 4 kB / 0.7017 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/0.9741, allocations: 263.8 kB / 0.7019 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002115/0.9762, allocations: 400.3 kB / 0.7023 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.9763, allocations: 31.98 kB / 0.7023 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003537/0.9799, allocations: 2.264 MB / 0.7045 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/0.9799, allocations: 7.969 kB / 0.7045 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004548/0.9845, allocations: 2.044 MB / 0.7065 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00088/0.9854, allocations: 303.8 kB / 0.7068 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002882/0.9857, allocations: 24 kB / 0.7069 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.9868, allocations: 79.78 kB / 0.7069 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001987/0.987, allocations: 64.91 kB / 0.707 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001514/0.9872, allocations: 47.97 kB / 0.707 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009084/0.9881, allocations: 0.499 MB / 0.7075 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.51e-07/0.9881, allocations: 0 / 0.7075 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002752/0.9909, allocations: 0.6714 MB / 0.7082 GB, free: 4.512 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002922/0.9938, allocations: 0.7881 MB / 0.709 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003351/0.9972, allocations: 1.249 MB / 0.7102 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/0.9972, allocations: 4 kB / 0.7102 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001933/0.9992, allocations: 0.7009 MB / 0.7109 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003575/1.003, allocations: 0.5028 MB / 0.7114 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.298/1.301, allocations: 2.646 MB / 0.7139 GB, free: 202.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000865/1.302, allocations: 1.043 MB / 0.715 GB, free: 201.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005169/1.302, allocations: 100.9 kB / 0.7151 GB, free: 201.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.113e-06/1.302, allocations: 0 / 0.7151 GB, free: 201.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.05843/1.361, allocations: 28.17 MB / 0.7426 GB, free: 189.4 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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/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/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.MoistAirCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirCalcHelperMain.o] Error 1