Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(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_latest_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_latest_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.0008499/0.0008499, allocations: 98.97 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.000946/0.0009461, allocations: 173.5 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.511/1.511, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.834/2.834, allocations: 436.7 MB / 0.7113 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003494, allocations: 20.22 kB / 0.8717 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9064/0.9068, allocations: 153.7 MB / 1.022 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02572/0.9325, allocations: 26.3 MB / 1.047 GB, free: 6.785 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01211/0.9447, allocations: 7.387 MB / 1.055 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00175/0.9465, allocations: 31.81 kB / 1.055 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001446/0.948, allocations: 286.1 kB / 1.055 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00345/0.9515, allocations: 0.8004 MB / 1.056 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003062/0.9545, allocations: 0.7887 MB / 1.056 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.007074/0.9616, allocations: 5.249 MB / 1.062 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003367/0.965, allocations: 1.613 MB / 1.063 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003567/0.9686, allocations: 1.315 MB / 1.064 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002829/0.9715, allocations: 1.229 MB / 1.066 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0005849/0.9721, allocations: 80 kB / 1.066 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003366/0.9754, allocations: 0.9827 MB / 1.067 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0008411/0.9763, allocations: 354.5 kB / 1.067 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001248/0.9776, allocations: 424.7 kB / 1.067 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.004359/0.9819, allocations: 2.823 MB / 1.07 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.982, allocations: 0 / 1.07 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.884e-06/0.982, allocations: 0 / 1.07 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001395/0.9821, allocations: 0 / 1.07 GB, free: 15.37 MB / 0.8262 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.00601/0.9881, allocations: 2.152 MB / 1.072 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.9882, allocations: 11.98 kB / 1.072 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.9896, allocations: 233.5 kB / 1.073 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004321/0.9939, allocations: 1.73 MB / 1.074 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.9941, allocations: 122.7 kB / 1.074 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005869/0.9947, allocations: 148 kB / 1.074 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004477/0.9991, allocations: 1.986 MB / 1.076 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.555e-05/0.9992, allocations: 7.984 kB / 1.076 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001543/0.9994, allocations: 60 kB / 1.076 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.125e-05/0.9994, allocations: 36 kB / 1.077 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002967/1.002, allocations: 1.79 MB / 1.078 GB, free: 6.922 MB / 0.8262 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.01141/1.014, allocations: 7.621 MB / 1.086 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001868/1.016, allocations: 1.432 MB / 1.087 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000866/1.017, allocations: 0.664 MB / 1.088 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006285/1.023, allocations: 3.843 MB / 1.092 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/1.023, allocations: 47.56 kB / 1.092 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=88): time 4.509e-06/1.023, allocations: 0 / 1.092 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88): time 0.002449/1.025, allocations: 1.51 MB / 1.093 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/1.026, allocations: 60.41 kB / 1.093 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002201/1.028, allocations: 1.594 MB / 1.095 GB, free: 5.453 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.165e-05/1.028, allocations: 49.7 kB / 1.095 GB, free: 5.398 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006838/1.029, allocations: 0.7614 MB / 1.095 GB, free: 4.629 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003026/1.029, allocations: 311.5 kB / 1.096 GB, free: 4.32 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.147e-05/1.029, allocations: 28 kB / 1.096 GB, free: 4.293 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001665/1.029, allocations: 365.9 kB / 1.096 GB, free: 3.93 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/1.03, allocations: 0.6753 MB / 1.097 GB, free: 3.254 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/1.031, allocations: 1.012 MB / 1.098 GB, free: 2.113 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/1.033, allocations: 0.8689 MB / 1.099 GB, free: 1.242 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/1.033, allocations: 4 kB / 1.099 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00306/1.036, allocations: 1.944 MB / 1.101 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002561/1.036, allocations: 352.7 kB / 1.101 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/1.036, allocations: 12 kB / 1.101 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.296e-05/1.036, allocations: 16 kB / 1.101 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/1.037, allocations: 335.5 kB / 1.101 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.731e-05/1.037, allocations: 19.94 kB / 1.101 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/1.039, allocations: 218.1 kB / 1.101 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/1.039, allocations: 59.98 kB / 1.101 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.654e-06/1.039, allocations: 0 / 1.101 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002529/1.041, allocations: 1.787 MB / 1.103 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/1.041, allocations: 12 kB / 1.103 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/1.041, allocations: 16 kB / 1.103 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/1.042, allocations: 336.2 kB / 1.104 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.256e-05/1.042, allocations: 23.89 kB / 1.104 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/1.044, allocations: 182.5 kB / 1.104 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/1.044, allocations: 63.98 kB / 1.104 GB, free: 11.75 MB / 0.8575 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.001302/1.045, allocations: 0.758 MB / 1.105 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003258/1.045, allocations: 150.1 kB / 1.105 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002002/1.047, allocations: 1.293 MB / 1.106 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/1.047, allocations: 8 kB / 1.106 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/1.047, allocations: 3.953 kB / 1.106 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001447/1.049, allocations: 1.28 MB / 1.107 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004376/1.053, allocations: 2.924 MB / 1.11 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/1.053, allocations: 4.125 kB / 1.11 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007827/1.054, allocations: 195.7 kB / 1.11 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/1.054, allocations: 7.984 kB / 1.11 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.033e-05/1.054, allocations: 24 kB / 1.11 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/1.054, allocations: 4 kB / 1.11 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.054, allocations: 4 kB / 1.11 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00257/1.057, allocations: 1.905 MB / 1.112 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000818/1.058, allocations: 430.8 kB / 1.113 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001981/1.058, allocations: 19.95 kB / 1.113 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007657/1.059, allocations: 82.3 kB / 1.113 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.963e-05/1.059, allocations: 52.92 kB / 1.113 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.052e-05/1.059, allocations: 39.91 kB / 1.113 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001715/1.061, allocations: 1.191 MB / 1.114 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.81e-07/1.061, allocations: 0 / 1.114 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002609/1.063, allocations: 0.9085 MB / 1.115 GB, free: 268 kB / 0.8575 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.0008765/1.064, allocations: 353 kB / 1.115 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003661/1.068, allocations: 2.308 MB / 1.117 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/1.068, allocations: 1.938 kB / 1.117 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007598/1.068, allocations: 0.5131 MB / 1.118 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004215/1.073, allocations: 0.8755 MB / 1.119 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007863/1.081, allocations: 4.343 MB / 1.123 GB, free: 7.844 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00157/1.082, allocations: 1.634 MB / 1.125 GB, free: 6.176 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007362/1.083, allocations: 143.4 kB / 1.125 GB, free: 6.035 MB / 0.8731 GB Notification: Performance of SimCode: time 3.496e-06/1.083, allocations: 0 / 1.125 GB, free: 6.035 MB / 0.8731 GB Notification: Performance of Templates: time 0.05794/1.141, allocations: 32.04 MB / 1.156 GB, free: 6.188 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchangerCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchangerCalcHelperMain.o] Error 1