Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.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.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 102.7 kB / 15.71 MB, free: 460 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.001717/0.001716, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.734/1.734, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9907/0.9907, allocations: 89.62 MB / 381.3 MB, free: 11.45 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004412/0.0004412, allocations: 11.44 kB / 460.6 MB, free: 24.38 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1791, allocations: 68.82 MB / 0.517 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02356/0.2027, allocations: 21.06 MB / 0.5376 GB, free: 6.641 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01067/0.2134, allocations: 8.703 MB / 0.5461 GB, free: 13.92 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009514/0.2144, allocations: 19.88 kB / 0.5461 GB, free: 13.9 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.2154, allocations: 338 kB / 0.5465 GB, free: 13.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002386/0.2178, allocations: 0.6442 MB / 0.5471 GB, free: 12.92 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.2192, allocations: 366.7 kB / 0.5474 GB, free: 12.56 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0016/0.2208, allocations: 1.065 MB / 0.5485 GB, free: 11.49 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003661/0.2212, allocations: 184.5 kB / 0.5487 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006703/0.2218, allocations: 346.5 kB / 0.549 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004738/0.2223, allocations: 358.3 kB / 0.5493 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.774e-05/0.2224, allocations: 32 kB / 0.5494 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.2238, allocations: 383.7 kB / 0.5497 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.224, allocations: 115.4 kB / 0.5498 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001841/0.2242, allocations: 165.3 kB / 0.55 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009597/0.2252, allocations: 0.7405 MB / 0.5507 GB, free: 9.176 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2252, allocations: 4 kB / 0.5507 GB, free: 9.172 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2252, allocations: 0 / 0.5507 GB, free: 9.172 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.2252, allocations: 0 / 0.5507 GB, free: 9.172 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.001977/0.2272, allocations: 1.009 MB / 0.5517 GB, free: 8.113 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.2272, allocations: 16.02 kB / 0.5517 GB, free: 8.098 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002241/0.2275, allocations: 94.88 kB / 0.5518 GB, free: 8.004 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006783/0.2282, allocations: 452.5 kB / 0.5522 GB, free: 7.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.461e-05/0.2282, allocations: 49.25 kB / 0.5523 GB, free: 7.469 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.2283, allocations: 64 kB / 0.5523 GB, free: 7.406 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.2295, allocations: 0.6652 MB / 0.553 GB, free: 6.719 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.2295, allocations: 4 kB / 0.553 GB, free: 6.715 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.207e-05/0.2296, allocations: 27.94 kB / 0.553 GB, free: 6.688 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.2296, allocations: 16 kB / 0.553 GB, free: 6.672 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.2306, allocations: 0.6219 MB / 0.5536 GB, free: 6.051 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0038/0.2344, allocations: 2.976 MB / 0.5566 GB, free: 2.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.2355, allocations: 0.6675 MB / 0.5572 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004557/0.236, allocations: 291.8 kB / 0.5575 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002418/0.2384, allocations: 1.909 MB / 0.5593 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.2384, allocations: 43.11 kB / 0.5594 GB, free: 15.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.485e-06/0.2385, allocations: 0 / 0.5594 GB, free: 15.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.008901/0.2474, allocations: 2.443 MB / 0.5618 GB, free: 13.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/0.2475, allocations: 85.67 kB / 0.5619 GB, free: 13.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006324/0.2481, allocations: 470.9 kB / 0.5623 GB, free: 12.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.672e-05/0.2482, allocations: 37.73 kB / 0.5623 GB, free: 12.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/0.2485, allocations: 324.4 kB / 0.5627 GB, free: 12.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002136/0.2487, allocations: 228.6 kB / 0.5629 GB, free: 11.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.2487, allocations: 16 kB / 0.5629 GB, free: 11.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002319/0.249, allocations: 378.7 kB / 0.5632 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000365/0.2493, allocations: 201.2 kB / 0.5634 GB, free: 11.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004605/0.2498, allocations: 302.8 kB / 0.5637 GB, free: 11.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004436/0.2503, allocations: 247.1 kB / 0.564 GB, free: 10.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.2503, allocations: 0 / 0.564 GB, free: 10.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004572/0.2548, allocations: 1.354 MB / 0.5653 GB, free: 9.453 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.2549, allocations: 4 kB / 0.5653 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.2549, allocations: 8.062 kB / 0.5653 GB, free: 9.441 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004481/0.2594, allocations: 0.9273 MB / 0.5662 GB, free: 8.504 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000486/0.2599, allocations: 95.89 kB / 0.5663 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003029/0.2629, allocations: 2.838 MB / 0.5691 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006528/0.2636, allocations: 67.45 kB / 0.5691 GB, free: 5.328 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-05/0.2637, allocations: 20 kB / 0.5691 GB, free: 5.309 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (thermalConvection1.turb_flag,thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 53 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 2 {1 11,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004141/0.2641, allocations: 201.7 kB / 0.5693 GB, free: 5.102 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.2643, allocations: 63.34 kB / 0.5694 GB, free: 5.039 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004905/0.2692, allocations: 1.467 MB / 0.5708 GB, free: 3.547 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.2692, allocations: 8 kB / 0.5708 GB, free: 3.539 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.2692, allocations: 7.984 kB / 0.5708 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.2692, allocations: 0 / 0.5708 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005729/0.275, allocations: 2.105 MB / 0.5729 GB, free: 1.355 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.275, allocations: 0 / 0.5729 GB, free: 1.355 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003066/0.2753, allocations: 75.91 kB / 0.573 GB, free: 1.281 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004331/0.2797, allocations: 0.9274 MB / 0.5739 GB, free: 352 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.096e-05/0.2797, allocations: 12 kB / 0.5739 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002758/0.2825, allocations: 2.83 MB / 0.5767 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.2825, allocations: 4.219 kB / 0.5767 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005136/0.2877, allocations: 1.744 MB / 0.5784 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004435/0.2881, allocations: 200.1 kB / 0.5786 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.962e-05/0.2882, allocations: 20 kB / 0.5786 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/0.2886, allocations: 35.92 kB / 0.5786 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.2887, allocations: 44.48 kB / 0.5787 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.451e-05/0.2888, allocations: 23.95 kB / 0.5787 GB, free: 11.19 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004753/0.2893, allocations: 334.9 kB / 0.579 GB, free: 10.87 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2893, allocations: 3.938 kB / 0.579 GB, free: 10.86 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001087/0.2904, allocations: 299.4 kB / 0.5793 GB, free: 10.57 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (heatCapacitor.T,thermalConvection1.inlet.m_flow,heatCapacitor1.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 (41): * Single equations (assignments): 38 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 2 {1 11,1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.000706/0.2911, allocations: 396.5 kB / 0.5797 GB, free: 10.18 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001549/0.2926, allocations: 0.6941 MB / 0.5803 GB, free: 9.484 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.2927, allocations: 0 / 0.5803 GB, free: 9.484 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008022/0.2935, allocations: 446.1 kB / 0.5808 GB, free: 9.035 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.2946, allocations: 194.5 kB / 0.5809 GB, free: 8.844 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/0.2976, allocations: 1.784 MB / 0.5827 GB, free: 7.016 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005865/0.2982, allocations: 0.9147 MB / 0.5836 GB, free: 6.074 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.2984, allocations: 55.42 kB / 0.5836 GB, free: 6.02 MB / 462.1 MB Notification: Performance of SimCode: time 9.52e-07/0.2984, allocations: 0 / 0.5836 GB, free: 6.02 MB / 462.1 MB Notification: Performance of Templates: time 0.3743/0.6727, allocations: 19.65 MB / 0.6028 GB, free: 69.57 MB / 462.1 MB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.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.Processes.Tests.ConvectivePipe_serialCalcHelperMain.o OMCppThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serialCalcHelperMain.o] Error 1