Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/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.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001278/0.001278, allocations: 102.6 kB / 15.71 MB, free: 460 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.00124/0.00124, allocations: 176.6 kB / 16.58 MB, free: 6.402 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.447/1.447, allocations: 223.2 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.092/1.092, allocations: 143.4 MB / 435.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003797, allocations: 8 kB / 0.5166 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2306, allocations: 83.41 MB / 0.5981 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.5227/0.7533, allocations: 65.06 MB / 0.6616 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03289/0.7863, allocations: 17.71 MB / 0.6789 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003387/0.7897, allocations: 60 kB / 0.6789 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003193/0.7929, allocations: 0.5257 MB / 0.6795 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01111/0.8041, allocations: 2.104 MB / 0.6815 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005251/0.8093, allocations: 1.088 MB / 0.6826 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009526/0.8189, allocations: 4.385 MB / 0.6869 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003035/0.8219, allocations: 1.025 MB / 0.6879 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005323/0.8273, allocations: 1.326 MB / 0.6891 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003495/0.8308, allocations: 1.04 MB / 0.6902 GB, free: 328 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004406/0.8313, allocations: 57.25 kB / 0.6902 GB, free: 328 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00468/0.836, allocations: 0.9045 MB / 0.6911 GB, free: 44 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005171/0.8365, allocations: 247.9 kB / 0.6913 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.8376, allocations: 369.4 kB / 0.6917 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00522/0.8428, allocations: 2.454 MB / 0.6941 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.8429, allocations: 4 kB / 0.6941 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.625e-06/0.8429, allocations: 1.375 kB / 0.6941 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.849e-05/0.8429, allocations: 0 / 0.6941 GB, free: 15.14 MB / 0.5294 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.004926/0.8479, allocations: 1.722 MB / 0.6958 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.8479, allocations: 9.375 kB / 0.6958 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002558/0.8505, allocations: 0.4967 MB / 0.6963 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003671/0.8542, allocations: 1.468 MB / 0.6977 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003614/0.8546, allocations: 148.4 kB / 0.6978 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/0.8548, allocations: 112.8 kB / 0.6979 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003161/0.8579, allocations: 1.31 MB / 0.6992 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.858, allocations: 1.281 kB / 0.6992 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.8581, allocations: 42.66 kB / 0.6993 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.265e-05/0.8581, allocations: 28.97 kB / 0.6993 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00302/0.8612, allocations: 1.149 MB / 0.7004 GB, free: 11.78 MB / 0.5294 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.01069/0.8719, allocations: 7.205 MB / 0.7075 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003092/0.875, allocations: 0.8936 MB / 0.7083 GB, free: 5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000652/0.8757, allocations: 296.9 kB / 0.7086 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001565/0.8772, allocations: 1.721 MB / 0.7103 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.255e-05/0.8773, allocations: 38.12 kB / 0.7103 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 4.388e-06/0.8773, allocations: 0 / 0.7103 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.00526/0.8826, allocations: 1.455 MB / 0.7118 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.8826, allocations: 56.94 kB / 0.7118 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003225/0.8859, allocations: 1.521 MB / 0.7133 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001352/0.886, allocations: 42.3 kB / 0.7133 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006716/0.8867, allocations: 0.6595 MB / 0.714 GB, free: 500 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/0.8869, allocations: 172 kB / 0.7141 GB, free: 348 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.887, allocations: 14.22 kB / 0.7142 GB, free: 336 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.8871, allocations: 332.6 kB / 0.7145 GB, free: 4 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.8882, allocations: 384.9 kB / 0.7148 GB, free: 15.82 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.8894, allocations: 0.655 MB / 0.7155 GB, free: 15.29 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.8905, allocations: 441.6 kB / 0.7159 GB, free: 15.07 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.8905, allocations: 2.438 kB / 0.7159 GB, free: 15.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003286/0.8938, allocations: 1.215 MB / 0.7171 GB, free: 14.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.8938, allocations: 8.25 kB / 0.7171 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.872e-05/0.8939, allocations: 8.094 kB / 0.7171 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000953/0.8948, allocations: 228.9 kB / 0.7173 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008085/0.8956, allocations: 193.8 kB / 0.7175 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009321/0.8966, allocations: 0.7329 MB / 0.7182 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002063/0.8987, allocations: 269.6 kB / 0.7185 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/0.8988, allocations: 46.17 kB / 0.7185 GB, free: 13.52 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 (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.0008952/0.8997, allocations: 352.9 kB / 0.7189 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002674/0.9, allocations: 148.4 kB / 0.719 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002499/0.9025, allocations: 1.17 MB / 0.7201 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.454e-05/0.9026, allocations: 14.52 kB / 0.7202 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.9026, allocations: 6.859 kB / 0.7202 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/0.9026, allocations: 11.98 kB / 0.7202 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005926/0.9085, allocations: 2.579 MB / 0.7227 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/0.9086, allocations: 2.312 kB / 0.7227 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003731/0.9089, allocations: 89.98 kB / 0.7228 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008233/0.9098, allocations: 223.6 kB / 0.723 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.964e-05/0.9098, allocations: 22.81 kB / 0.723 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/0.9112, allocations: 0.8031 MB / 0.7238 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.141e-05/0.9113, allocations: 6.734 kB / 0.7238 GB, free: 9.926 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00377/0.915, allocations: 1.28 MB / 0.7251 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/0.9163, allocations: 378.8 kB / 0.7254 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006334/0.917, allocations: 12 kB / 0.7254 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001453/0.9184, allocations: 103.8 kB / 0.7255 GB, free: 8.152 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.9186, allocations: 52.39 kB / 0.7256 GB, free: 8.102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-05/0.9187, allocations: 27.98 kB / 0.7256 GB, free: 8.074 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002789/0.9215, allocations: 1.07 MB / 0.7267 GB, free: 7.008 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9215, allocations: 0 / 0.7267 GB, free: 7.008 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002536/0.924, allocations: 435.4 kB / 0.7271 GB, free: 6.582 MB / 0.545 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.001389/0.9254, allocations: 466.8 kB / 0.7275 GB, free: 6.129 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002428/0.9279, allocations: 0.878 MB / 0.7284 GB, free: 5.254 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.9279, allocations: 3.938 kB / 0.7284 GB, free: 5.25 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001332/0.9292, allocations: 471.5 kB / 0.7288 GB, free: 4.793 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004673/0.9339, allocations: 0.6969 MB / 0.7295 GB, free: 4.105 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006064/0.94, allocations: 2.741 MB / 0.7322 GB, free: 1.309 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008819/0.9409, allocations: 1.161 MB / 0.7333 GB, free: 124 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004847/0.9414, allocations: 119.4 kB / 0.7334 GB, free: 4 kB / 0.545 GB Notification: Performance of SimCode: time 8.51e-07/0.9414, allocations: 3.938 kB / 0.7334 GB, free: 0 / 0.545 GB Notification: Performance of Templates: time 0.05587/0.9973, allocations: 33.95 MB / 0.7666 GB, free: 14.32 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLawCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLawCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLawCalcHelperMain.o] Error 1