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.0008347/0.0008345, allocations: 102.7 kB / 15.71 MB, free: 460 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.0009212/0.0009212, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.409/1.409, allocations: 223.3 MB / 240.6 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7884/0.7884, allocations: 132.3 MB / 424 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.0003391, allocations: 8 kB / 0.504 GB, free: 4.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5518/0.5522, allocations: 81.58 MB / 0.5837 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03305/0.5853, allocations: 26.24 MB / 0.6093 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01345/0.5988, allocations: 7.376 MB / 0.6165 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001955/0.6008, allocations: 36.91 kB / 0.6165 GB, free: 10.94 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.6022, allocations: 288.5 kB / 0.6168 GB, free: 10.7 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003489/0.6057, allocations: 0.8116 MB / 0.6176 GB, free: 10.04 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003178/0.6089, allocations: 0.7775 MB / 0.6184 GB, free: 9.492 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.008762/0.6177, allocations: 5.257 MB / 0.6235 GB, free: 6.387 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003863/0.6216, allocations: 1.615 MB / 0.6251 GB, free: 5.492 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005048/0.6267, allocations: 1.31 MB / 0.6264 GB, free: 4.789 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003924/0.6307, allocations: 1.229 MB / 0.6276 GB, free: 3.555 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005532/0.6313, allocations: 80 kB / 0.6276 GB, free: 3.477 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004397/0.6357, allocations: 0.9866 MB / 0.6286 GB, free: 2.488 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007497/0.6365, allocations: 346.5 kB / 0.6289 GB, free: 2.148 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001401/0.6379, allocations: 432.7 kB / 0.6293 GB, free: 1.719 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004175/0.6421, allocations: 2.825 MB / 0.6321 GB, free: 14.89 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.6421, allocations: 3.938 kB / 0.6321 GB, free: 14.88 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.6421, allocations: 0 / 0.6321 GB, free: 14.88 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.154e-05/0.6422, allocations: 0 / 0.6321 GB, free: 14.88 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.004597/0.6468, allocations: 2.152 MB / 0.6342 GB, free: 12.68 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.6468, allocations: 12.03 kB / 0.6342 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007857/0.6476, allocations: 237.4 kB / 0.6344 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00315/0.6508, allocations: 1.726 MB / 0.6361 GB, free: 10.65 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.159e-05/0.6509, allocations: 114.7 kB / 0.6362 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002425/0.6511, allocations: 152 kB / 0.6364 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003383/0.6545, allocations: 1.986 MB / 0.6383 GB, free: 8.336 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.42e-05/0.6546, allocations: 0 / 0.6383 GB, free: 8.336 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/0.6547, allocations: 60 kB / 0.6384 GB, free: 8.277 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.954e-05/0.6548, allocations: 47.95 kB / 0.6384 GB, free: 8.23 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002831/0.6576, allocations: 1.786 MB / 0.6402 GB, free: 6.438 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.01161/0.6692, allocations: 7.621 MB / 0.6476 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.6712, allocations: 1.436 MB / 0.649 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008948/0.6721, allocations: 0.6563 MB / 0.6497 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006357/0.6784, allocations: 3.839 MB / 0.6534 GB, free: 8.238 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/0.6785, allocations: 43.56 kB / 0.6534 GB, free: 8.188 MB / 494.1 MB Notification: Performance of pre-optimization done (n=88): time 3.667e-06/0.6785, allocations: 0 / 0.6534 GB, free: 8.188 MB / 494.1 MB Notification: Performance of matching and sorting (n=88): time 0.002568/0.6811, allocations: 1.51 MB / 0.6549 GB, free: 6.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.6812, allocations: 60.41 kB / 0.655 GB, free: 6.609 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00225/0.6834, allocations: 1.594 MB / 0.6565 GB, free: 5.004 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.106e-05/0.6835, allocations: 45.7 kB / 0.6566 GB, free: 4.953 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006808/0.6842, allocations: 0.7614 MB / 0.6573 GB, free: 4.184 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003261/0.6846, allocations: 315.6 kB / 0.6576 GB, free: 3.871 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.058e-05/0.6846, allocations: 28 kB / 0.6576 GB, free: 3.844 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.6848, allocations: 361.9 kB / 0.658 GB, free: 3.484 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.6859, allocations: 0.6792 MB / 0.6587 GB, free: 2.805 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/0.6871, allocations: 1.012 MB / 0.6596 GB, free: 1.664 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.6884, allocations: 0.8728 MB / 0.6605 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.6884, allocations: 0 / 0.6605 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003064/0.6915, allocations: 1.943 MB / 0.6624 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002726/0.6917, allocations: 366.7 kB / 0.6627 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.6918, allocations: 8 kB / 0.6628 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.15e-05/0.6918, allocations: 16 kB / 0.6628 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.693, allocations: 331.5 kB / 0.6631 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.517e-05/0.693, allocations: 19.92 kB / 0.6631 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.6943, allocations: 226 kB / 0.6633 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.6945, allocations: 59.98 kB / 0.6634 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.6945, allocations: 4 kB / 0.6634 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002544/0.697, allocations: 1.788 MB / 0.6651 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.6971, allocations: 11.94 kB / 0.6651 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.6971, allocations: 16 kB / 0.6652 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.6982, allocations: 335.5 kB / 0.6655 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.003e-05/0.6982, allocations: 19.94 kB / 0.6655 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.6994, allocations: 190.7 kB / 0.6657 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.6995, allocations: 59.98 kB / 0.6657 GB, free: 11.29 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001293/0.7008, allocations: 0.7541 MB / 0.6665 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003535/0.7012, allocations: 154.1 kB / 0.6666 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002047/0.7033, allocations: 1.275 MB / 0.6679 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.7033, allocations: 8 kB / 0.6679 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.7033, allocations: 0 / 0.6679 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001512/0.7048, allocations: 1.292 MB / 0.6691 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004443/0.7093, allocations: 2.928 MB / 0.672 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.7093, allocations: 4 kB / 0.672 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007533/0.7101, allocations: 187.8 kB / 0.6722 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.7101, allocations: 4 kB / 0.6722 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.036e-05/0.7101, allocations: 23.98 kB / 0.6722 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.7102, allocations: 8.125 kB / 0.6722 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.7102, allocations: 0 / 0.6722 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002571/0.7127, allocations: 1.913 MB / 0.6741 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000773/0.7135, allocations: 422.8 kB / 0.6745 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/0.7137, allocations: 24 kB / 0.6745 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007517/0.7145, allocations: 74.44 kB / 0.6746 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.55e-05/0.7146, allocations: 60.92 kB / 0.6746 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.409e-05/0.7147, allocations: 31.98 kB / 0.6747 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001672/0.7163, allocations: 1.195 MB / 0.6758 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7164, allocations: 7.938 kB / 0.6758 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002446/0.7188, allocations: 0.9084 MB / 0.6767 GB, free: 15.8 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 (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.0007781/0.7196, allocations: 346.5 kB / 0.6771 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003468/0.7231, allocations: 2.313 MB / 0.6793 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.7231, allocations: 0 / 0.6793 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006839/0.7238, allocations: 0.517 MB / 0.6798 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003366/0.7271, allocations: 0.8684 MB / 0.6807 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005887/0.7331, allocations: 4.351 MB / 0.6849 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/0.7342, allocations: 1.634 MB / 0.6865 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005564/0.7348, allocations: 143.4 kB / 0.6866 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of SimCode: time 1.452e-06/0.7348, allocations: 4 kB / 0.6866 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of Templates: time 0.05025/0.785, allocations: 32.03 MB / 0.7179 GB, free: 5.758 MB / 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++ 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 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