Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva") translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001389/0.001389, allocations: 100.5 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.002111/0.002111, allocations: 176 kB / 16.58 MB, free: 6.422 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.581/1.581, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.13/1.13, allocations: 143.4 MB / 435.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003578, allocations: 15.92 kB / 0.5166 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1961, allocations: 83.41 MB / 0.598 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.3623/0.5585, allocations: 56.45 MB / 0.6532 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01687/0.5754, allocations: 11.24 MB / 0.6641 GB, free: 452 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002629/0.5781, allocations: 57.06 kB / 0.6642 GB, free: 424 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001843/0.58, allocations: 459.9 kB / 0.6646 GB, free: 168 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005821/0.5858, allocations: 1.521 MB / 0.6661 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003319/0.5892, allocations: 0.8604 MB / 0.667 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006425/0.5956, allocations: 3.394 MB / 0.6703 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002054/0.5977, allocations: 0.7845 MB / 0.671 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003598/0.6013, allocations: 1.036 MB / 0.6721 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002307/0.6036, allocations: 0.8066 MB / 0.6728 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001691/0.6038, allocations: 41.38 kB / 0.6729 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003686/0.6075, allocations: 1.097 MB / 0.674 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003365/0.6079, allocations: 202 kB / 0.6741 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006506/0.6085, allocations: 282.9 kB / 0.6744 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003297/0.6118, allocations: 1.733 MB / 0.6761 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.922e-06/0.6118, allocations: 0 / 0.6761 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.347e-06/0.6119, allocations: 0 / 0.6761 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.099e-05/0.6119, allocations: 3.938 kB / 0.6761 GB, free: 11.3 MB / 0.5137 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.003625/0.6155, allocations: 1.498 MB / 0.6776 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.6156, allocations: 10 kB / 0.6776 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002377/0.618, allocations: 474.3 kB / 0.678 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002944/0.6209, allocations: 1.094 MB / 0.6791 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004096/0.6214, allocations: 127.8 kB / 0.6792 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.6215, allocations: 83.11 kB / 0.6793 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002559/0.6241, allocations: 1.006 MB / 0.6803 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.6241, allocations: 5.344 kB / 0.6803 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-05/0.6242, allocations: 31.66 kB / 0.6803 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.182e-05/0.6243, allocations: 18.84 kB / 0.6803 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002575/0.6268, allocations: 0.8971 MB / 0.6812 GB, free: 8.688 MB / 0.5137 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.008307/0.6352, allocations: 4.892 MB / 0.686 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003489/0.6387, allocations: 0.9011 MB / 0.6869 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008332/0.6395, allocations: 320 kB / 0.6872 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008105/0.6404, allocations: 0.901 MB / 0.6881 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.6404, allocations: 41.31 kB / 0.6881 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 4.068e-06/0.6404, allocations: 0 / 0.6881 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.007623/0.648, allocations: 1.939 MB / 0.69 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.6481, allocations: 60.8 kB / 0.6901 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002252/0.6504, allocations: 1.049 MB / 0.6911 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001285/0.6505, allocations: 39.3 kB / 0.6911 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005791/0.6511, allocations: 0.5204 MB / 0.6916 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.6513, allocations: 148.6 kB / 0.6918 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/0.6514, allocations: 10.22 kB / 0.6918 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.6515, allocations: 329.9 kB / 0.6921 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000918/0.6525, allocations: 316 kB / 0.6924 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.6536, allocations: 0.5237 MB / 0.6929 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009766/0.6546, allocations: 358.7 kB / 0.6932 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.6546, allocations: 9.125 kB / 0.6933 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.004111/0.6588, allocations: 1.221 MB / 0.6944 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001719/0.6589, allocations: 210.5 kB / 0.6946 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.659, allocations: 5.484 kB / 0.6946 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.6604, allocations: 336.1 kB / 0.695 GB, free: 432 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005838/0.661, allocations: 135.1 kB / 0.6951 GB, free: 416 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/0.6626, allocations: 0.9308 MB / 0.696 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/0.6644, allocations: 196.1 kB / 0.6962 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.962e-05/0.6645, allocations: 29.05 kB / 0.6962 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.6646, allocations: 7.5 kB / 0.6962 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003435/0.668, allocations: 1.075 MB / 0.6973 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.668, allocations: 3.312 kB / 0.6973 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/0.6692, allocations: 321.9 kB / 0.6976 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005438/0.6697, allocations: 126.7 kB / 0.6977 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/0.6713, allocations: 0.938 MB / 0.6986 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.6728, allocations: 170 kB / 0.6988 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.872e-05/0.6729, allocations: 27.7 kB / 0.6988 GB, free: 14.58 MB / 0.5294 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.0008662/0.6737, allocations: 347 kB / 0.6991 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/0.674, allocations: 119.8 kB / 0.6993 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00271/0.6767, allocations: 0.9808 MB / 0.7002 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.411e-05/0.6768, allocations: 8.359 kB / 0.7002 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.6768, allocations: 1.469 kB / 0.7002 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.6768, allocations: 0 / 0.7002 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006203/0.683, allocations: 2.26 MB / 0.7024 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/0.683, allocations: 3.156 kB / 0.7024 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/0.6833, allocations: 65.86 kB / 0.7025 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00114/0.6845, allocations: 332.3 kB / 0.7028 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.753e-05/0.6846, allocations: 17.98 kB / 0.7028 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/0.6861, allocations: 0.963 MB / 0.7038 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/0.6861, allocations: 3 kB / 0.7038 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003722/0.6898, allocations: 1.257 MB / 0.705 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008067/0.6907, allocations: 277.6 kB / 0.7053 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.6908, allocations: 8.812 kB / 0.7053 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008939/0.6917, allocations: 123.8 kB / 0.7054 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.84e-05/0.6918, allocations: 34.19 kB / 0.7054 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.43e-05/0.6919, allocations: 23.89 kB / 0.7055 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001478/0.6934, allocations: 0.737 MB / 0.7062 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6934, allocations: 0 / 0.7062 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002155/0.6956, allocations: 0.557 MB / 0.7067 GB, free: 9.832 MB / 0.5294 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.0009232/0.6965, allocations: 374.1 kB / 0.7071 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003162/0.6997, allocations: 1.157 MB / 0.7082 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.6997, allocations: 3.938 kB / 0.7082 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008646/0.7005, allocations: 376.8 kB / 0.7086 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00267/0.7032, allocations: 0.4933 MB / 0.709 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005965/0.7092, allocations: 2.529 MB / 0.7115 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006844/0.7099, allocations: 1.061 MB / 0.7126 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002876/0.7102, allocations: 75.42 kB / 0.7126 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of SimCode: time 9.72e-07/0.7102, allocations: 0 / 0.7126 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of Templates: time 0.04045/0.7507, allocations: 23.88 MB / 0.7359 GB, free: 13.93 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEvaCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEvaCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEvaCalcHelperMain.o] Error 1