Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_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.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00079/0.00079, allocations: 96.14 kB / 16.03 MB, free: 68 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.0008297/0.0008298, allocations: 185.5 kB / 16.92 MB, free: 6.691 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.297/1.297, allocations: 223.2 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7488/0.7488, allocations: 132.3 MB / 424.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003228, allocations: 12 kB / 0.5046 GB, free: 3.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4621/0.4624, allocations: 81.57 MB / 0.5843 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05776/0.5202, allocations: 51.87 MB / 0.6349 GB, free: 12.31 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02499/0.5453, allocations: 15.1 MB / 0.6497 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004459/0.5498, allocations: 75.5 kB / 0.6498 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003898/0.5537, allocations: 0.9406 MB / 0.6507 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00857/0.5623, allocations: 2.166 MB / 0.6528 GB, free: 10.11 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006717/0.5691, allocations: 2.019 MB / 0.6548 GB, free: 8.117 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.009745/0.5788, allocations: 5.995 MB / 0.6606 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003181/0.5821, allocations: 1.354 MB / 0.6619 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004546/0.5866, allocations: 1.614 MB / 0.6635 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002836/0.5895, allocations: 1.299 MB / 0.6648 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003008/0.5898, allocations: 68 kB / 0.6648 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004264/0.5941, allocations: 1.711 MB / 0.6665 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006178/0.5947, allocations: 426.1 kB / 0.6669 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00151/0.5963, allocations: 0.9261 MB / 0.6678 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003736/0.6, allocations: 2.428 MB / 0.6702 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6, allocations: 0 / 0.6702 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6, allocations: 0 / 0.6702 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.875e-05/0.6001, allocations: 0 / 0.6702 GB, free: 8.227 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.004264/0.6043, allocations: 2.183 MB / 0.6723 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.6044, allocations: 8.031 kB / 0.6723 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00217/0.6066, allocations: 485.5 kB / 0.6728 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003389/0.61, allocations: 1.655 MB / 0.6744 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003854/0.6104, allocations: 154.4 kB / 0.6746 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001954/0.6106, allocations: 124 kB / 0.6747 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002709/0.6133, allocations: 1.369 MB / 0.676 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.492e-05/0.6133, allocations: 11.92 kB / 0.676 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.6135, allocations: 48 kB / 0.6761 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.725e-05/0.6135, allocations: 42.02 kB / 0.6761 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002763/0.6163, allocations: 1.136 MB / 0.6772 GB, free: 0.8047 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.01017/0.6265, allocations: 6.994 MB / 0.6841 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002647/0.6291, allocations: 1.433 MB / 0.6855 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.6302, allocations: 443.4 kB / 0.6859 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005794/0.636, allocations: 3.126 MB / 0.6889 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001085/0.6371, allocations: 466.8 kB / 0.6894 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00062/0.6377, allocations: 75.34 kB / 0.6895 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.685e-06/0.6378, allocations: 8 kB / 0.6895 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.003121/0.6409, allocations: 1.272 MB / 0.6907 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.6409, allocations: 63.97 kB / 0.6908 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/0.6431, allocations: 1.513 MB / 0.6922 GB, free: 396 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.077e-05/0.6432, allocations: 41.7 kB / 0.6923 GB, free: 348 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008426/0.6441, allocations: 0.8839 MB / 0.6931 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002368/0.6443, allocations: 224.8 kB / 0.6934 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.6445, allocations: 85.67 kB / 0.6934 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.6446, allocations: 341.9 kB / 0.6938 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009485/0.6456, allocations: 401.8 kB / 0.6941 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.6468, allocations: 0.7749 MB / 0.6949 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002116/0.649, allocations: 1.16 MB / 0.696 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.649, allocations: 4 kB / 0.696 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002877/0.6519, allocations: 1.329 MB / 0.6973 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003349/0.6522, allocations: 450 kB / 0.6978 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/0.6522, allocations: 12 kB / 0.6978 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.308e-05/0.6523, allocations: 20 kB / 0.6978 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009783/0.6533, allocations: 271.6 kB / 0.6981 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-05/0.6533, allocations: 19.94 kB / 0.6981 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.6546, allocations: 128.5 kB / 0.6982 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-05/0.6547, allocations: 55.97 kB / 0.6983 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/0.6547, allocations: 4 kB / 0.6983 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002373/0.6571, allocations: 1.138 MB / 0.6994 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.6571, allocations: 20.02 kB / 0.6994 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.6572, allocations: 16 kB / 0.6994 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009265/0.6581, allocations: 263.6 kB / 0.6997 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-05/0.6581, allocations: 19.94 kB / 0.6997 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.6593, allocations: 128.4 kB / 0.6998 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-05/0.6594, 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.0009268/0.6604, allocations: 480.7 kB / 0.7003 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002307/0.6606, allocations: 165.9 kB / 0.7005 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002592/0.6632, allocations: 1.15 MB / 0.7016 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/0.6632, allocations: 8 kB / 0.7016 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.6632, allocations: 0 / 0.7016 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001948/0.6652, allocations: 1.006 MB / 0.7026 GB, free: 5.199 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.004564/0.6698, allocations: 2.452 MB / 0.705 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.6698, allocations: 0 / 0.705 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007296/0.6705, allocations: 163.8 kB / 0.7051 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001741/0.6707, allocations: 32.84 kB / 0.7052 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-05/0.6708, allocations: 19.98 kB / 0.7052 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/0.6718, allocations: 1.319 MB / 0.7065 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6718, allocations: 0 / 0.7065 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003202/0.675, allocations: 1.608 MB / 0.708 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006257/0.6757, allocations: 346.6 kB / 0.7084 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/0.6759, allocations: 16 kB / 0.7084 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009336/0.6768, allocations: 119.7 kB / 0.7085 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.677, allocations: 56.42 kB / 0.7085 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.242e-05/0.677, allocations: 31.97 kB / 0.7086 GB, free: 14.79 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001576/0.6786, allocations: 1.077 MB / 0.7096 GB, free: 13.69 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.573e-06/0.6786, allocations: 0 / 0.7096 GB, free: 13.69 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002538/0.6812, allocations: 0.8692 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,coo.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.001752/0.6829, allocations: 0.7102 MB / 0.7112 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003604/0.6866, allocations: 1.645 MB / 0.7128 GB, free: 10.61 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.6866, allocations: 4.062 kB / 0.7128 GB, free: 10.61 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.6878, allocations: 0.5604 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.003704/0.6915, allocations: 0.7217 MB / 0.714 GB, free: 9.324 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006037/0.6975, allocations: 3.866 MB / 0.7178 GB, free: 5.414 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/0.6986, allocations: 1.36 MB / 0.7191 GB, free: 4.027 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004925/0.6991, allocations: 147.4 kB / 0.7193 GB, free: 3.883 MB / 0.545 GB Notification: Performance of SimCode: time 8.81e-07/0.6991, allocations: 0 / 0.7193 GB, free: 3.883 MB / 0.545 GB Notification: Performance of Templates: time 0.05116/0.7502, allocations: 32.68 MB / 0.7512 GB, free: 3.469 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_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.WaterCooler_TCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_TCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_TCalcHelperMain.o] Error 1