Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001126/0.001126, 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.00171/0.00171, allocations: 175.7 kB / 16.58 MB, free: 6.879 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.555/1.555, allocations: 223.3 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.061/1.061, allocations: 135.3 MB / 427 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.000361, allocations: 8 kB / 0.5076 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2222, allocations: 82.31 MB / 0.588 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.4207/0.643, allocations: 26.22 MB / 0.6136 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01112/0.6542, allocations: 7.383 MB / 0.6208 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00198/0.6562, allocations: 30.88 kB / 0.6208 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.6573, allocations: 282.6 kB / 0.6211 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002704/0.66, allocations: 0.8139 MB / 0.6219 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002777/0.6628, allocations: 0.7813 MB / 0.6227 GB, free: 33.97 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005041/0.6679, allocations: 5.247 MB / 0.6278 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002379/0.6703, allocations: 1.617 MB / 0.6294 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002918/0.6732, allocations: 1.311 MB / 0.6307 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002334/0.6756, allocations: 1.231 MB / 0.6319 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002647/0.6758, allocations: 80.94 kB / 0.6319 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002771/0.6786, allocations: 0.9903 MB / 0.6329 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004196/0.6791, allocations: 350.8 kB / 0.6332 GB, free: 30.27 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007786/0.6798, allocations: 426.1 kB / 0.6336 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003097/0.683, allocations: 2.821 MB / 0.6364 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.683, allocations: 2.844 kB / 0.6364 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.075e-06/0.683, allocations: 4 kB / 0.6364 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.054e-05/0.6831, allocations: 0 / 0.6364 GB, free: 29.55 MB / 0.4981 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.004459/0.6875, allocations: 2.147 MB / 0.6385 GB, free: 28.36 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.6876, allocations: 13.66 kB / 0.6385 GB, free: 28.36 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000907/0.6885, allocations: 235.2 kB / 0.6387 GB, free: 28.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002932/0.6914, allocations: 1.727 MB / 0.6404 GB, free: 27.39 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.13e-05/0.6915, allocations: 117.9 kB / 0.6405 GB, free: 27.33 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002305/0.6918, allocations: 147.8 kB / 0.6407 GB, free: 27.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003167/0.695, allocations: 1.978 MB / 0.6426 GB, free: 26.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.418e-05/0.695, allocations: 12.16 kB / 0.6426 GB, free: 26.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/0.6952, allocations: 59.22 kB / 0.6427 GB, free: 26.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-05/0.6952, allocations: 35.84 kB / 0.6427 GB, free: 26.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002619/0.6978, allocations: 1.786 MB / 0.6445 GB, free: 25.85 MB / 0.4981 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.01368/0.7115, allocations: 7.627 MB / 0.6519 GB, free: 21.47 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002315/0.7139, allocations: 1.438 MB / 0.6533 GB, free: 20.88 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.715, allocations: 0.6588 MB / 0.6539 GB, free: 20.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007455/0.7224, allocations: 3.841 MB / 0.6577 GB, free: 18.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/0.7225, allocations: 45.2 kB / 0.6577 GB, free: 18.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 3.035e-06/0.7225, allocations: 0 / 0.6577 GB, free: 18.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.003078/0.7256, allocations: 1.501 MB / 0.6592 GB, free: 17.53 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.7257, allocations: 70.08 kB / 0.6593 GB, free: 17.46 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002803/0.7285, allocations: 1.59 MB / 0.6608 GB, free: 16.87 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001521/0.7287, allocations: 46.98 kB / 0.6609 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007791/0.7295, allocations: 0.7637 MB / 0.6616 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004193/0.7299, allocations: 312.4 kB / 0.6619 GB, free: 16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.525e-05/0.73, allocations: 29.84 kB / 0.6619 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.7301, allocations: 364.5 kB / 0.6623 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.7315, allocations: 0.6784 MB / 0.663 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001609/0.7331, allocations: 1.01 MB / 0.6639 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.7346, allocations: 0.8686 MB / 0.6648 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/0.7347, allocations: 2.656 kB / 0.6648 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003639/0.7383, allocations: 1.944 MB / 0.6667 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002105/0.7385, allocations: 357.3 kB / 0.667 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.7386, allocations: 8.719 kB / 0.667 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.184e-05/0.7386, allocations: 21.27 kB / 0.6671 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.7399, allocations: 334.6 kB / 0.6674 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.242e-05/0.74, allocations: 26.64 kB / 0.6674 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/0.7416, allocations: 218.1 kB / 0.6676 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/0.7418, allocations: 61.59 kB / 0.6677 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.7418, allocations: 7.438 kB / 0.6677 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002989/0.7448, allocations: 1.782 MB / 0.6694 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.7448, allocations: 9.062 kB / 0.6694 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.7449, allocations: 25.42 kB / 0.6695 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.7461, allocations: 334.8 kB / 0.6698 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.6e-05/0.7461, allocations: 21.61 kB / 0.6698 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.7476, allocations: 190.1 kB / 0.67 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.7478, allocations: 56.52 kB / 0.67 GB, free: 12.34 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.001475/0.7492, allocations: 0.7523 MB / 0.6708 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005288/0.7498, allocations: 149.6 kB / 0.6709 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002558/0.7523, allocations: 1.29 MB / 0.6722 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/0.7524, allocations: 9.125 kB / 0.6722 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.7524, allocations: 1.219 kB / 0.6722 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001659/0.7541, allocations: 1.28 MB / 0.6734 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005672/0.7597, allocations: 2.932 MB / 0.6763 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.7598, allocations: 1 kB / 0.6763 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008036/0.7606, allocations: 190 kB / 0.6765 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.059e-05/0.7606, allocations: 4.375 kB / 0.6765 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-05/0.7607, allocations: 21.58 kB / 0.6765 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/0.7607, allocations: 6.562 kB / 0.6765 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.7607, allocations: 1.156 kB / 0.6765 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003047/0.7638, allocations: 1.911 MB / 0.6784 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/0.7649, allocations: 425.2 kB / 0.6788 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005384/0.7654, allocations: 31.14 kB / 0.6788 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.7667, allocations: 78.2 kB / 0.6789 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.7668, allocations: 54.33 kB / 0.6789 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-05/0.7669, allocations: 38.55 kB / 0.679 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002392/0.7693, allocations: 1.188 MB / 0.6801 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7693, allocations: 0 / 0.6801 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004352/0.7736, allocations: 0.908 MB / 0.681 GB, free: 7.059 MB / 0.4981 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.001011/0.7747, allocations: 351.3 kB / 0.6813 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004482/0.7792, allocations: 2.307 MB / 0.6836 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.7792, allocations: 1.375 kB / 0.6836 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00093/0.7801, allocations: 0.5244 MB / 0.6841 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005242/0.7854, allocations: 0.8643 MB / 0.685 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009592/0.795, allocations: 4.346 MB / 0.6892 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002382/0.7975, allocations: 1.644 MB / 0.6908 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00104/0.7985, allocations: 140.2 kB / 0.6909 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of SimCode: time 1.903e-06/0.7986, allocations: 0 / 0.6909 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of Templates: time 0.06135/0.8599, allocations: 32.03 MB / 0.7222 GB, free: 1.684 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile make -j1 -f IDEAS_dev_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_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchangerCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchangerCalcHelperMain.o] Error 1