Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 98.88 kB / 16.02 MB, free: 76 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.001534/0.001535, allocations: 183.9 kB / 16.92 MB, free: 6.684 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.786/1.786, allocations: 205.4 MB / 223.1 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.859/1.859, allocations: 292.7 MB / 0.5509 GB, free: 14.49 MB / 462.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.0005498/0.0005499, allocations: 21.38 kB / 0.675 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3531, allocations: 116.3 MB / 0.7885 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 1.073/1.426, allocations: 321.9 MB / 1.103 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.04415/1.471, allocations: 29.7 MB / 1.132 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005545/1.476, allocations: 87.44 kB / 1.132 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.007055/1.483, allocations: 1.765 MB / 1.134 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01902/1.502, allocations: 4.666 MB / 1.138 GB, free: 5.734 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01197/1.514, allocations: 3.352 MB / 1.142 GB, free: 2.402 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01654/1.531, allocations: 9.606 MB / 1.151 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005174/1.536, allocations: 2.355 MB / 1.153 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01707/1.553, allocations: 4.676 MB / 1.158 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007835/1.561, allocations: 2.38 MB / 1.16 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001116/1.562, allocations: 132 kB / 1.16 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01498/1.577, allocations: 5.588 MB / 1.166 GB, free: 9.562 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002296/1.58, allocations: 0.8914 MB / 1.167 GB, free: 8.668 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00366/1.583, allocations: 1.564 MB / 1.168 GB, free: 7.09 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00771/1.591, allocations: 4.139 MB / 1.172 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/1.591, allocations: 4 kB / 1.172 GB, free: 2.938 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.245e-06/1.591, allocations: 0 / 1.172 GB, free: 2.938 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.76e-05/1.591, allocations: 0 / 1.172 GB, free: 2.938 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.007483/1.599, allocations: 3.062 MB / 1.175 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/1.599, allocations: 8.031 kB / 1.175 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/1.609, allocations: 1.569 MB / 1.177 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004769/1.614, allocations: 1.991 MB / 1.179 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001383/1.615, allocations: 436.2 kB / 1.179 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004288/1.616, allocations: 220 kB / 1.179 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006482/1.622, allocations: 3.113 MB / 1.182 GB, free: 8.246 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.331e-05/1.622, allocations: 8 kB / 1.182 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002527/1.623, allocations: 87.94 kB / 1.182 GB, free: 8.152 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001154/1.623, allocations: 92 kB / 1.182 GB, free: 8.059 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00763/1.63, allocations: 3.217 MB / 1.186 GB, free: 4.824 MB / 0.8887 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.02533/1.656, allocations: 14.31 MB / 1.2 GB, free: 5.41 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004184/1.66, allocations: 1.696 MB / 1.201 GB, free: 3.703 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001771/1.662, allocations: 0.7994 MB / 1.202 GB, free: 2.906 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006786/1.662, allocations: 340.2 kB / 1.202 GB, free: 2.52 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.746e-05/1.662, allocations: 47.56 kB / 1.202 GB, free: 2.461 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001608/1.664, allocations: 198.1 kB / 1.203 GB, free: 2.266 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=110): time 3.827e-06/1.664, allocations: 4 kB / 1.203 GB, free: 2.262 MB / 0.9044 GB Notification: Performance of matching and sorting (n=110): time 0.006203/1.67, allocations: 2.418 MB / 1.205 GB, free: 15.84 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/1.67, allocations: 60.41 kB / 1.205 GB, free: 15.77 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004774/1.675, allocations: 2.556 MB / 1.207 GB, free: 13.2 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002261/1.675, allocations: 61.64 kB / 1.208 GB, free: 13.13 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001325/1.677, allocations: 1.276 MB / 1.209 GB, free: 11.84 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004239/1.677, allocations: 386.4 kB / 1.209 GB, free: 11.45 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002489/1.677, allocations: 137.6 kB / 1.209 GB, free: 11.31 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001852/1.678, allocations: 309.1 kB / 1.21 GB, free: 11.01 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002868/1.68, allocations: 1.003 MB / 1.211 GB, free: 10 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003539/1.684, allocations: 1.641 MB / 1.212 GB, free: 8.09 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005199/1.689, allocations: 2.335 MB / 1.214 GB, free: 5.555 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/1.689, allocations: 7.938 kB / 1.214 GB, free: 5.547 MB / 0.92 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007718/1.697, allocations: 2.902 MB / 1.217 GB, free: 2.621 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.000603/1.698, allocations: 0.5547 MB / 1.218 GB, free: 1.863 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/1.698, allocations: 12 kB / 1.218 GB, free: 1.852 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.097e-05/1.698, allocations: 24 kB / 1.218 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003236/1.701, allocations: 0.5968 MB / 1.218 GB, free: 1.23 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/1.703, allocations: 2.387 MB / 1.221 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004664/1.707, allocations: 447.5 kB / 1.221 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000256/1.708, allocations: 87.95 kB / 1.221 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.708, allocations: 4 kB / 1.221 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006419/1.714, allocations: 2.654 MB / 1.224 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.572e-05/1.714, allocations: 16 kB / 1.224 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/1.714, allocations: 20 kB / 1.224 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002537/1.717, allocations: 0.5384 MB / 1.224 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.461e-05/1.717, allocations: 31.88 kB / 1.224 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003678/1.72, allocations: 387.1 kB / 1.225 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001931/1.721, allocations: 92.53 kB / 1.225 GB, free: 10.48 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 4 (masExcRev.i2_w,masExcRev.i1_w,masExcFor.i2_w,masExcFor.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001479/1.722, allocations: 0.6255 MB / 1.226 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005847/1.723, allocations: 260.8 kB / 1.226 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004633/1.727, allocations: 1.874 MB / 1.228 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/1.727, allocations: 12 kB / 1.228 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/1.727, allocations: 7.922 kB / 1.228 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/1.727, allocations: 7.969 kB / 1.228 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009507/1.737, allocations: 4.532 MB / 1.232 GB, free: 3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/1.737, allocations: 4 kB / 1.232 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/1.739, allocations: 323.9 kB / 1.232 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-05/1.739, allocations: 12 kB / 1.232 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.363e-05/1.739, allocations: 27.98 kB / 1.232 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001469/1.74, allocations: 2.367 MB / 1.235 GB, free: 184 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/1.74, allocations: 11.94 kB / 1.235 GB, free: 172 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004581/1.745, allocations: 2.014 MB / 1.237 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/1.746, allocations: 0.5406 MB / 1.237 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003172/1.747, allocations: 23.98 kB / 1.237 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00258/1.749, allocations: 291.5 kB / 1.238 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/1.749, allocations: 88.72 kB / 1.238 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/1.75, allocations: 59.95 kB / 1.238 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003431/1.753, allocations: 1.766 MB / 1.239 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.91e-07/1.753, allocations: 0 / 1.239 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.004277/1.757, allocations: 1.306 MB / 1.241 GB, free: 9.965 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 simulation (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008931/1.758, allocations: 379.7 kB / 1.241 GB, free: 9.602 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.009638/1.768, allocations: 3.722 MB / 1.245 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/1.768, allocations: 0 / 1.245 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00214/1.77, allocations: 0.8348 MB / 1.245 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008808/1.779, allocations: 1.294 MB / 1.247 GB, free: 3.727 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009322/1.788, allocations: 5.356 MB / 1.252 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00148/1.79, allocations: 1.682 MB / 1.254 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/1.791, allocations: 247.3 kB / 1.254 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of SimCode: time 9.72e-07/1.791, allocations: 0 / 1.254 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of Templates: time 0.6784/2.469, allocations: 85.7 MB / 1.338 GB, free: 345.4 MB / 0.9825 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.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 OMCppBuildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchangerCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchangerCalcHelperMain.o] Error 1