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.0009951/0.0009951, allocations: 100.8 kB / 15.71 MB, free: 456 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.00124/0.00124, allocations: 176 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.923/1.923, allocations: 205.4 MB / 222.8 MB, free: 5.855 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.947/1.947, allocations: 292.7 MB / 0.5505 GB, free: 14.54 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.0005363/0.0005363, allocations: 16.16 kB / 0.6744 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2824, allocations: 116.3 MB / 0.7879 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02523/0.3077, allocations: 26.28 MB / 0.8136 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01044/0.3182, allocations: 7.331 MB / 0.8207 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0014/0.3196, allocations: 31.75 kB / 0.8208 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.3207, allocations: 286.1 kB / 0.821 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0026/0.3233, allocations: 0.8122 MB / 0.8218 GB, free: 9.125 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002806/0.3261, allocations: 0.7735 MB / 0.8226 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006559/0.3327, allocations: 5.226 MB / 0.8277 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003841/0.3366, allocations: 1.605 MB / 0.8293 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004852/0.3414, allocations: 1.307 MB / 0.8305 GB, free: 172 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003798/0.3453, allocations: 1.229 MB / 0.8317 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004348/0.3458, allocations: 80 kB / 0.8318 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003095/0.3489, allocations: 0.9866 MB / 0.8328 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004707/0.3493, allocations: 350.5 kB / 0.8331 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0009197/0.3503, allocations: 424.7 kB / 0.8335 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003517/0.3538, allocations: 2.81 MB / 0.8363 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.3538, allocations: 7.922 kB / 0.8363 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.304e-06/0.3538, allocations: 0 / 0.8363 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.563e-05/0.3539, allocations: 4 kB / 0.8363 GB, free: 10.27 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.004548/0.3585, allocations: 2.144 MB / 0.8384 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.3585, allocations: 8.031 kB / 0.8384 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007341/0.3592, allocations: 237.5 kB / 0.8386 GB, free: 7.832 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002909/0.3622, allocations: 1.686 MB / 0.8403 GB, free: 6.09 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.83e-05/0.3623, allocations: 110.7 kB / 0.8404 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002209/0.3625, allocations: 155.9 kB / 0.8405 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003275/0.3658, allocations: 2.001 MB / 0.8425 GB, free: 3.762 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.598e-05/0.3658, allocations: 0 / 0.8425 GB, free: 3.762 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/0.366, allocations: 60 kB / 0.8425 GB, free: 3.703 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.762e-05/0.366, allocations: 36 kB / 0.8426 GB, free: 3.668 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002881/0.3689, allocations: 1.786 MB / 0.8443 GB, free: 1.875 MB / 0.6544 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.01162/0.3805, allocations: 7.613 MB / 0.8517 GB, free: 9.953 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001931/0.3825, allocations: 1.452 MB / 0.8532 GB, free: 8.477 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008782/0.3834, allocations: 0.6562 MB / 0.8538 GB, free: 7.816 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006491/0.3899, allocations: 3.843 MB / 0.8575 GB, free: 3.656 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.39, allocations: 47.56 kB / 0.8576 GB, free: 3.602 MB / 0.67 GB Notification: Performance of pre-optimization done (n=88): time 3.396e-06/0.39, allocations: 0 / 0.8576 GB, free: 3.602 MB / 0.67 GB Notification: Performance of matching and sorting (n=88): time 0.002525/0.3925, allocations: 1.506 MB / 0.8591 GB, free: 2.094 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.3926, allocations: 68.34 kB / 0.8591 GB, free: 2.012 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002288/0.3949, allocations: 1.57 MB / 0.8607 GB, free: 440 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.88e-05/0.395, allocations: 49.7 kB / 0.8607 GB, free: 384 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006879/0.3957, allocations: 0.7418 MB / 0.8614 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003158/0.396, allocations: 319.5 kB / 0.8617 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.985e-05/0.3961, allocations: 28 kB / 0.8618 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.3963, allocations: 365.9 kB / 0.8621 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009832/0.3973, allocations: 0.6792 MB / 0.8628 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.3985, allocations: 1.016 MB / 0.8638 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.3997, allocations: 0.8689 MB / 0.8646 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.3997, allocations: 0 / 0.8646 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003144/0.4029, allocations: 1.936 MB / 0.8665 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002892/0.4032, allocations: 356.6 kB / 0.8668 GB, free: 9.805 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.4032, allocations: 8 kB / 0.8669 GB, free: 9.797 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.45e-05/0.4033, allocations: 16 kB / 0.8669 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.4045, allocations: 335.4 kB / 0.8672 GB, free: 9.453 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.961e-05/0.4045, allocations: 27.92 kB / 0.8672 GB, free: 9.426 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.4059, allocations: 217.9 kB / 0.8674 GB, free: 9.211 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.4061, allocations: 63.98 kB / 0.8675 GB, free: 9.148 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.4061, allocations: 11.95 kB / 0.8675 GB, free: 9.137 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002617/0.4087, allocations: 1.775 MB / 0.8692 GB, free: 7.359 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.4087, allocations: 12.94 kB / 0.8692 GB, free: 7.348 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.4087, allocations: 16 kB / 0.8693 GB, free: 7.332 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.4099, allocations: 335.5 kB / 0.8696 GB, free: 7.004 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.573e-05/0.4099, allocations: 27.92 kB / 0.8696 GB, free: 6.977 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.4112, allocations: 185.9 kB / 0.8698 GB, free: 6.797 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.4113, allocations: 64 kB / 0.8698 GB, free: 6.734 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001264/0.4126, allocations: 0.7431 MB / 0.8706 GB, free: 5.98 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003773/0.413, allocations: 154.2 kB / 0.8707 GB, free: 5.828 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/0.415, allocations: 1.275 MB / 0.872 GB, free: 4.543 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.4151, allocations: 12 kB / 0.872 GB, free: 4.531 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.4151, allocations: 0 / 0.872 GB, free: 4.531 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001509/0.4166, allocations: 1.277 MB / 0.8732 GB, free: 3.168 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004474/0.4211, allocations: 2.939 MB / 0.8761 GB, free: 156 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.4211, allocations: 0 / 0.8761 GB, free: 156 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007862/0.4219, allocations: 187.8 kB / 0.8763 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/0.4219, allocations: 7.938 kB / 0.8763 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.033e-05/0.422, allocations: 23.98 kB / 0.8763 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.275e-06/0.422, allocations: 7.984 kB / 0.8763 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.422, allocations: 0 / 0.8763 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002568/0.4246, allocations: 1.909 MB / 0.8782 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008015/0.4254, allocations: 426.8 kB / 0.8786 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002101/0.4256, allocations: 16 kB / 0.8786 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007671/0.4264, allocations: 75.83 kB / 0.8787 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.34e-05/0.4265, allocations: 53.11 kB / 0.8787 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-05/0.4266, allocations: 39.98 kB / 0.8788 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001727/0.4283, allocations: 1.175 MB / 0.8799 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4283, allocations: 0 / 0.8799 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002642/0.4309, allocations: 0.9162 MB / 0.8808 GB, free: 11.28 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 (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.0008311/0.4318, allocations: 350.3 kB / 0.8811 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004436/0.4362, allocations: 2.309 MB / 0.8834 GB, free: 8.633 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/0.4363, allocations: 0 / 0.8834 GB, free: 8.633 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008927/0.4372, allocations: 0.517 MB / 0.8839 GB, free: 8.113 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005019/0.4422, allocations: 0.8636 MB / 0.8847 GB, free: 7.262 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007455/0.4497, allocations: 4.326 MB / 0.889 GB, free: 2.891 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001465/0.4512, allocations: 1.626 MB / 0.8905 GB, free: 1.234 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007505/0.452, allocations: 147.4 kB / 0.8907 GB, free: 1.09 MB / 0.7012 GB Notification: Performance of SimCode: time 1.713e-06/0.452, allocations: 0 / 0.8907 GB, free: 1.09 MB / 0.7012 GB Notification: Performance of Templates: time 0.05683/0.5088, allocations: 31.85 MB / 0.9218 GB, free: 1.426 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++ 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.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