Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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(ThermofluidStream.Topology.Tests.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|splitterN.inlet.m_flow|splitterN.outlets.2..m_flow|splitterN.outlets.3..m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter") translateModel(ThermofluidStream.Topology.Tests.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|splitterN.inlet.m_flow|splitterN.outlets.2..m_flow|splitterN.outlets.3..m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.00105, allocations: 100.6 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 177.5 kB / 16.58 MB, free: 6.422 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.586/1.586, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.906/0.906, allocations: 89.63 MB / 381.3 MB, free: 11.46 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003902, allocations: 9.938 kB / 460.6 MB, free: 24.44 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1969, allocations: 68.83 MB / 0.517 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.6819/0.879, allocations: 128.4 MB / 0.6425 GB, free: 3.664 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004891/0.8839, allocations: 3.844 MB / 0.6462 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002353/0.8842, allocations: 5.375 kB / 0.6462 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006294/0.8849, allocations: 134.7 kB / 0.6464 GB, free: 476 kB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/Topology/Tests/TestSplitter.mo:13:25-13:32:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/Topology/Tests/TestSplitter.mo:13:39-13:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0005585/0.8854, allocations: 196.1 kB / 0.6465 GB, free: 312 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.8857, allocations: 85.41 kB / 0.6466 GB, free: 248 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004014/0.8862, allocations: 301.4 kB / 0.6469 GB, free: 68 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.8864, allocations: 81.45 kB / 0.647 GB, free: 24 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003539/0.8867, allocations: 117.9 kB / 0.6471 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002822/0.887, allocations: 145.4 kB / 0.6472 GB, free: 15.88 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.8871, allocations: 8.031 kB / 0.6472 GB, free: 15.88 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000498/0.8876, allocations: 235.6 kB / 0.6475 GB, free: 15.79 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.387e-05/0.8876, allocations: 33.03 kB / 0.6475 GB, free: 15.76 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.321e-05/0.8877, allocations: 63.67 kB / 0.6476 GB, free: 15.71 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.888, allocations: 198.4 kB / 0.6478 GB, free: 15.59 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.888, allocations: 7.938 kB / 0.6478 GB, free: 15.58 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.736e-06/0.888, allocations: 0 / 0.6478 GB, free: 15.58 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.8881, allocations: 0 / 0.6478 GB, free: 15.58 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008835/0.889, allocations: 497.3 kB / 0.6482 GB, free: 15.12 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.889, allocations: 8.438 kB / 0.6482 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.8891, allocations: 30.75 kB / 0.6483 GB, free: 15.1 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.8894, allocations: 240 kB / 0.6485 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.8894, allocations: 12.38 kB / 0.6485 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.868e-05/0.8895, allocations: 22.78 kB / 0.6485 GB, free: 14.83 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003974/0.8899, allocations: 223.6 kB / 0.6487 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.8899, allocations: 0 / 0.6487 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.8899, allocations: 6.938 kB / 0.6488 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.8899, allocations: 2.812 kB / 0.6488 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002328/0.8902, allocations: 129.1 kB / 0.6489 GB, free: 14.61 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.8914, allocations: 0.7452 MB / 0.6496 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003237/0.8918, allocations: 133 kB / 0.6497 GB, free: 13.89 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.8919, allocations: 70.73 kB / 0.6498 GB, free: 13.85 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002268/0.8921, allocations: 250.9 kB / 0.65 GB, free: 13.56 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.8922, allocations: 34.52 kB / 0.6501 GB, free: 13.52 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.8922, allocations: 4 kB / 0.6501 GB, free: 13.51 MB / 478.1 MB Notification: Performance of matching and sorting (n=16): time 0.001611/0.8938, allocations: 0.8861 MB / 0.6509 GB, free: 12.74 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.8938, allocations: 51.41 kB / 0.651 GB, free: 12.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/0.8941, allocations: 230.9 kB / 0.6512 GB, free: 12.51 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.8941, allocations: 29.7 kB / 0.6512 GB, free: 12.48 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.8942, allocations: 139.2 kB / 0.6514 GB, free: 12.34 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.112e-05/0.8943, allocations: 52.59 kB / 0.6514 GB, free: 12.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.139e-05/0.8943, allocations: 4 kB / 0.6514 GB, free: 12.29 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.8945, allocations: 336.2 kB / 0.6517 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.81e-05/0.8946, allocations: 44.61 kB / 0.6518 GB, free: 11.94 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.8947, allocations: 79.17 kB / 0.6519 GB, free: 11.89 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.8948, allocations: 55.47 kB / 0.6519 GB, free: 11.86 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.8948, allocations: 4 kB / 0.6519 GB, free: 11.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004434/0.8953, allocations: 258.1 kB / 0.6522 GB, free: 11.7 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.8953, allocations: 2.625 kB / 0.6522 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.8953, allocations: 0 / 0.6522 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003361/0.8957, allocations: 90.27 kB / 0.6523 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.429e-05/0.8958, allocations: 19.61 kB / 0.6523 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/0.8979, allocations: 1.81 MB / 0.654 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.871e-05/0.898, allocations: 0 / 0.654 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.898, allocations: 6.844 kB / 0.654 GB, free: 9.996 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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: 1 {(3,77.8%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001366/0.8982, allocations: 139.3 kB / 0.6542 GB, free: 9.863 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.414e-05/0.8982, allocations: 22.88 kB / 0.6542 GB, free: 9.852 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004926/0.8987, allocations: 280.7 kB / 0.6545 GB, free: 9.645 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.8987, allocations: 288 / 0.6545 GB, free: 9.645 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.8987, allocations: 6.953 kB / 0.6545 GB, free: 9.641 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.8987, allocations: 0 / 0.6545 GB, free: 9.641 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007379/0.8995, allocations: 0.5863 MB / 0.655 GB, free: 9.117 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.8995, allocations: 2.562 kB / 0.6551 GB, free: 9.117 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.817e-05/0.8995, allocations: 13.03 kB / 0.6551 GB, free: 9.109 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002573/0.8998, allocations: 98.05 kB / 0.6552 GB, free: 9.059 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.8998, allocations: 6.859 kB / 0.6552 GB, free: 9.055 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/0.9017, allocations: 1.821 MB / 0.6569 GB, free: 7.387 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.9017, allocations: 0 / 0.6569 GB, free: 7.387 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005267/0.9023, allocations: 400.6 kB / 0.6573 GB, free: 7.082 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.784e-05/0.9023, allocations: 94.67 kB / 0.6574 GB, free: 6.977 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.9024, allocations: 14.09 kB / 0.6574 GB, free: 6.965 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.9025, allocations: 14.84 kB / 0.6574 GB, free: 6.953 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.9026, allocations: 13.73 kB / 0.6575 GB, free: 6.945 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.9026, allocations: 5.125 kB / 0.6575 GB, free: 6.945 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001907/0.9028, allocations: 184.6 kB / 0.6576 GB, free: 6.816 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.9028, allocations: 0 / 0.6576 GB, free: 6.816 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003889/0.9032, allocations: 68.28 kB / 0.6577 GB, free: 6.809 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (sink.inlet.m_flow,sink1.inlet.m_flow,sink2.inlet.m_flow) * 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 (5): * Single equations (assignments): 4 * 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: 1 {(3,77.8%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003802/0.9036, allocations: 164.8 kB / 0.6579 GB, free: 6.688 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006975/0.9043, allocations: 309.4 kB / 0.6582 GB, free: 6.469 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.9043, allocations: 0 / 0.6582 GB, free: 6.469 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004419/0.9047, allocations: 236.7 kB / 0.6584 GB, free: 6.289 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006838/0.9054, allocations: 90.61 kB / 0.6585 GB, free: 6.246 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.9068, allocations: 0.7447 MB / 0.6592 GB, free: 5.645 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005669/0.9073, allocations: 0.7439 MB / 0.6599 GB, free: 4.918 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.86e-05/0.9074, allocations: 23.45 kB / 0.6599 GB, free: 4.902 MB / 478.1 MB Notification: Performance of SimCode: time 4.51e-07/0.9074, allocations: 0 / 0.6599 GB, free: 4.902 MB / 478.1 MB Notification: Performance of Templates: time 0.009887/0.9173, allocations: 4.706 MB / 0.6645 GB, free: 2.453 MB / 478.1 MB make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.makefile make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.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 OMCppThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitterCalcHelperMain.o OMCppThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitterCalcHelperMain.o] Error 1