Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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.HeatExchangers.Tests.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009285/0.0009286, allocations: 100.9 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.001166/0.001166, allocations: 176.3 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.588/1.588, allocations: 223.3 MB / 240.6 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9095/0.9095, allocations: 89.61 MB / 381.3 MB, free: 11.45 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004265/0.0004267, allocations: 14 kB / 460.6 MB, free: 24.47 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1882, allocations: 68.83 MB / 0.5171 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.713/0.9012, allocations: 195.8 MB / 0.7082 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02066/0.922, allocations: 16.09 MB / 0.7239 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001621/0.9236, allocations: 23.88 kB / 0.724 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001702/0.9254, allocations: 0.4971 MB / 0.7245 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005555/0.9309, allocations: 1.446 MB / 0.7259 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004742/0.9357, allocations: 1.273 MB / 0.7271 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002708/0.9384, allocations: 1.584 MB / 0.7287 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004903/0.9389, allocations: 230.3 kB / 0.7289 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002542/0.9415, allocations: 0.9813 MB / 0.7298 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006753/0.9422, allocations: 0.521 MB / 0.7303 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.9423, allocations: 48 kB / 0.7304 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007557/0.9498, allocations: 3.258 MB / 0.7336 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003448/0.9502, allocations: 175.1 kB / 0.7337 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000513/0.9508, allocations: 229.1 kB / 0.734 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003573/0.9544, allocations: 1.493 MB / 0.7354 GB, free: 12.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.9544, allocations: 0 / 0.7354 GB, free: 12.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9544, allocations: 0 / 0.7354 GB, free: 12.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.9e-05/0.9544, allocations: 4 kB / 0.7354 GB, free: 12.25 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003604/0.958, allocations: 1.489 MB / 0.7369 GB, free: 10.7 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.9581, allocations: 8.031 kB / 0.7369 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00191/0.96, allocations: 262.3 kB / 0.7371 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.9611, allocations: 0.5986 MB / 0.7377 GB, free: 9.797 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002492/0.9614, allocations: 212.7 kB / 0.7379 GB, free: 9.566 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.9616, allocations: 95.91 kB / 0.738 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/0.9636, allocations: 1.028 MB / 0.739 GB, free: 8.414 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.9636, allocations: 0 / 0.739 GB, free: 8.414 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.81e-05/0.9637, allocations: 36 kB / 0.739 GB, free: 8.379 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.9637, allocations: 24 kB / 0.7391 GB, free: 8.355 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001711/0.9654, allocations: 0.8003 MB / 0.7399 GB, free: 7.559 MB / 0.545 GB 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.006003/0.9715, allocations: 4.079 MB / 0.7438 GB, free: 3.133 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/0.9735, allocations: 0.9016 MB / 0.7447 GB, free: 2.219 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008228/0.9743, allocations: 459.2 kB / 0.7452 GB, free: 1.766 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/0.9755, allocations: 1.303 MB / 0.7464 GB, free: 172 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.9756, allocations: 44.91 kB / 0.7465 GB, free: 116 kB / 0.545 GB Notification: Performance of pre-optimization done (n=80): time 2.986e-06/0.9756, allocations: 0 / 0.7465 GB, free: 116 kB / 0.545 GB Notification: Performance of matching and sorting (n=80): time 0.005246/0.9808, allocations: 2.103 MB / 0.7485 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.9809, allocations: 60.06 kB / 0.7486 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008425/0.9818, allocations: 0.6099 MB / 0.7492 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.279e-05/0.9818, allocations: 41.7 kB / 0.7492 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003302/0.9822, allocations: 420.1 kB / 0.7496 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/0.9824, allocations: 279.8 kB / 0.7499 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.9825, allocations: 20 kB / 0.7499 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.9827, allocations: 330 kB / 0.7502 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007079/0.9834, allocations: 337.8 kB / 0.7505 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007266/0.9841, allocations: 411 kB / 0.7509 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007414/0.9849, allocations: 362.9 kB / 0.7513 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.9849, allocations: 0 / 0.7513 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003053/0.9879, allocations: 1.322 MB / 0.7526 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.988, allocations: 8 kB / 0.7526 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.988, allocations: 0 / 0.7526 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009299/0.9889, allocations: 278.4 kB / 0.7528 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009396/0.9899, allocations: 207.7 kB / 0.753 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006188/0.9961, allocations: 5.043 MB / 0.758 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008537/0.997, allocations: 111.2 kB / 0.7581 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.9971, allocations: 51.98 kB / 0.7581 GB, free: 3.633 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (82): * Single equations (assignments): 79 * 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: 3 {(3,88.9%) 1,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004558/0.9976, allocations: 217.7 kB / 0.7583 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.9977, allocations: 78.97 kB / 0.7584 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004349/1.002, allocations: 1.94 MB / 0.7603 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/1.002, allocations: 12 kB / 0.7603 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.002, allocations: 0 / 0.7603 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/1.002, allocations: 3.984 kB / 0.7603 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00493/1.007, allocations: 2.562 MB / 0.7628 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/1.007, allocations: 4.156 kB / 0.7628 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00092/1.008, allocations: 199.8 kB / 0.763 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007773/1.009, allocations: 290.2 kB / 0.7633 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-05/1.009, allocations: 39.98 kB / 0.7633 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005587/1.015, allocations: 5.044 MB / 0.7682 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.015, allocations: 4.031 kB / 0.7683 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003772/1.018, allocations: 1.813 MB / 0.77 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005302/1.019, allocations: 247.8 kB / 0.7703 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/1.019, allocations: 20 kB / 0.7703 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005832/1.02, allocations: 71.8 kB / 0.7703 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/1.02, allocations: 76.8 kB / 0.7704 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.906e-05/1.02, allocations: 47.97 kB / 0.7705 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006586/1.021, allocations: 439 kB / 0.7709 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/1.021, allocations: 0 / 0.7709 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001754/1.022, allocations: 467.2 kB / 0.7713 GB, free: 5.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,mCV.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int) * 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 (78): * Single equations (assignments): 75 * 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: 3 {(1,100.0%) 4,(1,100.0%) 4,(3,88.9%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001413/1.024, allocations: 0.6034 MB / 0.7719 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00292/1.027, allocations: 1.321 MB / 0.7732 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.027, allocations: 4 kB / 0.7732 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001832/1.029, allocations: 0.9743 MB / 0.7742 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/1.03, allocations: 223.6 kB / 0.7744 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00451/1.034, allocations: 2.654 MB / 0.777 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006597/1.035, allocations: 1.017 MB / 0.778 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006801/1.036, allocations: 167.3 kB / 0.7781 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of SimCode: time 1.332e-06/1.036, allocations: 0 / 0.7781 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of Templates: time 0.04092/1.077, allocations: 28.23 MB / 0.8057 GB, free: 2.18 MB / 0.6075 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.makefile make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTUCalcHelperMain.o OMCppThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTUCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTUCalcHelperMain.o] Error 1