Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.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.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008295/0.0008297, allocations: 95.81 kB / 16.33 MB, free: 6.082 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.0008072/0.0008071, allocations: 189.4 kB / 17.22 MB, free: 5.98 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.498/1.498, 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.2238/0.2238, 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.0005299/0.0005299, allocations: 12.22 kB / 384.6 MB, free: 57.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.123, allocations: 58.86 MB / 443.4 MB, free: 5.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01488/0.138, allocations: 16.62 MB / 460 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009578/0.1476, allocations: 6.633 MB / 466.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.1487, allocations: 23.81 kB / 466.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.1498, allocations: 310.1 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.001752/0.1516, allocations: 0.6839 MB / 467.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003595/0.1552, allocations: 1.028 MB / 468.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003252/0.1585, allocations: 2.981 MB / 471.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009045/0.1594, allocations: 0.55 MB / 472.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001571/0.161, allocations: 0.8991 MB / 473.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009938/0.162, allocations: 0.7397 MB / 473.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.1621, allocations: 51.94 kB / 473.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009948/0.1631, allocations: 303.7 kB / 474.2 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000338/0.1634, allocations: 331.1 kB / 474.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002502/0.1637, allocations: 201.3 kB / 474.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.1648, allocations: 1.068 MB / 475.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1649, allocations: 0 / 475.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1649, allocations: 0 / 475.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.1649, allocations: 0 / 475.8 MB, free: 5.289 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.001996/0.1669, allocations: 1.111 MB / 476.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1669, allocations: 12.03 kB / 476.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004373/0.1674, allocations: 119 kB / 477 MB, free: 4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008453/0.1682, allocations: 0.5783 MB / 477.6 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001986/0.1684, allocations: 260.1 kB / 477.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.1686, allocations: 76 kB / 477.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/0.1704, allocations: 1.293 MB / 479.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/0.1705, allocations: 7.938 kB / 479.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.1706, allocations: 40 kB / 479.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.019e-05/0.1707, allocations: 45.25 kB / 479.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/0.1722, allocations: 0.9572 MB / 480.3 MB, free: 0.5391 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.006642/0.1788, allocations: 7.09 MB / 487.4 MB, free: 8.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005154/0.1793, allocations: 312.1 kB / 487.7 MB, free: 8.668 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002584/0.1796, allocations: 172.7 kB / 487.9 MB, free: 8.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002765/0.1824, allocations: 2.826 MB / 490.7 MB, free: 5.168 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.1824, allocations: 38.8 kB / 490.7 MB, free: 5.121 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 3.536e-06/0.1825, allocations: 3.984 kB / 490.7 MB, free: 5.117 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.002119/0.1846, allocations: 1.102 MB / 491.8 MB, free: 3.965 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.1846, allocations: 59.41 kB / 491.9 MB, free: 3.895 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000998/0.1856, allocations: 0.8717 MB / 492.8 MB, free: 3.012 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.867e-05/0.1857, allocations: 33.7 kB / 492.8 MB, free: 2.973 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000426/0.1861, allocations: 0.5667 MB / 493.4 MB, free: 2.398 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.1862, allocations: 142.3 kB / 493.5 MB, free: 2.258 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.1863, allocations: 27.94 kB / 493.5 MB, free: 2.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.1865, allocations: 398.7 kB / 493.9 MB, free: 1.832 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003821/0.1869, allocations: 238.5 kB / 494.1 MB, free: 1.598 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009256/0.1878, allocations: 0.9583 MB / 495.1 MB, free: 288 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000636/0.1884, allocations: 439.4 kB / 495.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.487e-06/0.1885, allocations: 8 kB / 495.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001702/0.1902, allocations: 1.196 MB / 496.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.1902, allocations: 16 kB / 496.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.531e-05/0.1902, allocations: 28 kB / 496.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.422e-05/0.1903, allocations: 39.98 kB / 496.8 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007574/0.1911, allocations: 276 kB / 497.1 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-05/0.1911, allocations: 55.78 kB / 497.1 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006062/0.1917, allocations: 67.89 kB / 497.2 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.196e-05/0.1918, allocations: 79.95 kB / 497.3 MB, free: 14.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003995/0.1922, allocations: 329.1 kB / 497.6 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.1924, allocations: 90.97 kB / 497.7 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008279/0.1932, allocations: 475.4 kB / 498.2 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.1932, allocations: 4 kB / 498.2 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1932, allocations: 0 / 498.2 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.1932, allocations: 3.984 kB / 498.2 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.1948, allocations: 1.239 MB / 499.4 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.1948, allocations: 4 kB / 499.4 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002829/0.1951, allocations: 71.84 kB / 499.5 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.1951, allocations: 7.953 kB / 499.5 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.1952, allocations: 12 kB / 499.5 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1952, allocations: 4 kB / 499.5 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1952, allocations: 0 / 499.5 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008432/0.196, allocations: 0.6517 MB / 0.4884 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002349/0.1963, allocations: 207.9 kB / 0.4886 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.16e-05/0.1964, allocations: 15.94 kB / 0.4886 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003697/0.1968, allocations: 24 kB / 0.4887 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.1968, allocations: 27.91 kB / 0.4887 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.67e-05/0.1969, allocations: 27.97 kB / 0.4887 GB, free: 10.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006768/0.1975, allocations: 0.5811 MB / 0.4893 GB, free: 10.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1975, allocations: 0 / 0.4893 GB, free: 10.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001001/0.1986, allocations: 295.9 kB / 0.4896 GB, free: 9.848 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005778/0.1991, allocations: 310.1 kB / 0.4899 GB, free: 9.543 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009311/0.2001, allocations: 0.6336 MB / 0.4905 GB, free: 8.914 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.2001, allocations: 9 kB / 0.4905 GB, free: 8.906 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.2003, allocations: 147.9 kB / 0.4906 GB, free: 8.762 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/0.2019, allocations: 386.5 kB / 0.491 GB, free: 8.387 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.2042, allocations: 1.817 MB / 0.4928 GB, free: 6.516 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006058/0.2048, allocations: 0.9972 MB / 0.4937 GB, free: 5.488 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.205, allocations: 87.42 kB / 0.4938 GB, free: 5.402 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.205, allocations: 0 / 0.4938 GB, free: 5.402 MB / 382.1 MB Notification: Performance of Templates: time 0.01927/0.2243, allocations: 14.42 MB / 0.5079 GB, free: 7.012 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.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.Fluid.TestComponents.Vessels.TestMixingVolumesCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesCalcHelperMain.o] Error 1