Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009933/0.0009937, allocations: 88.92 kB / 16.33 MB, free: 6.406 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.001187/0.001187, allocations: 183.2 kB / 17.22 MB, free: 6.293 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.522/1.522, allocations: 223.2 MB / 241.2 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7458/0.7458, allocations: 114.4 MB / 406.7 MB, free: 4.012 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003405, allocations: 12 kB / 494.4 MB, free: 8.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.178, allocations: 77.27 MB / 0.5583 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.5181/0.6961, allocations: 71.12 MB / 0.6278 GB, free: 10.06 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03084/0.727, allocations: 17.71 MB / 0.6451 GB, free: 12.36 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005883/0.7329, allocations: 93.66 kB / 0.6452 GB, free: 12.32 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004275/0.7372, allocations: 0.887 MB / 0.646 GB, free: 11.57 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01304/0.7503, allocations: 2.84 MB / 0.6488 GB, free: 9.289 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006223/0.7565, allocations: 1.484 MB / 0.6502 GB, free: 8.262 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01207/0.7686, allocations: 7.591 MB / 0.6577 GB, free: 3.773 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003237/0.7719, allocations: 1.457 MB / 0.6591 GB, free: 2.496 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005139/0.777, allocations: 1.855 MB / 0.6609 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003781/0.7809, allocations: 1.598 MB / 0.6625 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003521/0.7812, allocations: 72 kB / 0.6625 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003986/0.7852, allocations: 0.8963 MB / 0.6634 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005486/0.7858, allocations: 390.2 kB / 0.6638 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.7869, allocations: 496.5 kB / 0.6642 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004065/0.791, allocations: 2.667 MB / 0.6668 GB, free: 10.51 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.791, allocations: 0 / 0.6668 GB, free: 10.51 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.155e-06/0.791, allocations: 4 kB / 0.6669 GB, free: 10.51 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.954e-05/0.7911, allocations: 0 / 0.6669 GB, free: 10.51 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004234/0.7953, allocations: 2.322 MB / 0.6691 GB, free: 8.121 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.7954, allocations: 8.031 kB / 0.6691 GB, free: 8.113 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006586/0.796, allocations: 273 kB / 0.6694 GB, free: 7.844 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003262/0.7993, allocations: 1.907 MB / 0.6713 GB, free: 5.891 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.301e-05/0.7994, allocations: 106.7 kB / 0.6714 GB, free: 5.785 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/0.7996, allocations: 143.9 kB / 0.6715 GB, free: 5.645 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002743/0.8024, allocations: 1.532 MB / 0.673 GB, free: 4.035 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/0.8024, allocations: 7.938 kB / 0.673 GB, free: 4.027 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.8025, allocations: 56 kB / 0.673 GB, free: 3.973 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.291e-05/0.8026, allocations: 40 kB / 0.6731 GB, free: 3.934 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002238/0.8048, allocations: 1.158 MB / 0.6742 GB, free: 2.77 MB / 494.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.009302/0.8142, allocations: 7.579 MB / 0.6816 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009765/0.8152, allocations: 0.5002 MB / 0.6821 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006362/0.8158, allocations: 350.3 kB / 0.6824 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009657/0.8168, allocations: 1.145 MB / 0.6836 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.8168, allocations: 43.11 kB / 0.6836 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=59): time 2.965e-06/0.8168, allocations: 0 / 0.6836 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=59): time 0.002242/0.8191, allocations: 1.024 MB / 0.6846 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.8191, allocations: 63.95 kB / 0.6847 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002337/0.8215, allocations: 1.744 MB / 0.6864 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.932e-05/0.8216, allocations: 37.7 kB / 0.6864 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000889/0.8225, allocations: 0.9317 MB / 0.6873 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002867/0.8228, allocations: 220.9 kB / 0.6875 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.8228, allocations: 20 kB / 0.6875 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000215/0.823, allocations: 349.9 kB / 0.6879 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006928/0.8237, allocations: 342.4 kB / 0.6882 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009668/0.8247, allocations: 0.7171 MB / 0.6889 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008175/0.8255, allocations: 462.7 kB / 0.6893 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.8256, allocations: 4 kB / 0.6893 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002216/0.8278, allocations: 1.253 MB / 0.6906 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.8278, allocations: 13.81 kB / 0.6906 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.8278, allocations: 8 kB / 0.6906 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.876e-05/0.8279, allocations: 20 kB / 0.6906 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009921/0.8289, allocations: 311.8 kB / 0.6909 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-05/0.8289, allocations: 23.92 kB / 0.6909 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.8304, allocations: 250.4 kB / 0.6912 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.312e-05/0.8305, allocations: 51.94 kB / 0.6912 GB, free: 276 kB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007822/0.8313, allocations: 445.4 kB / 0.6916 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/0.8315, allocations: 193.6 kB / 0.6918 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001758/0.8333, allocations: 0.9038 MB / 0.6927 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/0.8333, allocations: 11.98 kB / 0.6927 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.8333, allocations: 0 / 0.6927 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001297/0.8346, allocations: 0.8308 MB / 0.6935 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004296/0.8389, allocations: 2.482 MB / 0.696 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.8389, allocations: 4 kB / 0.696 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007751/0.8397, allocations: 211.9 kB / 0.6962 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/0.8397, allocations: 4 kB / 0.6962 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.357e-05/0.8398, allocations: 19.98 kB / 0.6962 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.8398, allocations: 4 kB / 0.6962 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.8398, allocations: 8 kB / 0.6962 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002376/0.8422, allocations: 1.394 MB / 0.6976 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007858/0.843, allocations: 402.3 kB / 0.6979 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/0.8432, allocations: 16 kB / 0.698 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009969/0.8442, allocations: 123.7 kB / 0.6981 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.8443, allocations: 56.38 kB / 0.6981 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.849e-05/0.8444, allocations: 35.98 kB / 0.6982 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001832/0.8462, allocations: 1.196 MB / 0.6993 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8462, allocations: 3.938 kB / 0.6993 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001878/0.8481, allocations: 0.6356 MB / 0.7 GB, free: 7.082 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * 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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001067/0.8492, allocations: 0.56 MB / 0.7005 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001692/0.8509, allocations: 0.843 MB / 0.7013 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.8509, allocations: 5 kB / 0.7013 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000718/0.8517, allocations: 379.4 kB / 0.7017 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004994/0.8567, allocations: 1.203 MB / 0.7029 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005548/0.8622, allocations: 3.724 MB / 0.7065 GB, free: 348 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/0.8634, allocations: 1.392 MB / 0.7079 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003967/0.8638, allocations: 155.3 kB / 0.708 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of SimCode: time 1.523e-06/0.8638, allocations: 0 / 0.708 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of Templates: time 0.05796/0.9218, allocations: 34.37 MB / 0.7416 GB, free: 12.67 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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 OMCppIBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchangerCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchangerCalcHelperMain.o] Error 1