Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|indTanHex.vol.1..T|indTanHex.vol.2..T|indTanHex.vol.3..T",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|indTanHex.vol.1..T|indTanHex.vol.2..T|indTanHex.vol.3..T",fileNamePrefix="Buildings_9_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.001869/0.001869, allocations: 100.5 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.002539/0.002539, allocations: 176 kB / 16.58 MB, free: 6.422 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.523/1.523, allocations: 223.2 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.515/2.515, allocations: 390.4 MB / 0.6662 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003847, allocations: 16 kB / 0.8154 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9405/0.9409, allocations: 142.3 MB / 0.9544 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02743/0.9684, allocations: 26.28 MB / 0.9801 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01282/0.9813, allocations: 7.382 MB / 0.9873 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00175/0.9831, allocations: 33.22 kB / 0.9873 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.9842, allocations: 284.4 kB / 0.9876 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002932/0.9871, allocations: 0.8148 MB / 0.9884 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002858/0.99, allocations: 0.7815 MB / 0.9891 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006781/0.9968, allocations: 5.273 MB / 0.9943 GB, free: 7.211 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002459/0.9993, allocations: 1.609 MB / 0.9959 GB, free: 5.578 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00281/1.002, allocations: 1.315 MB / 0.9971 GB, free: 4.258 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001864/1.004, allocations: 1.225 MB / 0.9983 GB, free: 3.027 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001779/1.004, allocations: 80 kB / 0.9984 GB, free: 2.949 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002558/1.007, allocations: 0.9866 MB / 0.9994 GB, free: 1.961 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003958/1.007, allocations: 354.5 kB / 0.9997 GB, free: 1.613 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006427/1.008, allocations: 420.8 kB / 1 GB, free: 1.195 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003108/1.011, allocations: 2.819 MB / 1.003 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/1.011, allocations: 4 kB / 1.003 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.344e-06/1.011, allocations: 0 / 1.003 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.311e-05/1.011, allocations: 0 / 1.003 GB, free: 14.37 MB / 0.7637 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.004054/1.015, allocations: 2.16 MB / 1.005 GB, free: 12.15 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/1.015, allocations: 8.031 kB / 1.005 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006679/1.016, allocations: 229.5 kB / 1.005 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002863/1.019, allocations: 1.736 MB / 1.007 GB, free: 10.13 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.552e-05/1.019, allocations: 110.7 kB / 1.007 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002185/1.019, allocations: 148 kB / 1.007 GB, free: 9.875 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003135/1.022, allocations: 1.986 MB / 1.009 GB, free: 7.824 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.658e-05/1.022, allocations: 4 kB / 1.009 GB, free: 7.82 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/1.022, allocations: 63.94 kB / 1.009 GB, free: 7.758 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.831e-05/1.022, allocations: 47.94 kB / 1.009 GB, free: 7.711 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002693/1.025, allocations: 1.782 MB / 1.011 GB, free: 5.922 MB / 0.7637 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.01084/1.036, allocations: 7.606 MB / 1.018 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/1.038, allocations: 1.44 MB / 1.02 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008669/1.039, allocations: 0.6651 MB / 1.02 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006018/1.045, allocations: 3.842 MB / 1.024 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/1.045, allocations: 55.44 kB / 1.024 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=88): time 2.815e-06/1.045, allocations: 0 / 1.024 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of matching and sorting (n=88): time 0.002444/1.047, allocations: 1.506 MB / 1.026 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/1.047, allocations: 60.41 kB / 1.026 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002124/1.049, allocations: 1.59 MB / 1.027 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.498e-05/1.049, allocations: 49.7 kB / 1.027 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006684/1.05, allocations: 0.7575 MB / 1.028 GB, free: 3.648 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002884/1.05, allocations: 311.6 kB / 1.028 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.238e-05/1.05, allocations: 28 kB / 1.028 GB, free: 3.312 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.051, allocations: 365.9 kB / 1.029 GB, free: 2.949 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009925/1.052, allocations: 0.6792 MB / 1.029 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/1.053, allocations: 1.016 MB / 1.03 GB, free: 1.125 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/1.054, allocations: 0.8728 MB / 1.031 GB, free: 256 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/1.054, allocations: 3.938 kB / 1.031 GB, free: 252 kB / 0.7794 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003025/1.057, allocations: 1.94 MB / 1.033 GB, free: 14.3 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002429/1.057, allocations: 360.9 kB / 1.034 GB, free: 13.82 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/1.057, allocations: 8 kB / 1.034 GB, free: 13.81 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.049e-05/1.057, allocations: 16 kB / 1.034 GB, free: 13.8 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/1.059, allocations: 339.5 kB / 1.034 GB, free: 13.46 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.588e-05/1.059, allocations: 19.89 kB / 1.034 GB, free: 13.45 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/1.06, allocations: 218.1 kB / 1.034 GB, free: 13.23 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/1.06, allocations: 59.98 kB / 1.034 GB, free: 13.17 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/1.06, allocations: 5.562 kB / 1.034 GB, free: 13.17 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002499/1.063, allocations: 1.787 MB / 1.036 GB, free: 11.38 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/1.063, allocations: 8 kB / 1.036 GB, free: 11.37 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/1.063, allocations: 16 kB / 1.036 GB, free: 11.36 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/1.064, allocations: 336.1 kB / 1.036 GB, free: 11.03 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-05/1.064, allocations: 23.88 kB / 1.036 GB, free: 11 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/1.065, allocations: 190.5 kB / 1.036 GB, free: 10.82 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/1.065, allocations: 59.98 kB / 1.037 GB, free: 10.76 MB / 0.795 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.00123/1.066, allocations: 0.7617 MB / 1.037 GB, free: 9.984 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003171/1.067, allocations: 150.1 kB / 1.037 GB, free: 9.836 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002025/1.069, allocations: 1.278 MB / 1.039 GB, free: 8.547 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/1.069, allocations: 8 kB / 1.039 GB, free: 8.539 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/1.069, allocations: 0 / 1.039 GB, free: 8.539 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001482/1.07, allocations: 1.288 MB / 1.04 GB, free: 7.168 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004453/1.075, allocations: 2.924 MB / 1.043 GB, free: 4.168 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/1.075, allocations: 0 / 1.043 GB, free: 4.168 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007731/1.075, allocations: 195.9 kB / 1.043 GB, free: 3.977 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/1.075, allocations: 4 kB / 1.043 GB, free: 3.973 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/1.076, allocations: 20 kB / 1.043 GB, free: 3.953 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/1.076, allocations: 7.984 kB / 1.043 GB, free: 3.945 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.076, allocations: 3.938 kB / 1.043 GB, free: 3.941 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002486/1.078, allocations: 1.909 MB / 1.045 GB, free: 2 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000711/1.079, allocations: 422.8 kB / 1.045 GB, free: 1.566 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002133/1.079, allocations: 20 kB / 1.045 GB, free: 1.547 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007828/1.08, allocations: 79.77 kB / 1.045 GB, free: 1.469 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.592e-05/1.08, allocations: 56.86 kB / 1.045 GB, free: 1.41 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.874e-05/1.08, allocations: 40.11 kB / 1.045 GB, free: 1.371 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001695/1.082, allocations: 1.195 MB / 1.047 GB, free: 184 kB / 0.795 GB Notification: Performance of sort global known variables: time 1.8e-07/1.082, allocations: 0 / 1.047 GB, free: 184 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.002547/1.084, allocations: 0.9046 MB / 1.047 GB, free: 15.27 MB / 0.8106 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.0008384/1.085, allocations: 371.2 kB / 1.048 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003756/1.089, allocations: 2.3 MB / 1.05 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.089, allocations: 1.812 kB / 1.05 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007407/1.09, allocations: 0.517 MB / 1.051 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004554/1.094, allocations: 0.8667 MB / 1.051 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008782/1.103, allocations: 4.343 MB / 1.056 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002127/1.105, allocations: 1.63 MB / 1.057 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009455/1.106, allocations: 151.4 kB / 1.057 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of SimCode: time 2.785e-06/1.106, allocations: 0 / 1.057 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of Templates: time 0.05812/1.164, allocations: 32.03 MB / 1.089 GB, free: 5.203 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile make -j1 -f Buildings_9_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/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 OMCppBuildings_9_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchangerCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchangerCalcHelperMain.o] Error 1