Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 101.9 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.001512/0.001511, allocations: 176.9 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.501/1.501, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.724/2.724, allocations: 436.7 MB / 0.7113 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003736, allocations: 8 kB / 0.8717 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9298/0.9302, allocations: 153.7 MB / 1.022 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06933/0.9995, allocations: 65.13 MB / 1.085 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02677/1.026, allocations: 17.7 MB / 1.103 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003081/1.03, allocations: 59.62 kB / 1.103 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002666/1.032, allocations: 0.516 MB / 1.103 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008905/1.041, allocations: 2.109 MB / 1.105 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004828/1.046, allocations: 1.074 MB / 1.106 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00782/1.054, allocations: 4.391 MB / 1.111 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003059/1.057, allocations: 1.014 MB / 1.112 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004446/1.061, allocations: 1.33 MB / 1.113 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003052/1.065, allocations: 1.042 MB / 1.114 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0005789/1.065, allocations: 56 kB / 1.114 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003772/1.069, allocations: 0.9082 MB / 1.115 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007098/1.07, allocations: 246.8 kB / 1.115 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009861/1.071, allocations: 364.9 kB / 1.115 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003718/1.074, allocations: 2.303 MB / 1.118 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/1.074, allocations: 3.938 kB / 1.118 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.835e-06/1.074, allocations: 0 / 1.118 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.557e-05/1.074, allocations: 0 / 1.118 GB, free: 14.57 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003664/1.078, allocations: 1.719 MB / 1.119 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/1.078, allocations: 11.98 kB / 1.119 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002184/1.08, allocations: 0.4976 MB / 1.12 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00296/1.083, allocations: 1.474 MB / 1.121 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003257/1.084, allocations: 142 kB / 1.121 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/1.084, allocations: 108 kB / 1.121 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002631/1.086, allocations: 1.313 MB / 1.123 GB, free: 9.094 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/1.087, allocations: 3.938 kB / 1.123 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.972e-05/1.087, allocations: 44 kB / 1.123 GB, free: 9.047 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.675e-05/1.087, allocations: 28 kB / 1.123 GB, free: 9.02 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00262/1.089, allocations: 1.151 MB / 1.124 GB, free: 7.871 MB / 0.8731 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.009429/1.099, allocations: 7.18 MB / 1.131 GB, free: 200 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002887/1.102, allocations: 0.885 MB / 1.132 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006111/1.102, allocations: 301.9 kB / 1.132 GB, free: 15 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001416/1.104, allocations: 1.722 MB / 1.134 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/1.104, allocations: 35 kB / 1.134 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=48): time 2.164e-06/1.104, allocations: 0 / 1.134 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of matching and sorting (n=48): time 0.004677/1.108, allocations: 1.455 MB / 1.135 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/1.109, allocations: 59.84 kB / 1.135 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002555/1.111, allocations: 1.517 MB / 1.137 GB, free: 9.77 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/1.111, allocations: 41.7 kB / 1.137 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006312/1.112, allocations: 0.6652 MB / 1.138 GB, free: 9.051 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/1.112, allocations: 177.6 kB / 1.138 GB, free: 8.875 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/1.112, allocations: 8 kB / 1.138 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.112, allocations: 334 kB / 1.138 GB, free: 8.535 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009004/1.113, allocations: 389.8 kB / 1.138 GB, free: 8.156 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/1.114, allocations: 0.6549 MB / 1.139 GB, free: 7.387 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/1.115, allocations: 441.9 kB / 1.139 GB, free: 6.957 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/1.115, allocations: 0 / 1.139 GB, free: 6.957 MB / 0.8887 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002865/1.118, allocations: 1.22 MB / 1.141 GB, free: 5.723 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/1.118, allocations: 8 kB / 1.141 GB, free: 5.715 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/1.118, allocations: 8 kB / 1.141 GB, free: 5.707 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008919/1.119, allocations: 233.1 kB / 1.141 GB, free: 5.477 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007347/1.12, allocations: 195.7 kB / 1.141 GB, free: 5.285 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008681/1.121, allocations: 0.7202 MB / 1.142 GB, free: 4.539 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/1.122, allocations: 270.6 kB / 1.142 GB, free: 4.273 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.976e-05/1.123, allocations: 39.98 kB / 1.142 GB, free: 4.234 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (78): * Single equations (assignments): 77 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0007554/1.123, allocations: 351.8 kB / 1.142 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002318/1.124, allocations: 150.1 kB / 1.143 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002348/1.126, allocations: 1.172 MB / 1.144 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/1.126, allocations: 15.94 kB / 1.144 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.126, allocations: 0 / 1.144 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/1.126, allocations: 3.984 kB / 1.144 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00505/1.131, allocations: 2.581 MB / 1.146 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/1.131, allocations: 4.031 kB / 1.146 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003637/1.131, allocations: 91.88 kB / 1.146 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007387/1.132, allocations: 232.5 kB / 1.147 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/1.132, allocations: 12 kB / 1.147 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/1.133, allocations: 0.8021 MB / 1.147 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/1.133, allocations: 4.25 kB / 1.147 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003202/1.137, allocations: 1.285 MB / 1.149 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007566/1.137, allocations: 374.8 kB / 1.149 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/1.138, allocations: 12 kB / 1.149 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008738/1.139, allocations: 107.8 kB / 1.149 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/1.139, allocations: 52.39 kB / 1.149 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.317e-05/1.139, allocations: 23.98 kB / 1.149 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001931/1.141, allocations: 1.074 MB / 1.15 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.61e-07/1.141, allocations: 0 / 1.15 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001509/1.142, allocations: 427.4 kB / 1.151 GB, free: 11.3 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009658/1.143, allocations: 466 kB / 1.151 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002142/1.145, allocations: 0.8719 MB / 1.152 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.371e-06/1.145, allocations: 0 / 1.152 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001231/1.147, allocations: 475.5 kB / 1.152 GB, free: 9.512 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003343/1.15, allocations: 0.7017 MB / 1.153 GB, free: 8.82 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00459/1.155, allocations: 2.744 MB / 1.156 GB, free: 6.02 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007813/1.155, allocations: 1.158 MB / 1.157 GB, free: 4.832 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004255/1.156, allocations: 123.4 kB / 1.157 GB, free: 4.711 MB / 0.9044 GB Notification: Performance of SimCode: time 1.553e-06/1.156, allocations: 0 / 1.157 GB, free: 4.711 MB / 0.9044 GB Notification: Performance of Templates: time 0.04929/1.205, allocations: 33.59 MB / 1.19 GB, free: 3.297 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.Validation.Carnot_TEva_2ndLawCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLawCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLawCalcHelperMain.o] Error 1