Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/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.WaterCooler_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|coo.TSet|coo.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|coo.TSet|coo.Q_flow",fileNamePrefix="Buildings_9_Buildings.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.001024/0.001024, allocations: 101.4 kB / 15.71 MB, free: 456 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.001327/0.001327, allocations: 175.5 kB / 16.58 MB, free: 6.863 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.546/1.546, allocations: 223.2 MB / 240.6 MB, free: 5.438 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.632/2.632, allocations: 390.5 MB / 0.6662 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003866, allocations: 8 kB / 0.8154 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9368/0.9372, allocations: 142.3 MB / 0.9544 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05387/0.9912, allocations: 49.09 MB / 1.002 GB, free: 14.94 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02695/1.018, allocations: 14.24 MB / 1.016 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003889/1.022, allocations: 71.56 kB / 1.016 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003421/1.026, allocations: 0.7502 MB / 1.017 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006888/1.032, allocations: 1.897 MB / 1.019 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0059/1.038, allocations: 1.725 MB / 1.021 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.008876/1.047, allocations: 5.149 MB / 1.026 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002768/1.05, allocations: 1.222 MB / 1.027 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004049/1.054, allocations: 1.54 MB / 1.028 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002672/1.057, allocations: 1.26 MB / 1.03 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002777/1.057, allocations: 68 kB / 1.03 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003869/1.061, allocations: 1.396 MB / 1.031 GB, free: 1.547 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0006194/1.062, allocations: 414.2 kB / 1.031 GB, free: 1.141 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0008106/1.062, allocations: 404.6 kB / 1.032 GB, free: 0.7383 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003948/1.066, allocations: 2.412 MB / 1.034 GB, free: 14.32 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/1.066, allocations: 0 / 1.034 GB, free: 14.32 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.104e-06/1.066, allocations: 0 / 1.034 GB, free: 14.32 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.448e-05/1.067, allocations: 0 / 1.034 GB, free: 14.32 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.004743/1.071, allocations: 2.194 MB / 1.036 GB, free: 12.06 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/1.071, allocations: 12.03 kB / 1.036 GB, free: 12.05 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002625/1.074, allocations: 0.5634 MB / 1.037 GB, free: 11.48 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004016/1.078, allocations: 1.649 MB / 1.038 GB, free: 9.781 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003754/1.078, allocations: 162.4 kB / 1.039 GB, free: 9.621 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002003/1.079, allocations: 120 kB / 1.039 GB, free: 9.504 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002981/1.082, allocations: 1.398 MB / 1.04 GB, free: 8.016 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/1.082, allocations: 11.92 kB / 1.04 GB, free: 8.004 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/1.082, allocations: 48 kB / 1.04 GB, free: 7.957 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.439e-05/1.082, allocations: 38.08 kB / 1.04 GB, free: 7.918 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003067/1.085, allocations: 1.241 MB / 1.041 GB, free: 6.668 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.01028/1.095, allocations: 7.093 MB / 1.048 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002587/1.098, allocations: 1.454 MB / 1.05 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/1.099, allocations: 470.8 kB / 1.05 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00531/1.104, allocations: 3.186 MB / 1.053 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001181/1.105, allocations: 0.4911 MB / 1.054 GB, free: 8.984 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005623/1.106, allocations: 79.34 kB / 1.054 GB, free: 8.906 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=61): time 2.655e-06/1.106, allocations: 3.938 kB / 1.054 GB, free: 8.902 MB / 0.8106 GB Notification: Performance of matching and sorting (n=61): time 0.003542/1.11, allocations: 1.393 MB / 1.055 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/1.11, allocations: 55.97 kB / 1.055 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/1.112, allocations: 1.545 MB / 1.057 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.088e-05/1.112, allocations: 41.7 kB / 1.057 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008736/1.113, allocations: 0.884 MB / 1.058 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002373/1.113, allocations: 216.9 kB / 1.058 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.526e-05/1.113, allocations: 20 kB / 1.058 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001728/1.113, allocations: 345.9 kB / 1.058 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/1.114, allocations: 417.7 kB / 1.059 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00128/1.116, allocations: 0.7905 MB / 1.059 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/1.117, allocations: 0.5123 MB / 1.06 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/1.117, allocations: 4 kB / 1.06 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003003/1.12, allocations: 1.36 MB / 1.061 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003469/1.12, allocations: 433.4 kB / 1.062 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/1.12, allocations: 16 kB / 1.062 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.035e-05/1.12, allocations: 16 kB / 1.062 GB, free: 476 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/1.121, allocations: 287.5 kB / 1.062 GB, free: 188 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.539e-05/1.121, allocations: 23.89 kB / 1.062 GB, free: 164 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/1.123, allocations: 152.4 kB / 1.062 GB, free: 8 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/1.123, allocations: 60.05 kB / 1.062 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/1.123, allocations: 4 kB / 1.062 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00264/1.126, allocations: 1.184 MB / 1.063 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/1.126, allocations: 12 kB / 1.063 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-05/1.126, allocations: 20 kB / 1.063 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/1.127, allocations: 284.2 kB / 1.064 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.975e-05/1.127, allocations: 19.94 kB / 1.064 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/1.128, allocations: 144.4 kB / 1.064 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/1.129, allocations: 51.98 kB / 1.064 GB, free: 14.23 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.0009499/1.13, allocations: 480.6 kB / 1.064 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002515/1.13, allocations: 161.9 kB / 1.064 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002915/1.133, allocations: 1.245 MB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/1.133, allocations: 8 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/1.133, allocations: 3.938 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002206/1.135, allocations: 1.068 MB / 1.067 GB, free: 11.21 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.005525/1.14, allocations: 2.566 MB / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/1.141, allocations: 0 / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007965/1.141, allocations: 163.9 kB / 1.069 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000207/1.142, allocations: 40.78 kB / 1.069 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.438e-05/1.142, allocations: 23.97 kB / 1.069 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001526/1.143, allocations: 1.367 MB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/1.143, allocations: 7.938 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003872/1.147, allocations: 1.706 MB / 1.072 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/1.148, allocations: 362.6 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002715/1.148, allocations: 16 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/1.149, allocations: 131.8 kB / 1.073 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/1.15, allocations: 64.38 kB / 1.073 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.278e-05/1.15, allocations: 27.97 kB / 1.073 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001925/1.152, allocations: 1.097 MB / 1.074 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.71e-07/1.152, allocations: 0 / 1.074 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003192/1.155, allocations: 0.8927 MB / 1.075 GB, free: 2.477 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,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 (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.001886/1.157, allocations: 0.6936 MB / 1.076 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004117/1.161, allocations: 1.726 MB / 1.077 GB, free: 176 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.161, allocations: 0 / 1.077 GB, free: 176 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001468/1.162, allocations: 0.6034 MB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003694/1.166, allocations: 0.7325 MB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006835/1.173, allocations: 3.846 MB / 1.082 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/1.174, allocations: 1.353 MB / 1.084 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006803/1.175, allocations: 155.4 kB / 1.084 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of SimCode: time 1.853e-06/1.175, allocations: 0 / 1.084 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of Templates: time 0.05415/1.229, allocations: 33.15 MB / 1.116 GB, free: 8.469 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_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.WaterCooler_TCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_TCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_TCalcHelperMain.o] Error 1