Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0007266/0.0007267, allocations: 99.42 kB / 16.02 MB, free: 76 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.0007736/0.0007738, allocations: 181.1 kB / 16.92 MB, free: 6.918 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.381/1.381, allocations: 223.3 MB / 241 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001819/0.001819, allocations: 278.7 kB / 292.3 MB, free: 1.789 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.014/1.014, allocations: 169.5 MB / 0.501 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000412/0.0004121, allocations: 14.75 kB / 0.5993 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1807, allocations: 88.55 MB / 0.6858 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06588/0.2467, allocations: 68.8 MB / 0.753 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.3718/0.6185, allocations: 18.77 MB / 0.7713 GB, free: 21.67 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002948/0.6215, allocations: 60.34 kB / 0.7713 GB, free: 21.67 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002137/0.6237, allocations: 0.6478 MB / 0.772 GB, free: 21.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007292/0.631, allocations: 2.612 MB / 0.7745 GB, free: 21.55 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004128/0.6352, allocations: 1.489 MB / 0.776 GB, free: 21.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006744/0.6419, allocations: 5.02 MB / 0.7809 GB, free: 21.51 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002089/0.644, allocations: 1.146 MB / 0.782 GB, free: 21.36 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00385/0.6479, allocations: 1.452 MB / 0.7834 GB, free: 21.14 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002359/0.6503, allocations: 1.111 MB / 0.7845 GB, free: 21.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000247/0.6505, allocations: 56.91 kB / 0.7846 GB, free: 21.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003239/0.6538, allocations: 1.22 MB / 0.7858 GB, free: 20.9 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002818/0.6541, allocations: 269.3 kB / 0.786 GB, free: 20.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.6552, allocations: 0.8026 MB / 0.7868 GB, free: 20.54 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002698/0.6579, allocations: 2.376 MB / 0.7891 GB, free: 20.38 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.6579, allocations: 0 / 0.7891 GB, free: 20.38 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6579, allocations: 3.938 kB / 0.7891 GB, free: 20.37 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.141e-05/0.6579, allocations: 0 / 0.7891 GB, free: 20.37 MB / 0.545 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.002932/0.6609, allocations: 1.717 MB / 0.7908 GB, free: 19.36 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.6609, allocations: 6.031 kB / 0.7908 GB, free: 19.36 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002241/0.6632, allocations: 0.4921 MB / 0.7913 GB, free: 19.26 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002453/0.6656, allocations: 1.52 MB / 0.7928 GB, free: 18.82 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000388/0.666, allocations: 149.1 kB / 0.7929 GB, free: 18.8 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.6662, allocations: 103.2 kB / 0.793 GB, free: 18.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002936/0.6691, allocations: 1.319 MB / 0.7943 GB, free: 18.54 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.6692, allocations: 1.062 kB / 0.7943 GB, free: 18.54 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.762e-05/0.6693, allocations: 45.03 kB / 0.7943 GB, free: 18.54 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.531e-05/0.6693, allocations: 25.69 kB / 0.7944 GB, free: 18.54 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00276/0.6721, allocations: 1.159 MB / 0.7955 GB, free: 18.5 MB / 0.545 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.007377/0.6795, allocations: 7.197 MB / 0.8025 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003133/0.6826, allocations: 0.8928 MB / 0.8034 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000706/0.6833, allocations: 302.3 kB / 0.8037 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001234/0.6846, allocations: 1.718 MB / 0.8054 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.6846, allocations: 37.94 kB / 0.8054 GB, free: 10.72 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 2.415e-06/0.6847, allocations: 4 kB / 0.8054 GB, free: 10.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.005013/0.6897, allocations: 1.451 MB / 0.8068 GB, free: 9.969 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.6897, allocations: 59.84 kB / 0.8069 GB, free: 9.902 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00219/0.6919, allocations: 1.531 MB / 0.8084 GB, free: 9.074 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.193e-05/0.692, allocations: 37.83 kB / 0.8084 GB, free: 9.035 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004339/0.6924, allocations: 0.6676 MB / 0.8091 GB, free: 8.445 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.6926, allocations: 170.6 kB / 0.8092 GB, free: 8.301 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.07e-05/0.6926, allocations: 57.47 kB / 0.8093 GB, free: 8.258 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.75e-05/0.6927, allocations: 333.2 kB / 0.8096 GB, free: 7.934 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009428/0.6937, allocations: 394.7 kB / 0.81 GB, free: 7.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.6947, allocations: 0.6596 MB / 0.8106 GB, free: 7.223 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/0.6963, allocations: 0.8924 MB / 0.8115 GB, free: 6.609 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.6963, allocations: 3.938 kB / 0.8115 GB, free: 6.605 MB / 0.545 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004003/0.7003, allocations: 1.436 MB / 0.8129 GB, free: 5.914 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.7004, allocations: 13.88 kB / 0.8129 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.7004, allocations: 12.59 kB / 0.8129 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000775/0.7012, allocations: 228.1 kB / 0.8131 GB, free: 5.789 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006815/0.7018, allocations: 196.5 kB / 0.8133 GB, free: 5.734 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006681/0.7025, allocations: 0.7314 MB / 0.814 GB, free: 5.102 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.7041, allocations: 255.3 kB / 0.8143 GB, free: 4.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.964e-05/0.7042, allocations: 36.42 kB / 0.8143 GB, free: 4.973 MB / 0.545 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 (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.0005405/0.7048, allocations: 367.2 kB / 0.8147 GB, free: 4.695 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.7049, allocations: 151.4 kB / 0.8148 GB, free: 4.617 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/0.707, allocations: 1.179 MB / 0.816 GB, free: 3.957 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.707, allocations: 8.094 kB / 0.816 GB, free: 3.957 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.7071, allocations: 0 / 0.816 GB, free: 3.957 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.14e-05/0.7071, allocations: 7.922 kB / 0.816 GB, free: 3.949 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0045/0.7116, allocations: 2.583 MB / 0.8185 GB, free: 2.207 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.7116, allocations: 7.328 kB / 0.8185 GB, free: 2.203 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003316/0.7119, allocations: 90.17 kB / 0.8186 GB, free: 2.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006809/0.7126, allocations: 226.2 kB / 0.8188 GB, free: 2.062 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/0.7127, allocations: 23.67 kB / 0.8188 GB, free: 2.047 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/0.7138, allocations: 0.7918 MB / 0.8196 GB, free: 1.395 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.7138, allocations: 3.344 kB / 0.8196 GB, free: 1.395 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003091/0.7169, allocations: 1.289 MB / 0.8209 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004874/0.7174, allocations: 379.5 kB / 0.8212 GB, free: 336 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/0.7176, allocations: 13.53 kB / 0.8212 GB, free: 328 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009128/0.7186, allocations: 108.3 kB / 0.8213 GB, free: 280 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/0.7186, allocations: 43.7 kB / 0.8214 GB, free: 256 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.701e-05/0.7187, allocations: 24.11 kB / 0.8214 GB, free: 248 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001612/0.7203, allocations: 1.092 MB / 0.8225 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7203, allocations: 0 / 0.8225 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0012/0.7215, allocations: 440 kB / 0.8229 GB, free: 15.55 MB / 0.5606 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 (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.0007488/0.7223, allocations: 467.7 kB / 0.8233 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00198/0.7243, allocations: 0.8705 MB / 0.8242 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.7243, allocations: 0 / 0.8242 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/0.7255, allocations: 480 kB / 0.8246 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/0.7288, allocations: 0.7111 MB / 0.8253 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003914/0.7327, allocations: 2.821 MB / 0.8281 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007255/0.7335, allocations: 1.152 MB / 0.8292 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003207/0.7338, allocations: 131.3 kB / 0.8293 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of SimCode: time 4.3e-07/0.7338, allocations: 0 / 0.8293 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of Templates: time 0.0447/0.7785, allocations: 33.62 MB / 0.8622 GB, free: 11.7 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile make -j1 -f BuildingSystems_BuildingSystems.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/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/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLawCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLawCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLawCalcHelperMain.o] Error 1