Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/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_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.Q_flow",fileNamePrefix="Buildings_9_Buildings.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.000909/0.0009088, 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.00166/0.001661, allocations: 177.2 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.587/1.587, allocations: 223.3 MB / 240.6 MB, free: 5.422 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.619/2.619, allocations: 390.5 MB / 0.6662 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003513, allocations: 8 kB / 0.8154 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9136/0.9139, allocations: 142.3 MB / 0.9544 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.06844/0.9824, allocations: 61.76 MB / 1.015 GB, free: 2.254 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02641/1.009, allocations: 15.72 MB / 1.03 GB, free: 2.5 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004819/1.014, allocations: 83.44 kB / 1.03 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.004082/1.018, allocations: 0.7998 MB / 1.031 GB, free: 1.613 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.008844/1.027, allocations: 2.109 MB / 1.033 GB, free: 15.49 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.007032/1.034, allocations: 1.78 MB / 1.035 GB, free: 13.73 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.009878/1.044, allocations: 5.975 MB / 1.041 GB, free: 7.738 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003782/1.048, allocations: 1.352 MB / 1.042 GB, free: 6.363 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004958/1.052, allocations: 1.668 MB / 1.044 GB, free: 4.688 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003675/1.056, allocations: 1.38 MB / 1.045 GB, free: 3.301 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0008032/1.057, allocations: 76 kB / 1.045 GB, free: 3.227 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005264/1.062, allocations: 1.446 MB / 1.046 GB, free: 1.777 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001248/1.064, allocations: 430.1 kB / 1.047 GB, free: 1.355 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001488/1.065, allocations: 436.6 kB / 1.047 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.005278/1.07, allocations: 2.653 MB / 1.05 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.044e-05/1.07, allocations: 0 / 1.05 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.767e-06/1.07, allocations: 0 / 1.05 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001749/1.071, allocations: 0 / 1.05 GB, free: 14.27 MB / 0.8106 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.006799/1.077, allocations: 2.321 MB / 1.052 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/1.077, allocations: 12.02 kB / 1.052 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002371/1.08, allocations: 476.9 kB / 1.052 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005235/1.085, allocations: 1.809 MB / 1.054 GB, free: 9.535 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003966/1.086, allocations: 162.4 kB / 1.054 GB, free: 9.375 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005323/1.086, allocations: 139.9 kB / 1.055 GB, free: 9.238 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004163/1.09, allocations: 1.483 MB / 1.056 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.915e-05/1.09, allocations: 0 / 1.056 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001894/1.091, allocations: 52 kB / 1.056 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.818e-05/1.091, allocations: 50.25 kB / 1.056 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003296/1.094, allocations: 1.243 MB / 1.057 GB, free: 6.32 MB / 0.8106 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.01167/1.106, allocations: 7.453 MB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002698/1.108, allocations: 1.398 MB / 1.066 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/1.11, allocations: 0.4906 MB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006754/1.116, allocations: 2.691 MB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001422/1.118, allocations: 0.5376 MB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001137/1.119, allocations: 87.33 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=64): time 8.746e-06/1.119, allocations: 0 / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of matching and sorting (n=64): time 0.003896/1.123, allocations: 1.385 MB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.801e-05/1.123, allocations: 111.4 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002828/1.126, allocations: 1.481 MB / 1.073 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001121/1.126, allocations: 45.7 kB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009408/1.127, allocations: 0.8918 MB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002683/1.127, allocations: 232.8 kB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/1.127, allocations: 16 kB / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001595/1.127, allocations: 341.9 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/1.128, allocations: 405.8 kB / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/1.13, allocations: 0.7546 MB / 1.075 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/1.131, allocations: 0.5123 MB / 1.076 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/1.131, allocations: 4 kB / 1.076 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003132/1.134, allocations: 1.333 MB / 1.077 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003965/1.134, allocations: 408.5 kB / 1.077 GB, free: 440 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.407e-05/1.135, allocations: 8 kB / 1.077 GB, free: 432 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.974e-05/1.135, allocations: 16 kB / 1.077 GB, free: 416 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/1.136, allocations: 283.5 kB / 1.078 GB, free: 132 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-05/1.136, allocations: 19.94 kB / 1.078 GB, free: 112 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/1.137, allocations: 152.4 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/1.138, allocations: 51.98 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/1.138, allocations: 8 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00259/1.14, allocations: 1.169 MB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/1.14, allocations: 12.59 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.456e-05/1.14, allocations: 19.95 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/1.141, allocations: 271.6 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-05/1.141, allocations: 23.92 kB / 1.079 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/1.143, allocations: 144.4 kB / 1.079 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/1.143, allocations: 51.98 kB / 1.08 GB, free: 14.21 MB / 0.8419 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.001098/1.144, allocations: 500 kB / 1.08 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004549/1.145, allocations: 165.9 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003/1.148, allocations: 1.174 MB / 1.081 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.172e-05/1.148, allocations: 15.98 kB / 1.081 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/1.148, allocations: 4 kB / 1.081 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002005/1.15, allocations: 0.8745 MB / 1.082 GB, free: 11.46 MB / 0.8419 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.006307/1.156, allocations: 2.837 MB / 1.085 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/1.156, allocations: 0 / 1.085 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008348/1.157, allocations: 172 kB / 1.085 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002346/1.157, allocations: 40.77 kB / 1.085 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.016e-05/1.157, allocations: 27.98 kB / 1.085 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/1.159, allocations: 1.37 MB / 1.087 GB, free: 6.797 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/1.159, allocations: 8.062 kB / 1.087 GB, free: 6.789 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003796/1.162, allocations: 1.736 MB / 1.088 GB, free: 5.008 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/1.163, allocations: 370.6 kB / 1.089 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005559/1.164, allocations: 20 kB / 1.089 GB, free: 4.605 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/1.166, allocations: 147.8 kB / 1.089 GB, free: 4.461 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/1.166, allocations: 64.44 kB / 1.089 GB, free: 4.395 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/1.166, allocations: 31.97 kB / 1.089 GB, free: 4.363 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002383/1.168, allocations: 1.078 MB / 1.09 GB, free: 3.262 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.235e-06/1.168, allocations: 0 / 1.09 GB, free: 3.262 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003953/1.172, allocations: 0.9549 MB / 1.091 GB, free: 2.305 MB / 0.8419 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.001699/1.174, allocations: 498.5 kB / 1.091 GB, free: 1.816 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00408/1.178, allocations: 1.71 MB / 1.093 GB, free: 88 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.178, allocations: 0 / 1.093 GB, free: 88 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001366/1.179, allocations: 0.6042 MB / 1.094 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00452/1.184, allocations: 0.8533 MB / 1.094 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007524/1.192, allocations: 3.962 MB / 1.098 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001434/1.193, allocations: 1.388 MB / 1.1 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005345/1.194, allocations: 151.4 kB / 1.1 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of SimCode: time 8.31e-07/1.194, allocations: 0 / 1.1 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of Templates: time 0.06179/1.255, allocations: 34.95 MB / 1.134 GB, free: 6.309 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile make -j1 -f Buildings_9_Buildings.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 OMCppBuildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_uCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_uCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_uCalcHelperMain.o] Error 1