Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_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.0008653/0.0008653, allocations: 96.14 kB / 16.33 MB, free: 6.41 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.0009685/0.0009685, allocations: 188.3 kB / 17.23 MB, free: 6.293 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.533/1.533, 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.56 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.0005062/0.0005062, allocations: 12.53 kB / 384.6 MB, free: 57.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1286, allocations: 58.86 MB / 443.4 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02053/0.1491, allocations: 19.14 MB / 462.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006532/0.1557, allocations: 4.152 MB / 466.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008941/0.1567, allocations: 19.81 kB / 466.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009137/0.1576, allocations: 262.4 kB / 467 MB, free: 14.13 MB / 350.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.002042/0.1596, allocations: 0.7848 MB / 467.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002109/0.1618, allocations: 0.6932 MB / 468.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002426/0.1642, allocations: 2.187 MB / 470.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005645/0.1648, allocations: 381.2 kB / 471 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001495/0.1663, allocations: 0.7665 MB / 471.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008678/0.1672, allocations: 0.6267 MB / 472.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.749e-05/0.1672, allocations: 32 kB / 472.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006721/0.1679, allocations: 207.7 kB / 472.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000235/0.1682, allocations: 219.3 kB / 472.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.1683, allocations: 169.3 kB / 473 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008/0.1691, allocations: 0.7598 MB / 473.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.1692, allocations: 4 kB / 473.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1692, allocations: 0 / 473.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.1692, allocations: 0 / 473.8 MB, free: 7.297 MB / 350.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.001844/0.171, allocations: 0.927 MB / 474.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1711, allocations: 8.031 kB / 474.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003004/0.1714, allocations: 91.14 kB / 474.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000709/0.1721, allocations: 0.4888 MB / 475.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.1722, allocations: 100.4 kB / 475.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.742e-05/0.1723, allocations: 47.98 kB / 475.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.1736, allocations: 0.822 MB / 476.3 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.1736, allocations: 3.938 kB / 476.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-05/0.1737, allocations: 27.98 kB / 476.3 MB, free: 4.609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-05/0.1738, allocations: 36.98 kB / 476.3 MB, free: 4.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000973/0.1748, allocations: 0.64 MB / 477 MB, free: 3.934 MB / 350.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.004503/0.1793, allocations: 4.24 MB / 481.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007861/0.1801, allocations: 412 kB / 481.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003009/0.1804, allocations: 201.4 kB / 481.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005649/0.181, allocations: 0.4951 MB / 482.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.181, allocations: 38.89 kB / 482.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.894e-06/0.181, allocations: 4 kB / 482.4 MB, free: 14.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.003066/0.1841, allocations: 1.53 MB / 483.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.1842, allocations: 136.5 kB / 484 MB, free: 12.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007134/0.1849, allocations: 0.5692 MB / 484.6 MB, free: 11.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.537e-05/0.185, allocations: 33.7 kB / 484.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003294/0.1853, allocations: 355 kB / 485 MB, free: 11.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.1855, allocations: 161.7 kB / 485.1 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.1855, allocations: 16 kB / 485.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.1858, allocations: 378.8 kB / 485.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003757/0.1861, allocations: 225.8 kB / 485.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00071/0.1869, allocations: 0.5162 MB / 486.3 MB, free: 9.992 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005216/0.1874, allocations: 316.5 kB / 486.6 MB, free: 9.684 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1874, allocations: 0 / 486.6 MB, free: 9.684 MB / 366.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001992/0.1894, allocations: 0.9608 MB / 487.5 MB, free: 8.711 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.1895, allocations: 12.22 kB / 487.5 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.1895, allocations: 12 kB / 487.5 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.1906, allocations: 270.8 kB / 487.8 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004038/0.191, allocations: 119.8 kB / 487.9 MB, free: 8.305 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/0.192, allocations: 0.8684 MB / 488.8 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005023/0.1925, allocations: 43.89 kB / 488.8 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.189e-05/0.1926, allocations: 39.94 kB / 488.9 MB, free: 7.328 MB / 366.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.0003316/0.1929, allocations: 245.5 kB / 489.1 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.819e-05/0.193, allocations: 71.25 kB / 489.2 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/0.1943, allocations: 0.7077 MB / 489.9 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.1943, allocations: 11.95 kB / 489.9 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.1944, allocations: 0 / 489.9 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.1944, allocations: 11.98 kB / 489.9 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.1963, allocations: 1.391 MB / 491.3 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1964, allocations: 0 / 491.3 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008808/0.1973, allocations: 199.9 kB / 491.5 MB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002455/0.1975, allocations: 60.69 kB / 491.6 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/0.1976, allocations: 16 kB / 491.6 MB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002216/0.1998, allocations: 2.793 MB / 494.4 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1998, allocations: 0 / 494.4 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.2012, allocations: 0.9879 MB / 495.4 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002485/0.2014, allocations: 208.3 kB / 495.6 MB, free: 224 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.219e-05/0.2015, allocations: 12 kB / 495.6 MB, free: 212 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003644/0.2019, allocations: 27.89 kB / 495.6 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.885e-05/0.202, allocations: 31.95 kB / 495.6 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.221e-05/0.2021, allocations: 31.92 kB / 495.7 MB, free: 120 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004549/0.2025, allocations: 390.9 kB / 496 MB, free: 15.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.643e-06/0.2025, allocations: 4 kB / 496 MB, free: 15.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007602/0.2033, allocations: 211.9 kB / 496.3 MB, free: 15.52 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.0005016/0.2038, allocations: 226.5 kB / 496.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.2049, allocations: 0.6047 MB / 497.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.2049, allocations: 0 / 497.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.2059, allocations: 474.2 kB / 497.5 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.2073, allocations: 332.3 kB / 497.9 MB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.2095, allocations: 1.7 MB / 499.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/0.2101, allocations: 0.9309 MB / 0.4888 GB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.2102, allocations: 71.36 kB / 0.4888 GB, free: 11.12 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2102, allocations: 0 / 0.4888 GB, free: 11.12 MB / 382.1 MB Notification: Performance of Templates: time 0.01918/0.2294, allocations: 15.18 MB / 0.5037 GB, free: 11.97 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile make -j1 -f ModelicaTest_3.2.3_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"." -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.LinearFluid.LinearColdWaterCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWaterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWaterCalcHelperMain.o] Error 1