Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.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.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009759/0.000976, allocations: 99.19 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.00227/0.00227, allocations: 186.2 kB / 16.92 MB, free: 6.75 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.969/1.969, allocations: 205.4 MB / 223.1 MB, free: 5.531 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.804/1.804, allocations: 292.7 MB / 0.5509 GB, free: 14.48 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.0005367/0.0005368, allocations: 12.75 kB / 0.675 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3125, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.06927/0.3818, allocations: 59.76 MB / 0.8469 GB, free: 15.62 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02112/0.403, allocations: 11.82 MB / 0.8584 GB, free: 3.77 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002653/0.4057, allocations: 51.62 kB / 0.8585 GB, free: 3.719 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002339/0.4081, allocations: 0.5516 MB / 0.859 GB, free: 3.164 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007038/0.4151, allocations: 1.784 MB / 0.8608 GB, free: 1.375 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003685/0.4188, allocations: 1.105 MB / 0.8618 GB, free: 284 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006116/0.425, allocations: 3.89 MB / 0.8656 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001862/0.4268, allocations: 0.9019 MB / 0.8665 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00312/0.43, allocations: 1.131 MB / 0.8676 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001639/0.4316, allocations: 0.8553 MB / 0.8685 GB, free: 9.445 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001281/0.4318, allocations: 44 kB / 0.8685 GB, free: 9.402 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003304/0.4351, allocations: 1.329 MB / 0.8698 GB, free: 8.07 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000298/0.4354, allocations: 214.9 kB / 0.87 GB, free: 7.859 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009482/0.4364, allocations: 0.635 MB / 0.8706 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00265/0.439, allocations: 1.691 MB / 0.8723 GB, free: 5.52 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.439, allocations: 0 / 0.8723 GB, free: 5.52 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.703e-06/0.439, allocations: 4 kB / 0.8723 GB, free: 5.516 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.874e-05/0.4391, allocations: 0 / 0.8723 GB, free: 5.516 MB / 0.6856 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.003287/0.4424, allocations: 1.501 MB / 0.8738 GB, free: 3.957 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.4424, allocations: 12.03 kB / 0.8738 GB, free: 3.945 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00222/0.4446, allocations: 474.8 kB / 0.8742 GB, free: 3.48 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002279/0.4469, allocations: 1.132 MB / 0.8753 GB, free: 2.289 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003761/0.4473, allocations: 129.9 kB / 0.8754 GB, free: 2.164 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.4475, allocations: 80 kB / 0.8755 GB, free: 2.086 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/0.4498, allocations: 1.007 MB / 0.8765 GB, free: 1.039 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.4498, allocations: 3.938 kB / 0.8765 GB, free: 1.035 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.493e-05/0.4499, allocations: 32 kB / 0.8765 GB, free: 1.004 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/0.4499, allocations: 20 kB / 0.8766 GB, free: 0.9844 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002633/0.4526, allocations: 0.9368 MB / 0.8775 GB, free: 52 kB / 0.6856 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.008401/0.461, allocations: 4.625 MB / 0.882 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003798/0.4648, allocations: 0.9409 MB / 0.8829 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008129/0.4656, allocations: 338 kB / 0.8832 GB, free: 9.836 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007852/0.4664, allocations: 0.9106 MB / 0.8841 GB, free: 8.723 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.095e-05/0.4665, allocations: 38.98 kB / 0.8842 GB, free: 8.676 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=47): time 2.585e-06/0.4665, allocations: 0 / 0.8842 GB, free: 8.676 MB / 0.7012 GB Notification: Performance of matching and sorting (n=47): time 0.008576/0.4751, allocations: 2.018 MB / 0.8861 GB, free: 6.625 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.4751, allocations: 59.84 kB / 0.8862 GB, free: 6.555 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.4769, allocations: 1.063 MB / 0.8872 GB, free: 5.477 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.631e-05/0.477, allocations: 37.7 kB / 0.8873 GB, free: 5.434 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005046/0.4775, allocations: 0.5119 MB / 0.8878 GB, free: 4.918 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.4777, allocations: 173.6 kB / 0.8879 GB, free: 4.746 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.866e-05/0.4778, allocations: 45.7 kB / 0.888 GB, free: 4.695 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.478, allocations: 330 kB / 0.8883 GB, free: 4.367 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009911/0.479, allocations: 340.9 kB / 0.8886 GB, free: 4.031 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.4802, allocations: 0.5446 MB / 0.8891 GB, free: 3.406 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001817/0.482, allocations: 0.7332 MB / 0.8899 GB, free: 2.621 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.4821, allocations: 0 / 0.8899 GB, free: 2.621 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004036/0.4861, allocations: 1.26 MB / 0.8911 GB, free: 1.352 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001816/0.4863, allocations: 208 kB / 0.8913 GB, free: 1.098 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.4863, allocations: 4 kB / 0.8913 GB, free: 1.094 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/0.4877, allocations: 339.5 kB / 0.8916 GB, free: 0.7617 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005726/0.4882, allocations: 135.8 kB / 0.8917 GB, free: 0.6289 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/0.4899, allocations: 0.9347 MB / 0.8927 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.4914, allocations: 199.2 kB / 0.8928 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.443e-05/0.4915, allocations: 27.98 kB / 0.8929 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.4916, allocations: 4 kB / 0.8929 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00356/0.4951, allocations: 1.111 MB / 0.894 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.4951, allocations: 4 kB / 0.894 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/0.4963, allocations: 328.8 kB / 0.8943 GB, free: 14 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005376/0.4968, allocations: 135.8 kB / 0.8944 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.4984, allocations: 0.9495 MB / 0.8953 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.4999, allocations: 167.4 kB / 0.8955 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-05/0.5, allocations: 27.98 kB / 0.8955 GB, free: 12.7 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (55): * Single equations (assignments): 54 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0008088/0.5008, allocations: 348.9 kB / 0.8959 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/0.5011, allocations: 114.7 kB / 0.896 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00413/0.5052, allocations: 1.241 MB / 0.8972 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/0.5052, allocations: 4 kB / 0.8972 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.5053, allocations: 4 kB / 0.8972 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.5053, allocations: 11.92 kB / 0.8972 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005777/0.5111, allocations: 2.313 MB / 0.8995 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.5111, allocations: 4 kB / 0.8995 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000324/0.5114, allocations: 80.16 kB / 0.8995 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001117/0.5125, allocations: 320.6 kB / 0.8998 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-05/0.5126, allocations: 19.94 kB / 0.8999 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001631/0.5142, allocations: 0.9698 MB / 0.9008 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5142, allocations: 0 / 0.9008 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004939/0.5192, allocations: 1.465 MB / 0.9022 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007287/0.5199, allocations: 287.4 kB / 0.9025 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002703/0.5202, allocations: 12 kB / 0.9025 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.5214, allocations: 111.8 kB / 0.9026 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.5215, allocations: 51.83 kB / 0.9027 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.371e-05/0.5216, allocations: 23.98 kB / 0.9027 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00168/0.5233, allocations: 0.7469 MB / 0.9034 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.2e-07/0.5233, allocations: 0 / 0.9034 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001882/0.5252, allocations: 0.5536 MB / 0.904 GB, free: 3.824 MB / 0.7169 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 (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009399/0.5261, allocations: 376.2 kB / 0.9043 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003608/0.5297, allocations: 1.218 MB / 0.9055 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.5298, allocations: 4 kB / 0.9055 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.5308, allocations: 395.3 kB / 0.9059 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003123/0.5339, allocations: 0.5256 MB / 0.9064 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006699/0.5406, allocations: 2.587 MB / 0.9089 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/0.5418, allocations: 1.062 MB / 0.91 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003787/0.5422, allocations: 87.41 kB / 0.9101 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of SimCode: time 2.244e-06/0.5422, allocations: 0 / 0.9101 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.5841/1.126, allocations: 23.99 MB / 0.9335 GB, free: 131.6 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TConCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TConCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TConCalcHelperMain.o] Error 1