Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0008224/0.0008224, 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.0008406/0.0008407, allocations: 184 kB / 16.92 MB, free: 6.742 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.333/1.333, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001877/0.001877, allocations: 274.8 kB / 292.3 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9511/0.9511, allocations: 169.5 MB / 0.501 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000422/0.0004221, allocations: 15.34 kB / 0.5993 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1761, allocations: 88.55 MB / 0.6858 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07204/0.2482, allocations: 75.27 MB / 0.7593 GB, free: 3.555 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.405/0.6532, allocations: 18.75 MB / 0.7776 GB, free: 7.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004575/0.6578, allocations: 94.94 kB / 0.7777 GB, free: 7.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00384/0.6617, allocations: 1.024 MB / 0.7787 GB, free: 7.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01261/0.6743, allocations: 3.37 MB / 0.782 GB, free: 7.609 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00629/0.6806, allocations: 1.911 MB / 0.7838 GB, free: 7.559 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01319/0.6938, allocations: 8.891 MB / 0.7925 GB, free: 6.965 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004673/0.6986, allocations: 1.686 MB / 0.7942 GB, free: 6.664 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006044/0.7046, allocations: 1.892 MB / 0.796 GB, free: 6.395 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004322/0.709, allocations: 1.695 MB / 0.7977 GB, free: 6.055 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000834/0.7098, allocations: 74.12 kB / 0.7977 GB, free: 6.055 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006322/0.7162, allocations: 1.445 MB / 0.7992 GB, free: 5.883 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001264/0.7175, allocations: 415.4 kB / 0.7996 GB, free: 5.785 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003544/0.721, allocations: 1.121 MB / 0.8006 GB, free: 5.395 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005392/0.7265, allocations: 2.805 MB / 0.8034 GB, free: 5.164 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.7265, allocations: 0 / 0.8034 GB, free: 5.164 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.735e-06/0.7265, allocations: 4 kB / 0.8034 GB, free: 5.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001465/0.7266, allocations: 0 / 0.8034 GB, free: 5.16 MB / 0.545 GB 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.006765/0.7334, allocations: 2.289 MB / 0.8056 GB, free: 19.66 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.7335, allocations: 9.625 kB / 0.8056 GB, free: 19.66 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.7348, allocations: 270.6 kB / 0.8059 GB, free: 19.53 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004461/0.7393, allocations: 1.975 MB / 0.8078 GB, free: 18.07 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.7394, allocations: 104.5 kB / 0.8079 GB, free: 18.03 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004236/0.7399, allocations: 143.2 kB / 0.8081 GB, free: 17.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003665/0.7435, allocations: 1.544 MB / 0.8096 GB, free: 17.01 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.629e-05/0.7436, allocations: 3.938 kB / 0.8096 GB, free: 17.01 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/0.7438, allocations: 57.56 kB / 0.8096 GB, free: 16.96 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.507e-05/0.7438, allocations: 49.12 kB / 0.8097 GB, free: 16.95 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002532/0.7464, allocations: 1.164 MB / 0.8108 GB, free: 16.39 MB / 0.5606 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.01051/0.7569, allocations: 7.6 MB / 0.8182 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.758, allocations: 499.3 kB / 0.8187 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006681/0.7586, allocations: 356.2 kB / 0.819 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008719/0.7595, allocations: 1.153 MB / 0.8202 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.7596, allocations: 41.44 kB / 0.8202 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=59): time 2.856e-06/0.7596, allocations: 0 / 0.8202 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59): time 0.002528/0.7621, allocations: 1.033 MB / 0.8212 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.7622, allocations: 60.06 kB / 0.8213 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00314/0.7653, allocations: 1.755 MB / 0.823 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001341/0.7655, allocations: 40.3 kB / 0.823 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008445/0.7663, allocations: 0.9301 MB / 0.8239 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002661/0.7666, allocations: 224.6 kB / 0.8242 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.7668, allocations: 94.56 kB / 0.8242 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.7669, allocations: 352.8 kB / 0.8246 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007548/0.7677, allocations: 353.7 kB / 0.8249 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.7687, allocations: 0.7079 MB / 0.8256 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/0.7704, allocations: 1.057 MB / 0.8266 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.719e-06/0.7704, allocations: 3.094 kB / 0.8266 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002445/0.7729, allocations: 1.259 MB / 0.8279 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.7729, allocations: 6.719 kB / 0.8279 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.773, allocations: 9.656 kB / 0.8279 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/0.773, allocations: 23.22 kB / 0.8279 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.774, allocations: 309.2 kB / 0.8282 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.49e-05/0.7741, allocations: 28.72 kB / 0.8282 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/0.776, allocations: 250.9 kB / 0.8285 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.982e-05/0.7761, allocations: 49.56 kB / 0.8285 GB, free: 2.461 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008784/0.777, allocations: 441.6 kB / 0.8289 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004709/0.7775, allocations: 192.3 kB / 0.8291 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/0.7795, allocations: 0.9075 MB / 0.83 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.7795, allocations: 9.625 kB / 0.83 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.7795, allocations: 2.719 kB / 0.83 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001366/0.7809, allocations: 0.8411 MB / 0.8308 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004768/0.7856, allocations: 2.475 MB / 0.8333 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.7857, allocations: 3.344 kB / 0.8333 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007681/0.7864, allocations: 213.9 kB / 0.8335 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/0.7865, allocations: 4.969 kB / 0.8335 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.136e-05/0.7865, allocations: 19.06 kB / 0.8335 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.7865, allocations: 8.891 kB / 0.8335 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.7865, allocations: 2.5 kB / 0.8335 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002482/0.789, allocations: 1.399 MB / 0.8349 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/0.7903, allocations: 411 kB / 0.8353 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006781/0.791, allocations: 22.72 kB / 0.8353 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001772/0.7928, allocations: 123.5 kB / 0.8354 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.7929, allocations: 53.78 kB / 0.8354 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.7931, allocations: 38.69 kB / 0.8355 GB, free: 14 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002703/0.7958, allocations: 1.219 MB / 0.8367 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.7958, allocations: 0 / 0.8367 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002619/0.7984, allocations: 0.6365 MB / 0.8373 GB, free: 13.17 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001927/0.8003, allocations: 0.5883 MB / 0.8379 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002087/0.8024, allocations: 0.8512 MB / 0.8387 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.8025, allocations: 0 / 0.8387 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008289/0.8033, allocations: 379.9 kB / 0.8391 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007508/0.8108, allocations: 1.201 MB / 0.8402 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006329/0.8172, allocations: 3.865 MB / 0.844 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/0.8185, allocations: 1.384 MB / 0.8454 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005413/0.8191, allocations: 155.3 kB / 0.8455 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/0.8191, allocations: 0 / 0.8455 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of Templates: time 0.05814/0.8772, allocations: 34.44 MB / 0.8791 GB, free: 3.539 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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 OMCppBuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchangerCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchangerCalcHelperMain.o] Error 1