Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009495/0.0009495, allocations: 92 kB / 16.02 MB, free: 80 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.001459/0.001459, allocations: 180 kB / 16.92 MB, free: 6.652 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.871/1.871, allocations: 205.4 MB / 223.1 MB, free: 5.703 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.857/1.857, allocations: 292.7 MB / 0.5509 GB, free: 14.46 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.000552/0.000552, allocations: 15.28 kB / 0.675 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3382, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02897/0.3672, allocations: 27.74 MB / 0.8156 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01244/0.3797, allocations: 7.815 MB / 0.8233 GB, free: 7.906 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.3813, allocations: 31.75 kB / 0.8233 GB, free: 7.875 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.3824, allocations: 326.1 kB / 0.8236 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00289/0.3853, allocations: 0.9254 MB / 0.8245 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002834/0.3881, allocations: 0.9335 MB / 0.8254 GB, free: 5.699 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006445/0.3946, allocations: 6.05 MB / 0.8313 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002501/0.3971, allocations: 1.798 MB / 0.8331 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002799/0.3999, allocations: 1.322 MB / 0.8344 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001716/0.4017, allocations: 1.295 MB / 0.8356 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001582/0.4018, allocations: 76 kB / 0.8357 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002522/0.4044, allocations: 1.139 MB / 0.8368 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004024/0.4048, allocations: 378.3 kB / 0.8372 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00131/0.4061, allocations: 0.9772 MB / 0.8381 GB, free: 8.59 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003306/0.4094, allocations: 2.833 MB / 0.8409 GB, free: 5.75 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.4094, allocations: 0 / 0.8409 GB, free: 5.75 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4094, allocations: 4 kB / 0.8409 GB, free: 5.746 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.703e-05/0.4095, allocations: 0 / 0.8409 GB, free: 5.746 MB / 0.6544 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.004322/0.4138, allocations: 2.129 MB / 0.843 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.4139, allocations: 12.03 kB / 0.843 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007105/0.4146, allocations: 230.5 kB / 0.8432 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002663/0.4173, allocations: 1.744 MB / 0.8449 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.275e-05/0.4174, allocations: 110.7 kB / 0.845 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002542/0.4176, allocations: 151.9 kB / 0.8452 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003291/0.4209, allocations: 1.994 MB / 0.8471 GB, free: 15.21 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.192e-05/0.421, allocations: 15.92 kB / 0.8471 GB, free: 15.19 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/0.4211, allocations: 56 kB / 0.8472 GB, free: 15.14 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-05/0.4212, allocations: 36 kB / 0.8472 GB, free: 15.1 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002746/0.4239, allocations: 1.81 MB / 0.849 GB, free: 13.29 MB / 0.67 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.01105/0.435, allocations: 7.613 MB / 0.8564 GB, free: 5.371 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/0.4368, allocations: 1.448 MB / 0.8578 GB, free: 3.898 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008529/0.4377, allocations: 0.664 MB / 0.8585 GB, free: 3.234 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006251/0.444, allocations: 3.847 MB / 0.8622 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.444, allocations: 43.56 kB / 0.8623 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=88): time 3.005e-06/0.444, allocations: 0 / 0.8623 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88): time 0.002406/0.4464, allocations: 1.51 MB / 0.8638 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.4465, allocations: 60.41 kB / 0.8638 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002129/0.4487, allocations: 1.589 MB / 0.8654 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.188e-05/0.4488, allocations: 49.7 kB / 0.8654 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006225/0.4494, allocations: 0.7379 MB / 0.8661 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002912/0.4497, allocations: 319.4 kB / 0.8664 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.4499, allocations: 129.6 kB / 0.8666 GB, free: 10.58 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.45, allocations: 373.8 kB / 0.8669 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009889/0.451, allocations: 0.6869 MB / 0.8676 GB, free: 9.523 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/0.4523, allocations: 1.028 MB / 0.8686 GB, free: 8.367 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002019/0.4543, allocations: 1.62 MB / 0.8702 GB, free: 6.625 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.4544, allocations: 0 / 0.8702 GB, free: 6.625 MB / 0.6856 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003123/0.4575, allocations: 1.948 MB / 0.8721 GB, free: 4.668 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002939/0.4578, allocations: 356.6 kB / 0.8724 GB, free: 4.195 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.4578, allocations: 12 kB / 0.8724 GB, free: 4.184 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.552e-05/0.4579, allocations: 16 kB / 0.8724 GB, free: 4.168 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.4591, allocations: 335.4 kB / 0.8728 GB, free: 3.84 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.724e-05/0.4591, allocations: 23.92 kB / 0.8728 GB, free: 3.816 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.4606, allocations: 222 kB / 0.873 GB, free: 3.598 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.4607, allocations: 59.98 kB / 0.8731 GB, free: 3.539 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.4607, allocations: 4 kB / 0.8731 GB, free: 3.535 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002511/0.4632, allocations: 1.791 MB / 0.8748 GB, free: 1.742 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.4633, allocations: 8 kB / 0.8748 GB, free: 1.734 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.4633, allocations: 16 kB / 0.8748 GB, free: 1.719 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.4644, allocations: 335.5 kB / 0.8752 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-05/0.4644, allocations: 23.92 kB / 0.8752 GB, free: 1.367 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.4657, allocations: 187.1 kB / 0.8754 GB, free: 1.184 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.4659, allocations: 59.98 kB / 0.8754 GB, free: 1.125 MB / 0.6856 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001302/0.4672, allocations: 0.758 MB / 0.8762 GB, free: 364 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003178/0.4675, allocations: 150.1 kB / 0.8763 GB, free: 212 kB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/0.4695, allocations: 1.267 MB / 0.8775 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/0.4696, allocations: 12 kB / 0.8775 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.4696, allocations: 3.984 kB / 0.8776 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001496/0.4711, allocations: 1.288 MB / 0.8788 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004555/0.4756, allocations: 2.931 MB / 0.8817 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.4757, allocations: 4 kB / 0.8817 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007603/0.4764, allocations: 187.9 kB / 0.8819 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.918e-06/0.4764, allocations: 4 kB / 0.8819 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.814e-05/0.4765, allocations: 23.98 kB / 0.8819 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.134e-06/0.4765, allocations: 4.062 kB / 0.8819 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/0.4765, allocations: 11.94 kB / 0.8819 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002665/0.4792, allocations: 1.917 MB / 0.8838 GB, free: 8.344 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008168/0.48, allocations: 422.8 kB / 0.8842 GB, free: 7.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/0.4802, allocations: 20 kB / 0.8842 GB, free: 7.891 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008183/0.4811, allocations: 75.77 kB / 0.8843 GB, free: 7.816 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.706e-05/0.4812, allocations: 60.86 kB / 0.8843 GB, free: 7.758 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.226e-05/0.4812, allocations: 31.98 kB / 0.8844 GB, free: 7.727 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001669/0.4829, allocations: 1.194 MB / 0.8855 GB, free: 6.535 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4829, allocations: 0 / 0.8855 GB, free: 6.535 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002556/0.4855, allocations: 0.9123 MB / 0.8864 GB, free: 5.621 MB / 0.7012 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 (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.000859/0.4864, allocations: 366.6 kB / 0.8868 GB, free: 5.266 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003492/0.4899, allocations: 2.316 MB / 0.889 GB, free: 2.953 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.4899, allocations: 1.938 kB / 0.889 GB, free: 2.953 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006919/0.4906, allocations: 0.5248 MB / 0.8895 GB, free: 2.426 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004004/0.4946, allocations: 0.8643 MB / 0.8904 GB, free: 1.574 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005987/0.5006, allocations: 4.368 MB / 0.8946 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/0.5018, allocations: 1.626 MB / 0.8962 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005671/0.5024, allocations: 143.4 kB / 0.8964 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of SimCode: time 9.52e-07/0.5024, allocations: 4 kB / 0.8964 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of Templates: time 0.6228/1.125, allocations: 31.85 MB / 0.9275 GB, free: 126.5 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile make -j1 -f Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchangerCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchangerCalcHelperMain.o] Error 1