Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0008933/0.0008931, allocations: 102.6 kB / 15.71 MB, free: 460 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.001241/0.001241, allocations: 176.6 kB / 16.58 MB, free: 6.402 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.99/1.99, allocations: 205.4 MB / 222.7 MB, free: 5.641 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.795/1.795, allocations: 292.7 MB / 0.5505 GB, free: 14.53 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.0005474/0.0005474, allocations: 16.12 kB / 0.6743 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.31, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07465/0.3848, allocations: 71.14 MB / 0.8574 GB, free: 4.617 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02862/0.4135, allocations: 17.58 MB / 0.8746 GB, free: 3.012 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004749/0.4183, allocations: 87.38 kB / 0.8746 GB, free: 2.926 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003927/0.4223, allocations: 0.8773 MB / 0.8755 GB, free: 2.043 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01128/0.4336, allocations: 2.817 MB / 0.8782 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.006067/0.4397, allocations: 1.517 MB / 0.8797 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01345/0.4532, allocations: 7.566 MB / 0.8871 GB, free: 6.125 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003373/0.4566, allocations: 1.445 MB / 0.8885 GB, free: 4.652 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005421/0.462, allocations: 1.87 MB / 0.8904 GB, free: 2.773 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004005/0.4661, allocations: 1.59 MB / 0.8919 GB, free: 1.176 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0007979/0.4669, allocations: 76 kB / 0.892 GB, free: 1.102 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004831/0.4718, allocations: 0.8923 MB / 0.8928 GB, free: 212 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001032/0.4728, allocations: 390.3 kB / 0.8932 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001339/0.4742, allocations: 0.4887 MB / 0.8937 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004413/0.4786, allocations: 2.669 MB / 0.8963 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.4786, allocations: 0 / 0.8963 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.595e-06/0.4786, allocations: 4 kB / 0.8963 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.382e-05/0.4787, allocations: 0 / 0.8963 GB, free: 12.65 MB / 0.7169 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.004297/0.483, allocations: 2.299 MB / 0.8986 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.483, allocations: 12.03 kB / 0.8986 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006363/0.4837, allocations: 269.1 kB / 0.8988 GB, free: 10.01 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003162/0.4868, allocations: 1.888 MB / 0.9007 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.754e-05/0.4869, allocations: 106.7 kB / 0.9008 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001922/0.4871, allocations: 144 kB / 0.9009 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002689/0.4898, allocations: 1.527 MB / 0.9024 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/0.4899, allocations: 7.906 kB / 0.9024 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.49, allocations: 63.94 kB / 0.9025 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.574e-05/0.4901, allocations: 43.94 kB / 0.9025 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.4922, allocations: 1.154 MB / 0.9036 GB, free: 4.949 MB / 0.7169 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.009322/0.5015, allocations: 7.571 MB / 0.911 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.5026, allocations: 493.3 kB / 0.9115 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006577/0.5033, allocations: 359.6 kB / 0.9118 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009069/0.5042, allocations: 1.156 MB / 0.913 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.5042, allocations: 39.12 kB / 0.913 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=59): time 4.569e-06/0.5042, allocations: 0 / 0.913 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=59): time 0.00253/0.5068, allocations: 1.02 MB / 0.914 GB, free: 9.469 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.5069, allocations: 59.91 kB / 0.9141 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002625/0.5095, allocations: 1.723 MB / 0.9157 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001551/0.5097, allocations: 41.7 kB / 0.9158 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008903/0.5106, allocations: 0.9276 MB / 0.9167 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/0.5108, allocations: 220.9 kB / 0.9169 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.5109, allocations: 24 kB / 0.9169 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.5111, allocations: 345.9 kB / 0.9172 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007624/0.5118, allocations: 354.4 kB / 0.9176 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009348/0.5128, allocations: 0.7016 MB / 0.9183 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008116/0.5136, allocations: 470.7 kB / 0.9187 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.5136, allocations: 4 kB / 0.9187 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002496/0.5161, allocations: 1.249 MB / 0.9199 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.5162, allocations: 8 kB / 0.92 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.5162, allocations: 8.875 kB / 0.92 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.412e-05/0.5162, allocations: 20 kB / 0.92 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.5173, allocations: 319.6 kB / 0.9203 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-05/0.5173, allocations: 27.86 kB / 0.9203 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.519, allocations: 246.4 kB / 0.9205 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.885e-05/0.5191, allocations: 52 kB / 0.9206 GB, free: 2.473 MB / 0.7325 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.0008452/0.5199, allocations: 437.4 kB / 0.921 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003067/0.5202, allocations: 193.7 kB / 0.9212 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001756/0.522, allocations: 0.9115 MB / 0.9221 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/0.522, allocations: 7.984 kB / 0.9221 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.522, allocations: 0 / 0.9221 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001256/0.5233, allocations: 0.8386 MB / 0.9229 GB, free: 36 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5881/1.111, allocations: 2.468 MB / 0.9253 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/1.112, allocations: 2.125 kB / 0.9253 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008387/1.112, allocations: 207.5 kB / 0.9255 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.39e-05/1.112, allocations: 3.938 kB / 0.9255 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.054e-05/1.112, allocations: 19.64 kB / 0.9255 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.32e-05/1.112, allocations: 4.625 kB / 0.9256 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.112, allocations: 6.656 kB / 0.9256 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003102/1.116, allocations: 1.394 MB / 0.9269 GB, free: 133.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008827/1.116, allocations: 403.6 kB / 0.9273 GB, free: 133 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/1.117, allocations: 12.72 kB / 0.9273 GB, free: 133 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/1.118, allocations: 123 kB / 0.9274 GB, free: 133 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/1.118, allocations: 51.45 kB / 0.9275 GB, free: 133 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.003e-05/1.118, allocations: 40.61 kB / 0.9275 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002602/1.121, allocations: 1.191 MB / 0.9287 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.121, allocations: 0 / 0.9287 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002572/1.123, allocations: 0.6371 MB / 0.9293 GB, free: 132.4 MB / 0.7325 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.001315/1.125, allocations: 0.5504 MB / 0.9298 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001824/1.126, allocations: 0.851 MB / 0.9307 GB, free: 132 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/1.126, allocations: 1.656 kB / 0.9307 GB, free: 132 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007039/1.127, allocations: 372.8 kB / 0.931 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006167/1.133, allocations: 1.223 MB / 0.9322 GB, free: 131.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006224/1.14, allocations: 3.706 MB / 0.9358 GB, free: 129.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/1.141, allocations: 1.383 MB / 0.9372 GB, free: 128.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004848/1.141, allocations: 155 kB / 0.9373 GB, free: 128.8 MB / 0.7325 GB Notification: Performance of SimCode: time 1.332e-06/1.141, allocations: 2.625 kB / 0.9373 GB, free: 128.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.07781/1.219, allocations: 34.32 MB / 0.9709 GB, free: 111.6 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile make -j1 -f Buildings_8_Buildings.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchangerCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchangerCalcHelperMain.o] Error 1