Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.TSet|hea.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.TSet|hea.Q_flow",fileNamePrefix="Buildings_9_Buildings.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.001044/0.001044, allocations: 102.8 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.001927/0.001926, allocations: 176.3 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.6/1.6, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.585/2.585, allocations: 390.4 MB / 0.6662 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003559, allocations: 8 kB / 0.8154 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9183/0.9187, allocations: 142.3 MB / 0.9544 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.05216/0.9709, allocations: 49.09 MB / 1.002 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02467/0.9956, allocations: 14.23 MB / 1.016 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004024/0.9997, allocations: 75.5 kB / 1.016 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003301/1.003, allocations: 0.7662 MB / 1.017 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007011/1.01, allocations: 1.895 MB / 1.019 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.006261/1.016, allocations: 1.732 MB / 1.021 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.008649/1.025, allocations: 5.136 MB / 1.026 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002945/1.028, allocations: 1.229 MB / 1.027 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004293/1.032, allocations: 1.54 MB / 1.028 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002742/1.035, allocations: 1.256 MB / 1.03 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003785/1.035, allocations: 68 kB / 1.03 GB, free: 2.922 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004088/1.04, allocations: 1.396 MB / 1.031 GB, free: 1.523 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0006724/1.04, allocations: 410.3 kB / 1.031 GB, free: 1.121 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0009575/1.041, allocations: 408.6 kB / 1.032 GB, free: 0.7148 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004413/1.046, allocations: 2.408 MB / 1.034 GB, free: 14.3 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.046, allocations: 3.938 kB / 1.034 GB, free: 14.3 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.154e-06/1.046, allocations: 0 / 1.034 GB, free: 14.3 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.01e-05/1.046, allocations: 0 / 1.034 GB, free: 14.3 MB / 0.795 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.004583/1.05, allocations: 2.198 MB / 1.036 GB, free: 12.03 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/1.05, allocations: 12.03 kB / 1.036 GB, free: 12.02 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002556/1.053, allocations: 0.5594 MB / 1.037 GB, free: 11.46 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004086/1.057, allocations: 1.653 MB / 1.038 GB, free: 9.754 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003345/1.057, allocations: 150.4 kB / 1.039 GB, free: 9.605 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002521/1.058, allocations: 124 kB / 1.039 GB, free: 9.484 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002877/1.061, allocations: 1.404 MB / 1.04 GB, free: 7.988 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/1.061, allocations: 8 kB / 1.04 GB, free: 7.98 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/1.061, allocations: 44 kB / 1.04 GB, free: 7.938 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.257e-05/1.061, allocations: 46.02 kB / 1.04 GB, free: 7.891 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003127/1.064, allocations: 1.238 MB / 1.041 GB, free: 6.645 MB / 0.795 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.01056/1.075, allocations: 7.089 MB / 1.048 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002694/1.077, allocations: 1.467 MB / 1.05 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/1.078, allocations: 474.8 kB / 1.05 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005453/1.084, allocations: 3.189 MB / 1.053 GB, free: 9.445 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001165/1.085, allocations: 498.9 kB / 1.054 GB, free: 8.949 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005428/1.086, allocations: 83.34 kB / 1.054 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=61): time 2.625e-06/1.086, allocations: 3.938 kB / 1.054 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of matching and sorting (n=61): time 0.003663/1.089, allocations: 1.385 MB / 1.055 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/1.089, allocations: 55.97 kB / 1.055 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002406/1.092, allocations: 1.549 MB / 1.057 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.318e-05/1.092, allocations: 45.7 kB / 1.057 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008376/1.093, allocations: 0.8763 MB / 1.058 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002199/1.093, allocations: 216.9 kB / 1.058 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/1.093, allocations: 20 kB / 1.058 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.093, allocations: 345.9 kB / 1.058 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009979/1.094, allocations: 409.7 kB / 1.059 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/1.095, allocations: 0.7944 MB / 1.059 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/1.096, allocations: 0.5123 MB / 1.06 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.565e-06/1.096, allocations: 4 kB / 1.06 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002995/1.099, allocations: 1.36 MB / 1.061 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003311/1.1, allocations: 432.9 kB / 1.062 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/1.1, allocations: 12 kB / 1.062 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.994e-05/1.1, allocations: 16 kB / 1.062 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/1.101, allocations: 283.6 kB / 1.062 GB, free: 168 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-05/1.101, allocations: 27.89 kB / 1.062 GB, free: 140 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/1.102, allocations: 153.5 kB / 1.062 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/1.103, allocations: 55.92 kB / 1.062 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/1.103, allocations: 4 kB / 1.062 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002622/1.105, allocations: 1.192 MB / 1.063 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/1.105, allocations: 12 kB / 1.063 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/1.105, allocations: 16 kB / 1.063 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/1.106, allocations: 279.8 kB / 1.064 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.308e-05/1.106, allocations: 19.94 kB / 1.064 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/1.108, allocations: 148.4 kB / 1.064 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.933e-05/1.108, allocations: 51.98 kB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (120): * Single equations (assignments): 118 * 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.0009547/1.109, allocations: 484.6 kB / 1.064 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002804/1.109, allocations: 161.9 kB / 1.064 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002942/1.112, allocations: 1.237 MB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.992e-05/1.112, allocations: 8 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/1.112, allocations: 3.938 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002253/1.114, allocations: 1.072 MB / 1.067 GB, free: 11.19 MB / 0.8262 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.005899/1.12, allocations: 2.57 MB / 1.069 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.12, allocations: 0 / 1.069 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007922/1.121, allocations: 163.9 kB / 1.069 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001947/1.121, allocations: 32.83 kB / 1.069 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.636e-05/1.122, allocations: 31.97 kB / 1.069 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/1.123, allocations: 1.367 MB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.123, allocations: 3.938 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003798/1.127, allocations: 1.717 MB / 1.072 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007877/1.127, allocations: 362.6 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002273/1.128, allocations: 12 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/1.129, allocations: 131.8 kB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/1.129, allocations: 56.44 kB / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.069e-05/1.129, allocations: 35.97 kB / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001781/1.131, allocations: 1.097 MB / 1.074 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.91e-07/1.131, allocations: 0 / 1.074 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002953/1.134, allocations: 0.8927 MB / 1.075 GB, free: 2.445 MB / 0.8262 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 (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001787/1.135, allocations: 0.6868 MB / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004069/1.14, allocations: 1.73 MB / 1.077 GB, free: 144 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/1.14, allocations: 4 kB / 1.077 GB, free: 140 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001441/1.141, allocations: 0.5963 MB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003414/1.144, allocations: 0.7295 MB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007129/1.152, allocations: 3.85 MB / 1.082 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001522/1.153, allocations: 1.36 MB / 1.084 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008395/1.154, allocations: 147.4 kB / 1.084 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of SimCode: time 1.192e-06/1.154, allocations: 0 / 1.084 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of Templates: time 0.07417/1.228, allocations: 33.13 MB / 1.116 GB, free: 8.461 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.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 OMCppBuildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_TCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_TCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_TCalcHelperMain.o] Error 1