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.001057/0.001057, allocations: 89.03 kB / 17.63 MB, free: 6.156 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.001314/0.001314, allocations: 185.8 kB / 18.52 MB, free: 5.316 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.58/1.58, allocations: 223.2 MB / 242.5 MB, free: 14.59 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.2286/0.2286, allocations: 44.22 MB / 337.9 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003361/0.0003362, allocations: 11.98 kB / 410.3 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.137, allocations: 61.92 MB / 472.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02001/0.157, allocations: 19.13 MB / 491.3 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007148/0.1643, allocations: 4.128 MB / 495.5 MB, free: 6.383 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.1655, allocations: 27.81 kB / 495.5 MB, free: 6.355 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.1666, allocations: 262.4 kB / 495.7 MB, free: 6.098 MB / 366.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.002467/0.169, allocations: 0.781 MB / 496.5 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002938/0.172, allocations: 0.698 MB / 497.2 MB, free: 4.621 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003352/0.1754, allocations: 2.195 MB / 499.4 MB, free: 2.422 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000881/0.1763, allocations: 381.2 kB / 499.8 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002761/0.179, allocations: 0.782 MB / 0.4888 GB, free: 1.258 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.1803, allocations: 0.6189 MB / 0.4894 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.1805, allocations: 32 kB / 0.4895 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009608/0.1814, allocations: 195.7 kB / 0.4897 GB, free: 424 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000326/0.1818, allocations: 231.3 kB / 0.4899 GB, free: 192 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003429/0.1821, allocations: 173.3 kB / 0.49 GB, free: 12 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.1833, allocations: 0.7642 MB / 0.4908 GB, free: 15.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.1833, allocations: 0 / 0.4908 GB, free: 15.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.407e-06/0.1833, allocations: 0 / 0.4908 GB, free: 15.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.1834, allocations: 0 / 0.4908 GB, free: 15.24 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.002429/0.1858, allocations: 0.9346 MB / 0.4917 GB, free: 14.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.1859, allocations: 8.562 kB / 0.4917 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003722/0.1862, allocations: 87.06 kB / 0.4918 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007651/0.187, allocations: 0.4889 MB / 0.4923 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.1871, allocations: 104.3 kB / 0.4924 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.221e-05/0.1872, allocations: 47.98 kB / 0.4924 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.1885, allocations: 0.8143 MB / 0.4932 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.1885, allocations: 3.938 kB / 0.4932 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.842e-05/0.1886, allocations: 24 kB / 0.4932 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.004e-05/0.1887, allocations: 40.97 kB / 0.4933 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.1897, allocations: 0.6438 MB / 0.4939 GB, free: 11.88 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.004607/0.1943, allocations: 4.213 MB / 0.498 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008069/0.1951, allocations: 419.9 kB / 0.4984 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/0.1954, allocations: 209.4 kB / 0.4986 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004945/0.1959, allocations: 0.4951 MB / 0.4991 GB, free: 6.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.196, allocations: 38.89 kB / 0.4991 GB, free: 6.094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.943e-06/0.196, allocations: 0 / 0.4991 GB, free: 6.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.003007/0.199, allocations: 1.532 MB / 0.5006 GB, free: 4.508 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.247e-05/0.1991, allocations: 132.5 kB / 0.5008 GB, free: 4.348 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006701/0.1998, allocations: 0.5653 MB / 0.5013 GB, free: 3.773 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.1998, allocations: 37.7 kB / 0.5013 GB, free: 3.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.2001, allocations: 355 kB / 0.5017 GB, free: 3.379 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.2002, allocations: 161.7 kB / 0.5018 GB, free: 3.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.2003, allocations: 20 kB / 0.5019 GB, free: 3.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.2005, allocations: 374.8 kB / 0.5022 GB, free: 2.824 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003639/0.2008, allocations: 221.8 kB / 0.5024 GB, free: 2.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005726/0.2014, allocations: 0.5123 MB / 0.5029 GB, free: 1.957 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004705/0.2019, allocations: 316.6 kB / 0.5032 GB, free: 1.648 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.2019, allocations: 7.953 kB / 0.5032 GB, free: 1.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001808/0.2037, allocations: 0.9686 MB / 0.5042 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.2037, allocations: 8 kB / 0.5042 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/0.2038, allocations: 12 kB / 0.5042 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/0.2048, allocations: 260.8 kB / 0.5045 GB, free: 392 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004035/0.2052, allocations: 127.8 kB / 0.5046 GB, free: 264 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3102/0.5154, allocations: 0.8575 MB / 0.5054 GB, free: 49.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009733/0.5164, allocations: 41.11 kB / 0.5054 GB, free: 49.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.5166, allocations: 38.8 kB / 0.5055 GB, free: 49.6 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 (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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005151/0.5171, allocations: 248.3 kB / 0.5057 GB, free: 49.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/0.5173, allocations: 65.7 kB / 0.5058 GB, free: 49.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/0.5193, allocations: 0.7153 MB / 0.5065 GB, free: 49.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.318e-05/0.5194, allocations: 5.547 kB / 0.5065 GB, free: 49.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/0.5194, allocations: 3.219 kB / 0.5065 GB, free: 49.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/0.5194, allocations: 11.66 kB / 0.5065 GB, free: 49.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003621/0.523, allocations: 1.394 MB / 0.5079 GB, free: 49.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/0.5231, allocations: 5.094 kB / 0.5079 GB, free: 49.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.5241, allocations: 193.3 kB / 0.5081 GB, free: 49.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003377/0.5245, allocations: 65.77 kB / 0.5081 GB, free: 49.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.362e-05/0.5245, allocations: 16.47 kB / 0.5081 GB, free: 49.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002725/0.5273, allocations: 2.784 MB / 0.5109 GB, free: 46.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.297e-06/0.5273, allocations: 7.156 kB / 0.5109 GB, free: 46.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002068/0.5294, allocations: 0.9956 MB / 0.5118 GB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003828/0.5297, allocations: 204.5 kB / 0.512 GB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.091e-05/0.5298, allocations: 10.09 kB / 0.512 GB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004239/0.5303, allocations: 30.12 kB / 0.5121 GB, free: 45.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.5304, allocations: 39.45 kB / 0.5121 GB, free: 45.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.94e-05/0.5305, allocations: 20.58 kB / 0.5121 GB, free: 45.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006913/0.5312, allocations: 391.9 kB / 0.5125 GB, free: 45.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.5312, allocations: 1.062 kB / 0.5125 GB, free: 45.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001162/0.5324, allocations: 208.3 kB / 0.5127 GB, free: 45.57 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 (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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006729/0.533, allocations: 239.8 kB / 0.5129 GB, free: 45.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001414/0.5345, allocations: 0.5924 MB / 0.5135 GB, free: 45.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.946e-06/0.5345, allocations: 4.156 kB / 0.5135 GB, free: 45.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.5357, allocations: 481.4 kB / 0.514 GB, free: 45.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.5373, allocations: 326 kB / 0.5143 GB, free: 44.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.5401, allocations: 1.709 MB / 0.5159 GB, free: 44.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005707/0.5406, allocations: 0.9323 MB / 0.5169 GB, free: 43.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.5409, allocations: 66.61 kB / 0.5169 GB, free: 43.31 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5409, allocations: 0 / 0.5169 GB, free: 43.31 MB / 382.1 MB Notification: Performance of Templates: time 0.02592/0.5668, allocations: 15.19 MB / 0.5317 GB, free: 35.86 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++ 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.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