Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001163, allocations: 92.16 kB / 16.02 MB, free: 80 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.001567/0.001567, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.917/1.917, allocations: 205.4 MB / 223.1 MB, free: 5.559 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.899/1.899, 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.0005724/0.0005726, allocations: 14.47 kB / 0.675 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3399, allocations: 116.3 MB / 0.7885 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.08224/0.4222, allocations: 73.46 MB / 0.8603 GB, free: 1.887 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02558/0.4479, allocations: 14.94 MB / 0.8749 GB, free: 2.906 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003598/0.4516, allocations: 55.62 kB / 0.8749 GB, free: 2.852 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003093/0.4547, allocations: 0.6721 MB / 0.8756 GB, free: 2.176 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01128/0.466, allocations: 2.369 MB / 0.8779 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.005437/0.4715, allocations: 1.275 MB / 0.8791 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0105/0.482, allocations: 5.531 MB / 0.8845 GB, free: 8.988 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004067/0.4861, allocations: 1.151 MB / 0.8857 GB, free: 7.805 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005003/0.4912, allocations: 1.326 MB / 0.887 GB, free: 6.473 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003373/0.4946, allocations: 1.151 MB / 0.8881 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0006512/0.4953, allocations: 56 kB / 0.8881 GB, free: 5.262 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00469/0.5, allocations: 1.247 MB / 0.8893 GB, free: 4.012 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0008555/0.5009, allocations: 286.6 kB / 0.8896 GB, free: 3.73 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002603/0.5035, allocations: 0.7983 MB / 0.8904 GB, free: 2.922 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004532/0.508, allocations: 2.155 MB / 0.8925 GB, free: 0.7617 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.5081, allocations: 0 / 0.8925 GB, free: 0.7617 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5081, allocations: 0 / 0.8925 GB, free: 0.7617 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001072/0.5082, allocations: 0 / 0.8925 GB, free: 0.7617 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005793/0.514, allocations: 1.791 MB / 0.8943 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.098e-05/0.5141, allocations: 8.031 kB / 0.8943 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/0.5154, allocations: 250.8 kB / 0.8945 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004169/0.5196, allocations: 1.473 MB / 0.8959 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.5198, allocations: 78 kB / 0.896 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003652/0.5201, allocations: 100 kB / 0.8961 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003083/0.5232, allocations: 1.127 MB / 0.8972 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.855e-05/0.5233, allocations: 0 / 0.8972 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.5234, allocations: 40 kB / 0.8972 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.716e-05/0.5235, allocations: 27.94 kB / 0.8973 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002522/0.526, allocations: 0.9329 MB / 0.8982 GB, free: 10.79 MB / 0.7169 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.009227/0.5353, allocations: 4.93 MB / 0.903 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/0.537, allocations: 0.6536 MB / 0.9036 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008442/0.5379, allocations: 378.2 kB / 0.904 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000865/0.5387, allocations: 0.8238 MB / 0.9048 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.643e-05/0.5388, allocations: 43.12 kB / 0.9048 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=61): time 3.126e-06/0.5388, allocations: 0 / 0.9048 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61): time 0.008074/0.5469, allocations: 1.896 MB / 0.9067 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.371e-05/0.547, allocations: 59.97 kB / 0.9068 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002893/0.5499, allocations: 1.21 MB / 0.9079 GB, free: 264 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001529/0.5501, allocations: 37.7 kB / 0.908 GB, free: 220 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007921/0.5509, allocations: 0.6104 MB / 0.9086 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003185/0.5512, allocations: 208.9 kB / 0.9088 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.5514, allocations: 65.69 kB / 0.9088 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002152/0.5516, allocations: 341.9 kB / 0.9092 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008291/0.5525, allocations: 301.8 kB / 0.9094 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.5535, allocations: 0.5124 MB / 0.9099 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/0.5553, allocations: 0.7481 MB / 0.9107 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.864e-06/0.5553, allocations: 0 / 0.9107 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00556/0.5608, allocations: 1.406 MB / 0.912 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002099/0.5611, allocations: 198.3 kB / 0.9122 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.5611, allocations: 4 kB / 0.9122 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007183/0.5618, allocations: 152.6 kB / 0.9124 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000674/0.5625, allocations: 171.6 kB / 0.9125 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.5637, allocations: 0.7124 MB / 0.9132 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/0.5654, allocations: 171.1 kB / 0.9134 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.5655, allocations: 31.98 kB / 0.9134 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.5656, allocations: 7.938 kB / 0.9134 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004923/0.5705, allocations: 1.249 MB / 0.9147 GB, free: 9.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.5705, allocations: 8.359 kB / 0.9147 GB, free: 9.102 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000583/0.5711, allocations: 152.6 kB / 0.9148 GB, free: 8.949 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006523/0.5718, allocations: 167.7 kB / 0.915 GB, free: 8.785 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.5728, allocations: 0.7124 MB / 0.9157 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/0.5745, allocations: 171 kB / 0.9158 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.5747, allocations: 35.98 kB / 0.9159 GB, free: 7.844 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.001024/0.5757, allocations: 419.7 kB / 0.9163 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000475/0.5762, allocations: 134.4 kB / 0.9164 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005155/0.5814, allocations: 1.4 MB / 0.9178 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/0.5814, allocations: 4 kB / 0.9178 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.5814, allocations: 0 / 0.9178 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004628/0.586, allocations: 1.24 MB / 0.919 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008802/0.5949, allocations: 2.735 MB / 0.9217 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/0.5949, allocations: 12.06 kB / 0.9217 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005336/0.5955, allocations: 123.8 kB / 0.9218 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005634/0.5961, allocations: 140.9 kB / 0.9219 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.254e-05/0.5961, allocations: 24 kB / 0.9219 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6929/1.289, allocations: 2.469 MB / 0.9244 GB, free: 132.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.465e-05/1.289, allocations: 5.625 kB / 0.9244 GB, free: 132.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008701/1.298, allocations: 1.853 MB / 0.9262 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/1.299, allocations: 330.4 kB / 0.9265 GB, free: 132.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005494/1.3, allocations: 21.23 kB / 0.9265 GB, free: 132.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001584/1.301, allocations: 92.06 kB / 0.9266 GB, free: 132.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002359/1.302, allocations: 63.75 kB / 0.9267 GB, free: 132.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/1.302, allocations: 29.27 kB / 0.9267 GB, free: 132.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002295/1.304, allocations: 0.8699 MB / 0.9275 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.11e-07/1.304, allocations: 0 / 0.9275 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003071/1.307, allocations: 0.7118 MB / 0.9282 GB, free: 132.1 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001177/1.308, allocations: 440.2 kB / 0.9286 GB, free: 132 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002952/1.311, allocations: 1.168 MB / 0.9298 GB, free: 132 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.311, allocations: 5.062 kB / 0.9298 GB, free: 132 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001467/1.313, allocations: 0.5979 MB / 0.9304 GB, free: 131.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004303/1.317, allocations: 0.8146 MB / 0.9312 GB, free: 131.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00412/1.321, allocations: 2.844 MB / 0.9339 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009081/1.322, allocations: 1.175 MB / 0.9351 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003589/1.323, allocations: 117.8 kB / 0.9352 GB, free: 129.4 MB / 0.7325 GB Notification: Performance of SimCode: time 1.363e-06/1.323, allocations: 0 / 0.9352 GB, free: 129.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.0581/1.381, allocations: 30.75 MB / 0.9652 GB, free: 116.7 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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_yCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_yCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_yCalcHelperMain.o] Error 1