Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.000814/0.0008139, allocations: 90.89 kB / 16.33 MB, free: 5.941 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.0008491/0.0008492, allocations: 185.6 kB / 17.22 MB, free: 5.887 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.584/1.584, allocations: 223.2 MB / 241.2 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7771/0.7771, allocations: 114.4 MB / 406.7 MB, free: 4.008 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003264, allocations: 8 kB / 494.4 MB, free: 8.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1736, allocations: 77.28 MB / 0.5583 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02746/0.2011, allocations: 26.22 MB / 0.5839 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3988/0.6, allocations: 7.37 MB / 0.5911 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001498/0.6015, allocations: 32.31 kB / 0.5912 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.6026, allocations: 284.2 kB / 0.5914 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003073/0.6057, allocations: 0.8137 MB / 0.5922 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003169/0.6089, allocations: 0.7807 MB / 0.593 GB, free: 11.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008272/0.6172, allocations: 5.259 MB / 0.5981 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004307/0.6215, allocations: 1.615 MB / 0.5997 GB, free: 10.28 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004533/0.6261, allocations: 1.311 MB / 0.601 GB, free: 9.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003564/0.6297, allocations: 1.222 MB / 0.6022 GB, free: 9.715 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003193/0.63, allocations: 77.69 kB / 0.6022 GB, free: 9.715 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003934/0.6339, allocations: 0.9891 MB / 0.6032 GB, free: 9.652 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005959/0.6346, allocations: 357.4 kB / 0.6036 GB, free: 9.582 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009495/0.6355, allocations: 423.9 kB / 0.604 GB, free: 9.488 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004381/0.6399, allocations: 2.824 MB / 0.6067 GB, free: 9.305 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.6399, allocations: 0 / 0.6067 GB, free: 9.305 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6399, allocations: 0 / 0.6067 GB, free: 9.305 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.416e-05/0.64, allocations: 1.469 kB / 0.6067 GB, free: 9.305 MB / 446.1 MB 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.006401/0.6464, allocations: 2.161 MB / 0.6088 GB, free: 24.25 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.6465, allocations: 8.531 kB / 0.6088 GB, free: 24.25 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.6475, allocations: 238.4 kB / 0.6091 GB, free: 24.14 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003209/0.6507, allocations: 1.734 MB / 0.6108 GB, free: 23.49 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.6509, allocations: 113.5 kB / 0.6109 GB, free: 23.48 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002867/0.6512, allocations: 150.4 kB / 0.611 GB, free: 23.48 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003905/0.6551, allocations: 1.987 MB / 0.6129 GB, free: 22.5 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.048e-05/0.6551, allocations: 6.969 kB / 0.613 GB, free: 22.5 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/0.6553, allocations: 61.86 kB / 0.613 GB, free: 22.45 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.77e-05/0.6554, allocations: 40.36 kB / 0.6131 GB, free: 22.45 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003227/0.6586, allocations: 1.789 MB / 0.6148 GB, free: 21.52 MB / 462.1 MB 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.01263/0.6713, allocations: 7.621 MB / 0.6222 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.6731, allocations: 1.44 MB / 0.6236 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009108/0.674, allocations: 0.6559 MB / 0.6243 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007138/0.6811, allocations: 3.842 MB / 0.628 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.267e-05/0.6812, allocations: 45.12 kB / 0.6281 GB, free: 11.44 MB / 462.1 MB Notification: Performance of pre-optimization done (n=88): time 2.915e-06/0.6812, allocations: 0 / 0.6281 GB, free: 11.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=88): time 0.002828/0.6841, allocations: 1.506 MB / 0.6296 GB, free: 10.69 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.6841, allocations: 65.66 kB / 0.6296 GB, free: 10.62 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002628/0.6868, allocations: 1.596 MB / 0.6312 GB, free: 9.758 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.6869, allocations: 50.45 kB / 0.6312 GB, free: 9.711 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008757/0.6878, allocations: 0.7533 MB / 0.632 GB, free: 9.055 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004468/0.6882, allocations: 318.2 kB / 0.6323 GB, free: 8.789 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.429e-05/0.6883, allocations: 22.97 kB / 0.6323 GB, free: 8.77 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.6885, allocations: 362.4 kB / 0.6326 GB, free: 8.426 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.6896, allocations: 0.68 MB / 0.6333 GB, free: 8.047 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/0.6912, allocations: 1.018 MB / 0.6343 GB, free: 6.898 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.6926, allocations: 0.8677 MB / 0.6351 GB, free: 6.035 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.6927, allocations: 4 kB / 0.6351 GB, free: 6.031 MB / 462.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00371/0.6964, allocations: 1.935 MB / 0.637 GB, free: 4.086 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003495/0.6967, allocations: 367 kB / 0.6374 GB, free: 3.605 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.6968, allocations: 8 kB / 0.6374 GB, free: 3.598 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.832e-05/0.6968, allocations: 16 kB / 0.6374 GB, free: 3.582 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.6981, allocations: 331.5 kB / 0.6377 GB, free: 3.258 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.962e-05/0.6982, allocations: 23.92 kB / 0.6377 GB, free: 3.234 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/0.6999, allocations: 222.1 kB / 0.638 GB, free: 3.016 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.7, allocations: 63.92 kB / 0.638 GB, free: 2.953 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/0.7, allocations: 4 kB / 0.638 GB, free: 2.949 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002766/0.7028, allocations: 1.787 MB / 0.6398 GB, free: 1.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.7028, allocations: 11.94 kB / 0.6398 GB, free: 1.148 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.7028, allocations: 19.95 kB / 0.6398 GB, free: 1.129 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.704, allocations: 335.5 kB / 0.6401 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.245e-05/0.704, allocations: 19.94 kB / 0.6401 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.7054, allocations: 187 kB / 0.6403 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.7055, allocations: 59.98 kB / 0.6404 GB, free: 0.5391 MB / 462.1 MB 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.001822/0.7074, allocations: 0.7585 MB / 0.6411 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005179/0.7079, allocations: 150.1 kB / 0.6413 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002363/0.7103, allocations: 1.284 MB / 0.6425 GB, free: 14.35 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/0.7103, allocations: 8 kB / 0.6425 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.7103, allocations: 4 kB / 0.6425 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001757/0.7121, allocations: 1.281 MB / 0.6438 GB, free: 12.97 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005301/0.7174, allocations: 2.932 MB / 0.6466 GB, free: 9.984 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.7174, allocations: 2.516 kB / 0.6466 GB, free: 9.984 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008439/0.7183, allocations: 183.7 kB / 0.6468 GB, free: 9.805 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-05/0.7183, allocations: 12.12 kB / 0.6468 GB, free: 9.793 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.935e-05/0.7184, allocations: 27.98 kB / 0.6468 GB, free: 9.766 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.7184, allocations: 4 kB / 0.6469 GB, free: 9.762 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7184, allocations: 0 / 0.6469 GB, free: 9.762 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00281/0.7212, allocations: 1.905 MB / 0.6487 GB, free: 7.824 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/0.7224, allocations: 434.7 kB / 0.6491 GB, free: 7.379 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/0.7226, allocations: 20 kB / 0.6491 GB, free: 7.359 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008347/0.7234, allocations: 81.66 kB / 0.6492 GB, free: 7.285 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.7236, allocations: 52.92 kB / 0.6493 GB, free: 7.234 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.458e-05/0.7236, allocations: 35.98 kB / 0.6493 GB, free: 7.199 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002073/0.7257, allocations: 1.191 MB / 0.6505 GB, free: 6.012 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.7257, allocations: 3.938 kB / 0.6505 GB, free: 6.008 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003211/0.7289, allocations: 0.9084 MB / 0.6514 GB, free: 5.098 MB / 478.1 MB 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.00106/0.73, allocations: 345.3 kB / 0.6517 GB, free: 4.777 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003896/0.7339, allocations: 2.316 MB / 0.654 GB, free: 2.465 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.7339, allocations: 0 / 0.654 GB, free: 2.465 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007427/0.7347, allocations: 0.5131 MB / 0.6545 GB, free: 1.949 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0042/0.7389, allocations: 0.881 MB / 0.6553 GB, free: 1.098 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006672/0.7456, allocations: 4.338 MB / 0.6596 GB, free: 12.72 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/0.747, allocations: 1.638 MB / 0.6612 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007195/0.7477, allocations: 143.4 kB / 0.6613 GB, free: 10.91 MB / 494.1 MB Notification: Performance of SimCode: time 1.864e-06/0.7477, allocations: 4 kB / 0.6613 GB, free: 10.91 MB / 494.1 MB Notification: Performance of Templates: time 0.05859/0.8063, allocations: 32.02 MB / 0.6926 GB, free: 11.11 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile make -j1 -f IBPSA_latest_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 OMCppIBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchangerCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchangerCalcHelperMain.o] Error 1