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.009704/0.009704, allocations: 100.1 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001986/0.001986, allocations: 191 kB / 16.79 MB, free: 5.809 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.531/1.531, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002225/0.002225, allocations: 274.5 kB / 290.9 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.004/1.004, allocations: 169.2 MB / 0.4983 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 90.05 kB / 0.5951 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2294, allocations: 86.99 MB / 0.6801 GB, free: 1.129 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0707/0.3002, allocations: 70.02 MB / 0.7485 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02762/0.3278, allocations: 19 MB / 0.767 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003256/0.3311, allocations: 63.62 kB / 0.7671 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002417/0.3336, allocations: 0.6566 MB / 0.7677 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008727/0.3424, allocations: 2.613 MB / 0.7703 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004656/0.347, allocations: 1.484 MB / 0.7717 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.4661/0.8131, allocations: 5.005 MB / 0.7766 GB, free: 25.62 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002412/0.8156, allocations: 1.182 MB / 0.7778 GB, free: 25.54 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004106/0.8197, allocations: 1.498 MB / 0.7792 GB, free: 25.54 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002715/0.8225, allocations: 1.162 MB / 0.7804 GB, free: 25.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002916/0.8228, allocations: 76.59 kB / 0.7804 GB, free: 25.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003849/0.8266, allocations: 1.239 MB / 0.7816 GB, free: 25.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004172/0.8271, allocations: 289.9 kB / 0.7819 GB, free: 25.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001434/0.8285, allocations: 0.8185 MB / 0.7827 GB, free: 25.17 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003715/0.8322, allocations: 2.428 MB / 0.7851 GB, free: 25.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.8322, allocations: 0.6094 kB / 0.7851 GB, free: 25.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.032e-06/0.8323, allocations: 0 / 0.7851 GB, free: 25.11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.108e-05/0.8323, allocations: 2.375 kB / 0.7851 GB, free: 25.11 MB / 0.5606 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.004124/0.8364, allocations: 2.038 MB / 0.7871 GB, free: 24.1 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.8365, allocations: 8.438 kB / 0.7871 GB, free: 24.1 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002363/0.8389, allocations: 444.2 kB / 0.7875 GB, free: 24 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00274/0.8416, allocations: 1.508 MB / 0.789 GB, free: 23.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003685/0.842, allocations: 135.1 kB / 0.7891 GB, free: 23.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.8421, allocations: 106.1 kB / 0.7892 GB, free: 23.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002916/0.8451, allocations: 1.299 MB / 0.7905 GB, free: 23.33 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.8451, allocations: 2.781 kB / 0.7905 GB, free: 23.33 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.8452, allocations: 49.94 kB / 0.7905 GB, free: 23.33 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/0.8452, allocations: 29.28 kB / 0.7906 GB, free: 23.33 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002594/0.8478, allocations: 1.109 MB / 0.7916 GB, free: 23.3 MB / 0.5606 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.008016/0.8559, allocations: 7.141 MB / 0.7986 GB, free: 19.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003131/0.859, allocations: 0.801 MB / 0.7994 GB, free: 19.25 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005943/0.8596, allocations: 286.6 kB / 0.7997 GB, free: 19.24 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009401/0.8606, allocations: 1.719 MB / 0.8014 GB, free: 17.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.8606, allocations: 41.88 kB / 0.8014 GB, free: 17.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=48): time 2.705e-06/0.8606, allocations: 0 / 0.8014 GB, free: 17.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.004927/0.8656, allocations: 1.343 MB / 0.8027 GB, free: 16.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.8656, allocations: 56.5 kB / 0.8028 GB, free: 16.92 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002969/0.8686, allocations: 1.519 MB / 0.8042 GB, free: 16.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.987e-05/0.8687, allocations: 36.83 kB / 0.8043 GB, free: 16.72 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006339/0.8693, allocations: 0.6603 MB / 0.8049 GB, free: 16.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/0.8695, allocations: 171.4 kB / 0.8051 GB, free: 16.39 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003931/0.8699, allocations: 162.9 kB / 0.8052 GB, free: 16.37 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.441e-05/0.87, allocations: 338.1 kB / 0.8056 GB, free: 16.06 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.8711, allocations: 358.6 kB / 0.8059 GB, free: 16.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.8723, allocations: 0.6284 MB / 0.8065 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/0.8741, allocations: 0.8498 MB / 0.8074 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.8741, allocations: 6.125 kB / 0.8074 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004403/0.8785, allocations: 1.336 MB / 0.8087 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.8786, allocations: 12.44 kB / 0.8087 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.8786, allocations: 6.562 kB / 0.8087 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/0.8796, allocations: 222.2 kB / 0.8089 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000819/0.8804, allocations: 183.5 kB / 0.8091 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008108/0.8813, allocations: 0.7161 MB / 0.8098 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.8832, allocations: 243.6 kB / 0.81 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/0.8833, allocations: 40.3 kB / 0.81 GB, free: 14.69 MB / 0.5606 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.0009296/0.8843, allocations: 351.2 kB / 0.8104 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003116/0.8846, allocations: 159.7 kB / 0.8105 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002668/0.8873, allocations: 1.135 MB / 0.8116 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.129e-05/0.8873, allocations: 9.781 kB / 0.8116 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.8873, allocations: 0 / 0.8116 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.8873, allocations: 9.469 kB / 0.8116 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005456/0.8928, allocations: 2.507 MB / 0.8141 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/0.8928, allocations: 2.125 kB / 0.8141 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004063/0.8932, allocations: 84.14 kB / 0.8142 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007803/0.894, allocations: 215.9 kB / 0.8144 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.642e-05/0.8941, allocations: 18.41 kB / 0.8144 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/0.8953, allocations: 0.7698 MB / 0.8152 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.8953, allocations: 8.625 kB / 0.8152 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003373/0.8987, allocations: 1.202 MB / 0.8163 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007813/0.8995, allocations: 345.2 kB / 0.8167 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002017/0.8997, allocations: 12.62 kB / 0.8167 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009237/0.9006, allocations: 90.75 kB / 0.8168 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.9007, allocations: 49.33 kB / 0.8168 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.206e-05/0.9008, allocations: 25.14 kB / 0.8168 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001957/0.9028, allocations: 1.072 MB / 0.8179 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9028, allocations: 1.531 kB / 0.8179 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001553/0.9043, allocations: 435.5 kB / 0.8183 GB, free: 12.73 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.0009336/0.9053, allocations: 489.3 kB / 0.8188 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002058/0.9073, allocations: 0.8256 MB / 0.8196 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.9073, allocations: 3.562 kB / 0.8196 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.9085, allocations: 447.5 kB / 0.82 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002904/0.9115, allocations: 0.6914 MB / 0.8207 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/0.9154, allocations: 2.771 MB / 0.8234 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/0.9159, allocations: 1.158 MB / 0.8245 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003386/0.9163, allocations: 118.9 kB / 0.8246 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of SimCode: time 7.32e-07/0.9163, allocations: 4 kB / 0.8246 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.04498/0.9612, allocations: 33.84 MB / 0.8577 GB, free: 2.176 MB / 0.5762 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