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.007516/0.007516, allocations: 100.9 kB / 15.87 MB, free: 5.867 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.001459/0.001459, allocations: 196.6 kB / 16.79 MB, free: 5.809 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.432/1.432, allocations: 222.9 MB / 240.5 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003483/0.003483, allocations: 278.8 kB / 290.9 MB, free: 2.035 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.198/1.198, allocations: 169.2 MB / 0.4983 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 90.02 kB / 0.5951 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.193, allocations: 86.99 MB / 0.6801 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08416/0.2772, allocations: 76.64 MB / 0.7549 GB, free: 4.211 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02809/0.3053, allocations: 18.96 MB / 0.7734 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006435/0.3118, allocations: 103.3 kB / 0.7735 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005248/0.3171, allocations: 1.026 MB / 0.7745 GB, free: 68 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.6117/0.9288, allocations: 3.371 MB / 0.7778 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.009655/0.9385, allocations: 1.903 MB / 0.7797 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02356/0.9621, allocations: 8.885 MB / 0.7884 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006385/0.9685, allocations: 1.733 MB / 0.7901 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007559/0.9761, allocations: 1.933 MB / 0.792 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004677/0.9809, allocations: 1.774 MB / 0.7937 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000654/0.9815, allocations: 96.16 kB / 0.7938 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006053/0.9876, allocations: 1.47 MB / 0.7952 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009692/0.9886, allocations: 454.9 kB / 0.7956 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002674/0.9913, allocations: 1.136 MB / 0.7968 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005537/0.9968, allocations: 2.857 MB / 0.7995 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.9969, allocations: 3.344 kB / 0.7996 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9969, allocations: 0.5 kB / 0.7996 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001354/0.997, allocations: 0 / 0.7996 GB, free: 7.086 MB / 0.5606 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.007202/1.004, allocations: 2.719 MB / 0.8022 GB, free: 21.78 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/1.004, allocations: 14.19 kB / 0.8022 GB, free: 21.78 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009901/1.005, allocations: 264.9 kB / 0.8025 GB, free: 21.66 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003458/1.009, allocations: 1.974 MB / 0.8044 GB, free: 21.17 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.743e-05/1.009, allocations: 113.9 kB / 0.8045 GB, free: 21.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002157/1.009, allocations: 144.9 kB / 0.8046 GB, free: 21.16 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003055/1.012, allocations: 1.515 MB / 0.8061 GB, free: 20.93 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.361e-05/1.012, allocations: 1.281 kB / 0.8061 GB, free: 20.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/1.012, allocations: 61.97 kB / 0.8062 GB, free: 20.93 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.126e-05/1.012, allocations: 48.19 kB / 0.8062 GB, free: 20.93 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002308/1.015, allocations: 1.119 MB / 0.8073 GB, free: 20.91 MB / 0.5762 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.01279/1.028, allocations: 7.566 MB / 0.8147 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/1.029, allocations: 477.8 kB / 0.8152 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/1.03, allocations: 331.4 kB / 0.8155 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001365/1.032, allocations: 1.158 MB / 0.8166 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.546e-05/1.032, allocations: 41.7 kB / 0.8167 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=59): time 4.949e-06/1.032, allocations: 3.984 kB / 0.8167 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59): time 0.004165/1.036, allocations: 0.9622 MB / 0.8176 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/1.036, allocations: 62.16 kB / 0.8177 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004184/1.04, allocations: 1.756 MB / 0.8194 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000319/1.041, allocations: 38.55 kB / 0.8194 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001224/1.042, allocations: 0.932 MB / 0.8203 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004055/1.042, allocations: 229.6 kB / 0.8205 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004853/1.043, allocations: 226.1 kB / 0.8208 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002289/1.043, allocations: 350.1 kB / 0.8211 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/1.044, allocations: 326.7 kB / 0.8214 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001585/1.046, allocations: 0.6898 MB / 0.8221 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002298/1.048, allocations: 1.013 MB / 0.8231 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/1.048, allocations: 2.594 kB / 0.8231 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004064/1.052, allocations: 1.217 MB / 0.8243 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/1.052, allocations: 9.562 kB / 0.8243 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/1.052, allocations: 10.25 kB / 0.8243 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.199e-05/1.052, allocations: 15.81 kB / 0.8243 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/1.054, allocations: 293.5 kB / 0.8246 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-05/1.054, allocations: 24.3 kB / 0.8246 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0037/1.058, allocations: 234.5 kB / 0.8248 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002137/1.058, allocations: 53.5 kB / 0.8249 GB, free: 12.95 MB / 0.5762 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.00178/1.06, allocations: 441 kB / 0.8253 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009596/1.061, allocations: 197 kB / 0.8255 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002764/1.063, allocations: 0.8697 MB / 0.8263 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.379e-05/1.063, allocations: 5.375 kB / 0.8263 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/1.063, allocations: 3.219 kB / 0.8263 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001979/1.065, allocations: 0.7964 MB / 0.8271 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006823/1.072, allocations: 2.428 MB / 0.8295 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/1.072, allocations: 8.281 kB / 0.8295 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/1.073, allocations: 182 kB / 0.8297 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-05/1.073, allocations: 10 kB / 0.8297 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.826e-05/1.074, allocations: 18.05 kB / 0.8297 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.026e-05/1.074, allocations: 10.62 kB / 0.8297 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/1.074, allocations: 0 / 0.8297 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003762/1.077, allocations: 1.335 MB / 0.831 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001689/1.079, allocations: 364.6 kB / 0.8314 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005048/1.08, allocations: 14.25 kB / 0.8314 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001742/1.081, allocations: 120.9 kB / 0.8315 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/1.082, allocations: 49.59 kB / 0.8315 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.825e-05/1.082, allocations: 37.09 kB / 0.8316 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002568/1.084, allocations: 1.217 MB / 0.8328 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.21e-07/1.084, allocations: 4 kB / 0.8328 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003449/1.088, allocations: 0.6398 MB / 0.8334 GB, free: 8.676 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.001542/1.089, allocations: 0.5874 MB / 0.834 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002353/1.092, allocations: 0.8067 MB / 0.8347 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.092, allocations: 4.844 kB / 0.8347 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009954/1.093, allocations: 359.2 kB / 0.8351 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009294/1.102, allocations: 1.199 MB / 0.8363 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00853/1.11, allocations: 3.777 MB / 0.8399 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/1.112, allocations: 1.387 MB / 0.8413 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006632/1.112, allocations: 157.1 kB / 0.8415 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of SimCode: time 7.42e-07/1.112, allocations: 0 / 0.8415 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of Templates: time 0.07031/1.183, allocations: 34.71 MB / 0.8754 GB, free: 3.871 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