Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009984/0.0009985, allocations: 94.55 kB / 18.01 MB, free: 5.738 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.001155/0.001155, allocations: 175.8 kB / 18.91 MB, free: 4.871 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.513/1.513, allocations: 223.3 MB / 242.9 MB, free: 14.52 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.2579/0.2579, allocations: 44.24 MB / 338.3 MB, free: 2.52 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004282/0.0004285, allocations: 8 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1472, allocations: 61.93 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02192/0.1691, allocations: 20.34 MB / 493.3 MB, free: 8.906 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007077/0.1763, allocations: 4.391 MB / 497.6 MB, free: 4.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.1774, allocations: 27.81 kB / 497.7 MB, free: 4.473 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009365/0.1784, allocations: 270.5 kB / 497.9 MB, free: 4.207 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002339/0.1807, allocations: 0.8087 MB / 498.7 MB, free: 3.395 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002469/0.1832, allocations: 0.8052 MB / 499.6 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003421/0.1866, allocations: 2.663 MB / 0.4904 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008685/0.1875, allocations: 393 kB / 0.4908 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002462/0.19, allocations: 0.8131 MB / 0.4916 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.1911, allocations: 0.6539 MB / 0.4923 GB, free: 14.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.144e-05/0.1912, allocations: 28 kB / 0.4923 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009929/0.1922, allocations: 275.5 kB / 0.4925 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003366/0.1926, allocations: 227.3 kB / 0.4928 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005914/0.1932, allocations: 399.9 kB / 0.4931 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009705/0.1942, allocations: 0.795 MB / 0.4939 GB, free: 12.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1942, allocations: 0 / 0.4939 GB, free: 12.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1942, allocations: 0 / 0.4939 GB, free: 12.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.1942, allocations: 0 / 0.4939 GB, free: 12.35 MB / 382.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.002145/0.1964, allocations: 0.9194 MB / 0.4948 GB, free: 11.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.1964, allocations: 19.97 kB / 0.4948 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003424/0.1968, allocations: 88.08 kB / 0.4949 GB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008455/0.1976, allocations: 0.4898 MB / 0.4954 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.1977, allocations: 109 kB / 0.4955 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.553e-05/0.1978, allocations: 44.38 kB / 0.4955 GB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.1994, allocations: 0.8369 MB / 0.4964 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.1994, allocations: 3.906 kB / 0.4964 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.076e-05/0.1995, allocations: 27.94 kB / 0.4964 GB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.218e-05/0.1996, allocations: 40.92 kB / 0.4964 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.2007, allocations: 0.6439 MB / 0.4971 GB, free: 8.957 MB / 382.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.004965/0.2057, allocations: 4.213 MB / 0.5012 GB, free: 4.449 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008259/0.2065, allocations: 412 kB / 0.5016 GB, free: 4.039 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.2069, allocations: 213.3 kB / 0.5018 GB, free: 3.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005401/0.2074, allocations: 0.4989 MB / 0.5023 GB, free: 3.219 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.2075, allocations: 42.89 kB / 0.5023 GB, free: 3.168 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.074e-06/0.2075, allocations: 0 / 0.5023 GB, free: 3.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.003216/0.2107, allocations: 1.532 MB / 0.5038 GB, free: 1.582 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.211e-05/0.2108, allocations: 136.5 kB / 0.5039 GB, free: 1.418 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007083/0.2115, allocations: 0.5654 MB / 0.5045 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/0.2116, allocations: 33.7 kB / 0.5045 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002541/0.2118, allocations: 351 kB / 0.5048 GB, free: 468 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.212, allocations: 169.7 kB / 0.505 GB, free: 296 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.32e-05/0.2121, allocations: 65.69 kB / 0.5051 GB, free: 224 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.2764/0.4885, allocations: 375.9 kB / 0.5054 GB, free: 50.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009116/0.4895, allocations: 223.5 kB / 0.5056 GB, free: 50.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.4905, allocations: 0.5181 MB / 0.5061 GB, free: 50.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.4921, allocations: 0.7815 MB / 0.5069 GB, free: 49.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.97e-05/0.4921, allocations: 2.781 kB / 0.5069 GB, free: 49.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002909/0.495, allocations: 0.9397 MB / 0.5078 GB, free: 49.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.4951, allocations: 9.094 kB / 0.5078 GB, free: 49.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.598e-05/0.4951, allocations: 9.375 kB / 0.5078 GB, free: 49.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/0.4965, allocations: 270.5 kB / 0.5081 GB, free: 49.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005227/0.4971, allocations: 126.9 kB / 0.5082 GB, free: 49.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/0.4982, allocations: 0.8641 MB / 0.5091 GB, free: 49.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007244/0.4989, allocations: 48.58 kB / 0.5091 GB, free: 49.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.581e-05/0.499, allocations: 33.16 kB / 0.5091 GB, free: 49.26 MB / 382.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 (73): * Single equations (assignments): 72 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000503/0.4995, allocations: 253.6 kB / 0.5094 GB, free: 49.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/0.4997, allocations: 68.33 kB / 0.5095 GB, free: 49.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/0.5017, allocations: 0.7159 MB / 0.5102 GB, free: 48.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/0.5017, allocations: 4.969 kB / 0.5102 GB, free: 48.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/0.5017, allocations: 0.7031 kB / 0.5102 GB, free: 48.83 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.5017, allocations: 3.609 kB / 0.5102 GB, free: 48.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003098/0.5049, allocations: 1.407 MB / 0.5115 GB, free: 48.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.5049, allocations: 1.375 kB / 0.5115 GB, free: 48.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.5059, allocations: 196.6 kB / 0.5117 GB, free: 48.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003435/0.5063, allocations: 58.83 kB / 0.5118 GB, free: 48.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.267e-05/0.5064, allocations: 16.41 kB / 0.5118 GB, free: 48.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002137/0.5085, allocations: 2.795 MB / 0.5145 GB, free: 45.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.5085, allocations: 2.188 kB / 0.5145 GB, free: 45.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001968/0.5105, allocations: 0.9991 MB / 0.5155 GB, free: 44.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004498/0.511, allocations: 199.6 kB / 0.5157 GB, free: 44.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/0.5112, allocations: 14.2 kB / 0.5157 GB, free: 44.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005855/0.5117, allocations: 39.12 kB / 0.5157 GB, free: 44.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.5119, allocations: 44.66 kB / 0.5158 GB, free: 44.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.007e-05/0.512, allocations: 21.41 kB / 0.5158 GB, free: 44.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007474/0.5127, allocations: 423.8 kB / 0.5162 GB, free: 44.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.332e-06/0.5127, allocations: 0 / 0.5162 GB, free: 44.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001201/0.5139, allocations: 205.9 kB / 0.5164 GB, free: 44.38 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006415/0.5146, allocations: 223 kB / 0.5166 GB, free: 44.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00152/0.5161, allocations: 0.6042 MB / 0.5172 GB, free: 44.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.5161, allocations: 5.031 kB / 0.5172 GB, free: 44.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001265/0.5174, allocations: 472.7 kB / 0.5177 GB, free: 43.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/0.5197, allocations: 354.7 kB / 0.518 GB, free: 43.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003464/0.5232, allocations: 1.762 MB / 0.5197 GB, free: 42.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006864/0.5239, allocations: 0.9338 MB / 0.5206 GB, free: 42.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/0.5242, allocations: 67.06 kB / 0.5207 GB, free: 42.03 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5242, allocations: 0 / 0.5207 GB, free: 42.03 MB / 382.1 MB Notification: Performance of Templates: time 0.02741/0.5516, allocations: 15.47 MB / 0.5358 GB, free: 32.31 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWaterCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWaterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWaterCalcHelperMain.o] Error 1