Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 99.59 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.001509/0.001509, allocations: 175.6 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.64/1.64, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8647/0.8647, allocations: 89.61 MB / 381.3 MB, free: 11.45 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004313/0.0004313, allocations: 12.36 kB / 460.6 MB, free: 24.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1966, allocations: 68.82 MB / 0.5171 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.6027/0.7993, allocations: 133.3 MB / 0.6472 GB, free: 15.78 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004484/0.8039, allocations: 2.9 MB / 0.65 GB, free: 13.41 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004706/0.8044, allocations: 9.75 kB / 0.65 GB, free: 13.4 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007513/0.8051, allocations: 184.6 kB / 0.6502 GB, free: 13.25 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009056/0.8061, allocations: 324.4 kB / 0.6505 GB, free: 12.99 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.8071, allocations: 324.6 kB / 0.6508 GB, free: 12.74 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006746/0.8078, allocations: 0.6183 MB / 0.6514 GB, free: 12.38 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002326/0.808, allocations: 113.5 kB / 0.6516 GB, free: 12.31 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008751/0.8089, allocations: 339.7 kB / 0.6519 GB, free: 12.11 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003663/0.8093, allocations: 246.4 kB / 0.6521 GB, free: 11.98 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.8093, allocations: 7.812 kB / 0.6521 GB, free: 11.98 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009871/0.8103, allocations: 435.4 kB / 0.6525 GB, free: 11.8 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.637e-05/0.8104, allocations: 50.42 kB / 0.6526 GB, free: 11.76 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 9.883e-05/0.8105, allocations: 90.27 kB / 0.6527 GB, free: 11.7 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005333/0.8111, allocations: 360.8 kB / 0.653 GB, free: 11.46 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.8111, allocations: 5.688 kB / 0.653 GB, free: 11.46 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.8111, allocations: 0 / 0.653 GB, free: 11.46 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.493e-06/0.8111, allocations: 0 / 0.653 GB, free: 11.46 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001037/0.8121, allocations: 0.633 MB / 0.6536 GB, free: 10.9 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.8122, allocations: 10.88 kB / 0.6537 GB, free: 10.9 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.16e-05/0.8123, allocations: 38.41 kB / 0.6537 GB, free: 10.88 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.8126, allocations: 282.2 kB / 0.654 GB, free: 10.6 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.8126, allocations: 19 kB / 0.654 GB, free: 10.59 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.355e-05/0.8127, allocations: 32.03 kB / 0.654 GB, free: 10.58 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005101/0.8132, allocations: 325.5 kB / 0.6543 GB, free: 10.34 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.8132, allocations: 0 / 0.6543 GB, free: 10.34 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/0.8133, allocations: 16.61 kB / 0.6543 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.8133, allocations: 5.812 kB / 0.6543 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003846/0.8137, allocations: 209.1 kB / 0.6545 GB, free: 10.23 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.8156, allocations: 1.75 MB / 0.6562 GB, free: 8.547 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004495/0.816, allocations: 181.6 kB / 0.6564 GB, free: 8.414 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.8162, allocations: 78.09 kB / 0.6565 GB, free: 8.363 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006848/0.8169, allocations: 0.5433 MB / 0.657 GB, free: 7.758 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.8169, allocations: 37.5 kB / 0.6571 GB, free: 7.715 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.8169, allocations: 0 / 0.6571 GB, free: 7.715 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007914/0.8177, allocations: 356.3 kB / 0.6574 GB, free: 7.477 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.129e-05/0.8178, allocations: 111.8 kB / 0.6575 GB, free: 7.348 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/0.8181, allocations: 324.9 kB / 0.6578 GB, free: 7.133 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.8182, allocations: 25.7 kB / 0.6578 GB, free: 7.102 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.8183, allocations: 194.8 kB / 0.658 GB, free: 6.926 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.748e-05/0.8184, allocations: 64.98 kB / 0.6581 GB, free: 6.867 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.06e-05/0.8184, allocations: 6.906 kB / 0.6581 GB, free: 6.863 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.8185, allocations: 339.9 kB / 0.6584 GB, free: 6.527 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.8187, allocations: 66.39 kB / 0.6585 GB, free: 6.5 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.8189, allocations: 112.3 kB / 0.6586 GB, free: 6.41 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.8191, allocations: 83.3 kB / 0.6587 GB, free: 6.371 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.8191, allocations: 7.891 kB / 0.6587 GB, free: 6.363 MB / 478.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004751/0.8195, allocations: 260.5 kB / 0.6589 GB, free: 6.223 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.8196, allocations: 5.75 kB / 0.6589 GB, free: 6.223 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.8196, allocations: 1.781 kB / 0.6589 GB, free: 6.223 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001145/0.8197, allocations: 23.5 kB / 0.659 GB, free: 6.207 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.8199, allocations: 53.62 kB / 0.659 GB, free: 6.195 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009874/0.8209, allocations: 1.285 MB / 0.6603 GB, free: 4.855 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.8211, allocations: 41.86 kB / 0.6603 GB, free: 4.828 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.8211, allocations: 8.781 kB / 0.6603 GB, free: 4.824 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 22 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001614/0.8213, allocations: 143.5 kB / 0.6604 GB, free: 4.688 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.222e-05/0.8214, allocations: 36.22 kB / 0.6605 GB, free: 4.668 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005471/0.8219, allocations: 255.6 kB / 0.6607 GB, free: 4.508 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.822, allocations: 2.375 kB / 0.6607 GB, free: 4.508 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.822, allocations: 6.781 kB / 0.6607 GB, free: 4.504 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.822, allocations: 3.984 kB / 0.6607 GB, free: 4.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004233/0.8224, allocations: 316.7 kB / 0.661 GB, free: 4.203 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.8224, allocations: 3.984 kB / 0.661 GB, free: 4.199 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.8226, allocations: 38.02 kB / 0.6611 GB, free: 4.191 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.431e-05/0.8227, allocations: 21.28 kB / 0.6611 GB, free: 4.176 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.8227, allocations: 6.953 kB / 0.6611 GB, free: 4.172 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009633/0.8237, allocations: 1.284 MB / 0.6624 GB, free: 2.824 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.8237, allocations: 5.906 kB / 0.6624 GB, free: 2.82 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006082/0.8243, allocations: 465.2 kB / 0.6628 GB, free: 2.477 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.126e-05/0.8244, allocations: 105.4 kB / 0.6629 GB, free: 2.363 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.8244, allocations: 10.5 kB / 0.6629 GB, free: 2.355 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.8246, allocations: 16 kB / 0.6629 GB, free: 2.348 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.727e-05/0.8247, allocations: 23.86 kB / 0.663 GB, free: 2.332 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.8247, allocations: 2.938 kB / 0.663 GB, free: 2.332 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002239/0.8249, allocations: 232.3 kB / 0.6632 GB, free: 2.188 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.825, allocations: 0 / 0.6632 GB, free: 2.188 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000463/0.8254, allocations: 98.83 kB / 0.6633 GB, free: 2.16 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (boundary_fore.rear.m_flow,terminal_rear.p,terminal_fore.p) * 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 (13): * Single equations (assignments): 12 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003/0.8257, allocations: 203.2 kB / 0.6635 GB, free: 2.023 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005542/0.8263, allocations: 278.7 kB / 0.6637 GB, free: 1.84 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.8263, allocations: 2.844 kB / 0.6637 GB, free: 1.84 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003144/0.8266, allocations: 200.2 kB / 0.6639 GB, free: 1.688 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007248/0.8274, allocations: 94.16 kB / 0.664 GB, free: 1.637 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.8286, allocations: 0.871 MB / 0.6649 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.829, allocations: 0.7704 MB / 0.6656 GB, free: 220 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.985e-05/0.8291, allocations: 30.47 kB / 0.6656 GB, free: 208 kB / 478.1 MB Notification: Performance of SimCode: time 3.61e-07/0.8291, allocations: 4 kB / 0.6657 GB, free: 204 kB / 478.1 MB Notification: Performance of Templates: time 0.01028/0.8394, allocations: 6.238 MB / 0.6717 GB, free: 12.16 MB / 494.1 MB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.makefile make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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.Undirected.Boundaries.Tests.TestBoundariesCalcHelperMain.o OMCppThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundariesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundariesCalcHelperMain.o] Error 1