Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.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.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007632/0.0007633, allocations: 97.78 kB / 16.02 MB, free: 76 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.0008652/0.0008653, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.33/1.33, allocations: 223.2 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7857/0.7857, allocations: 132.3 MB / 424.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003424, allocations: 8 kB / 0.5046 GB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4843/0.4846, allocations: 81.58 MB / 0.5843 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.05744/0.5421, allocations: 51.86 MB / 0.6349 GB, free: 12.32 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02461/0.5668, allocations: 15.1 MB / 0.6497 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004576/0.5714, allocations: 79.5 kB / 0.6498 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003639/0.5751, allocations: 0.9367 MB / 0.6507 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007829/0.5829, allocations: 2.159 MB / 0.6528 GB, free: 10.11 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00617/0.5891, allocations: 2.019 MB / 0.6548 GB, free: 8.113 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.009403/0.5985, allocations: 5.999 MB / 0.6606 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002793/0.6014, allocations: 1.35 MB / 0.6619 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004297/0.6057, allocations: 1.618 MB / 0.6635 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003106/0.6088, allocations: 1.302 MB / 0.6648 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003364/0.6092, allocations: 64 kB / 0.6648 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004407/0.6136, allocations: 1.704 MB / 0.6665 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006014/0.6142, allocations: 426.1 kB / 0.6669 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001525/0.6158, allocations: 0.9378 MB / 0.6678 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004/0.6198, allocations: 2.435 MB / 0.6702 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.6198, allocations: 0 / 0.6702 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.853e-06/0.6198, allocations: 0 / 0.6702 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.719e-05/0.6198, allocations: 0 / 0.6702 GB, free: 8.207 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.004506/0.6243, allocations: 2.171 MB / 0.6723 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.6244, allocations: 8.031 kB / 0.6723 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002141/0.6265, allocations: 493.5 kB / 0.6728 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003223/0.6298, allocations: 1.647 MB / 0.6744 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003905/0.6302, allocations: 162.4 kB / 0.6746 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000201/0.6304, allocations: 116 kB / 0.6747 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002682/0.6331, allocations: 1.377 MB / 0.676 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.175e-05/0.6331, allocations: 3.938 kB / 0.676 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.6333, allocations: 48 kB / 0.6761 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.241e-05/0.6333, allocations: 42.02 kB / 0.6761 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002601/0.6359, allocations: 1.136 MB / 0.6772 GB, free: 0.7969 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.00938/0.6453, allocations: 6.987 MB / 0.684 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002531/0.6479, allocations: 1.441 MB / 0.6855 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009595/0.6488, allocations: 439.4 kB / 0.6859 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005185/0.654, allocations: 3.129 MB / 0.6889 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.6551, allocations: 462.9 kB / 0.6894 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005892/0.6557, allocations: 83.34 kB / 0.6894 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.946e-06/0.6557, allocations: 4 kB / 0.6895 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.003003/0.6587, allocations: 1.276 MB / 0.6907 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.6588, allocations: 55.97 kB / 0.6907 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001956/0.6607, allocations: 1.521 MB / 0.6922 GB, free: 384 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.964e-05/0.6608, allocations: 37.7 kB / 0.6923 GB, free: 340 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007417/0.6616, allocations: 0.8839 MB / 0.6931 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.6618, allocations: 220.8 kB / 0.6933 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.6619, allocations: 89.66 kB / 0.6934 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.662, allocations: 345.9 kB / 0.6938 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009155/0.663, allocations: 389.8 kB / 0.6941 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.6642, allocations: 0.7749 MB / 0.6949 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002171/0.6664, allocations: 1.164 MB / 0.696 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.808e-06/0.6664, allocations: 4.094 kB / 0.696 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002805/0.6692, allocations: 1.336 MB / 0.6973 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002573/0.6695, allocations: 450.1 kB / 0.6978 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.6695, allocations: 12 kB / 0.6978 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.845e-05/0.6695, allocations: 16 kB / 0.6978 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009788/0.6705, allocations: 271.6 kB / 0.698 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.534e-05/0.6706, allocations: 19.94 kB / 0.6981 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.6718, allocations: 127.2 kB / 0.6982 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.105e-05/0.6719, allocations: 51.98 kB / 0.6982 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.672, allocations: 4 kB / 0.6982 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002309/0.6743, allocations: 1.137 MB / 0.6994 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.6743, allocations: 15.94 kB / 0.6994 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.6743, allocations: 16 kB / 0.6994 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009138/0.6752, allocations: 264.1 kB / 0.6996 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.239e-05/0.6753, allocations: 23.92 kB / 0.6997 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.6766, allocations: 128.4 kB / 0.6998 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.743e-05/0.6767, allocations: 51.98 kB / 0.6998 GB, free: 8.07 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 119 * Array equations: 1 * Algorithm blocks: 1 * 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.0008968/0.6776, allocations: 484.7 kB / 0.7003 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.6778, allocations: 169.9 kB / 0.7005 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002557/0.6804, allocations: 1.157 MB / 0.7016 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.6804, allocations: 11.98 kB / 0.7016 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.6804, allocations: 0 / 0.7016 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001961/0.6824, allocations: 1.006 MB / 0.7026 GB, free: 5.184 MB / 0.5294 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 postOpt removeSimpleEquations (simulation): time 0.004684/0.6871, allocations: 2.444 MB / 0.705 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.6871, allocations: 0 / 0.705 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000706/0.6878, allocations: 159.8 kB / 0.7051 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001589/0.688, allocations: 24.84 kB / 0.7051 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.235e-05/0.688, allocations: 23.98 kB / 0.7052 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009841/0.689, allocations: 1.323 MB / 0.7065 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.689, allocations: 0 / 0.7065 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003287/0.6923, allocations: 1.612 MB / 0.708 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007577/0.6931, allocations: 346.6 kB / 0.7084 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/0.6933, allocations: 12 kB / 0.7084 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000976/0.6943, allocations: 127.7 kB / 0.7085 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.6945, allocations: 52.42 kB / 0.7085 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.765e-05/0.6945, allocations: 31.98 kB / 0.7086 GB, free: 14.78 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001607/0.6961, allocations: 1.077 MB / 0.7096 GB, free: 13.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6962, allocations: 0 / 0.7096 GB, free: 13.68 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00259/0.6988, allocations: 0.8615 MB / 0.7105 GB, free: 12.82 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001892/0.7007, allocations: 0.7085 MB / 0.7112 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00381/0.7045, allocations: 1.647 MB / 0.7128 GB, free: 10.61 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.7045, allocations: 0 / 0.7128 GB, free: 10.61 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001362/0.7059, allocations: 0.5657 MB / 0.7133 GB, free: 10.03 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004317/0.7102, allocations: 0.7197 MB / 0.714 GB, free: 9.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006786/0.717, allocations: 3.866 MB / 0.7178 GB, free: 5.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/0.7181, allocations: 1.36 MB / 0.7191 GB, free: 4.023 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005599/0.7186, allocations: 147.4 kB / 0.7193 GB, free: 3.879 MB / 0.545 GB Notification: Performance of SimCode: time 1.022e-06/0.7186, allocations: 0 / 0.7193 GB, free: 3.879 MB / 0.545 GB Notification: Performance of Templates: time 0.05236/0.771, allocations: 32.7 MB / 0.7512 GB, free: 3.449 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.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.HeatExchangers.Examples.WaterHeater_TCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_TCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_TCalcHelperMain.o] Error 1