Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) Using package TAeZoSysPro_testsuite with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger") translateModel(TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008004/0.008004, allocations: 101 kB / 15.88 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001542, allocations: 188.7 kB / 16.79 MB, free: 5.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.938/1.938, allocations: 205.1 MB / 222.6 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07206/0.07206, allocations: 10.98 MB / 281 MB, free: 10.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01773/0.01773, allocations: 4.247 MB / 334.6 MB, free: 29.32 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 63.91 kB / 396.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.454/0.4562, allocations: 49.73 MB / 446.2 MB, free: 47.92 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger): time 0.03221/0.4885, allocations: 33.71 MB / 479.9 MB, free: 17.51 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.5396/1.028, allocations: 143 MB / 0.6083 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007322/1.029, allocations: 15.12 kB / 0.6083 GB, free: 12.47 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001026/1.03, allocations: 277.4 kB / 0.6086 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00494/1.035, allocations: 1.237 MB / 0.6098 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005361/1.04, allocations: 1.31 MB / 0.6111 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003178/1.044, allocations: 2.371 MB / 0.6134 GB, free: 11 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009043/1.044, allocations: 0.501 MB / 0.6139 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008303/1.053, allocations: 4.365 MB / 0.6182 GB, free: 9.367 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007939/1.061, allocations: 4.31 MB / 0.6224 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002904/1.061, allocations: 55.16 kB / 0.6224 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005084/1.066, allocations: 1.535 MB / 0.6239 GB, free: 7.609 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003935/1.067, allocations: 274.6 kB / 0.6242 GB, free: 7.527 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008412/1.067, allocations: 410.9 kB / 0.6246 GB, free: 7.453 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002795/1.07, allocations: 1.659 MB / 0.6262 GB, free: 6.785 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/1.07, allocations: 0 / 0.6262 GB, free: 6.785 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.052e-06/1.07, allocations: 0 / 0.6262 GB, free: 6.785 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/1.07, allocations: 6.438 kB / 0.6262 GB, free: 6.781 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.005718/1.076, allocations: 1.65 MB / 0.6278 GB, free: 5.801 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/1.076, allocations: 13.5 kB / 0.6278 GB, free: 5.797 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009052/1.077, allocations: 130.5 kB / 0.6279 GB, free: 5.746 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008374/1.078, allocations: 0.5116 MB / 0.6284 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.405e-05/1.078, allocations: 54.31 kB / 0.6285 GB, free: 5.297 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/1.078, allocations: 72.41 kB / 0.6286 GB, free: 5.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002255/1.08, allocations: 1.336 MB / 0.6299 GB, free: 4.266 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/1.08, allocations: 4 kB / 0.6299 GB, free: 4.262 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/1.081, allocations: 29.38 kB / 0.6299 GB, free: 4.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.216e-05/1.081, allocations: 44.17 kB / 0.6299 GB, free: 4.215 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/1.083, allocations: 1.46 MB / 0.6314 GB, free: 3.25 MB / 414.1 MB 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.01974/1.103, allocations: 9.067 MB / 0.6402 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/1.105, allocations: 1.112 MB / 0.6413 GB, free: 9.973 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000982/1.106, allocations: 0.6849 MB / 0.642 GB, free: 9.547 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03235/1.138, allocations: 11.79 MB / 0.6535 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.689e-05/1.138, allocations: 39.12 kB / 0.6535 GB, free: 13.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 2.595e-06/1.138, allocations: 0 / 0.6535 GB, free: 13.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.005172/1.143, allocations: 2.257 MB / 0.6557 GB, free: 10.72 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/1.143, allocations: 188.5 kB / 0.6559 GB, free: 10.49 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006678/1.144, allocations: 473.7 kB / 0.6564 GB, free: 10.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.809e-05/1.144, allocations: 45.77 kB / 0.6564 GB, free: 9.969 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002611/1.144, allocations: 302.7 kB / 0.6567 GB, free: 9.668 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002741/1.145, allocations: 265.4 kB / 0.657 GB, free: 9.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004032/1.145, allocations: 218.5 kB / 0.6572 GB, free: 9.191 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/1.145, allocations: 378.8 kB / 0.6575 GB, free: 8.812 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/1.146, allocations: 0.6734 MB / 0.6582 GB, free: 8.141 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/1.148, allocations: 0.8818 MB / 0.659 GB, free: 7.184 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002365/1.15, allocations: 1.594 MB / 0.6606 GB, free: 5.531 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/1.15, allocations: 4 kB / 0.6606 GB, free: 5.527 MB / 446.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003136/1.153, allocations: 1.782 MB / 0.6623 GB, free: 3.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/1.153, allocations: 8 kB / 0.6624 GB, free: 3.723 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.153, allocations: 4 kB / 0.6624 GB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003473/1.157, allocations: 468.1 kB / 0.6628 GB, free: 3.258 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002111/1.159, allocations: 375.4 kB / 0.6632 GB, free: 2.891 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001081/1.16, allocations: 1.179 MB / 0.6643 GB, free: 1.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/1.161, allocations: 154.9 kB / 0.6645 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/1.161, allocations: 51.95 kB / 0.6645 GB, free: 1.457 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (120): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005273/1.162, allocations: 253.5 kB / 0.6648 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004098/1.162, allocations: 67.19 kB / 0.6648 GB, free: 1.133 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003238/1.165, allocations: 2.061 MB / 0.6668 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/1.165, allocations: 11.98 kB / 0.6668 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/1.165, allocations: 3.984 kB / 0.6668 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/1.165, allocations: 4 kB / 0.6668 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004721/1.17, allocations: 3.131 MB / 0.6699 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/1.17, allocations: 0 / 0.6699 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001993/1.172, allocations: 327.5 kB / 0.6702 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003682/1.176, allocations: 0.6621 MB / 0.6709 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/1.176, allocations: 47.95 kB / 0.6709 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/1.177, allocations: 1.47 MB / 0.6723 GB, free: 9.305 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.177, allocations: 8.156 kB / 0.6724 GB, free: 9.297 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004111/1.182, allocations: 2.819 MB / 0.6751 GB, free: 6.441 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002524/1.182, allocations: 148.3 kB / 0.6752 GB, free: 6.277 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/1.182, allocations: 51.77 kB / 0.6753 GB, free: 6.227 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008972/1.183, allocations: 71.89 kB / 0.6754 GB, free: 6.156 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/1.183, allocations: 60.39 kB / 0.6754 GB, free: 6.098 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.691e-05/1.183, allocations: 39.95 kB / 0.6755 GB, free: 6.059 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005731/1.184, allocations: 394.8 kB / 0.6758 GB, free: 5.672 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.184, allocations: 0 / 0.6758 GB, free: 5.672 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00178/1.186, allocations: 439.6 kB / 0.6763 GB, free: 5.242 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 21 (discreteExchanger.E,discreteExchanger.transport_A.u[1,1],discreteExchanger.transport_A.u[2,1],discreteExchanger.transport_A.u[3,1],discreteExchanger.transport_A.u[4,1],discreteExchanger.transport_A.u[5,1],discreteExchanger.transport_A.u[6,1],discreteExchanger.transport_A.u[7,1],discreteExchanger.transport_A.u[8,1],discreteExchanger.transport_A.u[9,1],discreteExchanger.transport_A.u[10,1],discreteExchanger.transport_B.u[1,1],discreteExchanger.transport_B.u[2,1],discreteExchanger.transport_B.u[3,1],discreteExchanger.transport_B.u[4,1],discreteExchanger.transport_B.u[5,1],discreteExchanger.transport_B.u[6,1],discreteExchanger.transport_B.u[7,1],discreteExchanger.transport_B.u[8,1],discreteExchanger.transport_B.u[9,1],discreteExchanger.transport_B.u[10,1]) * 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 (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001431/1.187, allocations: 470.5 kB / 0.6767 GB, free: 4.82 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002851/1.19, allocations: 1.602 MB / 0.6783 GB, free: 3.219 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/1.19, allocations: 0 / 0.6783 GB, free: 3.219 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001328/1.191, allocations: 0.7856 MB / 0.679 GB, free: 2.434 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/1.193, allocations: 267.8 kB / 0.6793 GB, free: 2.18 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004233/1.197, allocations: 2.551 MB / 0.6818 GB, free: 15.59 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008046/1.198, allocations: 0.985 MB / 0.6827 GB, free: 14.58 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004963/1.198, allocations: 99.31 kB / 0.6828 GB, free: 14.48 MB / 478.1 MB Notification: Performance of SimCode: time 8.61e-07/1.198, allocations: 4 kB / 0.6828 GB, free: 14.48 MB / 478.1 MB Notification: Performance of Templates: time 0.03281/1.231, allocations: 22.01 MB / 0.7043 GB, free: 8.512 MB / 494.1 MB make -j1 -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger.makefile make -j1 -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchanger.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppTAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchangerCalcHelperMain.o OMCppTAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppTAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.HeatExchangers.test_DiscreteExchangerCalcHelperMain.o] Error 1