Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_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.HeatExchangers.Tests.CounterFlowNTU_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009885/0.0009882, allocations: 100.5 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.001468/0.001468, allocations: 175.7 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.871/1.871, 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.9825/0.9825, allocations: 89.61 MB / 381.3 MB, free: 11.44 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004498/0.0004502, allocations: 14.22 kB / 460.6 MB, free: 24.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1744, allocations: 68.82 MB / 0.517 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.7741/0.9486, allocations: 214.8 MB / 0.7268 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03079/0.9794, allocations: 20.61 MB / 0.7469 GB, free: 468 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002221/0.9817, allocations: 27.81 kB / 0.747 GB, free: 440 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002877/0.9846, allocations: 0.6371 MB / 0.7476 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007711/0.9924, allocations: 1.695 MB / 0.7492 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007653/1, allocations: 1.665 MB / 0.7509 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003801/1.004, allocations: 2.056 MB / 0.7529 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009272/1.005, allocations: 326.1 kB / 0.7532 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003184/1.008, allocations: 1.149 MB / 0.7543 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001583/1.01, allocations: 0.6961 MB / 0.755 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004423/1.01, allocations: 68 kB / 0.7551 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00998/1.02, allocations: 3.855 MB / 0.7588 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006784/1.021, allocations: 246.9 kB / 0.7591 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009963/1.022, allocations: 292.9 kB / 0.7593 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005823/1.028, allocations: 1.913 MB / 0.7612 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.377e-06/1.028, allocations: 0 / 0.7612 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.727e-06/1.028, allocations: 4 kB / 0.7612 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001108/1.028, allocations: 0 / 0.7612 GB, free: 1.781 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.005851/1.034, allocations: 1.887 MB / 0.763 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/1.034, allocations: 15.97 kB / 0.7631 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003189/1.037, allocations: 377.8 kB / 0.7634 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/1.039, allocations: 0.7312 MB / 0.7641 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004483/1.039, allocations: 360 kB / 0.7645 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004025/1.04, allocations: 135.8 kB / 0.7646 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003615/1.043, allocations: 1.489 MB / 0.7661 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.485e-05/1.043, allocations: 8 kB / 0.7661 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/1.044, allocations: 47.95 kB / 0.7661 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.047e-05/1.044, allocations: 32 kB / 0.7661 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002973/1.047, allocations: 1.239 MB / 0.7674 GB, free: 11.27 MB / 0.5762 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.009226/1.056, allocations: 5.433 MB / 0.7727 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003137/1.059, allocations: 1.381 MB / 0.774 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001564/1.061, allocations: 0.7612 MB / 0.7748 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001481/1.062, allocations: 1.79 MB / 0.7765 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/1.062, allocations: 43.56 kB / 0.7765 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=113): time 3.967e-06/1.062, allocations: 0 / 0.7765 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of matching and sorting (n=113): time 0.009147/1.071, allocations: 3.446 MB / 0.7799 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.866e-05/1.071, allocations: 68.36 kB / 0.78 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/1.073, allocations: 0.6808 MB / 0.7806 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001224/1.073, allocations: 49.69 kB / 0.7807 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004687/1.073, allocations: 0.5158 MB / 0.7812 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004065/1.074, allocations: 390.2 kB / 0.7816 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.984e-05/1.074, allocations: 20 kB / 0.7816 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001806/1.074, allocations: 345.9 kB / 0.7819 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/1.075, allocations: 0.5374 MB / 0.7824 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/1.077, allocations: 0.627 MB / 0.783 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/1.078, allocations: 0.5535 MB / 0.7836 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-05/1.078, allocations: 4 kB / 0.7836 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005564/1.084, allocations: 2.116 MB / 0.7857 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.026e-05/1.084, allocations: 4 kB / 0.7857 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/1.084, allocations: 4 kB / 0.7857 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00143/1.085, allocations: 495.5 kB / 0.7861 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/1.087, allocations: 299.7 kB / 0.7864 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01072/1.097, allocations: 7.256 MB / 0.7935 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/1.099, allocations: 170.9 kB / 0.7937 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00039/1.099, allocations: 80.06 kB / 0.7938 GB, free: 14.66 MB / 0.6075 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 (112): * Single equations (assignments): 108 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 1,(3,88.9%) 1,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009478/1.1, allocations: 249 kB / 0.794 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004456/1.101, allocations: 102.8 kB / 0.7941 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007643/1.108, allocations: 2.94 MB / 0.797 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/1.108, allocations: 15.95 kB / 0.797 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.32e-05/1.108, allocations: 4.062 kB / 0.797 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.79e-05/1.109, allocations: 7.984 kB / 0.797 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008933/1.117, allocations: 3.753 MB / 0.8006 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/1.117, allocations: 7.984 kB / 0.8007 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/1.119, allocations: 291.8 kB / 0.8009 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001517/1.121, allocations: 494.8 kB / 0.8014 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001569/1.121, allocations: 47.97 kB / 0.8015 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3958/1.517, allocations: 7.267 MB / 0.8085 GB, free: 226.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/1.517, allocations: 1.406 kB / 0.8086 GB, free: 226.2 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007701/1.524, allocations: 2.827 MB / 0.8113 GB, free: 226 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000757/1.525, allocations: 297 kB / 0.8116 GB, free: 225.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/1.525, allocations: 26.59 kB / 0.8116 GB, free: 225.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008857/1.526, allocations: 111.7 kB / 0.8117 GB, free: 225.9 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002751/1.526, allocations: 102.6 kB / 0.8118 GB, free: 225.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001583/1.527, allocations: 73.81 kB / 0.8119 GB, free: 225.9 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007641/1.527, allocations: 488.1 kB / 0.8124 GB, free: 225.8 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/1.527, allocations: 1.594 kB / 0.8124 GB, free: 225.8 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002199/1.53, allocations: 0.5971 MB / 0.8129 GB, free: 225.8 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.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 (106): * Single equations (assignments): 102 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 5,(1,100.0%) 5,(3,88.9%) 1,(3,88.9%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001686/1.531, allocations: 0.7159 MB / 0.8136 GB, free: 225.7 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004208/1.536, allocations: 2.057 MB / 0.8157 GB, free: 225.2 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/1.536, allocations: 4 kB / 0.8157 GB, free: 225.2 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002764/1.538, allocations: 1.492 MB / 0.8171 GB, free: 224.6 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/1.54, allocations: 260.3 kB / 0.8174 GB, free: 224.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005579/1.546, allocations: 3.499 MB / 0.8208 GB, free: 222.7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008352/1.546, allocations: 1.129 MB / 0.8219 GB, free: 222 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009202/1.547, allocations: 220.7 kB / 0.8221 GB, free: 222 MB / 0.6075 GB Notification: Performance of SimCode: time 1.252e-06/1.547, allocations: 0 / 0.8221 GB, free: 222 MB / 0.6075 GB Notification: Performance of Templates: time 0.05461/1.602, allocations: 41.56 MB / 0.8627 GB, free: 194.9 MB / 0.6075 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.makefile make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_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/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.CounterFlowNTU_serialCalcHelperMain.o OMCppThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serialCalcHelperMain.o] Error 1