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.001066/0.001065, allocations: 99.05 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.0009876/0.0009876, allocations: 179.3 kB / 16.58 MB, free: 6.422 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.85/1.85, allocations: 205.4 MB / 222.8 MB, free: 5.648 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.922/1.922, allocations: 292.7 MB / 0.5505 GB, free: 14.55 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.0008419/0.0008421, allocations: 15.75 kB / 0.6743 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.302, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06494/0.367, allocations: 65.12 MB / 0.8515 GB, free: 10.64 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02499/0.392, allocations: 17.61 MB / 0.8687 GB, free: 9 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002891/0.395, allocations: 63.56 kB / 0.8688 GB, free: 8.938 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002206/0.3972, allocations: 0.516 MB / 0.8693 GB, free: 8.418 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.008446/0.4056, allocations: 2.097 MB / 0.8713 GB, free: 6.312 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005451/0.4111, allocations: 1.094 MB / 0.8724 GB, free: 5.23 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006742/0.4179, allocations: 4.376 MB / 0.8767 GB, free: 0.8359 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002166/0.4201, allocations: 1.014 MB / 0.8777 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003816/0.4239, allocations: 1.341 MB / 0.879 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002517/0.4265, allocations: 1.046 MB / 0.88 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002062/0.4267, allocations: 56 kB / 0.88 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003013/0.4297, allocations: 0.916 MB / 0.8809 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000423/0.4301, allocations: 246.8 kB / 0.8812 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0008688/0.431, allocations: 372.9 kB / 0.8815 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003588/0.4346, allocations: 2.295 MB / 0.8838 GB, free: 9.508 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/0.4346, allocations: 3.938 kB / 0.8838 GB, free: 9.504 MB / 0.7012 GB Notification: Performance of FrontEnd: time 5.761e-06/0.4347, allocations: 0 / 0.8838 GB, free: 9.504 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.752e-05/0.4347, allocations: 3.938 kB / 0.8838 GB, free: 9.5 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.003956/0.4387, allocations: 1.735 MB / 0.8855 GB, free: 7.703 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.4387, allocations: 8.031 kB / 0.8855 GB, free: 7.695 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002094/0.4408, allocations: 0.5014 MB / 0.886 GB, free: 7.191 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002962/0.4438, allocations: 1.478 MB / 0.8874 GB, free: 5.656 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003306/0.4442, allocations: 146 kB / 0.8875 GB, free: 5.512 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.4443, allocations: 104 kB / 0.8876 GB, free: 5.41 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002778/0.4471, allocations: 1.315 MB / 0.8889 GB, free: 4.008 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.4471, allocations: 7.938 kB / 0.8889 GB, free: 4 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-05/0.4472, allocations: 40 kB / 0.889 GB, free: 3.961 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.342e-05/0.4473, allocations: 28 kB / 0.889 GB, free: 3.934 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002664/0.4499, allocations: 1.159 MB / 0.8901 GB, free: 2.777 MB / 0.7012 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.009864/0.4598, allocations: 6.92 MB / 0.8969 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003113/0.463, allocations: 0.9226 MB / 0.8978 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006623/0.4636, allocations: 314 kB / 0.8981 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001662/0.4653, allocations: 1.726 MB / 0.8998 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.473e-05/0.4654, allocations: 46.89 kB / 0.8998 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=52): time 4.869e-06/0.4654, allocations: 0 / 0.8998 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=52): time 0.005237/0.4706, allocations: 1.487 MB / 0.9013 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.123e-05/0.4708, allocations: 55.84 kB / 0.9013 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003306/0.4741, allocations: 1.529 MB / 0.9028 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001451/0.4742, allocations: 41.7 kB / 0.9029 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000813/0.4751, allocations: 0.6576 MB / 0.9035 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002697/0.4753, allocations: 185.3 kB / 0.9037 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-05/0.4754, allocations: 16 kB / 0.9037 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002194/0.4756, allocations: 330 kB / 0.904 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.4767, allocations: 401.8 kB / 0.9044 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.4779, allocations: 0.682 MB / 0.9051 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.479, allocations: 453.9 kB / 0.9055 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.479, allocations: 7.953 kB / 0.9055 GB, free: 2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002997/0.482, allocations: 1.248 MB / 0.9067 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.4821, allocations: 8 kB / 0.9067 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.4821, allocations: 12.03 kB / 0.9067 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009126/0.483, allocations: 224.6 kB / 0.907 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000753/0.4838, allocations: 207.7 kB / 0.9071 GB, free: 300 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008936/0.4847, allocations: 0.7202 MB / 0.9079 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.4864, allocations: 263.3 kB / 0.9081 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.4865, allocations: 47.97 kB / 0.9081 GB, free: 15.24 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 (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.0007865/0.4873, allocations: 357.6 kB / 0.9085 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/0.4875, allocations: 150.1 kB / 0.9086 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002453/0.49, allocations: 1.215 MB / 0.9098 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.51e-05/0.49, allocations: 19.98 kB / 0.9098 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.4901, allocations: 0 / 0.9098 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.4901, allocations: 3.984 kB / 0.9098 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005137/0.4952, allocations: 2.65 MB / 0.9124 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/0.4952, allocations: 11.94 kB / 0.9124 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003994/0.4957, allocations: 99.81 kB / 0.9125 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007668/0.4964, allocations: 216.8 kB / 0.9127 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.4965, allocations: 19.98 kB / 0.9128 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.4978, allocations: 0.7944 MB / 0.9135 GB, free: 9.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4978, allocations: 4.219 kB / 0.9135 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003343/0.5011, allocations: 1.324 MB / 0.9148 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008177/0.502, allocations: 386.7 kB / 0.9152 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001835/0.5022, allocations: 16 kB / 0.9152 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009258/0.5031, allocations: 111.7 kB / 0.9153 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.5032, allocations: 44.47 kB / 0.9154 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.912e-05/0.5033, allocations: 27.97 kB / 0.9154 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002001/0.5053, allocations: 1.07 MB / 0.9164 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7.02e-07/0.5053, allocations: 0 / 0.9164 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001506/0.5068, allocations: 435.4 kB / 0.9169 GB, free: 6.129 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 (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.001004/0.5078, allocations: 456.1 kB / 0.9173 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002247/0.5101, allocations: 0.8952 MB / 0.9182 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5101, allocations: 0 / 0.9182 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.5114, allocations: 491.6 kB / 0.9186 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003323/0.5147, allocations: 0.7331 MB / 0.9194 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004654/0.5194, allocations: 2.768 MB / 0.9221 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.52/1.039, allocations: 1.16 MB / 0.9232 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006702/1.04, allocations: 127.3 kB / 0.9233 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of SimCode: time 9.12e-07/1.04, allocations: 0.9375 kB / 0.9233 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.06294/1.103, allocations: 33.93 MB / 0.9564 GB, free: 120.1 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++ 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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/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