Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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.CounterFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 99.12 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.001848/0.001849, allocations: 178 kB / 16.58 MB, free: 6.879 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.721/1.721, allocations: 223.2 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.9347/0.9347, allocations: 89.62 MB / 381.3 MB, free: 11.43 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004178/0.0004178, allocations: 8.969 kB / 460.6 MB, free: 24.37 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1524, allocations: 68.83 MB / 0.517 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.7022/0.8547, allocations: 195.8 MB / 0.7082 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02437/0.8791, allocations: 16.1 MB / 0.7239 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002131/0.8814, allocations: 23.81 kB / 0.724 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003019/0.8844, allocations: 0.4971 MB / 0.7245 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007589/0.892, allocations: 1.446 MB / 0.7259 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005435/0.8975, allocations: 1.274 MB / 0.7271 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003384/0.9009, allocations: 1.584 MB / 0.7287 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008492/0.9018, allocations: 234.3 kB / 0.7289 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003132/0.905, allocations: 0.9891 MB / 0.7298 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/0.9062, allocations: 0.5249 MB / 0.7304 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.9064, allocations: 48 kB / 0.7304 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007888/0.9143, allocations: 3.246 MB / 0.7336 GB, free: 14.19 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002647/0.9146, allocations: 179.1 kB / 0.7337 GB, free: 14.01 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005272/0.9151, allocations: 229.1 kB / 0.734 GB, free: 13.78 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003206/0.9184, allocations: 1.497 MB / 0.7354 GB, free: 12.28 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.9184, allocations: 0 / 0.7354 GB, free: 12.28 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.547e-06/0.9184, allocations: 4 kB / 0.7354 GB, free: 12.28 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.738e-05/0.9184, allocations: 0 / 0.7354 GB, free: 12.28 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.003384/0.9218, allocations: 1.489 MB / 0.7369 GB, free: 10.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.9219, allocations: 12.03 kB / 0.7369 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/0.9238, allocations: 266.3 kB / 0.7371 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.9249, allocations: 0.5947 MB / 0.7377 GB, free: 9.824 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002642/0.9252, allocations: 208.7 kB / 0.7379 GB, free: 9.598 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/0.9254, allocations: 96.78 kB / 0.738 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.9274, allocations: 1.028 MB / 0.739 GB, free: 8.445 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.9274, allocations: 0 / 0.739 GB, free: 8.445 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.963e-05/0.9275, allocations: 36 kB / 0.7391 GB, free: 8.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/0.9276, allocations: 24 kB / 0.7391 GB, free: 8.387 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.9293, allocations: 0.8119 MB / 0.7399 GB, free: 7.578 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.005878/0.9351, allocations: 4.094 MB / 0.7439 GB, free: 3.137 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/0.9372, allocations: 0.905 MB / 0.7448 GB, free: 2.223 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008322/0.938, allocations: 455.3 kB / 0.7452 GB, free: 1.773 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/0.9391, allocations: 1.299 MB / 0.7465 GB, free: 184 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.9392, allocations: 39.22 kB / 0.7465 GB, free: 132 kB / 0.545 GB Notification: Performance of pre-optimization done (n=80): time 2.875e-06/0.9392, allocations: 0 / 0.7465 GB, free: 132 kB / 0.545 GB Notification: Performance of matching and sorting (n=80): time 0.00539/0.9446, allocations: 2.122 MB / 0.7486 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/0.9447, allocations: 64 kB / 0.7486 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009963/0.9457, allocations: 0.6022 MB / 0.7492 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.931e-05/0.9458, allocations: 41.7 kB / 0.7493 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003906/0.9462, allocations: 428.1 kB / 0.7497 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003242/0.9465, allocations: 287.8 kB / 0.7499 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.126e-05/0.9466, allocations: 16 kB / 0.75 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.9468, allocations: 334 kB / 0.7503 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007128/0.9475, allocations: 333.8 kB / 0.7506 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007751/0.9483, allocations: 415.1 kB / 0.751 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008148/0.9491, allocations: 362.8 kB / 0.7513 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.9491, allocations: 0 / 0.7513 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003361/0.9525, allocations: 1.334 MB / 0.7526 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.9526, allocations: 4 kB / 0.7526 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.9526, allocations: 4 kB / 0.7526 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009311/0.9535, allocations: 278.4 kB / 0.7529 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009097/0.9544, allocations: 207.8 kB / 0.7531 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006346/0.9608, allocations: 5.044 MB / 0.758 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009036/0.9617, allocations: 111.2 kB / 0.7581 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/0.9619, allocations: 55.98 kB / 0.7582 GB, free: 3.602 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.0005318/0.9624, allocations: 209.7 kB / 0.7584 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.9626, allocations: 86.97 kB / 0.7585 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00435/0.967, allocations: 1.926 MB / 0.7604 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.967, allocations: 8 kB / 0.7604 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.967, allocations: 0 / 0.7604 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.967, allocations: 11.97 kB / 0.7604 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005114/0.9721, allocations: 2.549 MB / 0.7629 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.9722, allocations: 0 / 0.7629 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009358/0.9731, allocations: 195.8 kB / 0.7631 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008456/0.974, allocations: 294.3 kB / 0.7633 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.179e-05/0.9741, allocations: 31.98 kB / 0.7634 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006373/0.9804, allocations: 5.045 MB / 0.7683 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.9805, allocations: 0 / 0.7683 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004016/0.9845, allocations: 1.823 MB / 0.7701 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004718/0.985, allocations: 243.8 kB / 0.7703 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.9851, allocations: 16 kB / 0.7703 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005475/0.9857, allocations: 71.78 kB / 0.7704 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/0.9859, allocations: 72.56 kB / 0.7705 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-05/0.986, allocations: 47.97 kB / 0.7705 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006672/0.9866, allocations: 439 kB / 0.7709 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9866, allocations: 0 / 0.7709 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001533/0.9882, allocations: 471.1 kB / 0.7714 GB, free: 5.504 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (counterFlowNTU.h_out_A,counterFlowNTU.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 (76): * Single equations (assignments): 73 * 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.001336/0.9895, allocations: 0.6003 MB / 0.772 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00287/0.9924, allocations: 1.318 MB / 0.7732 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.9924, allocations: 0 / 0.7732 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001751/0.9942, allocations: 0.9607 MB / 0.7742 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.9955, allocations: 218.9 kB / 0.7744 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005108/1.001, allocations: 2.672 MB / 0.777 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007451/1.001, allocations: 1.017 MB / 0.778 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000638/1.002, allocations: 171.3 kB / 0.7782 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of SimCode: time 1.072e-06/1.002, allocations: 0 / 0.7782 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of Templates: time 0.04352/1.046, allocations: 28.21 MB / 0.8057 GB, free: 2.223 MB / 0.6075 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.makefile make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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.CounterFlowNTUCalcHelperMain.o OMCppThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTUCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTUCalcHelperMain.o] Error 1