Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009953/0.0009945, allocations: 92.16 kB / 16.02 MB, free: 80 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.001261/0.001261, allocations: 177.9 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.872/1.872, allocations: 205.4 MB / 223.1 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.81/1.81, allocations: 292.7 MB / 0.5509 GB, free: 14.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005434/0.0005433, allocations: 17.47 kB / 0.675 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2827, allocations: 116.3 MB / 0.7885 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07296/0.3558, allocations: 68.88 MB / 0.8558 GB, free: 6.504 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02721/0.3831, allocations: 18.69 MB / 0.874 GB, free: 3.77 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003501/0.3866, allocations: 63.56 kB / 0.8741 GB, free: 3.707 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003055/0.3897, allocations: 0.6527 MB / 0.8747 GB, free: 3.051 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009755/0.3995, allocations: 2.584 MB / 0.8773 GB, free: 468 kB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005246/0.4048, allocations: 1.517 MB / 0.8787 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.007802/0.4126, allocations: 5.013 MB / 0.8836 GB, free: 9.922 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002767/0.4154, allocations: 1.14 MB / 0.8848 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004302/0.4197, allocations: 1.462 MB / 0.8862 GB, free: 7.277 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002859/0.4226, allocations: 1.112 MB / 0.8873 GB, free: 6.16 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0005949/0.4233, allocations: 60 kB / 0.8873 GB, free: 6.102 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004069/0.4274, allocations: 1.224 MB / 0.8885 GB, free: 4.875 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006686/0.4281, allocations: 266.6 kB / 0.8888 GB, free: 4.613 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002075/0.4301, allocations: 0.8061 MB / 0.8896 GB, free: 3.797 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004519/0.4347, allocations: 2.389 MB / 0.8919 GB, free: 1.402 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4347, allocations: 0 / 0.8919 GB, free: 1.402 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.325e-06/0.4347, allocations: 0 / 0.8919 GB, free: 1.402 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.000102/0.4348, allocations: 0 / 0.8919 GB, free: 1.402 MB / 0.7012 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.005017/0.4399, allocations: 1.719 MB / 0.8936 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.4399, allocations: 8.031 kB / 0.8936 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002781/0.4427, allocations: 0.5056 MB / 0.8941 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003743/0.4465, allocations: 1.516 MB / 0.8956 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004481/0.447, allocations: 150 kB / 0.8957 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003469/0.4473, allocations: 100 kB / 0.8958 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00346/0.4508, allocations: 1.331 MB / 0.8971 GB, free: 11.87 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.4508, allocations: 0 / 0.8971 GB, free: 11.87 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/0.451, allocations: 40 kB / 0.8971 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.686e-05/0.451, allocations: 31.94 kB / 0.8972 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003237/0.4543, allocations: 1.179 MB / 0.8983 GB, free: 10.62 MB / 0.7169 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.01054/0.4648, allocations: 6.904 MB / 0.9051 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003555/0.4684, allocations: 0.9371 MB / 0.906 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007582/0.4692, allocations: 318 kB / 0.9063 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001532/0.4708, allocations: 1.722 MB / 0.908 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.142e-05/0.4708, allocations: 43 kB / 0.908 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=52): time 3.617e-06/0.4709, allocations: 0 / 0.908 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=52): time 0.005524/0.4764, allocations: 1.491 MB / 0.9095 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.4765, allocations: 55.84 kB / 0.9095 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003171/0.4796, allocations: 1.545 MB / 0.911 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.4798, allocations: 41.64 kB / 0.9111 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000719/0.4805, allocations: 0.6576 MB / 0.9117 GB, free: 12 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002508/0.4808, allocations: 185.3 kB / 0.9119 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.4809, allocations: 61.69 kB / 0.9119 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.4811, allocations: 334 kB / 0.9122 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.4823, allocations: 409.8 kB / 0.9126 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.4837, allocations: 0.6705 MB / 0.9133 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002134/0.4859, allocations: 0.9264 MB / 0.9142 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/0.4859, allocations: 7.938 kB / 0.9142 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.005333/0.4913, allocations: 1.474 MB / 0.9156 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.602e-05/0.4913, allocations: 12 kB / 0.9157 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.4913, allocations: 7.938 kB / 0.9157 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.4925, allocations: 232.5 kB / 0.9159 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008622/0.4933, allocations: 199.7 kB / 0.9161 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/0.4944, allocations: 0.7357 MB / 0.9168 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/0.4964, allocations: 254.7 kB / 0.917 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001489/0.4966, allocations: 47.97 kB / 0.9171 GB, free: 6.207 MB / 0.7325 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 (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0008975/0.4975, allocations: 357.5 kB / 0.9174 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004225/0.4979, allocations: 146.2 kB / 0.9176 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002936/0.5009, allocations: 1.219 MB / 0.9188 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/0.5009, allocations: 11.98 kB / 0.9188 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.505e-06/0.5009, allocations: 0 / 0.9188 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.5009, allocations: 3.984 kB / 0.9188 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00647/0.5074, allocations: 2.662 MB / 0.9214 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.5075, allocations: 0 / 0.9214 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004448/0.5079, allocations: 96.06 kB / 0.9215 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009452/0.5089, allocations: 224.6 kB / 0.9217 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.829e-05/0.509, allocations: 27.92 kB / 0.9217 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/0.5105, allocations: 0.7982 MB / 0.9225 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-05/0.5106, allocations: 8.016 kB / 0.9225 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5968/1.107, allocations: 1.326 MB / 0.9238 GB, free: 134 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/1.108, allocations: 378.5 kB / 0.9241 GB, free: 133.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/1.109, allocations: 12.67 kB / 0.9242 GB, free: 133.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/1.11, allocations: 104.1 kB / 0.9243 GB, free: 133.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/1.11, allocations: 47.58 kB / 0.9243 GB, free: 133.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.905e-05/1.11, allocations: 34.22 kB / 0.9243 GB, free: 133.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002556/1.113, allocations: 1.082 MB / 0.9254 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/1.113, allocations: 0.5938 kB / 0.9254 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001732/1.114, allocations: 447.6 kB / 0.9258 GB, free: 133.8 MB / 0.7325 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 (56): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001214/1.116, allocations: 460.6 kB / 0.9263 GB, free: 133.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002773/1.118, allocations: 0.9148 MB / 0.9272 GB, free: 133.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/1.118, allocations: 0 / 0.9272 GB, free: 133.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001483/1.12, allocations: 491.4 kB / 0.9276 GB, free: 133.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004074/1.124, allocations: 0.7395 MB / 0.9283 GB, free: 133.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004314/1.128, allocations: 2.833 MB / 0.9311 GB, free: 132.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006283/1.129, allocations: 1.163 MB / 0.9322 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003965/1.129, allocations: 136.3 kB / 0.9324 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.663e-06/1.129, allocations: 0 / 0.9324 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.06131/1.191, allocations: 33.98 MB / 0.9656 GB, free: 117 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLawCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLawCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLawCalcHelperMain.o] Error 1