Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009512/0.0009513, allocations: 99.36 kB / 15.71 MB, free: 452 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.001864/0.001864, allocations: 171.7 kB / 16.58 MB, free: 6.418 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.514/1.514, allocations: 223.2 MB / 240.6 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.132/1.132, allocations: 143.4 MB / 435.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.000382, allocations: 8 kB / 0.5166 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2167, allocations: 83.41 MB / 0.5981 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.4854/0.7021, allocations: 26.24 MB / 0.6237 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01149/0.7136, allocations: 7.397 MB / 0.6309 GB, free: 24.55 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001766/0.7154, allocations: 29.78 kB / 0.6309 GB, free: 24.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.7166, allocations: 287 kB / 0.6312 GB, free: 24.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002934/0.7195, allocations: 0.8045 MB / 0.632 GB, free: 23.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002701/0.7222, allocations: 0.7808 MB / 0.6328 GB, free: 23.55 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005637/0.7279, allocations: 5.26 MB / 0.6379 GB, free: 21.35 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002667/0.7306, allocations: 1.604 MB / 0.6395 GB, free: 20.81 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003514/0.7341, allocations: 1.319 MB / 0.6407 GB, free: 20.3 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002899/0.737, allocations: 1.232 MB / 0.6419 GB, free: 19.79 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002955/0.7374, allocations: 79.94 kB / 0.642 GB, free: 19.79 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002983/0.7404, allocations: 0.979 MB / 0.643 GB, free: 19.53 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004759/0.7408, allocations: 361.8 kB / 0.6433 GB, free: 19.35 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009722/0.7418, allocations: 421.1 kB / 0.6437 GB, free: 19.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004046/0.7459, allocations: 2.985 MB / 0.6466 GB, free: 18.54 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.7459, allocations: 0 / 0.6466 GB, free: 18.54 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.056e-06/0.7459, allocations: 0 / 0.6466 GB, free: 18.54 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.397e-05/0.746, allocations: 0 / 0.6466 GB, free: 18.54 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.005656/0.7517, allocations: 2.165 MB / 0.6488 GB, free: 17.32 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.7517, allocations: 9.516 kB / 0.6488 GB, free: 17.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.7528, allocations: 234.1 kB / 0.649 GB, free: 17.22 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004046/0.7569, allocations: 1.734 MB / 0.6507 GB, free: 16.3 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.7571, allocations: 111.3 kB / 0.6508 GB, free: 16.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003137/0.7574, allocations: 156.6 kB / 0.6509 GB, free: 16.2 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004789/0.7622, allocations: 1.989 MB / 0.6529 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.347e-05/0.7622, allocations: 2.281 kB / 0.6529 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/0.7624, allocations: 61.25 kB / 0.6529 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.373e-05/0.7625, allocations: 39.02 kB / 0.653 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003799/0.7663, allocations: 1.787 MB / 0.6547 GB, free: 14.75 MB / 0.4981 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.01486/0.7812, allocations: 7.623 MB / 0.6622 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/0.7835, allocations: 1.446 MB / 0.6636 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.7846, allocations: 0.6614 MB / 0.6642 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007389/0.792, allocations: 3.848 MB / 0.668 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.7921, allocations: 52.58 kB / 0.668 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 2.585e-06/0.7921, allocations: 0 / 0.668 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.003058/0.7952, allocations: 1.509 MB / 0.6695 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.7952, allocations: 62.52 kB / 0.6696 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002748/0.798, allocations: 1.59 MB / 0.6711 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001166/0.7981, allocations: 52.48 kB / 0.6712 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007178/0.7989, allocations: 0.7559 MB / 0.6719 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003362/0.7992, allocations: 308.9 kB / 0.6722 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.247e-05/0.7993, allocations: 33.12 kB / 0.6722 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.7994, allocations: 360.1 kB / 0.6726 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/0.8007, allocations: 0.6796 MB / 0.6732 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/0.8023, allocations: 1.011 MB / 0.6742 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.8037, allocations: 0.8675 MB / 0.6751 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.8038, allocations: 3.562 kB / 0.6751 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003468/0.8072, allocations: 1.946 MB / 0.677 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002178/0.8075, allocations: 363.3 kB / 0.6773 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.412e-05/0.8075, allocations: 9.047 kB / 0.6773 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.691e-05/0.8075, allocations: 18.31 kB / 0.6774 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.8088, allocations: 335.8 kB / 0.6777 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.179e-05/0.8089, allocations: 20.03 kB / 0.6777 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.8104, allocations: 214.5 kB / 0.6779 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/0.8106, allocations: 65.7 kB / 0.678 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.8106, allocations: 4.062 kB / 0.678 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002972/0.8136, allocations: 1.785 MB / 0.6797 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.8136, allocations: 8.312 kB / 0.6797 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.8136, allocations: 21.39 kB / 0.6797 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.8148, allocations: 331.8 kB / 0.6801 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.162e-05/0.8149, allocations: 25.28 kB / 0.6801 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.8163, allocations: 196.5 kB / 0.6803 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.8164, allocations: 65.55 kB / 0.6803 GB, free: 1.031 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (175): * Single equations (assignments): 175 * 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.001525/0.818, allocations: 0.752 MB / 0.6811 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004872/0.8184, allocations: 150.8 kB / 0.6812 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002504/0.821, allocations: 1.28 MB / 0.6825 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-05/0.821, allocations: 8.906 kB / 0.6825 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.821, allocations: 0 / 0.6825 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002063/0.8231, allocations: 1.289 MB / 0.6837 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006533/0.8296, allocations: 2.929 MB / 0.6866 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.8297, allocations: 5.312 kB / 0.6866 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008801/0.8306, allocations: 189.3 kB / 0.6868 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.062e-05/0.8306, allocations: 8.578 kB / 0.6868 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.425e-05/0.8307, allocations: 19.94 kB / 0.6868 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.52e-05/0.8307, allocations: 8.453 kB / 0.6868 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.8307, allocations: 1.5 kB / 0.6868 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003888/0.8346, allocations: 1.906 MB / 0.6887 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/0.8359, allocations: 428.9 kB / 0.6891 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002728/0.8362, allocations: 26.38 kB / 0.6891 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008967/0.8371, allocations: 84.03 kB / 0.6892 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.8373, allocations: 54.23 kB / 0.6892 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.99e-05/0.8374, allocations: 35.14 kB / 0.6893 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002548/0.8399, allocations: 1.191 MB / 0.6904 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.84, allocations: 7.938 kB / 0.6904 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004006/0.844, allocations: 0.9042 MB / 0.6913 GB, free: 10.48 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].T) * 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 (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001186/0.8452, allocations: 349.9 kB / 0.6917 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004421/0.8496, allocations: 2.304 MB / 0.6939 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/0.8496, allocations: 64 / 0.6939 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007496/0.8504, allocations: 0.5248 MB / 0.6944 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00421/0.8546, allocations: 0.8663 MB / 0.6953 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007261/0.8619, allocations: 4.347 MB / 0.6995 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/0.8632, allocations: 1.642 MB / 0.7011 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007574/0.864, allocations: 139.4 kB / 0.7012 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of SimCode: time 1.703e-06/0.864, allocations: 0 / 0.7012 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of Templates: time 0.05443/0.9184, allocations: 32.33 MB / 0.7328 GB, free: 1.145 MB / 0.545 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchangerCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchangerCalcHelperMain.o] Error 1