Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.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_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, 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.00127/0.00127, allocations: 178.8 kB / 16.58 MB, free: 6.422 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.445/1.445, allocations: 223.3 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8068/0.8068, allocations: 132.3 MB / 424 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003685, allocations: 12 kB / 0.504 GB, free: 4.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.569/0.5694, allocations: 81.58 MB / 0.5837 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.07111/0.6406, allocations: 61.71 MB / 0.6439 GB, free: 2.723 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02486/0.6655, allocations: 15.71 MB / 0.6593 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004347/0.6699, allocations: 79.5 kB / 0.6593 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002882/0.6728, allocations: 0.7881 MB / 0.6601 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007467/0.6803, allocations: 2.113 MB / 0.6622 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00578/0.6861, allocations: 1.771 MB / 0.6639 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008742/0.6948, allocations: 5.959 MB / 0.6697 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002432/0.6973, allocations: 1.364 MB / 0.6711 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003713/0.701, allocations: 1.676 MB / 0.6727 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001834/0.7028, allocations: 1.373 MB / 0.674 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001787/0.703, allocations: 80 kB / 0.6741 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003865/0.7069, allocations: 1.442 MB / 0.6755 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005498/0.7075, allocations: 434.1 kB / 0.6759 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006893/0.7082, allocations: 440.6 kB / 0.6764 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003434/0.7116, allocations: 2.65 MB / 0.6789 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.7116, allocations: 0 / 0.6789 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.625e-06/0.7117, allocations: 0 / 0.6789 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.639e-05/0.7117, allocations: 0 / 0.6789 GB, free: 14.77 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 310 * Number of variables: 310 Notification: Performance of Generate backend data structure: time 0.004434/0.7161, allocations: 2.333 MB / 0.6812 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.7162, allocations: 8.031 kB / 0.6812 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/0.7174, allocations: 385 kB / 0.6816 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003307/0.7208, allocations: 1.731 MB / 0.6833 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003653/0.7211, allocations: 166.4 kB / 0.6834 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/0.7214, allocations: 131.9 kB / 0.6836 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002762/0.7241, allocations: 1.446 MB / 0.685 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.254e-05/0.7242, allocations: 4 kB / 0.685 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/0.7243, allocations: 55.98 kB / 0.685 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.006e-05/0.7244, allocations: 50.3 kB / 0.6851 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002436/0.7268, allocations: 1.137 MB / 0.6862 GB, free: 7.121 MB / 0.5137 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.0103/0.7371, allocations: 7.389 MB / 0.6934 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002251/0.7394, allocations: 1.368 MB / 0.6948 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009129/0.7403, allocations: 470.6 kB / 0.6952 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004419/0.7448, allocations: 2.616 MB / 0.6978 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009935/0.7458, allocations: 0.4986 MB / 0.6982 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005055/0.7463, allocations: 95.19 kB / 0.6983 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=64): time 2.775e-06/0.7463, allocations: 0 / 0.6983 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of matching and sorting (n=64): time 0.002748/0.7491, allocations: 1.28 MB / 0.6996 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/0.7492, allocations: 127.2 kB / 0.6997 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/0.751, allocations: 1.481 MB / 0.7012 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.365e-05/0.7511, allocations: 41.7 kB / 0.7012 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007071/0.7518, allocations: 0.888 MB / 0.7021 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.752, allocations: 232.7 kB / 0.7023 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.7521, allocations: 20 kB / 0.7023 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.7522, allocations: 341.9 kB / 0.7026 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007702/0.753, allocations: 377.8 kB / 0.703 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009979/0.754, allocations: 0.7273 MB / 0.7037 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008876/0.7549, allocations: 488.6 kB / 0.7042 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.7549, allocations: 4 kB / 0.7042 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002261/0.7572, allocations: 1.27 MB / 0.7054 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002611/0.7574, allocations: 408.7 kB / 0.7058 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.7575, allocations: 15.95 kB / 0.7058 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.7575, allocations: 16 kB / 0.7058 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009281/0.7584, allocations: 263.6 kB / 0.7061 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.026e-05/0.7585, allocations: 19.92 kB / 0.7061 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.7597, allocations: 140.4 kB / 0.7062 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.692e-05/0.7598, allocations: 47.98 kB / 0.7063 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.69e-06/0.7598, allocations: 4 kB / 0.7063 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001983/0.7618, allocations: 1.11 MB / 0.7074 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.7618, allocations: 12 kB / 0.7074 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.7619, allocations: 20.59 kB / 0.7074 GB, free: 80 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008768/0.7627, allocations: 259.6 kB / 0.7076 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.7628, allocations: 27.92 kB / 0.7077 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.7639, allocations: 128.5 kB / 0.7078 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-05/0.764, allocations: 51.98 kB / 0.7078 GB, free: 15.62 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008812/0.7649, allocations: 0.4959 MB / 0.7083 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.7651, allocations: 169.8 kB / 0.7085 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002298/0.7674, allocations: 1.107 MB / 0.7096 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.7674, allocations: 12 kB / 0.7096 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.7675, allocations: 0 / 0.7096 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001618/0.7691, allocations: 0.816 MB / 0.7104 GB, free: 12.99 MB / 0.545 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.00443/0.7735, allocations: 2.72 MB / 0.713 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.966e-06/0.7736, allocations: 4 kB / 0.713 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007002/0.7743, allocations: 164 kB / 0.7132 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001904/0.7745, allocations: 36.83 kB / 0.7132 GB, free: 9.984 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.328e-05/0.7745, allocations: 19.98 kB / 0.7132 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.7756, allocations: 1.382 MB / 0.7146 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.7756, allocations: 7.938 kB / 0.7146 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003/0.7786, allocations: 1.631 MB / 0.7162 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000705/0.7794, allocations: 378.5 kB / 0.7166 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000237/0.7796, allocations: 23.89 kB / 0.7166 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.7806, allocations: 127.9 kB / 0.7167 GB, free: 6.227 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.7808, allocations: 56.48 kB / 0.7168 GB, free: 6.172 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.085e-05/0.7808, allocations: 31.97 kB / 0.7168 GB, free: 6.141 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001556/0.7824, allocations: 1.07 MB / 0.7178 GB, free: 5.047 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7824, allocations: 0 / 0.7178 GB, free: 5.047 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002657/0.7851, allocations: 0.9549 MB / 0.7188 GB, free: 4.09 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U) * 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 (75): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001071/0.7861, allocations: 496.5 kB / 0.7192 GB, free: 3.605 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003151/0.7893, allocations: 1.617 MB / 0.7208 GB, free: 1.969 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.7893, allocations: 4.125 kB / 0.7208 GB, free: 1.965 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.7904, allocations: 0.5684 MB / 0.7214 GB, free: 1.383 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003428/0.7939, allocations: 0.8617 MB / 0.7222 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00566/0.7995, allocations: 3.923 MB / 0.7261 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009138/0.8005, allocations: 1.388 MB / 0.7274 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00044/0.8009, allocations: 159.3 kB / 0.7276 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of SimCode: time 1.352e-06/0.8009, allocations: 0 / 0.7276 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of Templates: time 0.05096/0.8519, allocations: 34.75 MB / 0.7615 GB, free: 8.516 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.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.HeatExchangers.Examples.WaterHeater_uCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_uCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_uCalcHelperMain.o] Error 1