Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0007243/0.0007243, allocations: 92.78 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.000794/0.000794, allocations: 178.6 kB / 16.92 MB, free: 6.652 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.301/1.301, allocations: 223.2 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7141/0.7141, allocations: 132.3 MB / 424.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003069/0.0003069, allocations: 8 kB / 0.5046 GB, free: 3.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4547/0.455, allocations: 81.58 MB / 0.5843 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02696/0.482, allocations: 27.71 MB / 0.6113 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01134/0.4934, allocations: 7.873 MB / 0.619 GB, free: 9.258 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001612/0.4951, allocations: 31 kB / 0.6191 GB, free: 9.246 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.4962, allocations: 326 kB / 0.6194 GB, free: 8.973 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002948/0.4992, allocations: 0.9366 MB / 0.6203 GB, free: 8.215 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002763/0.5019, allocations: 0.9296 MB / 0.6212 GB, free: 7.523 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006926/0.5089, allocations: 6.085 MB / 0.6271 GB, free: 4.156 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002573/0.5115, allocations: 1.797 MB / 0.6289 GB, free: 2.625 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003011/0.5145, allocations: 1.338 MB / 0.6302 GB, free: 1.281 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001958/0.5165, allocations: 1.295 MB / 0.6315 GB, free: 15.98 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.5167, allocations: 80 kB / 0.6315 GB, free: 15.9 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002412/0.5191, allocations: 1.131 MB / 0.6326 GB, free: 14.77 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003681/0.5195, allocations: 378.4 kB / 0.633 GB, free: 14.4 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.5208, allocations: 0.9733 MB / 0.634 GB, free: 13.41 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003651/0.5244, allocations: 2.864 MB / 0.6367 GB, free: 10.54 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.5245, allocations: 0 / 0.6367 GB, free: 10.54 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.5245, allocations: 3.938 kB / 0.6368 GB, free: 10.54 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.266e-05/0.5246, allocations: 4 kB / 0.6368 GB, free: 10.54 MB / 478.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.004547/0.5291, allocations: 2.129 MB / 0.6388 GB, free: 8.352 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.5292, allocations: 8.031 kB / 0.6388 GB, free: 8.344 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007097/0.5299, allocations: 238.5 kB / 0.6391 GB, free: 8.109 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002627/0.5325, allocations: 1.772 MB / 0.6408 GB, free: 6.281 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.408e-05/0.5326, allocations: 114.7 kB / 0.6409 GB, free: 6.168 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002358/0.5329, allocations: 152 kB / 0.6411 GB, free: 6.02 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002949/0.5358, allocations: 1.994 MB / 0.643 GB, free: 3.961 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.868e-05/0.5359, allocations: 8 kB / 0.643 GB, free: 3.953 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/0.536, allocations: 55.94 kB / 0.6431 GB, free: 3.898 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.477e-05/0.5361, allocations: 40 kB / 0.6431 GB, free: 3.859 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002554/0.5386, allocations: 1.794 MB / 0.6449 GB, free: 2.059 MB / 478.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.01068/0.5493, allocations: 7.621 MB / 0.6523 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/0.5511, allocations: 1.441 MB / 0.6537 GB, free: 8.672 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008304/0.5519, allocations: 0.669 MB / 0.6544 GB, free: 8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006443/0.5584, allocations: 3.834 MB / 0.6581 GB, free: 3.848 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.906e-05/0.5585, allocations: 51.5 kB / 0.6581 GB, free: 3.789 MB / 494.1 MB Notification: Performance of pre-optimization done (n=88): time 2.595e-06/0.5585, allocations: 0 / 0.6581 GB, free: 3.789 MB / 494.1 MB Notification: Performance of matching and sorting (n=88): time 0.002515/0.561, allocations: 1.514 MB / 0.6596 GB, free: 2.273 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.5611, allocations: 64.39 kB / 0.6597 GB, free: 2.199 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00226/0.5633, allocations: 1.598 MB / 0.6613 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.941e-05/0.5634, allocations: 53.7 kB / 0.6613 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006437/0.5641, allocations: 0.7575 MB / 0.662 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002798/0.5644, allocations: 311.6 kB / 0.6623 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.5646, allocations: 129.6 kB / 0.6625 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.5647, allocations: 373.8 kB / 0.6628 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009674/0.5657, allocations: 0.6831 MB / 0.6635 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.5669, allocations: 1.02 MB / 0.6645 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001941/0.5688, allocations: 1.62 MB / 0.6661 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.5688, allocations: 4 kB / 0.6661 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002959/0.5718, allocations: 1.955 MB / 0.668 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002437/0.5721, allocations: 353 kB / 0.6683 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/0.5721, allocations: 12 kB / 0.6683 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.983e-05/0.5721, allocations: 16 kB / 0.6683 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.5733, allocations: 335.5 kB / 0.6687 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.56e-05/0.5733, allocations: 23.92 kB / 0.6687 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.5747, allocations: 226 kB / 0.6689 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.5748, allocations: 63.92 kB / 0.669 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.5748, allocations: 6.344 kB / 0.669 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002403/0.5772, allocations: 1.788 MB / 0.6707 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.5773, allocations: 8 kB / 0.6707 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.5773, allocations: 24.11 kB / 0.6707 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.5784, allocations: 331.5 kB / 0.6711 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.936e-05/0.5784, allocations: 23.92 kB / 0.6711 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.5796, allocations: 190.5 kB / 0.6713 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.5797, allocations: 68.05 kB / 0.6713 GB, free: 5.852 MB / 0.4981 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.001088/0.5808, allocations: 0.7478 MB / 0.6721 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002978/0.5811, allocations: 150.1 kB / 0.6722 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001916/0.5831, allocations: 1.278 MB / 0.6734 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.5831, allocations: 8 kB / 0.6735 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.5831, allocations: 0 / 0.6735 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00138/0.5845, allocations: 1.296 MB / 0.6747 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004007/0.5885, allocations: 2.932 MB / 0.6776 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.5885, allocations: 0 / 0.6776 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000749/0.5893, allocations: 187.8 kB / 0.6778 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/0.5893, allocations: 4 kB / 0.6778 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.856e-05/0.5894, allocations: 23.98 kB / 0.6778 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.827e-06/0.5894, allocations: 7.984 kB / 0.6778 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.5894, allocations: 3.938 kB / 0.6778 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002378/0.5918, allocations: 1.921 MB / 0.6797 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006808/0.5925, allocations: 422.8 kB / 0.6801 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/0.5927, allocations: 20 kB / 0.6801 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008033/0.5935, allocations: 83.58 kB / 0.6802 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.889e-05/0.5936, allocations: 60.86 kB / 0.6802 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-05/0.5936, allocations: 35.98 kB / 0.6803 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001538/0.5952, allocations: 1.207 MB / 0.6815 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5952, allocations: 0 / 0.6815 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002188/0.5974, allocations: 0.9084 MB / 0.6823 GB, free: 10.33 MB / 0.5137 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.0007905/0.5982, allocations: 370 kB / 0.6827 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003355/0.6015, allocations: 2.317 MB / 0.685 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6016, allocations: 4.188 kB / 0.685 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006722/0.6022, allocations: 0.5209 MB / 0.6855 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004306/0.6066, allocations: 0.8601 MB / 0.6863 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006768/0.6133, allocations: 4.388 MB / 0.6906 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001392/0.6148, allocations: 1.634 MB / 0.6922 GB, free: 196 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005869/0.6154, allocations: 143.4 kB / 0.6923 GB, free: 52 kB / 0.5137 GB Notification: Performance of SimCode: time 1.393e-06/0.6154, allocations: 0 / 0.6923 GB, free: 52 kB / 0.5137 GB Notification: Performance of Templates: time 0.0511/0.6665, allocations: 32.07 MB / 0.7236 GB, free: 200 kB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile make -j1 -f IDEAS_IDEAS.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/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/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchangerCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchangerCalcHelperMain.o] Error 1