Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 102.6 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.00126/0.00126, allocations: 174.6 kB / 16.58 MB, free: 6.027 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.509/1.509, allocations: 223.3 MB / 240.6 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.904/2.904, allocations: 436.7 MB / 0.7113 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004517/0.000452, allocations: 16 kB / 0.8717 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8969/0.8973, allocations: 153.6 MB / 1.022 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.05668/0.9541, allocations: 56.52 MB / 1.077 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01677/0.9709, allocations: 11.23 MB / 1.088 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002296/0.9732, allocations: 55.62 kB / 1.088 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00197/0.9752, allocations: 460.8 kB / 1.088 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005892/0.9812, allocations: 1.539 MB / 1.09 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003238/0.9844, allocations: 0.8471 MB / 1.091 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006436/0.9909, allocations: 3.386 MB / 1.094 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001963/0.9929, allocations: 0.7918 MB / 1.095 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002882/0.9958, allocations: 1.038 MB / 1.096 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001689/0.9975, allocations: 0.8049 MB / 1.097 GB, free: 4.223 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001566/0.9977, allocations: 40 kB / 1.097 GB, free: 4.184 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002991/1.001, allocations: 1.099 MB / 1.098 GB, free: 3.082 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002863/1.001, allocations: 203 kB / 1.098 GB, free: 2.883 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0006062/1.002, allocations: 285 kB / 1.098 GB, free: 2.598 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002533/1.004, allocations: 1.629 MB / 1.1 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/1.004, allocations: 0 / 1.1 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.853e-06/1.004, allocations: 0 / 1.1 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.767e-05/1.004, allocations: 0 / 1.1 GB, free: 0.9648 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002841/1.007, allocations: 1.501 MB / 1.101 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/1.007, allocations: 16.02 kB / 1.101 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002021/1.009, allocations: 473.9 kB / 1.102 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002166/1.011, allocations: 1.074 MB / 1.103 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003231/1.012, allocations: 141.8 kB / 1.103 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/1.012, allocations: 76 kB / 1.103 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/1.014, allocations: 1.005 MB / 1.104 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/1.014, allocations: 0 / 1.104 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.154e-05/1.014, allocations: 32 kB / 1.104 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/1.014, allocations: 27.94 kB / 1.104 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002311/1.016, allocations: 0.8977 MB / 1.105 GB, free: 11.58 MB / 0.8575 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.00698/1.023, allocations: 4.894 MB / 1.11 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003094/1.026, allocations: 0.8985 MB / 1.111 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006615/1.027, allocations: 316.7 kB / 1.111 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006865/1.028, allocations: 0.9064 MB / 1.112 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/1.028, allocations: 34.56 kB / 1.112 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=43): time 4.278e-06/1.028, allocations: 0 / 1.112 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of matching and sorting (n=43): time 0.006395/1.034, allocations: 1.939 MB / 1.114 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/1.034, allocations: 59.36 kB / 1.114 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/1.036, allocations: 1.055 MB / 1.115 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/1.036, allocations: 37.7 kB / 1.115 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004607/1.036, allocations: 0.5196 MB / 1.115 GB, free: 284 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/1.037, allocations: 149.8 kB / 1.115 GB, free: 132 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/1.037, allocations: 12 kB / 1.115 GB, free: 120 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001406/1.037, allocations: 334 kB / 1.116 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007939/1.038, allocations: 316.9 kB / 1.116 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009261/1.038, allocations: 0.518 MB / 1.117 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008275/1.039, allocations: 353.3 kB / 1.117 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/1.039, allocations: 0 / 1.117 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003324/1.043, allocations: 1.216 MB / 1.118 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001429/1.043, allocations: 209.2 kB / 1.118 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/1.043, allocations: 7.953 kB / 1.118 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/1.044, allocations: 336.6 kB / 1.119 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005098/1.045, allocations: 127.8 kB / 1.119 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/1.046, allocations: 0.9446 MB / 1.12 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/1.047, allocations: 191.3 kB / 1.12 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.884e-05/1.047, allocations: 27.98 kB / 1.12 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.467e-06/1.047, allocations: 4 kB / 1.12 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002963/1.05, allocations: 1.074 MB / 1.121 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/1.05, allocations: 8 kB / 1.121 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009711/1.051, allocations: 325.1 kB / 1.121 GB, free: 9.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/1.052, allocations: 131.8 kB / 1.121 GB, free: 9.852 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/1.053, allocations: 0.9373 MB / 1.122 GB, free: 8.891 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/1.054, allocations: 179.4 kB / 1.122 GB, free: 8.715 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.804e-05/1.054, allocations: 27.98 kB / 1.122 GB, free: 8.688 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005649/1.055, allocations: 345 kB / 1.123 GB, free: 8.34 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/1.055, allocations: 114.6 kB / 1.123 GB, free: 8.227 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/1.057, allocations: 0.9767 MB / 1.124 GB, free: 7.234 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/1.057, allocations: 4 kB / 1.124 GB, free: 7.23 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.057, allocations: 0 / 1.124 GB, free: 7.23 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/1.057, allocations: 7.984 kB / 1.124 GB, free: 7.223 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004608/1.062, allocations: 2.256 MB / 1.126 GB, free: 4.883 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/1.062, allocations: 7.953 kB / 1.126 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/1.062, allocations: 72.17 kB / 1.126 GB, free: 4.805 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009641/1.063, allocations: 325.7 kB / 1.126 GB, free: 4.484 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.693e-05/1.063, allocations: 8 kB / 1.126 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001413/1.065, allocations: 0.9748 MB / 1.127 GB, free: 3.477 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.065, allocations: 4 kB / 1.127 GB, free: 3.473 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003267/1.068, allocations: 1.253 MB / 1.129 GB, free: 2.172 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005609/1.068, allocations: 279.4 kB / 1.129 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/1.069, allocations: 12 kB / 1.129 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008007/1.069, allocations: 107.9 kB / 1.129 GB, free: 1.762 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.124e-05/1.069, allocations: 43.84 kB / 1.129 GB, free: 1.719 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.092e-05/1.07, allocations: 23.98 kB / 1.129 GB, free: 1.695 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001133/1.071, allocations: 0.7352 MB / 1.13 GB, free: 0.9531 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/1.071, allocations: 4 kB / 1.13 GB, free: 0.9492 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001525/1.072, allocations: 0.5574 MB / 1.13 GB, free: 400 kB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * 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: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007119/1.073, allocations: 361.8 kB / 1.131 GB, free: 40 kB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002927/1.076, allocations: 1.163 MB / 1.132 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/1.076, allocations: 0 / 1.132 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008425/1.077, allocations: 360.5 kB / 1.132 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/1.079, allocations: 0.4967 MB / 1.133 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005443/1.084, allocations: 2.541 MB / 1.135 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000655/1.085, allocations: 1.061 MB / 1.136 GB, free: 10.33 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/1.085, allocations: 79.41 kB / 1.136 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of SimCode: time 4.41e-07/1.085, allocations: 0 / 1.136 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of Templates: time 0.03288/1.118, allocations: 23.63 MB / 1.159 GB, free: 2.77 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEvaCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEvaCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEvaCalcHelperMain.o] Error 1