Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0009024/0.0009025, allocations: 92.78 kB / 16.02 MB, free: 80 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.001155/0.001156, allocations: 181.3 kB / 16.92 MB, free: 6.652 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.274/1.274, allocations: 223.2 MB / 240.9 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7215/0.7215, allocations: 132.3 MB / 424.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003325, allocations: 16.91 kB / 0.5046 GB, free: 3.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4876/0.488, allocations: 81.57 MB / 0.5843 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7145/1.203, allocations: 321.9 MB / 0.8986 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03412/1.237, allocations: 29.9 MB / 0.9278 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005029/1.242, allocations: 85.44 kB / 0.9279 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.005723/1.248, allocations: 1.757 MB / 0.9296 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01255/1.26, allocations: 4.677 MB / 0.9342 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.008945/1.269, allocations: 3.345 MB / 0.9374 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01186/1.281, allocations: 9.619 MB / 0.9468 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005204/1.286, allocations: 2.365 MB / 0.9491 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0151/1.301, allocations: 4.68 MB / 0.9537 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005813/1.307, allocations: 2.384 MB / 0.956 GB, free: 8.281 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001212/1.308, allocations: 132 kB / 0.9562 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01243/1.321, allocations: 5.589 MB / 0.9616 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00211/1.323, allocations: 0.8944 MB / 0.9625 GB, free: 2.742 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00464/1.328, allocations: 1.567 MB / 0.964 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008307/1.336, allocations: 4.15 MB / 0.9681 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/1.336, allocations: 0 / 0.9681 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.753e-06/1.336, allocations: 0 / 0.9681 GB, free: 13.28 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001686/1.336, allocations: 0 / 0.9681 GB, free: 13.28 MB / 0.67 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.00838/1.345, allocations: 3.054 MB / 0.9711 GB, free: 10.18 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/1.345, allocations: 12.03 kB / 0.9711 GB, free: 10.17 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009919/1.355, allocations: 1.575 MB / 0.9726 GB, free: 8.594 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004675/1.359, allocations: 1.981 MB / 0.9746 GB, free: 6.633 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00138/1.361, allocations: 432.2 kB / 0.975 GB, free: 6.207 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006741/1.361, allocations: 223.8 kB / 0.9752 GB, free: 5.992 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00642/1.368, allocations: 3.102 MB / 0.9782 GB, free: 2.766 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.085e-05/1.368, allocations: 10.94 kB / 0.9782 GB, free: 2.758 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002358/1.368, allocations: 95.94 kB / 0.9783 GB, free: 2.664 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.826e-05/1.368, allocations: 92 kB / 0.9784 GB, free: 2.57 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006969/1.375, allocations: 3.219 MB / 0.9815 GB, free: 15.36 MB / 0.6856 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.02199/1.397, allocations: 14.31 MB / 0.9955 GB, free: 180 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003877/1.401, allocations: 1.694 MB / 0.9972 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00168/1.403, allocations: 0.7962 MB / 0.9979 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006133/1.403, allocations: 335.4 kB / 0.9983 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.884e-05/1.404, allocations: 51.56 kB / 0.9983 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001388/1.405, allocations: 193.7 kB / 0.9985 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=110): time 3.357e-06/1.405, allocations: 4 kB / 0.9985 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of matching and sorting (n=110): time 0.005866/1.411, allocations: 2.418 MB / 1.001 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/1.411, allocations: 64.41 kB / 1.001 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004173/1.415, allocations: 2.556 MB / 1.003 GB, free: 7.992 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002565/1.415, allocations: 57.7 kB / 1.003 GB, free: 7.93 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009197/1.416, allocations: 1.273 MB / 1.005 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003141/1.417, allocations: 392.4 kB / 1.005 GB, free: 6.266 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/1.417, allocations: 133.6 kB / 1.005 GB, free: 6.129 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.451e-05/1.417, allocations: 309.1 kB / 1.006 GB, free: 5.824 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002518/1.419, allocations: 1.003 MB / 1.006 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003057/1.423, allocations: 1.642 MB / 1.008 GB, free: 2.914 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004699/1.427, allocations: 2.339 MB / 1.01 GB, free: 436 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.406e-05/1.427, allocations: 4 kB / 1.01 GB, free: 432 kB / 0.7012 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006869/1.434, allocations: 2.902 MB / 1.013 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004432/1.435, allocations: 0.5508 MB / 1.014 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.634e-05/1.435, allocations: 23.88 kB / 1.014 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.718e-05/1.435, allocations: 20 kB / 1.014 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002889/1.438, allocations: 0.5846 MB / 1.014 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/1.439, allocations: 2.387 MB / 1.017 GB, free: 9.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003783/1.443, allocations: 443.5 kB / 1.017 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001837/1.443, allocations: 95.95 kB / 1.017 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/1.443, allocations: 6.5 kB / 1.017 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006211/1.449, allocations: 2.658 MB / 1.02 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.013e-05/1.449, allocations: 12 kB / 1.02 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/1.449, allocations: 24 kB / 1.02 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002414/1.452, allocations: 0.5384 MB / 1.02 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.344e-05/1.452, allocations: 27.94 kB / 1.02 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003395/1.455, allocations: 387.4 kB / 1.021 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002048/1.455, allocations: 83.97 kB / 1.021 GB, free: 5.379 MB / 0.7169 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.001458/1.457, allocations: 0.6293 MB / 1.021 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007036/1.458, allocations: 264.7 kB / 1.022 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004758/1.462, allocations: 1.878 MB / 1.024 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/1.462, allocations: 12 kB / 1.024 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.711e-05/1.462, allocations: 7.922 kB / 1.024 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/1.462, allocations: 3.984 kB / 1.024 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008862/1.471, allocations: 4.534 MB / 1.028 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/1.471, allocations: 4 kB / 1.028 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001614/1.473, allocations: 320.1 kB / 1.028 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-05/1.473, allocations: 8.375 kB / 1.028 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.115e-05/1.473, allocations: 35.98 kB / 1.028 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/1.474, allocations: 2.364 MB / 1.031 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/1.474, allocations: 12.22 kB / 1.031 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004322/1.479, allocations: 2.01 MB / 1.033 GB, free: 8.984 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/1.48, allocations: 0.5443 MB / 1.033 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003785/1.48, allocations: 35.92 kB / 1.033 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00249/1.483, allocations: 285.1 kB / 1.033 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/1.483, allocations: 84.72 kB / 1.034 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/1.483, allocations: 63.95 kB / 1.034 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003187/1.486, allocations: 1.766 MB / 1.035 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.01e-07/1.486, allocations: 0 / 1.035 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003559/1.49, allocations: 1.298 MB / 1.037 GB, free: 4.891 MB / 0.7325 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.0008131/1.491, allocations: 367.9 kB / 1.037 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008523/1.499, allocations: 3.729 MB / 1.041 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/1.499, allocations: 0 / 1.041 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001967/1.501, allocations: 0.8355 MB / 1.041 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009275/1.511, allocations: 1.301 MB / 1.043 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009495/1.52, allocations: 5.357 MB / 1.048 GB, free: 9.223 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001681/1.522, allocations: 1.682 MB / 1.05 GB, free: 7.504 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001267/1.523, allocations: 247.3 kB / 1.05 GB, free: 7.262 MB / 0.7481 GB Notification: Performance of SimCode: time 1.192e-06/1.523, allocations: 3.938 kB / 1.05 GB, free: 7.258 MB / 0.7481 GB Notification: Performance of Templates: time 0.3868/1.91, allocations: 85.71 MB / 1.134 GB, free: 351.2 MB / 0.795 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile make -j1 -f IDEAS_IDEAS.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/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/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchangerCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchangerCalcHelperMain.o] Error 1